Bug 262786

Summary: Kmail/Kontact crashes on start
Product: [Applications] kontact Reporter: mrdocs <mrdocs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mrdocs 2011-01-10 21:22:18 UTC
Application: kontact (4.4.9)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop i686
Distribution: "openSUSE 11.3 (i586)"

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

I had started Kontact per usual and it is repeatedly crashing on startup. It also is complaining about timing out reaching my IMAP server, but the server is working fine and T-Bird has no issues with it.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xaac6cb70 (LWP 13156)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4267452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5db02a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6a52a2c in wait (this=0x8967c34, mutex=0x8967c30, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8967c34, mutex=0x8967c30, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb6a47df4 in QThreadPoolThread::run (this=0x89015d0) at concurrent/qthreadpool.cpp:140
#6  0xb6a5239a in QThreadPrivate::start (arg=0x89015d0) at thread/qthread_unix.cpp:285
#7  0xb4262b25 in start_thread () from /lib/libpthread.so.0
#8  0xb5da246e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2be8710 (LWP 13153)):
[KCrash Handler]
#7  isEmpty (this=0x2e6e656b) at /usr/include/QtCore/qmap.h:200
#8  KPIM::ProgressItem::setComplete (this=0x2e6e656b) at /usr/src/debug/kdepim-4.4.9/libkdepim/progressmanager.cpp:52
#9  0xae258a15 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0xae27ec97 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0xae28e23f in ?? () from /usr/lib/libkmailprivate.so.4
#12 0xb6b57e5d in QMetaObject::metacall (object=0x84905c8, cl=QMetaObject::InvokeMetaMethod, idx=63, argv=0xbfd03dd8) at kernel/qmetaobject.cpp:237
#13 0xb6b67ffc in QMetaObject::activate (sender=0x94be200, m=0xb6f3e620, local_signal_index=3, argv=0xbfd03dd8) at kernel/qobject.cpp:3272
#14 0xb6d2e015 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#15 0xb6d2e068 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#16 0xb54ca54c in KIO::SimpleJob::slotFinished (this=0x94be200) at /usr/src/debug/kdelibs-4.5.95/kio/kio/job.cpp:525
#17 0xb54ca6c2 in KIO::ListJob::slotFinished (this=0x94be200) at /usr/src/debug/kdelibs-4.5.95/kio/kio/job.cpp:2564
#18 0xb53a08aa in KIO::SimpleJob::slotError (this=0x94be200, err=124, errorText=...) at /usr/src/debug/kdelibs-4.5.95/kio/kio/job.cpp:537
#19 0xb53a185c in KIO::SimpleJob::qt_metacall (this=0x94be200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd040e4)
    at /usr/src/debug/kdelibs-4.5.95/build/kio/jobclasses.moc:170
#20 0xb549feb2 in KIO::ListJob::qt_metacall (this=0x94be200, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbfd040e4) at /usr/src/debug/kdelibs-4.5.95/build/kio/jobclasses.moc:810
#21 0xb6b57e5d in QMetaObject::metacall (object=0x94be200, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfd040e4) at kernel/qmetaobject.cpp:237
#22 0xb6b67ffc in QMetaObject::activate (sender=0x88cd068, m=0xb55855bc, local_signal_index=2, argv=0xbfd040e4) at kernel/qobject.cpp:3272
#23 0xb53b779d in KIO::SlaveInterface::error (this=0x88cd068, _t1=124, _t2=...) at /usr/src/debug/kdelibs-4.5.95/build/kio/slaveinterface.moc:159
#24 0xb54e5bcd in KIO::SlaveInterface::dispatch (this=0x88cd068, _cmd=102, rawdata=...) at /usr/src/debug/kdelibs-4.5.95/kio/kio/slaveinterface.cpp:206
#25 0xb5478baa in KIO::SlaveInterface::dispatch (this=0x88cd068) at /usr/src/debug/kdelibs-4.5.95/kio/kio/slaveinterface.cpp:89
#26 0xb5477b18 in KIO::Slave::gotInput (this=0x88cd068) at /usr/src/debug/kdelibs-4.5.95/kio/kio/slave.cpp:348
#27 0xb547d33c in KIO::Slave::qt_metacall (this=0x88cd068, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd043cc) at /usr/src/debug/kdelibs-4.5.95/build/kio/slave.moc:82
#28 0xb6b57e5d in QMetaObject::metacall (object=0x88cd068, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfd043cc) at kernel/qmetaobject.cpp:237
#29 0xb6b67ffc in QMetaObject::activate (sender=0x88cd890, m=0xb55851cc, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#30 0xb5398835 in KIO::Connection::readyRead (this=0x88cd890) at /usr/src/debug/kdelibs-4.5.95/build/kio/connection.moc:92
#31 0xb547d0aa in KIO::ConnectionPrivate::dequeue (this=0x88cd478) at /usr/src/debug/kdelibs-4.5.95/kio/kio/connection.cpp:82
#32 0xb547d17f in KIO::Connection::qt_metacall (this=0x88cd890, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8958858) at /usr/src/debug/kdelibs-4.5.95/build/kio/connection.moc:79
#33 0xb6b57e5d in QMetaObject::metacall (object=0x88cd890, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x8958858) at kernel/qmetaobject.cpp:237
#34 0xb6b62945 in QMetaCallEvent::placeMetaCall (this=0x89002c0, object=0x88cd890) at kernel/qobject.cpp:534
#35 0xb6b66b7f in QObject::event (this=0x88cd890, e=0x89002c0) at kernel/qobject.cpp:1211
#36 0xb6069414 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb6072137 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb70846c1 in KApplication::notify (this=0xbfd04cc4, receiver=0x88cd890, event=0x89002c0) at /usr/src/debug/kdelibs-4.5.95/kdeui/kernel/kapplication.cpp:311
#39 0xb6b515be in QCoreApplication::notifyInternal (this=0xbfd04cc4, receiver=0x88cd890, event=0x89002c0) at kernel/qcoreapplication.cpp:732
#40 0xb6b5534c in sendEvent (receiver=0x0, event_type=0, data=0x8053168) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8053168) at kernel/qcoreapplication.cpp:1373
#42 0xb6b5549c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#43 0xb6b7fbd4 in sendPostedEvents (s=0x808a300) at kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x808a300) at kernel/qeventdispatcher_glib.cpp:277
#45 0xb3e7bb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#46 0xb3e7c350 in ?? () from /usr/lib/libglib-2.0.so.0
#47 0xb3e7c60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#48 0xb6b7fd5b in QEventDispatcherGlib::processEvents (this=0x80754f8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0xb611f9aa in ?? () from /usr/lib/libQtGui.so.4
#50 0xb6b5089d in QEventLoop::processEvents (this=0xbfd04c24, flags=...) at kernel/qeventloop.cpp:149
#51 0xb6b50ac9 in QEventLoop::exec (this=0xbfd04c24, flags=...) at kernel/qeventloop.cpp:201
#52 0xb6b55570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#53 0xb6067114 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#54 0x0804b813 in _start ()

Possible duplicates by query: bug 198920.

Reported using DrKonqi
Comment 1 mrdocs 2011-01-10 23:20:03 UTC
Another bt with debuginfo package:

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2d49710 (LWP 14622))]

Thread 2 (Thread 0xaadcdb70 (LWP 14627)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb43c8452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5f112a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6bb3a2c in wait (this=0x895fa1c, mutex=0x895fa18, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x895fa1c, mutex=0x895fa18, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb6ba8df4 in QThreadPoolThread::run (this=0x844bd78) at concurrent/qthreadpool.cpp:140
#6  0xb6bb339a in QThreadPrivate::start (arg=0x844bd78) at thread/qthread_unix.cpp:285
#7  0xb43c3b25 in start_thread () from /lib/libpthread.so.0
#8  0xb5f0346e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2d49710 (LWP 14622)):
[KCrash Handler]
#7  isEmpty (this=0x200074) at /usr/include/QtCore/qmap.h:200
#8  KPIM::ProgressItem::setComplete (this=0x200074) at /usr/src/debug/kdepim-4.4.9/libkdepim/progressmanager.cpp:52
#9  0xae3b9a15 in KMail::ImapAccountBase::removeJob (this=0x87ff5e0, it=...) at /usr/src/debug/kdepim-4.4.9/kmail/imapaccountbase.cpp:1375
#10 0xae3dfc97 in KMFolderImap::slotListFolderResult (this=0x85d02d8, job=0x81d7d10) at /usr/src/debug/kdepim-4.4.9/kmail/kmfolderimap.cpp:1310
#11 0xae3ef23f in KMFolderImap::qt_metacall (this=0x85d02d8, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfdd4bf8) at /usr/src/debug/kdepim-4.4.9/build/kmail/kmfolderimap.moc:188
#12 0xb6cb8e5d in QMetaObject::metacall (object=0x85d02d8, cl=QMetaObject::InvokeMetaMethod, idx=63, argv=0xbfdd4bf8) at kernel/qmetaobject.cpp:237
#13 0xb6cc8ffc in QMetaObject::activate (sender=0x81d7d10, m=0xb709f620, local_signal_index=3, argv=0xbfdd4bf8) at kernel/qobject.cpp:3272
#14 0xb6e8f015 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#15 0xb6e8f068 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#16 0xb562b54c in KIO::SimpleJob::slotFinished (this=0x81d7d10) at /usr/src/debug/kdelibs-4.5.95/kio/kio/job.cpp:525
#17 0xb562b6c2 in KIO::ListJob::slotFinished (this=0x81d7d10) at /usr/src/debug/kdelibs-4.5.95/kio/kio/job.cpp:2564
#18 0xb55018aa in KIO::SimpleJob::slotError (this=0x81d7d10, err=124, errorText=...) at /usr/src/debug/kdelibs-4.5.95/kio/kio/job.cpp:537
#19 0xb550285c in KIO::SimpleJob::qt_metacall (this=0x81d7d10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdd4f04)
    at /usr/src/debug/kdelibs-4.5.95/build/kio/jobclasses.moc:170
#20 0xb5600eb2 in KIO::ListJob::qt_metacall (this=0x81d7d10, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbfdd4f04) at /usr/src/debug/kdelibs-4.5.95/build/kio/jobclasses.moc:810
#21 0xb6cb8e5d in QMetaObject::metacall (object=0x81d7d10, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfdd4f04) at kernel/qmetaobject.cpp:237
#22 0xb6cc8ffc in QMetaObject::activate (sender=0x88cd118, m=0xb56e65bc, local_signal_index=2, argv=0xbfdd4f04) at kernel/qobject.cpp:3272
#23 0xb551879d in KIO::SlaveInterface::error (this=0x88cd118, _t1=124, _t2=...) at /usr/src/debug/kdelibs-4.5.95/build/kio/slaveinterface.moc:159
#24 0xb5646bcd in KIO::SlaveInterface::dispatch (this=0x88cd118, _cmd=102, rawdata=...) at /usr/src/debug/kdelibs-4.5.95/kio/kio/slaveinterface.cpp:206
#25 0xb55d9baa in KIO::SlaveInterface::dispatch (this=0x88cd118) at /usr/src/debug/kdelibs-4.5.95/kio/kio/slaveinterface.cpp:89
#26 0xb55d8b18 in KIO::Slave::gotInput (this=0x88cd118) at /usr/src/debug/kdelibs-4.5.95/kio/kio/slave.cpp:348
#27 0xb55de33c in KIO::Slave::qt_metacall (this=0x88cd118, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdd51ec) at /usr/src/debug/kdelibs-4.5.95/build/kio/slave.moc:82
#28 0xb6cb8e5d in QMetaObject::metacall (object=0x88cd118, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfdd51ec) at kernel/qmetaobject.cpp:237
#29 0xb6cc8ffc in QMetaObject::activate (sender=0x88cd940, m=0xb56e61cc, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#30 0xb54f9835 in KIO::Connection::readyRead (this=0x88cd940) at /usr/src/debug/kdelibs-4.5.95/build/kio/connection.moc:92
#31 0xb55de0aa in KIO::ConnectionPrivate::dequeue (this=0x88cd528) at /usr/src/debug/kdelibs-4.5.95/kio/kio/connection.cpp:82
#32 0xb55de17f in KIO::Connection::qt_metacall (this=0x88cd940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x824f0f8) at /usr/src/debug/kdelibs-4.5.95/build/kio/connection.moc:79
#33 0xb6cb8e5d in QMetaObject::metacall (object=0x88cd940, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x824f0f8) at kernel/qmetaobject.cpp:237
#34 0xb6cc3945 in QMetaCallEvent::placeMetaCall (this=0x891b700, object=0x88cd940) at kernel/qobject.cpp:534
#35 0xb6cc7b7f in QObject::event (this=0x88cd940, e=0x891b700) at kernel/qobject.cpp:1211
#36 0xb61ca414 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb61d3137 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb71e56c1 in KApplication::notify (this=0xbfdd5ae4, receiver=0x88cd940, event=0x891b700) at /usr/src/debug/kdelibs-4.5.95/kdeui/kernel/kapplication.cpp:311
#39 0xb6cb25be in QCoreApplication::notifyInternal (this=0xbfdd5ae4, receiver=0x88cd940, event=0x891b700) at kernel/qcoreapplication.cpp:732
#40 0xb6cb634c in sendEvent (receiver=0x0, event_type=0, data=0x8053168) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8053168) at kernel/qcoreapplication.cpp:1373
#42 0xb6cb649c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#43 0xb6ce0bd4 in sendPostedEvents (s=0x8082ac0) at kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x8082ac0) at kernel/qeventdispatcher_glib.cpp:277
#45 0xb3fdcb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#46 0xb3fdd350 in ?? () from /usr/lib/libglib-2.0.so.0
#47 0xb3fdd60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#48 0xb6ce0d5b in QEventDispatcherGlib::processEvents (this=0x80760f8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0xb62809aa in ?? () from /usr/lib/libQtGui.so.4
#50 0xb6cb189d in QEventLoop::processEvents (this=0xbfdd5a44, flags=...) at kernel/qeventloop.cpp:149
#51 0xb6cb1ac9 in QEventLoop::exec (this=0xbfdd5a44, flags=...) at kernel/qeventloop.cpp:201
#52 0xb6cb6570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#53 0xb61c8114 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#54 0x0804b813 in _start ()
Comment 2 Christophe Marin 2011-01-10 23:35:31 UTC
<mrdocs> i have 87000 mails in that folder

Merging with bug 175452.

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