Bug 258177

Summary: Kontact (KMail2) crashed on startup
Product: [Applications] kontact Reporter: Alex Richardson <arichardson.kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.6 pre   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Richardson 2010-11-28 14:20:32 UTC
Application: kontact (4.6 pre)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Kmail crashed on startup, it seems this is not reproducible since most of the time the startup works fine except for the GUI being unresponsive (Bug 258003).

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fddf6014760 (LWP 3919))]

Thread 2 (Thread 0x7fdddee2e710 (LWP 3955)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fddf2a7feb4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fddee3f9a4f in start_thread (arg=0x7fdddee2e710) at pthread_create.c:297
#3  0x00007fddf363182d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fddf6014760 (LWP 3919)):
[KCrash Handler]
#6  isEmpty (this=0x0) at /usr/include/QtCore/qmap.h:200
#7  KPIM::ProgressItem::setComplete (this=0x0) at /usr/src/debug/kdepim-4.5.80/libkdepim/progressmanager.cpp:52
#8  0x00007fddf12b5bac in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0xc977b0, instance=...) at /usr/src/debug/kdepim-4.5.80/libkdepim/agentprogressmonitor.cpp:85
#9  0x00007fddf12b5c4a in KPIM::AgentProgressMonitor::qt_metacall (this=0x117fd70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9ca72870) at /usr/src/debug/kdepim-4.5.80/build/libkdepim/agentprogressmonitor.moc:78
#10 0x00007fddf49eafef in QMetaObject::activate (sender=0xc603d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9ca72870) at kernel/qobject.cpp:3272
#11 0x00007fddf07abd55 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanager.moc:177
#12 0x00007fddf07ea621 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0xc60640, identifier=<value optimized out>, status=2, msg=...) at /usr/src/debug/kdepimlibs-4.5.80/akonadi/agentmanager.cpp:129
#13 0x00007fddf07ec76e in Akonadi::AgentManager::qt_metacall (this=0xc603d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9ca729f0) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanager.moc:131
#14 0x00007fddf49eafef in QMetaObject::activate (sender=0x7c2c30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9ca729f0) at kernel/qobject.cpp:3272
#15 0x00007fddf08b3ceb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=2, _t3=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanagerinterface.moc:280
#16 0x00007fddf08b4198 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x7c2c30, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff9ca733a0) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanagerinterface.moc:164
#17 0x00007fddf0b503b8 in QDBusConnectionPrivate::deliverCall (this=0x62e190, object=0x7c2c30, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:919
#18 0x00007fddf0b5bf5f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#19 0x00007fddf49e9c6a in QObject::event (this=0x7c2c30, e=<value optimized out>) at kernel/qobject.cpp:1211
#20 0x00007fddf3d93cd4 in QApplicationPrivate::notify_helper (this=0x63dad0, receiver=0x7c2c30, e=0x2453d30) at kernel/qapplication.cpp:4445
#21 0x00007fddf3d9c1ca in QApplication::notify (this=<value optimized out>, receiver=0x7c2c30, e=0x2453d30) at kernel/qapplication.cpp:4324
#22 0x00007fddf5348976 in KApplication::notify (this=0x7fff9ca73e80, receiver=0x7c2c30, event=0x2453d30) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:311
#23 0x00007fddf49d5e2c in QCoreApplication::notifyInternal (this=0x7fff9ca73e80, receiver=0x7c2c30, event=0x2453d30) at kernel/qcoreapplication.cpp:732
#24 0x00007fddf49d9625 in sendEvent (receiver=0x0, event_type=0, data=0x60d7f0) at kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60d7f0) at kernel/qcoreapplication.cpp:1373
#26 0x00007fddf4a008f3 in sendPostedEvents (s=0x642f90) at kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x642f90) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007fdded097a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fdded098270 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fdded098510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fddf4a00a8f in QEventDispatcherGlib::processEvents (this=0x613890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007fddf3e38eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fddf49d5262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fddf49d5475 in QEventLoop::exec (this=0x7fff9ca73dd0, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007fddf49d98db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#36 0x0000000000404037 in _start ()

Reported using DrKonqi
Comment 1 Alex Richardson 2010-11-28 14:25:11 UTC
I just got another crash just after startup (KMail was shown for a few seconds, but I didn't interact in any way with it:

Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f2393f47760 (LWP 11360))]

Thread 2 (Thread 0x7f237cd61710 (LWP 11361)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f23909b2eb4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f238c32ca4f in start_thread (arg=0x7f237cd61710) at pthread_create.c:297
#3  0x00007f239156482d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2393f47760 (LWP 11360)):
[KCrash Handler]
#6  detach (this=0x2e003600310068, akey=@0x7fff66f80118) at /usr/include/QtCore/qmap.h:202
#7  QMap<KPIM::ProgressItem*, bool>::remove (this=0x2e003600310068, akey=@0x7fff66f80118) at /usr/include/QtCore/qmap.h:660
#8  0x00007f238f1e762b in KPIM::ProgressItem::removeChild (this=0x2e003600310030, kiddo=0x12f3040) at /usr/src/debug/kdepim-4.5.80/libkdepim/progressmanager.cpp:73
#9  0x00007f238f1e7691 in KPIM::ProgressItem::setComplete (this=0x12f3040) at /usr/src/debug/kdepim-4.5.80/libkdepim/progressmanager.cpp:58
#10 0x00007f238f1e8bac in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x13266a0, instance=...) at /usr/src/debug/kdepim-4.5.80/libkdepim/agentprogressmonitor.cpp:85
#11 0x00007f238f1e8c4a in KPIM::AgentProgressMonitor::qt_metacall (this=0x1326570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff66f80260) at /usr/src/debug/kdepim-4.5.80/build/libkdepim/agentprogressmonitor.moc:78
#12 0x00007f239291dfef in QMetaObject::activate (sender=0xc5f3d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff66f80260) at kernel/qobject.cpp:3272
#13 0x00007f238e6ded55 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanager.moc:177
#14 0x00007f238e71d621 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0xc5f400, identifier=<value optimized out>, status=0, msg=...) at /usr/src/debug/kdepimlibs-4.5.80/akonadi/agentmanager.cpp:129
#15 0x00007f238e71f76e in Akonadi::AgentManager::qt_metacall (this=0xc5f3d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff66f803e0) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanager.moc:131
#16 0x00007f239291dfef in QMetaObject::activate (sender=0xa6d920, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff66f803e0) at kernel/qobject.cpp:3272
#17 0x00007f238e7e6ceb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanagerinterface.moc:280
#18 0x00007f238e7e7198 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0xa6d920, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff66f80d90) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanagerinterface.moc:164
#19 0x00007f238ea833b8 in QDBusConnectionPrivate::deliverCall (this=0x62e000, object=0xa6d920, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:919
#20 0x00007f238ea8ef5f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#21 0x00007f239291cc6a in QObject::event (this=0xa6d920, e=<value optimized out>) at kernel/qobject.cpp:1211
#22 0x00007f2391cc6cd4 in QApplicationPrivate::notify_helper (this=0x63d940, receiver=0xa6d920, e=0x177f330) at kernel/qapplication.cpp:4445
#23 0x00007f2391ccf1ca in QApplication::notify (this=<value optimized out>, receiver=0xa6d920, e=0x177f330) at kernel/qapplication.cpp:4324
#24 0x00007f239327b976 in KApplication::notify (this=0x7fff66f81870, receiver=0xa6d920, event=0x177f330) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:311
#25 0x00007f2392908e2c in QCoreApplication::notifyInternal (this=0x7fff66f81870, receiver=0xa6d920, event=0x177f330) at kernel/qcoreapplication.cpp:732
#26 0x00007f239290c625 in sendEvent (receiver=0x0, event_type=0, data=0x60d7f0) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60d7f0) at kernel/qcoreapplication.cpp:1373
#28 0x00007f23929338f3 in sendPostedEvents (s=0x642e50) at kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x642e50) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f238afcaa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f238afcb270 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f238afcb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f2392933a8f in QEventDispatcherGlib::processEvents (this=0x613890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f2391d6beae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f2392908262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f2392908475 in QEventLoop::exec (this=0x7fff66f817c0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f239290c8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x0000000000404037 in _start ()
Comment 2 Alex Richardson 2010-11-28 17:25:07 UTC
I got another crash with a different backtrace, but somehow they all seem related to KPIM::AgentProgressMonitor.


Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f3d510de760 (LWP 22080))]

Thread 3 (Thread 0x7f3d39ef8710 (LWP 22081)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3d4db49eb4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f3d494c3a4f in start_thread (arg=0x7f3d39ef8710) at pthread_create.c:297
#3  0x00007f3d4e6fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3d30826710 (LWP 22097)):
#0  0x00007f3d4e6f4e13 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f3d4fa8027d in QProcessManager::run (this=0x7f3d4fdd2f80) at io/qprocess_unix.cpp:245
#2  0x00007f3d4f9b4a1e in QThreadPrivate::start (arg=0x7f3d4fdd2f80) at thread/qthread_unix.cpp:285
#3  0x00007f3d494c3a4f in start_thread (arg=0x7f3d30826710) at pthread_create.c:297
#4  0x00007f3d4e6fb82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3d510de760 (LWP 22080)):
[KCrash Handler]
#6  QCoreApplication::postEvent (receiver=0x1380220, event=0xda2260, priority=0) at kernel/qcoreapplication.cpp:1133
#7  0x00007f3d4c37fbac in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0xc70330, instance=...) at /usr/src/debug/kdepim-4.5.80/libkdepim/agentprogressmonitor.cpp:85
#8  0x00007f3d4c37fc4a in KPIM::AgentProgressMonitor::qt_metacall (this=0x106ff50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff0af0e90) at /usr/src/debug/kdepim-4.5.80/build/libkdepim/agentprogressmonitor.moc:78
#9  0x00007f3d4fab4fef in QMetaObject::activate (sender=0xc635a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff0af0e90) at kernel/qobject.cpp:3272
#10 0x00007f3d4b875d55 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanager.moc:177
#11 0x00007f3d4b8b4621 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0xc635d0, identifier=<value optimized out>, status=0, msg=...) at /usr/src/debug/kdepimlibs-4.5.80/akonadi/agentmanager.cpp:129
#12 0x00007f3d4b8b676e in Akonadi::AgentManager::qt_metacall (this=0xc635a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff0af1010) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanager.moc:131
#13 0x00007f3d4fab4fef in QMetaObject::activate (sender=0x962020, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff0af1010) at kernel/qobject.cpp:3272
#14 0x00007f3d4b97dceb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanagerinterface.moc:280
#15 0x00007f3d4b97e198 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x962020, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffff0af19c0) at /usr/src/debug/kdepimlibs-4.5.80/build/akonadi/agentmanagerinterface.moc:164
#16 0x00007f3d4bc1a3b8 in QDBusConnectionPrivate::deliverCall (this=0x62e000, object=0x962020, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:919
#17 0x00007f3d4bc25f5f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#18 0x00007f3d4fab3c6a in QObject::event (this=0x962020, e=<value optimized out>) at kernel/qobject.cpp:1211
#19 0x00007f3d4ee5dcd4 in QApplicationPrivate::notify_helper (this=0x6446f0, receiver=0x962020, e=0x116c710) at kernel/qapplication.cpp:4445
#20 0x00007f3d4ee661ca in QApplication::notify (this=<value optimized out>, receiver=0x962020, e=0x116c710) at kernel/qapplication.cpp:4324
#21 0x00007f3d50412976 in KApplication::notify (this=0x7ffff0af24a0, receiver=0x962020, event=0x116c710) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:311
#22 0x00007f3d4fa9fe2c in QCoreApplication::notifyInternal (this=0x7ffff0af24a0, receiver=0x962020, event=0x116c710) at kernel/qcoreapplication.cpp:732
#23 0x00007f3d4faa3625 in sendEvent (receiver=0x0, event_type=0, data=0x60d7f0) at kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60d7f0) at kernel/qcoreapplication.cpp:1373
#25 0x00007f3d4faca8f3 in sendPostedEvents (s=0x648030) at kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x648030) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f3d48161a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f3d48162270 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f3d48162510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f3d4facaa8f in QEventDispatcherGlib::processEvents (this=0x613890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f3d4ef02eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f3d4fa9f262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f3d4fa9f475 in QEventLoop::exec (this=0x7ffff0af23f0, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f3d4faa38db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#35 0x0000000000404037 in _start ()
Comment 3 Christophe Marin 2010-11-29 13:54:21 UTC

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