Bug 265050

Summary: kontact crash while playing with its tray icon
Product: [Applications] kontact Reporter: p92
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description p92 2011-02-01 07:38:20 UTC
Application: kontact (4.4.9)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Eth Network was down for a whille
I restarted the network
I have NFS FS attached which were waiting for reconnection
when it was OK I tried to use kontact opening it whith the tray icon
I did 2 clicks on the tray icon then kontact crashed

- Unusual behavior I noticed:

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f1dc6efa780 (LWP 20486))]

Thread 3 (Thread 0x7f1d9f51e700 (LWP 20517)):
#0  0x00007f1dbd4e7e82 in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f1dbd4e845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f1dc45ac1e6 in QEventDispatcherGlib::processEvents (this=0x2fa9380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#3  0x00007f1dc457ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f1dc457edec in QEventLoop::exec (this=0x7f1d9f51dd90, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f1dc44892fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#6  0x00007f1dc455e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x30a15d0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f1dc448c27e in QThreadPrivate::start (arg=0x30a15d0) at thread/qthread_unix.cpp:266
#8  0x00007f1dbd9a6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f1dc3e7492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1d93b4a700 (LWP 10845)):
#0  0x00007f1dbd9a9c9d in __pthread_mutex_unlock_usercnt (mutex=0x95c9778) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x95c9778) at pthread_mutex_unlock.c:290
#2  0x00007f1dbd4e7ded in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f1dbd4e845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f1dc45ac1e6 in QEventDispatcherGlib::processEvents (this=0x95c7300, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f1dc457ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f1dc457edec in QEventLoop::exec (this=0x7f1d93b49d90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f1dc44892fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f1dc455e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x95b7050) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1dc448c27e in QThreadPrivate::start (arg=0x95b7050) at thread/qthread_unix.cpp:266
#10 0x00007f1dbd9a6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f1dc3e7492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1dc6efa780 (LWP 20486)):
[KCrash Handler]
#6  0x00007f1dc3dc1ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f1dc3dc56b0 in abort () at abort.c:92
#8  0x00007f1dc4483864 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007f1dc4483a42 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f1dc62d6f68 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff665fbb80) at global/qglobal.cpp:2305
#10 0x00007f1dc4483bf5 in qFatal (msg=0x5006 <Address 0x5006 out of bounds>) at global/qglobal.cpp:2488
#11 0x00007f1dc61c8bf7 in operator-> () at ../../akonadi/collection.cpp:56
#12 operator* () at ../../akonadi/collection.cpp:56
#13 Akonadi::Collection::root () at ../../akonadi/collection.cpp:172
#14 0x00007f1dc61d53b2 in Akonadi::CollectionModel::rowCount (this=<value optimized out>, parent=...) at ../../akonadi/collectionmodel.cpp:167
#15 0x00007f1dc45723fa in QAbstractItemModel::hasChildren (this=0x5006, parent=...) at kernel/qabstractitemmodel.cpp:1630
#16 0x00007f1dc5540e31 in QSortFilterProxyModel::hasChildren (this=<value optimized out>, parent=...) at itemviews/qsortfilterproxymodel.cpp:1696
#17 0x00007f1dc54fd8c1 in QTreeView::doItemsLayout (this=0x7dd18f0) at itemviews/qtreeview.cpp:2024
#18 0x00007f1dc54f6d24 in QTreeViewPrivate::updateScrollBars (this=0x7dc7470) at itemviews/qtreeview.cpp:3439
#19 0x00007f1dc54f7034 in QTreeView::updateGeometries (this=0x7dd18f0) at itemviews/qtreeview.cpp:2686
#20 0x00007f1dc54b72dd in QAbstractItemView::qt_metacall (this=0x7dd18f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff665fc120) at .moc/release-shared/moc_qabstractitemview.cpp:241
#21 0x00007f1dc5500425 in QTreeView::qt_metacall (this=0x5006, _c=20486, _id=6, _a=0xffffffffffffffff) at .moc/release-shared/moc_qtreeview.cpp:119
#22 0x00007f1dc62ca790 in Akonadi::CollectionView::qt_metacall (this=0x5006, _c=20486, _id=6, _a=0xffffffffffffffff) at ./collectionview.moc:77
#23 0x00007f1dc4597b27 in QMetaObject::activate (sender=0x7dd4f90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#24 0x00007f1dc54c603e in QHeaderView::viewportEvent (this=0x7dd4f90, e=0x7fff665fc760) at itemviews/qheaderview.cpp:2410
#25 0x00007f1dc457f507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7dd72c0, event=0x7fff665fc760) at kernel/qcoreapplication.cpp:847
#26 0x00007f1dc4f61fac in QApplicationPrivate::notify_helper (this=0x2047b10, receiver=0x7dd72c0, e=0x7fff665fc760) at kernel/qapplication.cpp:4392
#27 0x00007f1dc4f67aed in QApplication::notify (this=0x7fff665ffb50, receiver=0x7dd72c0, e=0x7fff665fc760) at kernel/qapplication.cpp:4277
#28 0x00007f1dc5cf1a36 in KApplication::notify (this=0x7fff665ffb50, receiver=0x7dd72c0, event=0x7fff665fc760) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f1dc457fcdc in QCoreApplication::notifyInternal (this=0x7fff665ffb50, receiver=0x7dd72c0, event=0x7fff665fc760) at kernel/qcoreapplication.cpp:732
#30 0x00007f1dc4fb6888 in sendEvent (this=<value optimized out>, spontaneous=false) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7715
#32 0x00007f1dc4fb67d1 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7710
#33 0x00007f1dc4fb67d1 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7710
#34 0x00007f1dc4fb67d1 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7710
#35 0x00007f1dc4fb69a9 in QWidgetPrivate::hide_helper (this=0x7dd4ff0) at kernel/qwidget.cpp:7454
#36 0x00007f1dc4fbd850 in QWidget::setVisible (this=0x7d936b0, visible=<value optimized out>) at kernel/qwidget.cpp:7626
#37 0x00007f1dc5457330 in QDialog::setVisible (this=0x7d936b0, visible=<value optimized out>) at dialogs/qdialog.cpp:791
#38 0x00007f1dc54559b6 in hide (this=0x5006, __in_chrg=<value optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:491
#39 QDialog::~QDialog (this=0x5006, __in_chrg=<value optimized out>) at dialogs/qdialog.cpp:323
#40 0x00007f1d9eb09581 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#41 0x00007f1d9eb032cc in ?? () from /usr/lib/kde4/kcal_akonadi.so
#42 0x00007f1d9eaede4f in ?? () from /usr/lib/kde4/kcal_akonadi.so
#43 0x00007f1d9eae811c in ?? () from /usr/lib/kde4/kcal_akonadi.so
#44 0x00007f1dc18aef77 in qDeleteAll<QList<KRES::Resource*>::const_iterator> (this=0x32315f0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#45 qDeleteAll<QList<KRES::Resource*> > (this=0x32315f0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#46 KRES::ManagerImpl::~ManagerImpl (this=0x32315f0, __in_chrg=<value optimized out>) at ../../kresources/managerimpl.cpp:92
#47 0x00007f1dc13c719d in KRES::Manager<KCal::ResourceCalendar>::~Manager (this=0x3230ac0, __in_chrg=<value optimized out>) at ../../kresources/manager.h:256
#48 0x00007f1dc13c2b0c in ~Private (this=0x3230360, __in_chrg=<value optimized out>) at ../../kcal/calendarresources.cpp:76
#49 KCal::CalendarResources::~CalendarResources (this=0x3230360, __in_chrg=<value optimized out>) at ../../kcal/calendarresources.cpp:261
#50 0x00007f1da9de1b25 in KOrg::StdCalendar::~StdCalendar (this=0x5006, __in_chrg=<value optimized out>) at ../../korganizer/stdcalendar.cpp:109
#51 0x00007f1da9de371f in destructObject (this=0x7f1da9fe5200, __in_chrg=<value optimized out>) at /usr/include/KDE/../k3staticdeleter.h:174
#52 K3StaticDeleter<KOrg::StdCalendar>::~K3StaticDeleter (this=0x7f1da9fe5200, __in_chrg=<value optimized out>) at /usr/include/KDE/../k3staticdeleter.h:184
#53 0x00007f1dc3dc74f2 in __run_exit_handlers (status=255) at exit.c:78
#54 exit (status=255) at exit.c:100
#55 0x00007f1dc4a0067c in KCmdLineArgs::isSet (this=<value optimized out>, _opt=<value optimized out>) at ../../kdecore/kernel/kcmdlineargs.cpp:1511
#56 0x0000000000404349 in KontactApp::newInstance (this=0x7fff665ffb50) at ../../../kontact/src/main.cpp:131
#57 0x00007f1dc5cf92b2 in KUniqueApplicationAdaptor::newInstance (this=0x219bc20, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:436
#58 0x00007f1dc5cf9974 in KUniqueApplicationAdaptor::qt_metacall (this=0x219bc20, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff665fd1a0) at ./kuniqueapplication_p.moc:85
#59 0x00007f1dc26160ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#60 0x00007f1dc26173cb in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x219bc20, flags=337, msg=...) at qdbusintegrator.cpp:829
#61 0x00007f1dc2617e65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#62 0x00007f1dc261881f in QDBusConnectionPrivate::handleObjectCall (this=<value optimized out>, msg=<value optimized out>) at qdbusintegrator.cpp:1472
#63 0x00007f1dc2618c4d in QDBusConnectionPrivate::handleMessage (this=<value optimized out>, amsg=...) at qdbusintegrator.cpp:550
#64 0x00007f1dc2618f55 in QDBusConnectionPrivate::sendWithReplyLocal (this=0x203a210, message=...) at qdbusintegrator.cpp:1885
#65 0x00007f1dc261b7d7 in QDBusConnectionPrivate::sendWithReply (this=0x203a210, message=..., sendMode=1, timeout=-1) at qdbusintegrator.cpp:1828
#66 0x00007f1dc26062c3 in QDBusConnection::call (this=0xada96e0, message=..., mode=4294967295, timeout=-957372544) at qdbusconnection.cpp:530
#67 0x00007f1dc26267f2 in QDBusAbstractInterface::callWithArgumentList (this=<value optimized out>, mode=QDBus::Block, method=<value optimized out>, args=<value optimized out>) at qdbusabstractinterface.cpp:444
#68 0x00007f1dc2629d9b in QDBusAbstractInterface::call (this=<value optimized out>, mode=QDBus::AutoDetect, method=..., arg1=..., arg2=..., arg3=..., arg4=..., arg5=..., arg6=..., arg7=..., arg8=...) at qdbusabstractinterface.cpp:699
#69 0x00007f1dc262a1b1 in QDBusAbstractInterface::call (this=0x5006, method=<value optimized out>, arg1=<value optimized out>, arg2=<value optimized out>, arg3=<value optimized out>, arg4=..., arg5=..., arg6=..., arg7=..., arg8=...) at qdbusabstractinterface.cpp:642
#70 0x00007f1da7c9f52c in KMKernel::raise (this=<value optimized out>) at ../../kmail/kmkernel.cpp:1087
#71 0x00007f1da7c9fffa in KMKernel::showMainWin (this=0x27432e0) at ../../kmail/kmkernel.cpp:2238
#72 0x00007f1da7bb911d in KMSystemTray::slotActivated (this=<value optimized out>, reason=QSystemTrayIcon::Trigger) at ../../kmail/kmsystemtray.cpp:286
#73 0x00007f1da7bbc063 in KMSystemTray::qt_metacall (this=0x2ebdb80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff665fe540) at ./kmsystemtray.moc:85
#74 0x00007f1dc4597b27 in QMetaObject::activate (sender=0x2ebdb80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#75 0x00007f1dc564762e in QSystemTrayIcon::activated (this=0x5006, _t1=QSystemTrayIcon::Trigger) at .moc/release-shared/moc_qsystemtrayicon.cpp:134
#76 0x00007f1dc561c396 in QSystemTrayIconSys::mousePressEvent (this=0x2ec3150, ev=0x7fff665fee40) at util/qsystemtrayicon_x11.cpp:298
#77 0x00007f1dc4fb8035 in QWidget::event (this=0x2ec3150, event=0x7fff665fee40) at kernel/qwidget.cpp:8183
#78 0x00007f1dc4f61fdc in QApplicationPrivate::notify_helper (this=0x2047b10, receiver=0x2ec3150, e=0x7fff665fee40) at kernel/qapplication.cpp:4396
#79 0x00007f1dc4f6830e in QApplication::notify (this=0x7fff665ffb50, receiver=0x2ec3150, e=0x7fff665fee40) at kernel/qapplication.cpp:3959
#80 0x00007f1dc5cf1a36 in KApplication::notify (this=0x7fff665ffb50, receiver=0x2ec3150, event=0x7fff665fee40) at ../../kdeui/kernel/kapplication.cpp:311
#81 0x00007f1dc457fcdc in QCoreApplication::notifyInternal (this=0x7fff665ffb50, receiver=0x2ec3150, event=0x7fff665fee40) at kernel/qcoreapplication.cpp:732
#82 0x00007f1dc4f66dbe in sendEvent (receiver=0x2ec3150, event=0x7fff665fee40, alienWidget=0x0, nativeWidget=0x2ec3150, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#83 QApplicationPrivate::sendMouseEvent (receiver=0x2ec3150, event=0x7fff665fee40, alienWidget=0x0, nativeWidget=0x2ec3150, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#84 0x00007f1dc4fea345 in QETWidget::translateMouseEvent (this=0x2ec3150, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#85 0x00007f1dc4fe8c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff665ff760) at kernel/qapplication_x11.cpp:3536
#86 0x00007f1dc50150e2 in x11EventSourceDispatch (s=0x205c1c0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#87 0x00007f1dbd4e4342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#88 0x00007f1dbd4e82a8 in ?? () from /lib/libglib-2.0.so.0
#89 0x00007f1dbd4e845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#90 0x00007f1dc45ac193 in QEventDispatcherGlib::processEvents (this=0x2019e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#91 0x00007f1dc5014a4e in QGuiEventDispatcherGlib::processEvents (this=0x5006, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#92 0x00007f1dc457ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#93 0x00007f1dc457edec in QEventLoop::exec (this=0x7fff665ffa90, flags=) at kernel/qeventloop.cpp:201
#94 0x00007f1dc4582ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#95 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-01 12:15:13 UTC
(In reply to comment #0)
> Application: kontact (4.4.9)
> KDE Platform Version: 4.6.00 (4.6.0)
> Qt Version: 4.7.0
> Operating System: Linux 2.6.35-25-generic x86_64
> Distribution: Ubuntu 10.10


Please ask your distribution to package kdepim 4.4.10 and try to reproduce this crash.
Comment 2 Christophe Marin 2011-02-23 17:29:14 UTC

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