Skip to content

Invocations of qdbus from the widget (window move, shortcut getting) causes qdbus to SIGSEGV #91

Description

@ArtyIF

Since yesterday, I've been getting qdbus crashes when I'm dragging windows with this widget. At first I wasn't sure what was causing it (I figured out while writing the report, so sorry for being so stream-of-consciousness-y), but it began when I was testing some DVDs I had lying around, and I thought it was related to that. But I unplugged the drive, rebooted my computer several times, and narrowed it down to this widget. The crash happens both in 0.8.7 (KDE Store version) and 0.9.0 (GitHub version). Opening the widget settings also causes a crash, but it also says this: Unable to update KWin shortcuts: ''

Image

The crash notification:

Image

Crash details:

           PID: 7059 (qdbus)
           UID: 1000 (artyif)
           GID: 1000 (artyif)
        Signal: 11 (SEGV)
     Timestamp: Sat 2026-03-28 15:34:58 MSK (10s ago)
  Command Line: /usr/lib/qt6/bin/qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut $'Window Move'
    Executable: /usr/lib/qt6/bin/qdbus
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service
          Unit: user@1000.service
     User Unit: plasma-plasmashell.service
         Slice: user-1000.slice
     Owner UID: 1000 (artyif)
       Boot ID: 00197f5b7edc438fa7694d3717c9f79a
    Machine ID: a9590a6afc4d4e40a757f61e3095c8b7
      Hostname: artyif-desktop
       Storage: /var/lib/systemd/coredump/core.qdbus.1000.00197f5b7edc438fa7694d3717c9f79a.7059.1774701298000000.zst (present)
  Size on Disk: 192.5K
       Message: Process 7059 (qdbus) of user 1000 dumped core.
                
                Stack trace of thread 7059:
                #0  0x00007fea844a74d1 n/a (libQt6Core.so.6 + 0xa74d1)
                #1  0x00007fea84c739eb n/a (libQt6DBus.so.6 + 0x5e9eb)
                #2  0x00007fea83e4fa61 n/a (libc.so.6 + 0x40a61)
                #3  0x00007fea83e4fb3e exit (libc.so.6 + 0x40b3e)
                #4  0x00007fea83e366c8 n/a (libc.so.6 + 0x276c8)
                #5  0x00007fea83e367f9 __libc_start_main (libc.so.6 + 0x277f9)
                #6  0x00005594472f1745 n/a (/usr/lib/qt6/bin/qdbus + 0x6745)
                
                Stack trace of thread 7060:
                #0  0x00007fea83eadf32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007fea83ea239c n/a (libc.so.6 + 0x9339c)
                #2  0x00007fea83ea23e4 n/a (libc.so.6 + 0x933e4)
                #3  0x00007fea83f1c2f6 ppoll (libc.so.6 + 0x10d2f6)
                #4  0x00007fea84308744 n/a (libglib-2.0.so.0 + 0x60744)
                #5  0x00007fea84308825 g_main_context_iteration (libglib-2.0.so.0 + 0x60825)
                #6  0x00007fea84872222 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x472222)
                #7  0x00007fea845845d6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1845d6)
                #8  0x00007fea8469efa2 _ZN7QThread4execEv (libQt6Core.so.6 + 0x29efa2)
                #9  0x00007fea84c4c50e n/a (libQt6DBus.so.6 + 0x3750e)
                #10 0x00007fea8474d483 n/a (libQt6Core.so.6 + 0x34d483)
                #11 0x00007fea83ea597a n/a (libc.so.6 + 0x9697a)
                #12 0x00007fea83f292bc n/a (libc.so.6 + 0x11a2bc)
                ELF object binary architecture: AMD x86-64

Running the command shown in the Command Line: section also causes the SEGV, but running just qdbus instead (which links to /usr/bin/qdbus) avoids any crashes. The command line for the error from opening the settings is /usr/lib/qt6/bin/qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames. I think, at least for Arch, whatever path for qdbus is used needs to be replaced with /usr/bin/qdbus.

System details:

Operating System: Arch Linux 
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.11.0
Kernel Version: 6.19.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 570 Series

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions