https://bugs.kde.org/show_bug.cgi?id=519995

            Bug ID: 519995
           Summary: kiod6 crashes with SIGABRT when enumerating MTP
                    subfolders on Pixel 8 Pro phone
    Classification: Frameworks and Libraries
           Product: kio-extras
      Version First 26.04.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: MTP
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Description:
When connecting my phone via USB in File Transfer (MTP) mode, the root
"Internal shared storage" volume mounts successfully and is browsable in
Dolphin. However, navigating into any subfolder triggers an immediate "Unknown
Error" dialog.

Steps to reproduce:
1. Connect phone via USB
2. Select "File transfer" on the phone
3. Open phone in Dolphin from "Removable Devices"
4. Double-click "Internal shared storage" - opens successfully
5. Double-click any subfolder (DCIM, Download, Documents, Alarms, Android,
etc.) - "Unknown Error" dialog appears

Expected: Subfolder contents are listed.
Actual: "Unknown Error" dialog, no files shown.

System: Fedora Kinoite 44 (secureblue), KDE Plasma 6.6.4, kio-extras 26.04.0,
kf6-kio 6.25.0, Dolphin
Phone: Pixel 8 Pro, Android, USB mode: MTP/File Transfer


Logs:

kiod6[57578]: fatal allocator error: sized deallocation mismatch (small)
audit[57578]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=57578
comm="kiod6" exe="/usr/libexec/kf6/kiod6" sig=6 res=1
systemd[2597]: dbus-:[email protected]: Main process exited,
code=dumped, status=6/ABRT
kioworker[57590]: [ERROR] :: Failed to get lister dbus path
QDBusError("org.freedesktop.DBus.Error.NoReply", "Remote peer disconnected")
dolphin[18165]: PreviewJob subjob had an error: "The file or folder The file or
folder /Pixel 8 Pro/Internal shared storage/Download does not exist. does not
exist."


Key findings:
1. kiod6 dies with SIGABRT on every subfolder enumeration attempt.
2. Dolphin enumerates multiple subfolders and each spawns a new kiod6 process
that crashes identically within ~1 second.
3. kioworker reports QLocalSocket::PeerClosedError and Remote peer disconnected
because the D-Bus peer (kiod6) aborts.
4. Not a hardened_malloc issue: Reproduced with LD_PRELOAD= blank. The crash is
intrinsic to kiod6's MTP path.
5. Pre-crash portal warning: Every kiod6 instance logs "Failed to register with
host portal: Could not register app ID: App info not found for 'org.kde.kiod6'"
before crashing.

Additional context:
- gio mount -l reports: Type: GProxyVolume (GProxyVolumeMonitorMTP)
- USB authorization succeeds, so it's not a permission block
- Root storage itself is served by GProxyVolumeMonitorMTP and works fine

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to