https://bugs.kde.org/show_bug.cgi?id=368040
Bug ID: 368040 Summary: Crash when closing application window before notification Product: frameworks-knotifications Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: mklape...@kde.org Reporter: martin.sandsm...@kde.org CC: kdelibs-b...@kde.org Not a very good backtrace, but it happens when I close the Konsole window that was responsible for the notification before the notification is closed. So the d-pointer is not null, but invalid, so the null-check in KNotification::id() is not enough. Might want to make the d-pointer something other than a bare pointer. #0 0x00007f77e8860329 in KNotification::id() () from /usr/lib/libKF5Notifications.so.5 #1 0x00007f77e88645cc in ?? () from /usr/lib/libKF5Notifications.so.5 #2 0x00007f77e90d84e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #3 0x00007f77e888aebf in KNotificationPlugin::finished(KNotification*) () from /usr/lib/libKF5Notifications.so.5 #4 0x00007f77e887a5e4 in ?? () from /usr/lib/libKF5Notifications.so.5 #5 0x00007f77e90d84e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #6 0x00007f77e90d8eaf in QObject::destroyed(QObject*) () from /usr/lib/libQt5Core.so.5 #7 0x00007f77ea068869 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5 #8 0x00007f77e8865fb9 in KPassivePopup::~KPassivePopup() () from /usr/lib/libKF5Notifications.so.5 #9 0x00007f77e90d9380 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #10 0x00007f77ea06d10b in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #11 0x00007f77ea15462e in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #12 0x00007f77ea025e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #13 0x00007f77ea02d5b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007f77e90acc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #15 0x00007f77e90af3fd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #16 0x00007f77e9101173 in ?? () from /usr/lib/libQt5Core.so.5 #17 0x00007f77e2e9bdd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #18 0x00007f77e2e9c040 in ?? () from /usr/lib/libglib-2.0.so.0 #19 0x00007f77e2e9c0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #20 0x00007f77e910157f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #21 0x00007f77e90ab0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #22 0x00007f77e90b35cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #23 0x00007f77ece3db03 in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/sandsmark/pkg/konsole-git/src/konsole/src/main.cpp:176 #24 0x00007f77eca98291 in __libc_start_main () from /usr/lib/libc.so.6 #25 0x000000000040066a in _start () Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.