You are not logged in.
Hi,
I am posting here because the Q4OS Team asked me to in my bug tracker ticket #260 on SourceForge (sourceforge[dot]net/p/q4os/tickets/260 - new users cannot post links here).
The team said it looks like an upstream Debian issue rather than a Q4OS-specific one. I am posting the details here as requested.
Note: I am not a developer. I used Claude (an AI assistant) to investigate the problem and write this report. The measurements, logs and backtraces come from my own system.
Q4OS 6.10 "Andromeda" (q4os-desktop 6.10-deb13u1, q4os-desktop-plasma 4.14-deba1), Plasma, Wayland session
Kernel 6.12.116+deb13-amd64
Lenovo ThinkPad X13 Yoga Gen 1 (20SYS1WC0W), Intel Core i5-10310U, 8 GB RAM
plasma-workspace 4:6.3.6-2, dolphin 4:25.04.3-1+deb13u1, kio-extras 4:25.04.3-1
libimobiledevice-1.0-6 1.3.0+git20250228-2, libimobiledevice-glue-1.0-0 1.3.1-1, libusbmuxd-2.0-7 2.1.0-1+b1, usbmuxd 1.1.1-6+deb13u1
Device: iPhone (USB ID 05ac:12a8)
When a connected iPhone disconnects and reconnects over USB, several desktop processes get stuck at the same moment. Each one loops at 100% CPU and never recovers:
plasmashell: the main GUI thread is blocked, so the taskbar stops responding completely.
org_kde_powerdevil: it does not answer D-Bus, so the power options in the tray are unusable.
kded6: the main thread is at 100% CPU.
The Dolphin kioworker for afc.so, if the iPhone was opened in Dolphin. Closing Dolphin does not stop it.
The load average went up to about 12 and the whole system became slow. In one session the phone reconnected 11 times (possibly a worn cable).
All four processes logged the same line at the same second:
kf.solid.backends.imobile: Failed to get device name for "<UDID>" -256usbmuxd at the same time:
usbmuxd: Connected to v2.0 device 1 on location 0x10024 ...
usbmuxd: ERROR: client_write: sending to fd 17 failed: Broken pipe
usbmuxd: connection_teardown: aborting buffer flush to client after error.Connect an iPhone over USB and trust the computer.
(Optional) Open the iPhone in Dolphin.
Let the USB connection drop and come back.
The taskbar freezes, and top shows plasmashell, powerdevil, kded6 (and the afc kioworker) at 100% CPU.
#3 poll () libc.so.6
#4 socket_check_fd () libimobiledevice-glue-1.0.so.0
#5 socket_send () libimobiledevice-glue-1.0.so.0
#6 usbmuxd_send () libusbmuxd-2.0.so.7
#8 idevice_connection_send () libimobiledevice-1.0.so.6
#9 service_send () libimobiledevice-1.0.so.6
#11 lockdownd_send () libimobiledevice-1.0.so.6
#12 lockdownd_get_value () libimobiledevice-1.0.so.6
#13-16 ??? libKF6Solid.so.6 (imobile backend)
#17 Solid::Device::Device(QString const&) libKF6Solid.so.6
#18 ??? plasma_engine_powermanagement.so
#20 Solid::DeviceNotifier::deviceAdded(QString const&)
#26 QCoreApplicationPrivate::sendPostedEvents (GUI event loop)The afc kioworker hangs in the same frames (lockdownd_get_value -> ... -> socket_send -> poll) inside its usbmuxd event callback. Its main thread waits on a mutex in usbmuxd_events_unsubscribe, so it can never exit.
The Solid imobile backend (and the AFC worker) makes a synchronous lockdownd call when the iPhone is added. After the usbmuxd connection breaks, libimobiledevice-glue socket_send keeps retrying poll/send on the dead socket forever instead of returning an error. Because the call runs on the GUI thread, the whole panel freezes. This probably belongs upstream (KDE frameworks-solid, kio-extras afc, libimobiledevice-glue), but I would appreciate your advice.
pkill -f 'kio/afc.so'
systemctl --user restart plasma-plasmashell.service
systemctl --user restart plasma-powerdevil.service
systemctl --user restart plasma-kded6.serviceAfter these commands everything works again, until the next time the iPhone reconnects.
Thank you!
Offline
Welcome to the forum 
Anyone can confirm this issue?
Offline