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

            Bug ID: 481033
           Summary: image-data in org.freedesktop.Notifications
                    consistently crashes plasmashell
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.5
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Notifications
          Assignee: plasma-b...@kde.org
          Reporter: simonp...@gmail.com
                CC: k...@privat.broulik.de
  Target Milestone: 1.0

Created attachment 165652
  --> https://bugs.kde.org/attachment.cgi?id=165652&action=edit
Simple ruby script to trigger the crash

SUMMARY
If a call to dbus  org.freedesktop.Notifications.Notify uses the "image-data"
hint, then plasmashell crashes


STEPS TO REPRODUCE
1. Run the attached script (sudo apt install ruby ruby-dbus && ruby
./kdebug.rb)
2. Wait 1-2 seconds
3. Crash!

OBSERVED RESULT
Crash!

EXPECTED RESULT
The notification pops up

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11

ADDITIONAL INFORMATION
image-path seems to work fine, but image-data always causes a crash:
https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#icons-and-images
No crash in GNOME Shell 3 or MATE

Stacktrace from journalctl:
 Process 257797 (plasmashell) of user 1000 dumped core.

                                                 Module libsystemd.so.0 from
deb systemd-252.19-1~deb12u1.amd64
                                                 Module libudev.so.1 from deb
systemd-252.19-1~deb12u1.amd64
                                                 Stack trace of thread 257797:
                                                 #0  0x00007f0013ca9e2c n/a
(libc.so.6 + 0x8ae2c)
                                                 #1  0x00007f0013c5afb2 raise
(libc.so.6 + 0x3bfb2)
                                                 #2  0x00007f001624183d
_ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x583d)
                                                 #3  0x00007f0013c5b050 n/a
(libc.so.6 + 0x3c050)
                                                 #4  0x00007f0013ca9e2c n/a
(libc.so.6 + 0x8ae2c)
                                                 #5  0x00007f0013c5afb2 raise
(libc.so.6 + 0x3bfb2)
                                                 #6  0x00007f0013c45472 abort
(libc.so.6 + 0x26472)
                                                 #7  0x00007f0012971e54 n/a
(libdbus-1.so.3 + 0xfe54)
                                                 #8  0x00007f00129947f0
_dbus_warn_check_failed (libdbus-1.so.3 + 0x327f0)
                                                 #9  0x00007f00129962a4 n/a
(libdbus-1.so.3 + 0x342a4)
                                                 #10 0x00007f0014bc8d19
_ZNK13QDBusArgumentrsERi (libQt5DBus.so.5 + 0x59d19)
                                                 #11 0x00007effa844ba7e n/a
(libnotificationmanager.so.1 + 0x42a7e)
                                                 #12 0x00007effa844fbd2 n/a
(libnotificationmanager.so.1 + 0x46bd2)
                                                 #13 0x00007effa843cf8f n/a
(libnotificationmanager.so.1 + 0x33f8f)
                                                 #14 0x00007effa8471184 n/a
(libnotificationmanager.so.1 + 0x68184)
                                                 #15 0x00007effa8471563 n/a
(libnotificationmanager.so.1 + 0x68563)
                                                 #16 0x00007f0014b9261b n/a
(libQt5DBus.so.5 + 0x2361b)
                                                 #17 0x00007f0014b96326 n/a
(libQt5DBus.so.5 + 0x27326)
                                                 #18 0x00007f0014b96a82 n/a
(libQt5DBus.so.5 + 0x27a82)
                                                 #19 0x00007f0014b98d68 n/a
(libQt5DBus.so.5 + 0x29d68)
                                                 #20 0x00007f00140dd6f0
_ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0)
                                                 #21 0x00007f0014d62fae
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 +
0x162fae)
                                                 #22 0x00007f00140b16f8
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 +
0x2b16f8)
                                                 #23 0x00007f00140b4681
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
(libQt5Core.so.5 + 0x2b4681)
                                                 #24 0x00007f001410a153 n/a
(libQt5Core.so.5 + 0x30a153)
                                                 #25 0x00007f0012a527a9
g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9)
                                                 #26 0x00007f0012a52a38 n/a
(libglib-2.0.so.0 + 0x54a38)
                                                 #27 0x00007f0012a52acc
g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                                                 #28 0x00007f0014109836
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x309836)
                                                 #29 0x00007f00140b017b
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2b017b)
                                                 #30 0x00007f00140b82d6
_ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b82d6)
                                                 #31 0x000055c17c7fadc3 n/a
(plasmashell + 0x26dc3)
                                                 #32 0x00007f0013c4624a n/a
(libc.so.6 + 0x2724a)
                                                 #33 0x00007f0013c46305
__libc_start_main (libc.so.6 + 0x27305)
                                                 #34 0x000055c17c7faee1 n/a
(plasmashell + 0x26ee1)

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

Reply via email to