https://bugs.kde.org/show_bug.cgi?id=319254
Bug ID: 319254 Summary: kontact crashes when closing tray icon after suspend/resume Classification: Unclassified Product: kontact Version: 4.10.2 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: kdepim-bugs@kde.org Reporter: sven.e...@gmx.de Application: kontact (4.10.2) KDE Platform Version: 4.10.2 (Compiled from sources) Qt Version: 4.8.4 Operating System: Linux 3.8.10-geek x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: Note: Due to bug 310151 I had to search manually for possible duplicates but couldn't find any. I Apologize if I missed any duplicates. - What I was doing when the application crashed: Closed kontact and shut down akonadi (forgot that I had enabled that tray icon) and put my laptop to sleep. (suspend to ram) When I woke the laptop up, I saw that akonadi was restarted and shut it down again. After that I right-clicked the kmail icon and exited kontact. First Dr.Konqi showed up with this report telling me that kontact crashed, and after a few seconds plasma crashed. Unfortunately the second backtrace didn't yield any valuable data although my complete (!) system is compiled with debugging information. - Custom settings of the application: This is a complete new user account! -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f23f5d0e780 (LWP 12035))] Thread 4 (Thread 0x7f23dbdee700 (LWP 12036)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f23f257d0cd in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f23f2f40200 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495 #2 0x00007f23f257d1d9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618 #3 0x00007f23edc18fea in start_thread (arg=0x7f23dbdee700) at pthread_create.c:305 #4 0x00007f23f32a1fdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7f23db4d5700 (LWP 12037)): #0 0x00007f23f32990ef in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f23ecbe8af4 in g_main_context_poll (n_fds=1, fds=0x7f23d40029c0, timeout=-1, context=0x7f23d40009a0, priority=<optimized out>) at gmain.c:3584 #2 g_main_context_iterate (context=context@entry=0x7f23d40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285 #3 0x00007f23ecbe8c14 in g_main_context_iteration (context=0x7f23d40009a0, may_block=1) at gmain.c:3351 #4 0x00007f23f46993c6 in QEventDispatcherGlib::processEvents (this=0x7f23d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #5 0x00007f23f466a62f in QEventLoop::processEvents (this=this@entry=0x7f23db4d4e70, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f23f466a8b8 in QEventLoop::exec (this=0x7f23db4d4e70, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f23f456c2a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #8 0x00007f23f456f26c in QThreadPrivate::start (arg=0xd8a890) at thread/qthread_unix.cpp:338 #9 0x00007f23edc18fea in start_thread (arg=0x7f23db4d5700) at pthread_create.c:305 #10 0x00007f23f32a1fdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7f238e86e700 (LWP 12231)): #0 0x00007f23f32990ef in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f23ecbe8af4 in g_main_context_poll (n_fds=1, fds=0x7f2388001300, timeout=-1, context=0x7f2388007fd0, priority=<optimized out>) at gmain.c:3584 #2 g_main_context_iterate (context=context@entry=0x7f2388007fd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285 #3 0x00007f23ecbe8c14 in g_main_context_iteration (context=0x7f2388007fd0, may_block=1) at gmain.c:3351 #4 0x00007f23f46993c6 in QEventDispatcherGlib::processEvents (this=0x7f2388008390, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #5 0x00007f23f466a62f in QEventLoop::processEvents (this=this@entry=0x7f238e86de40, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f23f466a8b8 in QEventLoop::exec (this=0x7f238e86de40, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f23f456c2a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #8 0x00007f23f464b1ff in QInotifyFileSystemWatcherEngine::run (this=0x1956180) at io/qfilesystemwatcher_inotify.cpp:256 #9 0x00007f23f456f26c in QThreadPrivate::start (arg=0x1956180) at thread/qthread_unix.cpp:338 #10 0x00007f23edc18fea in start_thread (arg=0x7f238e86e700) at pthread_create.c:305 #11 0x00007f23f32a1fdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7f23f5d0e780 (LWP 12035)): [KCrash Handler] #6 operator QAbstractItemModel* (this=<error reading variable: Cannot access memory at address 0x8>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78 #7 QItemSelectionModel::model (this=0x0) at itemviews/qitemselectionmodel.cpp:1527 #8 0x00007f2393686186 in KMail::KMSystemTray::slotContextMenuAboutToShow (this=0x33e5eb0) at /home/portage/kde-base/kmail-4.10.2/work/kmail-4.10.2/kmail/kmsystemtray.cpp:279 #9 0x00007f23f4681e1f in QMetaObject::activate (sender=0x1b92f60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539 #10 0x00007f23f4673626 in QMetaMethod::invoke (this=this@entry=0x7fff58b4a860, object=object@entry=0x1b92f60, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664 #11 0x00007f23f4675b6c in QMetaObject::invokeMethod (obj=0x1b92f60, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179 #12 0x00007f23ee660fdd in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7f23ee6742a9 "aboutToShow", obj=0x1b92f60) at /usr/include/qt4/QtCore/qobjectdefs.h:434 #13 DBusMenuExporterDBus::AboutToShow (this=this@entry=0x4327070, id=<optimized out>) at /home/portage/dev-libs/libdbusmenu-qt-0.9.2/work/libdbusmenu-qt-0.9.2/src/dbusmenuexporterdbus_p.cpp:156 #14 0x00007f23ee663136 in DBusMenuExporterDBus::qt_static_metacall (_o=_o@entry=0x4327070, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, _a=_a@entry=0x7fff58b4af30) at /home/portage/dev-libs/libdbusmenu-qt-0.9.2/work/libdbusmenu-qt-0.9.2_build/src/dbusmenuexporterdbus_p.moc:89 #15 0x00007f23ee6632df in DBusMenuExporterDBus::qt_metacall (this=0x4327070, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff58b4af30) at /home/portage/dev-libs/libdbusmenu-qt-0.9.2/work/libdbusmenu-qt-0.9.2_build/src/dbusmenuexporterdbus_p.moc:129 #16 0x00007f23f03faec3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0xf62990, object=object@entry=0x4327070, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:951 #17 0x00007f23f03fbfc5 in QDBusConnectionPrivate::activateCall (this=this@entry=0xf62990, object=0x4327070, flags=4080, msg=...) at qdbusintegrator.cpp:863 #18 0x00007f23f03fc6a7 in QDBusConnectionPrivate::activateObject (this=0xf62990, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1447 #19 0x00007f23f03fca6b in QDBusActivateObjectEvent::placeMetaCall (this=0x4429360) at qdbusintegrator.cpp:1541 #20 0x00007f23f468058e in QObject::event (this=0x4327070, e=<optimized out>) at kernel/qobject.cpp:1194 #21 0x00007f23f3a3443c in QApplicationPrivate::notify_helper (this=this@entry=0xc1c1c0, receiver=receiver@entry=0x4327070, e=e@entry=0x4429360) at kernel/qapplication.cpp:4562 #22 0x00007f23f3a361ba in QApplication::notify (this=0x7fff58b4be10, receiver=0x4327070, e=0x4429360) at kernel/qapplication.cpp:4423 #23 0x00007f23f50ddfb6 in KApplication::notify (this=0x7fff58b4be10, receiver=0x4327070, event=0x4429360) at /home/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311 #24 0x00007f23f466b8de in QCoreApplication::notifyInternal (this=0x7fff58b4be10, receiver=receiver@entry=0x4327070, event=event@entry=0x4429360) at kernel/qcoreapplication.cpp:946 #25 0x00007f23f466f101 in sendEvent (event=0x4429360, receiver=0x4327070) at kernel/qcoreapplication.h:231 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xbe36a0) at kernel/qcoreapplication.cpp:1570 #27 0x00007f23f4699213 in sendPostedEvents () at kernel/qcoreapplication.h:236 #28 postEventSourceDispatch (s=s@entry=0xbe4c10) at kernel/qeventdispatcher_glib.cpp:279 #29 0x00007f23ecbe8825 in g_main_dispatch (context=0xc1a660) at gmain.c:2715 #30 g_main_context_dispatch (context=context@entry=0xc1a660) at gmain.c:3219 #31 0x00007f23ecbe8b58 in g_main_context_iterate (context=context@entry=0xc1a660, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290 #32 0x00007f23ecbe8c14 in g_main_context_iteration (context=0xc1a660, may_block=1) at gmain.c:3351 #33 0x00007f23f46993a6 in QEventDispatcherGlib::processEvents (this=0xc1bb80, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #34 0x00007f23f3acfa8e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #35 0x00007f23f466a62f in QEventLoop::processEvents (this=this@entry=0x7fff58b4bae0, flags=...) at kernel/qeventloop.cpp:149 #36 0x00007f23f466a8b8 in QEventLoop::exec (this=0x7fff58b4bae0, flags=...) at kernel/qeventloop.cpp:204 #37 0x00007f23f4af91e3 in KJob::exec (this=0x10f0560) at /home/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdecore/jobs/kjob.cpp:210 #38 0x00007f2393698398 in KMKernel::cleanup (this=0x1071bd0) at /home/portage/kde-base/kmail-4.10.2/work/kmail-4.10.2/kmail/kmkernel.cpp:1323 #39 0x00007f23939d9283 in KMailPart::~KMailPart (this=this@entry=0xf77f20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/portage/kde-base/kmail-4.10.2/work/kmail-4.10.2/kmail/kmail_part.cpp:119 #40 0x00007f23939d9369 in KMailPart::~KMailPart (this=0xf77f20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/portage/kde-base/kmail-4.10.2/work/kmail-4.10.2/kmail/kmail_part.cpp:121 #41 0x00007f23f5515d7e in KontactInterface::Plugin::~Plugin (this=0xe76e10, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /home/portage/kde-base/kdepimlibs-4.10.2/work/kdepimlibs-4.10.2/kontactinterface/plugin.cpp:91 #42 0x00007f23d8a75c2f in KMailPlugin::~KMailPlugin (this=0xe76e10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/portage/kde-base/kmail-4.10.2/work/kmail-4.10.2/kontact/plugins/kmail/kmail_plugin.cpp:159 #43 0x00007f23d8a75c59 in KMailPlugin::~KMailPlugin (this=0xe76e10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/portage/kde-base/kmail-4.10.2/work/kmail-4.10.2/kontact/plugins/kmail/kmail_plugin.cpp:163 #44 0x00007f23f594d7f6 in Kontact::MainWindow::~MainWindow (this=this@entry=0xc23fc0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/portage/kde-base/kontact-4.10.2/work/kontact-4.10.2/kontact/src/mainwindow.cpp:294 #45 0x00007f23f594d959 in Kontact::MainWindow::~MainWindow (this=0xc23fc0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/portage/kde-base/kontact-4.10.2/work/kontact-4.10.2/kontact/src/mainwindow.cpp:296 #46 0x000000000040345e in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322 #47 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330 #48 main (argc=1, argv=0x7fff58b4bf58) at /home/portage/kde-base/kontact-4.10.2/work/kontact-4.10.2/kontact/src/main.cpp:220 Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs