Bug 251702

Summary: Kontact/Kmail crash during startup
Product: [Applications] kontact Reporter: zilla901
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zilla901 2010-09-19 05:36:50 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I have multiple IMAP accounts configured (amongst them a gmail accont) and kmail crashes during program startup after supplying the password for my gmail account

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb2cc1b70 (LWP 1792)):
#0  0x066e9e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x011766fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x0117b825 in QTimerInfoList::updateCurrentTime (this=0x98260c4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0117b86a in QTimerInfoList::timerWait (this=0x98260c4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x01179818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb2cc10ac) at kernel/qeventdispatcher_glib.cpp:136
#5  0x011798a5 in timerSourcePrepare (source=0x0, timeout=0x66edff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01ea3aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01ea3ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x01ea44b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0117960f in QEventDispatcherGlib::processEvents (this=0x949c460, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x0114c059 in QEventLoop::processEvents (this=0xb2cc1270, flags=) at kernel/qeventloop.cpp:149
#11 0x0114c4aa in QEventLoop::exec (this=0xb2cc1270, flags=...) at kernel/qeventloop.cpp:201
#12 0x010485a8 in QThread::exec (this=0x98197c8) at thread/qthread.cpp:487
#13 0x0112bc1b in QInotifyFileSystemWatcherEngine::run (this=0x98197c8) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0104b32e in QThreadPrivate::start (arg=0x98197c8) at thread/qthread_unix.cpp:248
#15 0x01d1f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x00b5fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7813990 (LWP 1721)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x71, item=0x9791548, select=false) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (this=0x71, item=0x9791548, select=false) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2321
#8  QTreeWidget::d_func (this=0x71, item=0x9791548, select=false) at itemviews/qtreewidget.h:370
#9  QTreeWidget::setItemSelected (this=0x71, item=0x9791548, select=false) at itemviews/qtreewidget.cpp:3021
#10 0xb3e2dab2 in QTreeWidgetItem::setSelected (this=0x96fc198) at /usr/include/qt4/QtGui/qtreewidget.h:397
#11 KMail::FolderView::restoreItemStates (this=0x96fc198) at ../../kmail/folderview.cpp:390
#12 0xb3e3479d in KMail::FolderView::reload (this=0x96fc198, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#13 0xb409d2ab in KMMainWidget::readConfig (this=0x9656a18) at ../../kmail/kmmainwidget.cpp:593
#14 0xb40b0691 in KMMainWidget (this=0x9656a18, parent=0x9627720, aGUIClient=0x9466bdc, actionCollection=0x9466ba8, config=...) at ../../kmail/kmmainwidget.cpp:232
#15 0x08764a2b in KMailPart (this=0x9466bb8, parentWidget=0x9138c78, parent=0x9138c78, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:112
#16 0x08765372 in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x9138c78, parent=0x9138c78, args=...) at /usr/include/kpluginfactory.h:467
#17 0x007a405e in KPluginFactory::create (this=0x94b7ba0, iface=0x148380 "KParts::ReadOnlyPart", parentWidget=0x9138c78, parent=0x9138c78, args=..., keyword=...)
    at ../../kdecore/util/kpluginfactory.cpp:191
#18 0x00815505 in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x9138c78, libname=0x9493ea8 "kmailpart") at /usr/include/kpluginfactory.h:491
#19 KontactInterface::Core::createPart (this=0x9138c78, libname=0x9493ea8 "kmailpart") at ../../kontactinterface/core.cpp:87
#20 0x00816817 in KontactInterface::Plugin::loadPart (this=0x94837e0) at ../../kontactinterface/plugin.cpp:152
#21 0x02dcaeb5 in KMailPlugin::createPart (this=0x94837e0) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:179
#22 0x00817b73 in KontactInterface::Plugin::part (this=0x94837e0) at ../../kontactinterface/plugin.cpp:191
#23 0x00c18705 in Kontact::MainWindow::selectPlugin (this=0x9138c78, plugin=0x94837e0) at ../../../kontact/src/mainwindow.cpp:778
#24 0x00c12dfc in Kontact::MainWindow::loadSettings (this=0x9138c78) at ../../../kontact/src/mainwindow.cpp:944
#25 0x00c1bac1 in Kontact::MainWindow::initObject (this=0x9138c78) at ../../../kontact/src/mainwindow.cpp:210
#26 0x00c1d0ed in MainWindow (this=0x9138c78, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#27 0x0804be0e in KontactApp::newInstance (this=0xbfbb7614) at ../../../kontact/src/main.cpp:136
#28 0x00e15950 in KUniqueApplicationAdaptor::newInstance (this=0x91bc4b0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#29 0x00e160b2 in KUniqueApplicationAdaptor::qt_metacall (this=0x91bc4b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfbb6abc) at ./kuniqueapplication_p.moc:81
#30 0x004beb34 in QDBusConnectionPrivate::deliverCall (this=0x912c2d0, object=0x91bc4b0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:904
#31 0x004bfddf in QDBusConnectionPrivate::activateCall (this=0x912c2d0, object=0x91bc4b0, flags=337, msg=...) at qdbusintegrator.cpp:809
#32 0x004c0880 in QDBusConnectionPrivate::activateObject (this=0x912c2d0, node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1364
#33 0x004c0b1a in QDBusActivateObjectEvent::placeMetaCall (this=0x923b860) at qdbusintegrator.cpp:1477
#34 0x0115e3fe in QObject::event (this=0xbfbb7614, e=0x923b860) at kernel/qobject.cpp:1248
#35 0x0114d50b in QCoreApplication::event (this=0xbfbb7614, e=0x923b860) at kernel/qcoreapplication.cpp:1533
#36 0x0379ae46 in QApplication::event (this=0xbfbb7614, e=0x923b860) at kernel/qapplication.cpp:2353
#37 0x037964dc in QApplicationPrivate::notify_helper (this=0x9134308, receiver=0xbfbb7614, e=0x923b860) at kernel/qapplication.cpp:4300
#38 0x0379d05e in QApplication::notify (this=0xbfbb7614, receiver=0xbfbb7614, e=0x923b860) at kernel/qapplication.cpp:3704
#39 0x00e0df2a in KApplication::notify (this=0xbfbb7614, receiver=0xbfbb7614, event=0x923b860) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x0114da3b in QCoreApplication::notifyInternal (this=0xbfbb7614, receiver=0xbfbb7614, event=0x923b860) at kernel/qcoreapplication.cpp:704
#41 0x01150473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9114a60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9114a60) at kernel/qcoreapplication.cpp:1345
#43 0x011505dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#44 0x01179adf in QCoreApplication::sendPostedEvents (s=0x913ad10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x913ad10) at kernel/qeventdispatcher_glib.cpp:276
#46 0x01ea05e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x01ea42d8 in ?? () from /lib/libglib-2.0.so.0
#48 0x01ea44b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x011795d5 in QEventDispatcherGlib::processEvents (this=0x9114588, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0x03856135 in QGuiEventDispatcherGlib::processEvents (this=0x9114588, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x0114c059 in QEventLoop::processEvents (this=0x9207758, flags=) at kernel/qeventloop.cpp:149
#52 0x0114c4aa in QEventLoop::exec (this=0x9207758, flags=...) at kernel/qeventloop.cpp:201
#53 0x0029bb9b in Akonadi::Control::Private::exec (this=0x91dcfb0) at ../../akonadi/control.cpp:137
#54 0x0029c11e in Akonadi::Control::start () at ../../akonadi/control.cpp:206
#55 0x0029c373 in Akonadi::Control::start (parent=0x0) at ../../akonadi/control.cpp:233
#56 0x0804b451 in main (argc=1, argv=0xbfbb7834) at ../../../kontact/src/main.cpp:204

This bug may be a duplicate of or related to bug 216261.

Possible duplicates by query: bug 243526.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 20:43:59 UTC
[Comment from a bug triager]
This issue is being tracked at bug 254781. Merging. Thanks

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