Bug 256028

Summary: kontact is crashing at startup
Product: [Applications] kontact Reporter: Jan Malte Gerth <games.jan>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Malte Gerth 2010-11-04 10:31:42 UTC
Application: kontact (4.4.7)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
kontact is always crashing at startup with segmentation fault. starting kmail oder kaddressbook on their own works well.

andrea@andrea:~$ kontact --nocrashhandler --nofork
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                                                           
kontact(18729) KMFolder::updateIndicatorIcon: Could not read image from ""                                                                                       
kontact(18729) KMFolder::updateIndicatorIcon: Could not read image from "" 
kontact(18729)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(18729)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(18729)/kdeui (kdelibs): No such XML file "/home/andrea/.kde/share/apps/kontact/local-kmail.rc" 
kontact(18729)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://gerth%40paritaet-bw.de@mail.paritaet-bw.de:110/index") data size = 0 
kontact(18729)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://gerth%40paritaet-bw.de@mail.paritaet-bw.de:110/uidl") data size = 0 
kontact(18729)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://gerth%40paritaet-bw.de@mail.paritaet-bw.de:110/download/") data size = 0 
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/andrea/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
*** KMail got signal 11 (Crashing)
KCrash: Application 'kontact' crashing...
Segmentation fault

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb0b67b70 (LWP 19120)):
#0  0x04bcde36 in clock_gettime (clock_id=79503348, tp=0xb0b66f70) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0559f50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x056766e5 in QTimerInfoList::updateCurrentTime (this=0xa6827fc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0567672a in QTimerInfoList::timerWait (this=0xa6827fc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x056747a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb0b6709c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0567483d in timerSourcePrepare (source=0x0, timeout=0x4bd1ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x071ede6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x071ee279 in ?? () from /lib/libglib-2.0.so.0
#9  0x071ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0567459f in QEventDispatcherGlib::processEvents (this=0xa661980, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x05644609 in QEventLoop::processEvents (this=0xb0b67270, flags=) at kernel/qeventloop.cpp:149
#12 0x05644a8a in QEventLoop::exec (this=0xb0b67270, flags=...) at kernel/qeventloop.cpp:201
#13 0x05540b7e in QThread::exec (this=0xa680f90) at thread/qthread.cpp:490
#14 0x0562335b in QInotifyFileSystemWatcherEngine::run (this=0xa680f90) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x05543df9 in QThreadPrivate::start (arg=0xa680f90) at thread/qthread_unix.cpp:266
#16 0x05225cc9 in start_thread (arg=0xb0b67b70) at pthread_create.c:304
#17 0x0049f6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb771c730 (LWP 18959)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1279
#8  0x0558f78d in QString::realloc (this=0xbf84eca0, alloc=153918720) at /usr/include/bits/string3.h:52
#9  0x0558f8c6 in QString::realloc (this=0xbf84eca0) at tools/qstring.cpp:1293
#10 0x0151a9ef in detach (this=0xa70ef58, value=..., locale=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:717
#11 operator= (this=0xa70ef58, value=..., locale=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:801
#12 operator= (this=0xa70ef58, value=..., locale=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:815
#13 QStyledItemDelegate::displayText (this=0xa70ef58, value=..., locale=...) at itemviews/qstyleditemdelegate.cpp:299
#14 0x0151bab3 in QStyledItemDelegate::initStyleOption (this=0xa70ef58, option=0xbf84ed14, index=...) at itemviews/qstyleditemdelegate.cpp:383
#15 0x0151cc3b in QStyledItemDelegate::sizeHint (this=0xa70ef58, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445
#16 0x060ae534 in KOTodoRichTextDelegate::sizeHint (this=0xa70ef58, option=..., index=...) at ../../korganizer/views/todoview/kotododelegates.cpp:472
#17 0x014a8d33 in QTreeView::indexRowSizeHint (this=0xa7022e8, index=...) at itemviews/qtreeview.cpp:2801
#18 0x014a916b in QTreeViewPrivate::itemHeight (this=0xa708e50, item=0) at itemviews/qtreeview.cpp:3229
#19 0x014a9450 in QTreeViewPrivate::updateScrollBars (this=0xa708e50) at itemviews/qtreeview.cpp:3452
#20 0x014a9775 in QTreeView::updateGeometries (this=0xa7022e8) at itemviews/qtreeview.cpp:2686
#21 0x014b123b in QTreeView::timerEvent (this=0xa7022e8, event=0xbf84f930) at itemviews/qtreeview.cpp:1183
#22 0x05658504 in QObject::event (this=0xa7022e8, e=0x9b364ab0) at kernel/qobject.cpp:1183
#23 0x00eed936 in QWidget::event (this=0xa7022e8, event=0xbf84f930) at kernel/qwidget.cpp:8646
#24 0x0130f763 in QFrame::event (this=0xa7022e8, e=0xbf84f930) at widgets/qframe.cpp:557
#25 0x013ad487 in QAbstractScrollArea::event (this=0xa7022e8, e=0xbf84f930) at widgets/qabstractscrollarea.cpp:996
#26 0x01461a1c in QAbstractItemView::event (this=0xa7022e8, event=0xbf84f930) at itemviews/qabstractitemview.cpp:1555
#27 0x00e8ffdc in QApplicationPrivate::notify_helper (this=0x92334f8, receiver=0xa7022e8, e=0xbf84f930) at kernel/qapplication.cpp:4396
#28 0x00e960e9 in QApplication::notify (this=0xbf851754, receiver=0xa7022e8, e=0xbf84f930) at kernel/qapplication.cpp:4361
#29 0x00a5ccfa in KApplication::notify (this=0xbf851754, receiver=0xa7022e8, event=0xbf84f930) at ../../kdeui/kernel/kapplication.cpp:310
#30 0x05645b3b in QCoreApplication::notifyInternal (this=0xbf851754, receiver=0xa7022e8, event=0xbf84f930) at kernel/qcoreapplication.cpp:732
#31 0x05677ad6 in sendEvent (this=0x923bbb4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x923bbb4) at kernel/qeventdispatcher_unix.cpp:602
#33 0x05674874 in timerSourceDispatch (source=0x923bb80) at kernel/qeventdispatcher_glib.cpp:184
#34 0x071ea855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x071ee668 in ?? () from /lib/libglib-2.0.so.0
#36 0x071ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x05674565 in QEventDispatcherGlib::processEvents (this=0x9210b78, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#38 0x00f51be5 in QGuiEventDispatcherGlib::processEvents (this=0x9210b78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x05644609 in QEventLoop::processEvents (this=0xbf84fbf4, flags=) at kernel/qeventloop.cpp:149
#40 0x05644a8a in QEventLoop::exec (this=0xbf84fbf4, flags=...) at kernel/qeventloop.cpp:201
#41 0x07640d19 in KJob::exec (this=0x9f936a0) at ../../kdecore/jobs/kjob.cpp:204
#42 0x033c9bc5 in SDSummaryWidget::updateView (this=0x9a33e48) at ../../../../kontact/plugins/specialdates/sdsummarywidget.cpp:219
#43 0x033ce297 in SDSummaryWidget::qt_metacall (this=0x9a33e48, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbf85006c) at ./sdsummarywidget.moc:79
#44 0x0564b8ca in QMetaObject::metacall (object=0x9a33e48, cl=305184490, idx=32, argv=0xbf85006c) at kernel/qmetaobject.cpp:237
#45 0x0565e6ad in QMetaObject::activate (sender=0x9b07738, m=0x5fb3e6c, local_signal_index=0, argv=0xa9d7fde) at kernel/qobject.cpp:3280
#46 0x05f07097 in KCal::Calendar::calendarChanged (this=0x9b07738) at ./calendar.moc:97
#47 0x05f07153 in KCal::Calendar::qt_metacall (this=0x9b07738, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf850208) at ./calendar.moc:82
#48 0x05f974da in KCal::CalendarResources::qt_metacall (this=0x9b07738, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf850208) at ./calendarresources.moc:85
#49 0x0564b8ca in QMetaObject::metacall (object=0x9b07738, cl=305184490, idx=4, argv=0xbf850208) at kernel/qmetaobject.cpp:237
#50 0x0565e6ad in QMetaObject::activate (sender=0x9b1f090, m=0x5fb4e8c, local_signal_index=0, argv=0xa9d7fde) at kernel/qobject.cpp:3280
#51 0x05f87363 in KCal::ResourceCalendar::resourceChanged (this=0x9b1f090, _t1=0x9b1f090) at ./resourcecalendar.moc:123
#52 0x03a04498 in KCal::ResourceAkonadi::Private::clearResource (this=0x9b23758) at ../../../kresources/kcal/resourceakonadi_p.cpp:121
#53 0x03a1ea94 in ResourcePrivateBase::clear (this=0x9b23758) at ../../../kresources/shared/resourceprivatebase.cpp:264
#54 0x03a019f4 in KCal::ResourceAkonadi::doLoad (this=0x9b1f090, syncCache=false) at ../../../kresources/kcal/resourceakonadi.cpp:399
#55 0x05f879df in KCal::ResourceCalendar::load (this=0x9b1f090) at ../../kcal/resourcecalendar.cpp:167
#56 0x05f981fc in KCal::CalendarResources::load (this=0x9b07738) at ../../kcal/calendarresources.cpp:303
#57 0x0843c443 in KOrganizerPart::KOrganizerPart (this=0x9f12900, parentWidget=0x9241fa0, parent=0x9241fa0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../korganizer/korganizer_part.cpp:74
#58 0x0843d032 in KPluginFactory::createPartInstance<KOrganizerPart> (parentWidget=0x9241fa0, parent=0x9241fa0, args=...) at /usr/include/kpluginfactory.h:467
#59 0x077577a0 in KPluginFactory::create (this=0xa14cdd0, iface=0x680800 "KParts::ReadOnlyPart", parentWidget=0x9241fa0, parent=0x9241fa0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:191
#60 0x006a7a37 in create<KParts::ReadOnlyPart> (this=0x9241fa0, libname=0x95e04d0 "korganizerpart") at /usr/include/kpluginfactory.h:491
#61 KontactInterface::Core::createPart (this=0x9241fa0, libname=0x95e04d0 "korganizerpart") at ../../kontactinterface/core.cpp:87
#62 0x006a8c87 in KontactInterface::Plugin::loadPart (this=0x95e5660) at ../../kontactinterface/plugin.cpp:152
#63 0x033ddcf5 in KOrganizerPlugin::createPart (this=0x95e5660) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:101
#64 0x006aada3 in KontactInterface::Plugin::part (this=0x95e5660) at ../../kontactinterface/plugin.cpp:191
#65 0x033e3c8b in ApptSummaryWidget::ApptSummaryWidget (this=0xa632128, plugin=0x95e5660, parent=0x9a00708) at ../../../../kontact/plugins/korganizer/apptsummarywidget.cpp:65
#66 0x033dd48b in KOrganizerPlugin::createSummaryWidget (this=0x95e5660, parent=0x9a00708) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:96
#67 0x034311fe in SummaryViewPart::updateWidgets (this=0x99f0b30) at ../../../../kontact/plugins/summary/summaryview_part.cpp:160
#68 0x03432690 in SummaryViewPart::initGUI (this=0x99f0b30, core=0x9241fa0) at ../../../../kontact/plugins/summary/summaryview_part.cpp:514
#69 0x034327fe in SummaryViewPart::SummaryViewPart (this=0x99f0b30, core=0x9241fa0, aboutData=0x99e20d8, parent=0x95bf120, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:65
#70 0x0342dc22 in SummaryView::createPart (this=0x95bf120) at ../../../../kontact/plugins/summary/summaryview_plugin.cpp:109
#71 0x006aada3 in KontactInterface::Plugin::part (this=0x95bf120) at ../../kontactinterface/plugin.cpp:191
#72 0x00d4e395 in Kontact::MainWindow::selectPlugin (this=0x9241fa0, plugin=0x95bf120) at ../../../kontact/src/mainwindow.cpp:778
#73 0x00d497ca in Kontact::MainWindow::activateInitialPluginModule (this=0x9241fa0) at ../../../kontact/src/mainwindow.cpp:290
#74 0x00d49814 in Kontact::MainWindow::setInitialActivePluginModule (this=0x9241fa0, module=...) at ../../../kontact/src/mainwindow.cpp:266
#75 0x0804bb7f in KontactApp::newInstance (this=0xbf851754) at ../../../kontact/src/main.cpp:138
#76 0x00a64f10 in KUniqueApplication::Private::_k_newInstanceNoFork (this=0x931e728) at ../../kdeui/kernel/kuniqueapplication.cpp:373
#77 0x00a64f84 in KUniqueApplication::qt_metacall (this=0xbf851754, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x9338f20) at ./kuniqueapplication.moc:72
#78 0x0804b89c in KontactApp::qt_metacall (this=0xbf851754, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x9338f20) at ./main.moc:66
#79 0x0564b8ca in QMetaObject::metacall (object=0xbf851754, cl=305184490, idx=26, argv=0x9338f20) at kernel/qmetaobject.cpp:237
#80 0x05656df6 in QMetaCallEvent::placeMetaCall (this=0x932cd20, object=0xbf851754) at kernel/qobject.cpp:534
#81 0x056586a2 in QObject::event (this=0xbf851754, e=0x9b364ab0) at kernel/qobject.cpp:1219
#82 0x056459db in QCoreApplication::event (this=0xbf851754, e=0x932cd20) at kernel/qcoreapplication.cpp:1561
#83 0x00e934d4 in QApplication::event (this=0xbf851754, e=0x932cd20) at kernel/qapplication.cpp:2439
#84 0x00e8ffdc in QApplicationPrivate::notify_helper (this=0x92334f8, receiver=0xbf851754, e=0x932cd20) at kernel/qapplication.cpp:4396
#85 0x00e9604e in QApplication::notify (this=0xbf851754, receiver=0xbf851754, e=0x932cd20) at kernel/qapplication.cpp:3798
#86 0x00a5ccfa in KApplication::notify (this=0xbf851754, receiver=0xbf851754, event=0x932cd20) at ../../kdeui/kernel/kapplication.cpp:310
#87 0x05645b3b in QCoreApplication::notifyInternal (this=0xbf851754, receiver=0xbf851754, event=0x932cd20) at kernel/qcoreapplication.cpp:732
#88 0x05648d8b in sendEvent (receiver=0x0, event_type=0, data=0x9210eb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#89 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9210eb8) at kernel/qcoreapplication.cpp:1373
#90 0x05648f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#91 0x05674a74 in sendPostedEvents (s=0x923b318) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#92 postEventSourceDispatch (s=0x923b318) at kernel/qeventdispatcher_glib.cpp:277
#93 0x071ea855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#94 0x071ee668 in ?? () from /lib/libglib-2.0.so.0
#95 0x071ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#96 0x05674565 in QEventDispatcherGlib::processEvents (this=0x9210b78, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#97 0x00f51be5 in QGuiEventDispatcherGlib::processEvents (this=0x9210b78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#98 0x05644609 in QEventLoop::processEvents (this=0xbf8516b4, flags=) at kernel/qeventloop.cpp:149
#99 0x05644a8a in QEventLoop::exec (this=0xbf8516b4, flags=...) at kernel/qeventloop.cpp:201
#100 0x0564900f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#101 0x00e8ee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#102 0x0804b132 in main (argc=2, argv=0xbf851974) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 16:52:07 UTC
[Comment from a bug triager]
This issue is being tracked at bug 253562. Merging.
It seems to be related to calendar events in Akonadi.
Thanks

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