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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@privat.broulik.de

--- Comment #1 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Pasting inline:

Thread 1 (Thread 0x7f806051a800 (LWP 3628)):
[KCrash Handler]
#6  0x00007f805e105f36 in operator== (s1=..., s2=...) at tools/qstring.cpp:3153
#7  0x00007f805fb54f0c in KNotification::setTitle
(this=this@entry=0x55e90cd27370, title=...) at ./src/knotification.cpp:140
#8  0x00007f803d3a2b5f in Notification::createKNotification
(this=this@entry=0x55e90cc67420, update=<optimized out>, np=...) at
./plugins/notifications/notification.cpp:95
#9  0x00007f803d3a36ed in Notification::update (this=this@entry=0x55e90cc67420,
np=...) at ./plugins/notifications/notification.cpp:81
#10 0x00007f803d3abc85 in NotificationsDbusInterface::processPacket
(this=0x55e90ccef6b0, np=...) at
./plugins/notifications/notificationsdbusinterface.cpp:91
#11 0x00007f803d3a734f in NotificationsPlugin::receivePacket
(this=0x55e90cd06b20, np=...) at
./plugins/notifications/notificationsplugin.cpp:59
#12 0x00007f806011b5c0 in Device::privateReceivedPacket (this=<optimized out>,
np=...) at ./core/device.cpp:341

It stores a KNotification* as raw pointer but KNotification will self-delete
when it is closed (timeout or closed by the user) so it accesses junk and
crashes. Fix would be to change it to a QPointer<KNotification> and check for
that instead of the m_closed handling it has right now.

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

Reply via email to