[dolphin] [Bug 504974] New: Dolphin crashes on paste action after KDE Connect file transfer resume (XCB/QMimeData corruption)

Dave Connett bugzilla_noreply at kde.org
Thu May 29 18:48:03 BST 2025


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

            Bug ID: 504974
           Summary: Dolphin crashes on paste action after KDE Connect file
                    transfer resume (XCB/QMimeData corruption)
    Classification: Applications
           Product: dolphin
      Version First 25.04.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: dave.connett at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 181877
  --> https://bugs.kde.org/attachment.cgi?id=181877&action=edit
Full backtrace (bt full) from coredumpctl gdb with debug symbols

SUMMARY:  
Resuming a paused Dolphin file transfer (via KDE Connect) after switching WiFi
access points causes Dolphin, Kontact, and kioworker to crash due to MIME data
corruption.

DESCRIPTION:  
While copying files from my Android phone to my desktop using Dolphin over KDE
Connect (kdeconnect:// KIO path), I paused the transfer using the Plasma job
progress notification popup (the interactive transfer UI in the system tray).
The transfer was initiated directly from Dolphin by dragging files from the
phone's KDE Connect mount to a local folder.

While the transfer was paused, I switched my phone to a different WiFi access
point (same LAN, different subnet). Upon resuming the transfer from the
notification popup, Dolphin, Kontact, and kioworker all crashed immediately.

Backtrace shows the crash originates in QMimeData handling, with
QXcbClipboard::getSelection(), QInternalMimeData::retrieveData(), and
KUrlMimeData::urlsFromMimeData() involved — suggesting a stale or corrupted
MIME data object, likely tied to the invalidated kdeconnect:// connection after
the network handoff.

STEPS TO REPRODUCE:
1. Start a file transfer from phone to PC using Dolphin (with KDE Connect as
the transport)
2. Pause the transfer from the system tray job popup
3. Switch the phone to a different WiFi access point (same LAN, different
subnet)
4. Resume the transfer via the same popup
5. Click "Paste" or interact with the clipboard in Dolphin

OBSERVED RESULT:  
Immediate crash in Dolphin with a SIGABRT in QInternalMimeData::retrieveData()

EXPECTED RESULT:  
Transfer should fail gracefully, or clipboard state should be cleared without
crashing

SOFTWARE/OS VERSIONS:
- Operating System: Arch Linux  
- KDE Plasma Version: 6.3.5  
- KDE Frameworks Version: 6.14.0  
- Qt Version: 6.9.0  
- Kernel Version: 6.14.7-arch2-1 (64-bit)  
- Graphics Platform: X11  
- Processors: 32 × AMD Ryzen 9 5950X  
- Memory: 124.9 GiB RAM  
- Graphics: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION:  
Full backtrace from `coredumpctl gdb dolphin` is attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list