Bug 236569 - Kontact crash on exit
Summary: Kontact crash on exit
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: calendar (show other bugs)
Version: 4.4.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 242264 255448 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-06 14:05 UTC by Bernhard Jungk
Modified: 2011-09-24 20:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Jungk 2010-05-06 14:05:58 UTC
Application: kontact (4.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Kontact crashes sporadically on exit. I was not able to record the exact steps to reproduce the crash, but I will investigate the problem further. I hope that the backtrace will shed some light on the crash for the developers.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f79b89b1780 (LWP 3255))]

Thread 2 (Thread 0x7f7997db1710 (LWP 3487)):
#0  0x00007f79b5a8cf53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f79ae5c04a9 in g_main_context_poll (context=0x19c1470, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x19c1470, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2586
#3  0x00007f79ae5c08fc in IA__g_main_context_iteration (context=0x19c1470, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#4  0x00007f79b6e77566 in QEventDispatcherGlib::processEvents (this=0x2b478e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f79b6e4c992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f79b6e4cd6c in QEventLoop::exec (this=0x7f7997db0d90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f79b6d56d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f79b6e2d178 in QInotifyFileSystemWatcherEngine::run (this=0x17c6ab0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f79b6d59775 in QThreadPrivate::start (arg=0x17c6ab0) at thread/qthread_unix.cpp:248
#10 0x00007f79b0b369ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f79b5a9969d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f79b89b1780 (LWP 3255)):
[KCrash Handler]
#5  QAction::isChecked (this=0x2e0065) at kernel/qaction.cpp:1075
#6  0x00007f7993142adc in ActionManager::writeSettings (this=0x2f121a0) at ../../korganizer/actionmanager.cpp:738
#7  0x00007f79933e47a7 in ~KOrganizerPart (this=0x4042ca0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../korganizer/korganizer_part.cpp:103
#8  0x00007f79b6e5ca5c in QObjectPrivate::deleteChildren (this=0x15993a0) at kernel/qobject.cpp:1986
#9  0x00007f79b62642d5 in ~QWidget (this=0x1599210, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#10 0x00007f79b7910d55 in ~KMainWindow (this=0x1599210, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:476
#11 0x00007f79b85ce154 in ~MainWindow (this=0x1599210, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:260
#12 0x00007f79b6e5dd6d in QObject::event (this=0x1599210, e=0x30e1ff0) at kernel/qobject.cpp:1231
#13 0x00007f79b625cbdf in QWidget::event (this=0x1599210, event=0x30e1ff0) at kernel/qwidget.cpp:8455
#14 0x00007f79b661fcab in QMainWindow::event (this=0x1599210, event=0x30e1ff0) at widgets/qmainwindow.cpp:1433
#15 0x00007f79b794d783 in KXmlGuiWindow::event (this=0x2e0065, ev=0x0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#16 0x00007f79b620722c in QApplicationPrivate::notify_helper (this=0x144f440, receiver=0x1599210, e=0x30e1ff0) at kernel/qapplication.cpp:4300
#17 0x00007f79b620d6fb in QApplication::notify (this=0x7fff1a2764a0, receiver=0x1599210, e=0x30e1ff0) at kernel/qapplication.cpp:4183
#18 0x00007f79b7836536 in KApplication::notify (this=0x7fff1a2764a0, receiver=0x1599210, event=0x30e1ff0) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007f79b6e4e06c in QCoreApplication::notifyInternal (this=0x7fff1a2764a0, receiver=0x1599210, event=0x30e1ff0) at kernel/qcoreapplication.cpp:704
#20 0x00007f79b6e507e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1414620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1414620) at kernel/qcoreapplication.cpp:1345
#22 0x00007f79b6e779d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#24 0x00007f79ae5bc8c2 in g_main_dispatch (context=0x1444920) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#25 IA__g_main_context_dispatch (context=0x1444920) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#26 0x00007f79ae5c0748 in g_main_context_iterate (context=0x1444920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#27 0x00007f79ae5c08fc in IA__g_main_context_iteration (context=0x1444920, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#28 0x00007f79b6e77513 in QEventDispatcherGlib::processEvents (this=0x1413d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f79b62b746e in QGuiEventDispatcherGlib::processEvents (this=0x2e0065, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f79b6e4c992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f79b6e4cd6c in QEventLoop::exec (this=0x2fdcaf0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f79b7d07471 in Akonadi::Control::Private::exec (this=0x155a4c0) at ../../akonadi/control.cpp:137
#33 0x00007f799206eb2d in ResourcePrivateBase::startAkonadi (this=0x2f29730) at ../../../kresources/shared/resourceprivatebase.cpp:371
#34 ResourcePrivateBase::doOpen (this=0x2f29730) at ../../../kresources/shared/resourceprivatebase.cpp:91
#35 0x00007f79b34414fe in KRES::Resource::open (this=0x2c8d630) at ../../kresources/resource.cpp:122
#36 0x00007f79b2f38f00 in KCal::ResourceCalendar::load (this=0x2c8d630) at ../../kcal/resourcecalendar.cpp:165
#37 0x00007f79b2f4ac81 in KCal::CalendarResources::load (this=0x2f05840) at ../../kcal/calendarresources.cpp:303
#38 0x00007f79933e5040 in KOrganizerPart (this=0x4042ca0, parentWidget=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../korganizer/korganizer_part.cpp:74
#39 0x00007f79933e5a0f in KPluginFactory::createPartInstance<KOrganizerPart> (parentWidget=0x1599210, parent=0x1599210, args=...) at /usr/include/kpluginfactory.h:467
#40 0x00007f79b736d9ec in KPluginFactory::create (this=0x4042700, iface=0x7f79b57a45c0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x1599210, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#41 0x00007f79b801c56a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x1599210, libname=0x1979498 "XineramaPlacementEnabled") at /usr/include/kpluginfactory.h:491
#42 KontactInterface::Core::createPart (this=0x1599210, libname=0x1979498 "XineramaPlacementEnabled") at ../../kontactinterface/core.cpp:87
#43 0x00007f799f6cdff0 in KOrganizerPlugin::createPart (this=0x2e0065) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:101
#44 0x00007f79b801e879 in KontactInterface::Plugin::part (this=0x2e0065) at ../../kontactinterface/plugin.cpp:191
#45 0x00007f79b85d108f in Kontact::MainWindow::selectPlugin (this=0x1599210, plugin=0x19f44c0) at ../../../kontact/src/mainwindow.cpp:778
#46 0x00007f79b85d5202 in Kontact::MainWindow::qt_metacall (this=0x1599210, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a274550) at ./mainwindow.moc:113
#47 0x00007f79b6e60e3f in QMetaObject::activate (sender=0x144a590, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#48 0x00007f79b85d689f in Kontact::SidePaneBase::pluginSelected (this=0x2e0065, _t1=0x19f44c0) at ./sidepanebase.moc:90
#49 0x00007f79b85d68f0 in Kontact::SidePaneBase::qt_metacall (this=0x144a590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a2746c0) at ./sidepanebase.moc:77
#50 0x00007f79b85d6b08 in Kontact::IconSidePane::qt_metacall (this=0x2e0065, _c=QMetaObject::InvokeMetaMethod, _id=-64, _a=0x1) at ./iconsidepane.moc:145
#51 0x00007f79b6e60e3f in QMetaObject::activate (sender=0x159be60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#52 0x00007f79b85d6baf in Kontact::Navigator::pluginActivated (this=0x2e0065, _t1=0x19f44c0) at ./iconsidepane.moc:96
#53 0x00007f79b85d6c40 in Kontact::Navigator::slotCurrentChanged (this=0x159be60, current=...) at ../../../kontact/src/iconsidepane.cpp:475
#54 0x00007f79b85d7371 in Kontact::Navigator::qt_metacall (this=0x159be60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a274840) at ./iconsidepane.moc:82
#55 0x00007f79b6e60e3f in QMetaObject::activate (sender=0x15855d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#56 0x00007f79b677f80a in QItemSelectionModel::currentChanged (this=0x2e0065, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#57 0x00007f79b677f952 in QItemSelectionModel::setCurrentIndex (this=0x15855d0, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1167
#58 0x00007f79b672f194 in QAbstractItemView::mousePressEvent (this=0x159be60, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1648
#59 0x00007f79b625d569 in QWidget::event (this=0x159be60, event=0x7fff1a275790) at kernel/qwidget.cpp:7994
#60 0x00007f79b66044e6 in QFrame::event (this=0x159be60, e=0x7fff1a275790) at widgets/qframe.cpp:557
#61 0x00007f79b673326b in QAbstractItemView::viewportEvent (this=0x159be60, event=0x7fff1a275790) at itemviews/qabstractitemview.cpp:1610
#62 0x00007f79b6e4d487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x15b8440, event=0x7fff1a275790) at kernel/qcoreapplication.cpp:819
#63 0x00007f79b62071fc in QApplicationPrivate::notify_helper (this=0x144f440, receiver=0x15b8440, e=0x7fff1a275790) at kernel/qapplication.cpp:4296
#64 0x00007f79b620decb in QApplication::notify (this=0x7fff1a2764a0, receiver=0x15b8440, e=0x7fff1a275790) at kernel/qapplication.cpp:3865
#65 0x00007f79b7836536 in KApplication::notify (this=0x7fff1a2764a0, receiver=0x15b8440, event=0x7fff1a275790) at ../../kdeui/kernel/kapplication.cpp:302
#66 0x00007f79b6e4e06c in QCoreApplication::notifyInternal (this=0x7fff1a2764a0, receiver=0x15b8440, event=0x7fff1a275790) at kernel/qcoreapplication.cpp:704
#67 0x00007f79b620d0ae in QCoreApplication::sendEvent (receiver=0x15b8440, event=0x7fff1a275790, alienWidget=0x15b8440, nativeWidget=0x1599210, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#68 QApplicationPrivate::sendMouseEvent (receiver=0x15b8440, event=0x7fff1a275790, alienWidget=0x15b8440, nativeWidget=0x1599210, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#69 0x00007f79b628cf65 in QETWidget::translateMouseEvent (this=0x1599210, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#70 0x00007f79b628b8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1a2760b0) at kernel/qapplication_x11.cpp:3501
#71 0x00007f79b62b7882 in x11EventSourceDispatch (s=0x14522b0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#72 0x00007f79ae5bc8c2 in g_main_dispatch (context=0x1444920) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#73 IA__g_main_context_dispatch (context=0x1444920) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#74 0x00007f79ae5c0748 in g_main_context_iterate (context=0x1444920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#75 0x00007f79ae5c08fc in IA__g_main_context_iteration (context=0x1444920, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#76 0x00007f79b6e77513 in QEventDispatcherGlib::processEvents (this=0x1413d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#77 0x00007f79b62b746e in QGuiEventDispatcherGlib::processEvents (this=0x2e0065, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007f79b6e4c992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#79 0x00007f79b6e4cd6c in QEventLoop::exec (this=0x7fff1a2763e0, flags=) at kernel/qeventloop.cpp:201
#80 0x00007f79b6e50aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#81 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2010-07-05 15:21:20 UTC
*** Bug 242264 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2011-01-27 14:22:53 UTC
*** Bug 255448 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-09-24 20:58:39 UTC
This issue is probably fixed in kdepim > 4.6. Feel free to reopen this report if you get the same backtrace with a recent kdepim version (>= 4.7.1)