Bug 257585

Summary: Kontact crashes on start
Product: [Applications] kontact Reporter: Pogo_Dick
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: agateau, andresbajotierra, aurelien.gateau, borisss, hugo.pereira.da.costa, jsardid, kdenis, t.kijas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Pogo_Dick 2010-11-22 10:49:15 UTC
Application: kontact (4.4.7)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I just started Kontact trough the K-Menu. Everytime I do this Kontact crashes. I only use Akregator and Kmail trough Kontact. Kmail, Akregator, KOrganizer and KAdressbook can be started trough their stand-alone binaries.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fee306ce710 (LWP 2349)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fee54305da2 in wait (this=<value optimized out>, mutex=0x30b8850, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x30b8850, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fee542fada2 in QThreadPoolThread::run (this=0x324a7a0) at concurrent/qthreadpool.cpp:140
#4  0x00007fee5430527e in QThreadPrivate::start (arg=0x324a7a0) at thread/qthread_unix.cpp:266
#5  0x00007fee4edde971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fee53ced94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fee2e3b0710 (LWP 2351)):
#0  0x00007fee53ce1203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fee4ca4f009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fee4ca4f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fee544251e6 in QEventDispatcherGlib::processEvents (this=0x33c4c10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fee543f7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fee543f7dec in QEventLoop::exec (this=0x7fee2e3afd90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fee543022fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fee543d75f8 in QInotifyFileSystemWatcherEngine::run (this=0x211a640) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fee5430527e in QThreadPrivate::start (arg=0x211a640) at thread/qthread_unix.cpp:266
#9  0x00007fee4edde971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fee53ced94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fee56cb1780 (LWP 2333)):
[KCrash Handler]
#6  QList (this=0x302af76) at ../../include/QtCore/../../src/corelib/tools/qlist.h:118
#7  QWidget::actions (this=0x302af76) at kernel/qwidget.cpp:3181
#8  0x00007fee5548372e in DBusMenuExporterDBus::GetChildren (this=0x24de3d0, parentId=<value optimized out>, names=<value optimized out>) at ../3rdparty/dbusmenu-qt/src/dbusmenuexporterdbus_p.cpp:53
#9  0x00007fee55496c9a in DBusMenuExporterDBus::qt_metacall (this=0x24de3d0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffa5421500) at .moc/release-shared/moc_dbusmenuexporterdbus_p.cpp:106
#10 0x00007fee524bd0ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#11 0x00007fee524be3cb in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x24de3d0, flags=4080, msg=...) at qdbusintegrator.cpp:829
#12 0x00007fee524bebae in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1399
#13 0x00007fee524bf108 in QDBusActivateObjectEvent::placeMetaCall (this=0x350e930) at qdbusintegrator.cpp:1493
#14 0x00007fee5440abde in QObject::event (this=0x24de3d0, e=0x7fffa54211f0) at kernel/qobject.cpp:1219
#15 0x00007fee54daefdc in QApplicationPrivate::notify_helper (this=0x1bf2a10, receiver=0x24de3d0, e=0x350e930) at kernel/qapplication.cpp:4396
#16 0x00007fee54db4aed in QApplication::notify (this=0x7fffa5425920, receiver=0x24de3d0, e=0x350e930) at kernel/qapplication.cpp:4277
#17 0x00007fee55b02526 in KApplication::notify (this=0x7fffa5425920, receiver=0x24de3d0, event=0x350e930) at ../../kdeui/kernel/kapplication.cpp:310
#18 0x00007fee543f8cdc in QCoreApplication::notifyInternal (this=0x7fffa5425920, receiver=0x24de3d0, event=0x350e930) at kernel/qcoreapplication.cpp:732
#19 0x00007fee543fbc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1bc0380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1bc0380) at kernel/qcoreapplication.cpp:1373
#21 0x00007fee54425653 in sendPostedEvents (s=0x1bf06a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0x1bf06a0) at kernel/qeventdispatcher_glib.cpp:277
#23 0x00007fee4ca4b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007fee4ca4f2a8 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007fee4ca4f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007fee54425193 in QEventDispatcherGlib::processEvents (this=0x1bbfe90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#27 0x00007fee54e61a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa54211f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fee543f7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007fee543f7dec in QEventLoop::exec (this=0x7fffa54221c0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007fee5484eda6 in KJob::exec (this=0x32b4780) at ../../kdecore/jobs/kjob.cpp:204
#31 0x00007fee39db0f2c in SDSummaryWidget::updateView (this=0x3248810) at ../../../../kontact/plugins/specialdates/sdsummarywidget.cpp:219
#32 0x00007fee38e51b0f in SummaryViewPart::updateSummaries (this=0x3206410) at ../../../../kontact/plugins/summary/summaryview_part.cpp:110
#33 0x00007fee38e51b95 in SummaryViewPart::partActivateEvent (this=0x3206410, event=0x7fffa5423360) at ../../../../kontact/plugins/summary/summaryview_part.cpp:100
#34 0x00007fee5440ac3c in QObject::event (this=0x3206410, e=<value optimized out>) at kernel/qobject.cpp:1250
#35 0x00007fee54daefdc in QApplicationPrivate::notify_helper (this=0x1bf2a10, receiver=0x3206410, e=0x7fffa5423360) at kernel/qapplication.cpp:4396
#36 0x00007fee54db4aed in QApplication::notify (this=0x7fffa5425920, receiver=0x3206410, e=0x7fffa5423360) at kernel/qapplication.cpp:4277
#37 0x00007fee55b02526 in KApplication::notify (this=0x7fffa5425920, receiver=0x3206410, event=0x7fffa5423360) at ../../kdeui/kernel/kapplication.cpp:310
#38 0x00007fee543f8cdc in QCoreApplication::notifyInternal (this=0x7fffa5425920, receiver=0x3206410, event=0x7fffa5423360) at kernel/qcoreapplication.cpp:732
#39 0x00007fee539d5fd9 in sendEvent (this=0x244ede0, part=0x3206410, widget=0x0) at /usr/include/qt4/QtCore/qcoreapplication.h:215
#40 KParts::PartManager::setActivePart (this=0x244ede0, part=0x3206410, widget=0x0) at ../../kparts/partmanager.cpp:467
#41 0x00007fee568cf77a in Kontact::MainWindow::selectPlugin (this=0x1bfdc00, plugin=0x2470aa0) at ../../../kontact/src/mainwindow.cpp:822
#42 0x00007fee568d2ea2 in Kontact::MainWindow::qt_metacall (this=0x1bfdc00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa54239f0) at ./mainwindow.moc:113
#43 0x00007fee54410b27 in QMetaObject::activate (sender=0x1c679a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fee5472a760) at kernel/qobject.cpp:3280
#44 0x00007fee568d46ff in Kontact::SidePaneBase::pluginSelected (this=0x7fffa54211f0, _t1=0x2470aa0) at ./sidepanebase.moc:90
#45 0x00007fee568d4750 in Kontact::SidePaneBase::qt_metacall (this=0x1c679a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa5423b60) at ./sidepanebase.moc:77
#46 0x00007fee568d4968 in Kontact::IconSidePane::qt_metacall (this=0x7fffa54211f0, _c=50507638, _id=0, _a=0x7fee5472a760) at ./iconsidepane.moc:145
#47 0x00007fee54410b27 in QMetaObject::activate (sender=0x1c4c340, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fee5472a760) at kernel/qobject.cpp:3280
#48 0x00007fee568d4a0f in Kontact::Navigator::pluginActivated (this=0x7fffa54211f0, _t1=0x2470aa0) at ./iconsidepane.moc:96
#49 0x00007fee568d4aa0 in Kontact::Navigator::slotCurrentChanged (this=0x1c4c340, current=...) at ../../../kontact/src/iconsidepane.cpp:475
#50 0x00007fee568d51d1 in Kontact::Navigator::qt_metacall (this=0x1c4c340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa5423ce0) at ./iconsidepane.moc:82
#51 0x00007fee54410b27 in QMetaObject::activate (sender=0x1d43830, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fee5472a760) at kernel/qobject.cpp:3280
#52 0x00007fee5535561a in QItemSelectionModel::currentChanged (this=0x7fffa54211f0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#53 0x00007fee55355762 in QItemSelectionModel::setCurrentIndex (this=0x1d43830, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1156
#54 0x00007fee568d539e in Kontact::Navigator::setCurrentPlugin (this=0x1c4c340, plugin=<value optimized out>) at ../../../kontact/src/iconsidepane.cpp:380
#55 0x00007fee568cf73f in Kontact::MainWindow::selectPlugin (this=0x1bfdc00, plugin=0x2470aa0) at ../../../kontact/src/mainwindow.cpp:817
#56 0x00007fee568ca835 in Kontact::MainWindow::selectPlugin (this=0x1bfdc00, pluginName=...) at ../../../kontact/src/mainwindow.cpp:924
#57 0x00007fee568c9919 in Kontact::MainWindow::loadSettings (this=0x1bfdc00) at ../../../kontact/src/mainwindow.cpp:946
#58 0x00007fee568d1db0 in Kontact::MainWindow::initObject (this=0x1bfdc00) at ../../../kontact/src/mainwindow.cpp:210
#59 0x00007fee568d322c in Kontact::MainWindow::MainWindow (this=0x1bfdc00, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#60 0x00000000004044d4 in KontactApp::newInstance (this=0x7fffa5425920) at ../../../kontact/src/main.cpp:136
#61 0x00007fee55b09d46 in KUniqueApplicationAdaptor::newInstance (this=0x1c51d40, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#62 0x00007fee55b0a386 in KUniqueApplicationAdaptor::qt_metacall (this=0x1c51d40, _c=QMetaObject::InvokeMetaMethod, _id=776291423, _a=0x7fffa5424ac0) at ./kuniqueapplication_p.moc:81
#63 0x00007fee524bd0ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#64 0x00007fee524be36f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1c51d40, flags=337, msg=...) at qdbusintegrator.cpp:822
#65 0x00007fee524bee65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#66 0x00007fee524bf108 in QDBusActivateObjectEvent::placeMetaCall (this=0x1d5c850) at qdbusintegrator.cpp:1493
#67 0x00007fee5440abde in QObject::event (this=0x7fffa5425920, e=0x7fffa54211f0) at kernel/qobject.cpp:1219
#68 0x00007fee54db2186 in QApplication::event (this=0x7fffa5425920, e=0x1d5c850) at kernel/qapplication.cpp:2439
#69 0x00007fee54daefdc in QApplicationPrivate::notify_helper (this=0x1bf2a10, receiver=0x7fffa5425920, e=0x1d5c850) at kernel/qapplication.cpp:4396
#70 0x00007fee54db4aed in QApplication::notify (this=0x7fffa5425920, receiver=0x7fffa5425920, e=0x1d5c850) at kernel/qapplication.cpp:4277
#71 0x00007fee55b02526 in KApplication::notify (this=0x7fffa5425920, receiver=0x7fffa5425920, event=0x1d5c850) at ../../kdeui/kernel/kapplication.cpp:310
#72 0x00007fee543f8cdc in QCoreApplication::notifyInternal (this=0x7fffa5425920, receiver=0x7fffa5425920, event=0x1d5c850) at kernel/qcoreapplication.cpp:732
#73 0x00007fee543fbc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1bc0380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#74 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1bc0380) at kernel/qcoreapplication.cpp:1373
#75 0x00007fee54425653 in sendPostedEvents (s=0x1bf06a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#76 postEventSourceDispatch (s=0x1bf06a0) at kernel/qeventdispatcher_glib.cpp:277
#77 0x00007fee4ca4b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#78 0x00007fee4ca4f2a8 in ?? () from /lib/libglib-2.0.so.0
#79 0x00007fee4ca4f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#80 0x00007fee54425193 in QEventDispatcherGlib::processEvents (this=0x1bbfe90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#81 0x00007fee54e61a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa54211f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#82 0x00007fee543f7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#83 0x00007fee543f7dec in QEventLoop::exec (this=0x7fffa5425860, flags=) at kernel/qeventloop.cpp:201
#84 0x00007fee543fbebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#85 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-22 18:35:37 UTC
[Comment from a bug triager]
- Do you use Desktop Compositing ? This may be related to bug 254066 (the root cause seems to be the same as the backtrace is mostly the same)
Thanks
Comment 2 Pogo_Dick 2010-11-23 12:49:33 UTC
Yes, I'm using compositing, but disabling it does not fix the crash. But the backtrace is different. Thread 2 from here is missing and thread 1 is different.

Here the backtrace through pastebin: http://pastebin.com/mk2np4hA
Comment 3 Aurelien Gateau 2011-01-25 10:35:37 UTC
I am quite confident this is fixed in Natty. Is it possible for you to try the latest alpha?
Comment 4 spqr 2011-02-13 19:07:04 UTC
Created attachment 57218 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

kontact crashes at start.

-- Backtrace (Reduced):
#7  QList (this=0x1) at ../../include/QtCore/../../src/corelib/tools/qlist.h:118
#8  QWidget::actions (this=0x1) at kernel/qwidget.cpp:3181
#9  0x01dd1e8d in DBusMenuExporterDBus::GetChildren (this=0x9c192c0, parentId=69, names=...) at ../3rdparty/dbusmenu-qt/src/dbusmenuexporterdbus_p.cpp:53
#10 0x01dea708 in DBusMenuExporterDBus::qt_metacall (this=0x9c192c0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8e328c) at .moc/release-shared/moc_dbusmenuexporterdbus_p.cpp:106
#11 0x006a79dc in QDBusConnectionPrivate::deliverCall (this=0x990e1f8, object=0x9c192c0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:919
Comment 5 Aurelien Gateau 2011-02-14 09:51:33 UTC
Hi spqr,

This bug should be fixed in Natty, is it possible for you to try the latest alpha?

Aurélien
Comment 6 Hugo Pereira Da Costa 2011-03-05 15:31:41 UTC
Question: which widget style do you use ? And does this happen with every widget style ? 

Bug 267717 has exactly the same backtrace but happens only when using experimental oxygen-transparent widget style.
Comment 7 Christophe Marin 2011-03-05 19:32:02 UTC
*** Bug 267717 has been marked as a duplicate of this bug. ***
Comment 8 avlas 2011-03-16 02:04:30 UTC
In my case kontact crashes when using oxygen-transparent. At least in my case I think it is related to the way kontact (maybe only in kubuntu, not sure) manages transparency because I can use oxygen-transparent if I set the configuration to completely opaque
Comment 9 Christophe Marin 2011-04-08 15:33:19 UTC
(In reply to comment #5)
> Hi spqr,
> 
> This bug should be fixed in Natty, is it possible for you to try the latest
> alpha?
> 
> Aurélien

So, any Kubuntu Natty tester to confirm whether it is reproducible ?
Comment 10 avlas 2011-04-09 01:24:06 UTC
I tried Kontact after my upgrade to Natty and I can confirm that bug https://bugs.kde.org/show_bug.cgi?id=267717 is fixed. I guess these other issues are also fixed although I didn't have them before...
Comment 11 Christophe Marin 2011-04-24 14:21:19 UTC
*** Bug 268794 has been marked as a duplicate of this bug. ***