Summary: | Crash at startup of desktop | ||
---|---|---|---|
Product: | [Applications] kdeconnect | Reporter: | Marcus Menzel <flareload> |
Component: | common | Assignee: | Albert Vaca Cintora <albertvaka> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | adriano.lima, alfeno, dschridde+kde, juergen_thomann, justin.zobel, kdebugs.wxdrr, nate, no.name.08154711, rafalkozlowski07, sam, tamasf97, thanhvuy02 |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/knotifications/commit/d1bb15dc4892d26201d21f12362979736df1d50c | Version Fixed In: | 5.79 |
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Marcus Menzel
2020-07-01 18:19:58 UTC
*** Bug 427551 has been marked as a duplicate of this bug. *** *** Bug 428118 has been marked as a duplicate of this bug. *** *** Bug 428531 has been marked as a duplicate of this bug. *** *** Bug 429676 has been marked as a duplicate of this bug. *** *** Bug 429828 has been marked as a duplicate of this bug. *** *** Bug 429990 has been marked as a duplicate of this bug. *** Since this bug has several duplicates I'm going to mark it as CONFIRMED. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knotifications/-/merge_requests/24 *** Bug 430067 has been marked as a duplicate of this bug. *** Created attachment 134046 [details]
New crash information added by DrKonqi
kdeconnectd (1.4.0) using Qt 5.15.2
- What I was doing when the application crashed:
Also happend during startup of plasma with latest versions of openSUSE Tumbleweed
-- Backtrace (Reduced):
#4 KNotification::id() (this=0x55ea3ede8120) at /usr/src/debug/knotifications-5.77.0-232.1.x86_64/src/knotification.cpp:463
#5 0x00007fc1b812db2e in NotifyByPopup::notify(KNotification*, KNotifyConfig const&) (this=0x55ea3f014390, notification=0x55ea3ede8120, notifyConfig=...) at /usr/src/debug/knotifications-5.77.0-232.1.x86_64/src/notifybypopup.cpp:112
#6 0x00007fc1b812e3e2 in operator() (watcher=<optimized out>, __closure=0x55ea3f005be0) at /usr/src/debug/knotifications-5.77.0-232.1.x86_64/src/notifybypopup.cpp:373
#10 QtPrivate::QFunctorSlotObject<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55ea3f005bd0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:436
#11 0x00007fc1b6d7f866 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffec534a8a0, r=0x55ea3f014390, this=0x55ea3f005bd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
Created attachment 134654 [details]
New crash information added by DrKonqi
kdeconnectd (20.12.1) using Qt 5.15.2
- What I was doing when the application crashed:
The application crashed right after system startup. This happens occasionally.
-- Backtrace (Reduced):
#4 KNotification::id (this=this@entry=0x562a9edb4860) at /usr/src/debug/knotifications-5.77.0/src/knotification.cpp:463
#5 0x00007f5ab185d896 in NotifyByPopup::notify (this=0x562a9ef6d150, notification=0x562a9edb4860, notifyConfig=...) at /usr/src/debug/knotifications-5.77.0/src/notifybypopup.cpp:112
#6 0x00007f5ab185dbfa in operator() (watcher=<optimized out>, __closure=0x562a9ee3dd20) at /usr/src/debug/knotifications-5.77.0/src/notifybypopup.cpp:373
#10 QtPrivate::QFunctorSlotObject<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x562a9ee3dd10, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:436
[...]
#12 0x00007f5ab084e9e0 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/libQt5DBus.so.5
Git commit d1bb15dc4892d26201d21f12362979736df1d50c by Nicolas Fella. Committed on 12/01/2021 at 12:33. Pushed by nicolasfella into branch 'master'. Fix removing pending notification from queue If a notification is in the pending queue it is not yet in the notifications map. When the notification is then closed we will hit the early return because the id wasn't found. We need to still remove it from the queue so move the relevant block up. If the notification is not removed from the queue it will stay as a dangling pointer and blow up when the capabilities are queried and we reemit the notification. M +8 -8 src/notifybypopup.cpp https://invent.kde.org/frameworks/knotifications/commit/d1bb15dc4892d26201d21f12362979736df1d50c |