Bug 357083 - Clearing notifications from the kdeconnect widget sometimes results in a crash
Summary: Clearing notifications from the kdeconnect widget sometimes results in a crash
Status: RESOLVED DUPLICATE of bug 345052
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-23 02:36 UTC by Steve Youngs
Modified: 2016-02-04 12:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Youngs 2015-12-23 02:36:30 UTC
Application: kdeconnectd (0.1)
KDE Platform Version: 4.14.9 (Compiled from sources)
Qt Version: 4.8.7
Operating System: Linux 4.1.0-rc8-00036-gd2228e4 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
Exactly as the title says, attempting to clear the notifications by clicking the 'x' button on the notification in the widget's popup.

The crash can be reproduced sometimes.

-- Backtrace:
Application: kdeconnect (kdeconnectd), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8ff491b840 (LWP 1960))]

Thread 3 (Thread 0x7f8fd1697700 (LWP 1970)):
#0  g_main_context_acquire (context=0x7f8fcc0009a0) at /usr/src/glib/glib/glib/gmain.c:3176
#1  0x00007f8fedc90795 in g_main_context_iterate (context=context@entry=0x7f8fcc0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/glib/glib/glib/gmain.c:3758
#2  0x00007f8fedc909cc in g_main_context_iteration (context=0x7f8fcc0009a0, may_block=1) at /usr/src/glib/glib/glib/gmain.c:3869
#3  0x00007f8ff1ec3f50 in QEventDispatcherGlib::processEvents (this=0x7f8fcc0008c0, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f8ff1e853ca in QEventLoop::processEvents (this=0x7f8fd1696d20, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:149
#5  0x00007f8ff1e85554 in QEventLoop::exec (this=0x7f8fd1696d20, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:204
#6  0x00007f8ff1d4cfab in QThread::exec (this=0xff3c80) at /usr/src/qt/qt4/src/corelib/thread/qthread.cpp:538
#7  0x00007f8ff1d4d14e in QThread::run (this=0xff3c80) at /usr/src/qt/qt4/src/corelib/thread/qthread.cpp:605
#8  0x00007f8ff1d4facc in QThreadPrivate::start (arg=0xff3c80) at /usr/src/qt/qt4/src/corelib/thread/qthread_unix.cpp:352
#9  0x00007f8ff2250084 in start_thread (arg=0x7f8fd1697700) at pthread_create.c:309
#10 0x00007f8ff11c6ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8fcaf15700 (LWP 3632)):
#0  0x00007f8ff1ec5054 in QList<QTimerInfo*>::const_iterator::const_iterator (this=0x7f8fcaf14a00, n=0x7f8ff22476f8 <QListData::shared_null+24>) at ../../include/QtCore/../../../qt4/src/corelib/tools/qlist.h:238
#1  0x00007f8ff1ec8788 in QList<QTimerInfo*>::constEnd (this=0x7f8fc4002ed0) at ../../include/QtCore/../../../qt4/src/corelib/tools/qlist.h:272
#2  0x00007f8ff1ec6924 in QTimerInfoList::timerWait (this=0x7f8fc4002ed0, tm=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_unix.cpp:465
#3  0x00007f8ff1ec323d in timerSourcePrepareHelper (src=0x7f8fc4002e70, timeout=0x7f8fcaf14ac4) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:136
#4  0x00007f8ff1ec33e3 in timerSourcePrepare (source=0x7f8fc4002e70, timeout=0x7f8fcaf14ac4) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:169
#5  0x00007f8fedc8fea5 in g_main_context_prepare (context=context@entry=0x7f8fc40009a0, priority=priority@entry=0x7f8fcaf14b48) at /usr/src/glib/glib/glib/gmain.c:3410
#6  0x00007f8fedc907f0 in g_main_context_iterate (context=context@entry=0x7f8fc40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/glib/glib/glib/gmain.c:3788
#7  0x00007f8fedc909cc in g_main_context_iteration (context=0x7f8fc40009a0, may_block=1) at /usr/src/glib/glib/glib/gmain.c:3869
#8  0x00007f8ff1ec3f50 in QEventDispatcherGlib::processEvents (this=0x7f8fc40008c0, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:427
#9  0x00007f8ff1e853ca in QEventLoop::processEvents (this=0x7f8fcaf14cf0, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:149
#10 0x00007f8ff1e85554 in QEventLoop::exec (this=0x7f8fcaf14cf0, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:204
#11 0x00007f8ff1d4cfab in QThread::exec (this=0x103aff0) at /usr/src/qt/qt4/src/corelib/thread/qthread.cpp:538
#12 0x00007f8ff1e604a9 in QInotifyFileSystemWatcherEngine::run (this=0x103aff0) at /usr/src/qt/qt4/src/corelib/io/qfilesystemwatcher_inotify.cpp:265
#13 0x00007f8ff1d4facc in QThreadPrivate::start (arg=0x103aff0) at /usr/src/qt/qt4/src/corelib/thread/qthread_unix.cpp:352
#14 0x00007f8ff2250084 in start_thread (arg=0x7f8fcaf15700) at pthread_create.c:309
#15 0x00007f8ff11c6ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8ff491b840 (LWP 1960)):
[KCrash Handler]
#6  QHash<QString, QHashDummyValue>::findNode (this=this@entry=0xfbe188, akey=..., ahp=ahp@entry=0x0) at /opt/qt4-git/include/QtCore/qhash.h:884
#7  0x00007f8ff452a3ea in contains (akey=..., this=0xfbe188) at /opt/qt4-git/include/QtCore/qhash.h:874
#8  contains (value=..., this=0xfbe188) at /opt/qt4-git/include/QtCore/qset.h:91
#9  KdeConnectPlugin::sendPackage (this=0xfb9600, np=...) at /usr/src/kde/kdesrc/playground/base/kdeconnect-kde/core/kdeconnectplugin.cpp:57
#10 0x00007f8fcb7e67a5 in NotificationsDbusInterface::dismissRequested (this=0xfb35e0, notification=<optimized out>) at /usr/src/kde/kdesrc/playground/base/kdeconnect-kde/plugins/notifications/notificationsdbusinterface.cpp:142
#11 0x00007f8fcb7e322d in NotificationsDbusInterface::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/kde/bld/playground/base/kdeconnect-kde/plugins/notifications/moc_notificationsdbusinterface.cpp:66
#12 0x00007f8ff1ea61f5 in QMetaObject::activate (sender=0x10f4df0, m=0x7f8fcb9e8800 <Notification::staticMetaObject>, local_signal_index=0, argv=0x7ffe754ae640) at /usr/src/qt/qt4/src/corelib/kernel/qobject.cpp:3567
#13 0x00007f8fcb7e33ff in Notification::dismissRequested (this=<optimized out>, _t1=0x10f4df0) at /usr/src/kde/bld/playground/base/kdeconnect-kde/plugins/notifications/moc_notification.cpp:143
#14 0x00007f8fcb7e40e8 in Notification::dismiss (this=<optimized out>) at /usr/src/kde/kdesrc/playground/base/kdeconnect-kde/plugins/notifications/notification.cpp:45
#15 0x00007f8fcb7e3166 in Notification::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/kde/bld/playground/base/kdeconnect-kde/plugins/notifications/moc_notification.cpp:67
#16 0x00007f8fcb7e35af in Notification::qt_metacall (this=0x10f4df0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffe754ae710) at /usr/src/kde/bld/playground/base/kdeconnect-kde/plugins/notifications/moc_notification.cpp:106
#17 0x00007f8ff248c28d in QDBusConnectionPrivate::deliverCall (this=0xc3b080, object=0x10f4df0, msg=..., metaTypes=..., slotIdx=5) at /usr/src/qt/qt4/src/dbus/qdbusintegrator.cpp:951
#18 0x00007f8ff248b9f3 in QDBusConnectionPrivate::activateCall (this=0xc3b080, object=0x10f4df0, flags=240, msg=...) at /usr/src/qt/qt4/src/dbus/qdbusintegrator.cpp:856
#19 0x00007f8ff248ff71 in QDBusConnectionPrivate::activateObject (this=0xc3b080, node=..., msg=..., pathStartPos=59) at /usr/src/qt/qt4/src/dbus/qdbusintegrator.cpp:1447
#20 0x00007f8ff24907b1 in QDBusActivateObjectEvent::placeMetaCall (this=0x109be50) at /usr/src/qt/qt4/src/dbus/qdbusintegrator.cpp:1541
#21 0x00007f8ff1ea0ef9 in QObject::event (this=0x10f4df0, e=0x109be50) at /usr/src/qt/qt4/src/corelib/kernel/qobject.cpp:1222
#22 0x00007f8ff30c7858 in QApplicationPrivate::notify_helper (this=0xc43e10, receiver=0x10f4df0, e=0x109be50) at /usr/src/qt/qt4/src/gui/kernel/qapplication.cpp:4565
#23 0x00007f8ff30c4ed0 in QApplication::notify (this=0x7ffe754af7e0, receiver=0x10f4df0, e=0x109be50) at /usr/src/qt/qt4/src/gui/kernel/qapplication.cpp:3947
#24 0x00007f8ff40de4ca in KApplication::notify (this=0x7ffe754af7e0, receiver=0x10f4df0, event=0x109be50) at /usr/src/kde/kdesrc/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#25 0x00007f8ff1e880c9 in QCoreApplication::notifyInternal (this=0x7ffe754af7e0, receiver=0x10f4df0, event=0x109be50) at /usr/src/qt/qt4/src/corelib/kernel/qcoreapplication.cpp:955
#26 0x00007f8ff30b84bb in QCoreApplication::sendEvent (receiver=0x10f4df0, event=0x109be50) at ../../include/QtCore/../../../qt4/src/corelib/kernel/qcoreapplication.h:231
#27 0x00007f8ff1e890d4 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xbecf40) at /usr/src/qt/qt4/src/corelib/kernel/qcoreapplication.cpp:1579
#28 0x00007f8ff1e88cf5 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/qt/qt4/src/corelib/kernel/qcoreapplication.cpp:1472
#29 0x00007f8ff319490d in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../qt4/src/corelib/kernel/qcoreapplication.h:236
#30 0x00007f8ff1ec3674 in postEventSourceDispatch (s=0xc435a0) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:280
#31 0x00007f8fedc9067d in g_main_dispatch (context=0xc440d0) at /usr/src/glib/glib/glib/gmain.c:3122
#32 g_main_context_dispatch (context=context@entry=0xc440d0) at /usr/src/glib/glib/glib/gmain.c:3737
#33 0x00007f8fedc90928 in g_main_context_iterate (context=context@entry=0xc440d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/glib/glib/glib/gmain.c:3808
#34 0x00007f8fedc909cc in g_main_context_iteration (context=0xc440d0, may_block=1) at /usr/src/glib/glib/glib/gmain.c:3869
#35 0x00007f8ff1ec3f2d in QEventDispatcherGlib::processEvents (this=0xc436b0, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#36 0x00007f8ff31a08be in QGuiEventDispatcherGlib::processEvents (this=0xc436b0, flags=...) at /usr/src/qt/qt4/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f8ff1e853ca in QEventLoop::processEvents (this=0x7ffe754af700, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:149
#38 0x00007f8ff1e85554 in QEventLoop::exec (this=0x7ffe754af700, flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:204
#39 0x00007f8ff1e88746 in QCoreApplication::exec () at /usr/src/qt/qt4/src/corelib/kernel/qcoreapplication.cpp:1227
#40 0x00007f8ff30c4a90 in QApplication::exec () at /usr/src/qt/qt4/src/gui/kernel/qapplication.cpp:3823
#41 0x000000000040122d in main (argc=1, argv=0x7ffe754af918) at /usr/src/kde/kdesrc/playground/base/kdeconnect-kde/kded/kdeconnectd.cpp:85

The reporter indicates this bug may be a duplicate of or related to bug 353141.

Possible duplicates by query: bug 353141, bug 345052.

Reported using DrKonqi
Comment 1 Albert Vaca Cintora 2016-02-04 12:23:06 UTC

*** This bug has been marked as a duplicate of bug 345052 ***