Bug 303319

Summary: crash on closing kontact
Product: [Applications] kontact Reporter: Steve <sgrubb>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: crglasoe, renard
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steve 2012-07-10 17:46:42 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.4-5.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I had been using kontact for a while. The crash occurred when I was closing kontact.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2bc9824880 (LWP 5900))]

Thread 3 (Thread 0x7f2bb73ac700 (LWP 5901)):
#0  0x00007f2bdb18a595 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2be039977d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2be0d83980) at wtf/FastMalloc.cpp:2495
#2  0x00007f2be0399889 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f2bdb186d14 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2bda42b99d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2bb6bab700 (LWP 5902)):
#0  0x00007f2bdb188bc2 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f2bd7f576f1 in g_mutex_lock (mutex=mutex@entry=0x7f2bb00009a0) at gthread-posix.c:208
#2  0x00007f2bd7f1bac0 in g_main_context_iteration (context=0x7f2bb00009a0, may_block=1) at gmain.c:3206
#3  0x00007f2bdb53f506 in QEventDispatcherGlib::processEvents (this=0x7f2bb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2bdb51013f in QEventLoop::processEvents (this=this@entry=0x7f2bb6baad20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2bdb5103c8 in QEventLoop::exec (this=0x7f2bb6baad20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2bdb413650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2bdb4165eb in QThreadPrivate::start (arg=0x1450880) at thread/qthread_unix.cpp:307
#8  0x00007f2bdb186d14 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2bda42b99d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2bc9824880 (LWP 5900)):
[KCrash Handler]
#6  QStackedWidget::currentWidget (this=0x6c69614d6c6d7468) at widgets/qstackedwidget.cpp:273
#7  0x00007f2b61bcc298 in MessageList::Pane::markMessageItemsAsAboutToBeRemoved (this=<optimized out>, ref=3, bMark=false) at /usr/src/debug/kdepim-4.8.4/messagelist/pane.cpp:779
#8  0x00007f2b62992b8e in KMMainWidget::slotTrashMessagesCompleted (this=0x1bd6fb0, command=0x30ad5a0) at /usr/src/debug/kdepim-4.8.4/kmail/kmmainwidget.cpp:2198
#9  0x00007f2b629b10b6 in KMMainWidget::qt_static_metacall (_o=0x1bd6fb0, _c=<optimized out>, _id=<optimized out>, _a=0x7ffff6550530) at /usr/src/debug/kdepim-4.8.4/x86_64-redhat-linux-gnu/kmail/kmmainwidget.moc:475
#10 0x00007f2bdb527b9f in QMetaObject::activate (sender=0x30ad5a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff6550530) at kernel/qobject.cpp:3547
#11 0x00007f2b6297dabf in KMMoveCommand::moveDone (this=this@entry=0x30ad5a0, _t1=_t1@entry=0x30ad5a0) at /usr/src/debug/kdepim-4.8.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1691
#12 0x00007f2b6297db07 in KMMoveCommand::completeMove (this=0x30ad5a0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.8.4/kmail/kmcommands.cpp:1410
#13 0x00007f2bdb527b9f in QMetaObject::activate (sender=0x1d9bf820, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff65506a0) at kernel/qobject.cpp:3547
#14 0x00007f2bdb99bba2 in KJob::result (this=this@entry=0x1d9bf820, _t1=_t1@entry=0x1d9bf820) at /usr/src/debug/kdelibs-4.8.4/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#15 0x00007f2bdb99bbe0 in KJob::emitResult (this=0x1d9bf820) at /usr/src/debug/kdelibs-4.8.4/kdecore/jobs/kjob.cpp:318
#16 0x00007f2bdb525cee in QObject::event (this=0x1d9bf820, e=<optimized out>) at kernel/qobject.cpp:1195
#17 0x00007f2bdc15837c in QApplicationPrivate::notify_helper (this=this@entry=0x1448ab0, receiver=receiver@entry=0x1d9bf820, e=e@entry=0x1d3e430) at kernel/qapplication.cpp:4551
#18 0x00007f2bdc15c7fa in QApplication::notify (this=0x7ffff6551ef0, receiver=0x1d9bf820, e=0x1d3e430) at kernel/qapplication.cpp:4412
#19 0x00007f2bdce75756 in KApplication::notify (this=0x7ffff6551ef0, receiver=0x1d9bf820, event=0x1d3e430) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#20 0x00007f2bdb5113ee in QCoreApplication::notifyInternal (this=0x7ffff6551ef0, receiver=receiver@entry=0x1d9bf820, event=event@entry=0x1d3e430) at kernel/qcoreapplication.cpp:915
#21 0x00007f2bdb514ea1 in sendEvent (event=0x1d3e430, receiver=0x1d9bf820) at kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x140d600) at kernel/qcoreapplication.cpp:1539
#23 0x00007f2bdb53f353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=s@entry=0x1446850) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007f2bd7f1b6e5 in g_main_dispatch (context=0x1446620) at gmain.c:2539
#26 g_main_context_dispatch (context=context@entry=0x1446620) at gmain.c:3075
#27 0x00007f2bd7f1ba18 in g_main_context_iterate (context=context@entry=0x1446620, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#28 0x00007f2bd7f1bad4 in g_main_context_iteration (context=0x1446620, may_block=1) at gmain.c:3207
#29 0x00007f2bdb53f4e6 in QEventDispatcherGlib::processEvents (this=0x140eee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f2bdc1f82ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#31 0x00007f2bdb51013f in QEventLoop::processEvents (this=this@entry=0x7ffff6550fb0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f2bdb5103c8 in QEventLoop::exec (this=0x7ffff6550fb0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f2bdb99b953 in KJob::exec (this=0x1bc40e0) at /usr/src/debug/kdelibs-4.8.4/kdecore/jobs/kjob.cpp:210
#34 0x00007f2b62967fd8 in KMKernel::cleanup (this=0x1b3f900) at /usr/src/debug/kdepim-4.8.4/kmail/kmkernel.cpp:1262
#35 0x00007f2b62ccb763 in KMailPart::~KMailPart (this=this@entry=0x1a11c80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kmail/kmail_part.cpp:137
#36 0x00007f2b62ccb859 in KMailPart::~KMailPart (this=0x1a11c80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kmail/kmail_part.cpp:140
#37 0x00007f2bde7136ee in KontactInterface::Plugin::~Plugin (this=0x17c6170, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/kontactinterface/plugin.cpp:90
#38 0x00007f2b63c5cd6f in KMailPlugin::~KMailPlugin (this=0x17c6170, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kontact/plugins/kmail/kmail_plugin.cpp:159
#39 0x00007f2b63c5cd99 in KMailPlugin::~KMailPlugin (this=0x17c6170, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kontact/plugins/kmail/kmail_plugin.cpp:163
#40 0x00007f2bdeb4aa26 in Kontact::MainWindow::~MainWindow (this=this@entry=0x1686d60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kontact/src/mainwindow.cpp:289
#41 0x00007f2bdeb4ab89 in Kontact::MainWindow::~MainWindow (this=0x1686d60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kontact/src/mainwindow.cpp:291
#42 0x00007f2bdb525d18 in QObject::event (this=0x1686d60, e=<optimized out>) at kernel/qobject.cpp:1176
#43 0x00007f2bdc1a73da in QWidget::event (this=0x1686d60, event=0x1e4d5c0) at kernel/qwidget.cpp:8830
#44 0x00007f2bdc56b02b in QMainWindow::event (this=0x1686d60, event=0x1e4d5c0) at widgets/qmainwindow.cpp:1478
#45 0x00007f2bdcf66e58 in KXmlGuiWindow::event (this=0x1686d60, ev=0x1e4d5c0) at /usr/src/debug/kdelibs-4.8.4/kdeui/xmlgui/kxmlguiwindow.cpp:126
#46 0x00007f2bdc15837c in QApplicationPrivate::notify_helper (this=this@entry=0x1448ab0, receiver=receiver@entry=0x1686d60, e=e@entry=0x1e4d5c0) at kernel/qapplication.cpp:4551
#47 0x00007f2bdc15c7fa in QApplication::notify (this=0x7ffff6551ef0, receiver=0x1686d60, e=0x1e4d5c0) at kernel/qapplication.cpp:4412
#48 0x00007f2bdce75756 in KApplication::notify (this=0x7ffff6551ef0, receiver=0x1686d60, event=0x1e4d5c0) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#49 0x00007f2bdb5113ee in QCoreApplication::notifyInternal (this=0x7ffff6551ef0, receiver=receiver@entry=0x1686d60, event=event@entry=0x1e4d5c0) at kernel/qcoreapplication.cpp:915
#50 0x00007f2bdb514ea1 in sendEvent (event=0x1e4d5c0, receiver=0x1686d60) at kernel/qcoreapplication.h:231
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x140d600) at kernel/qcoreapplication.cpp:1539
#52 0x00007f2bdb53f353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#53 postEventSourceDispatch (s=s@entry=0x1446850) at kernel/qeventdispatcher_glib.cpp:279
#54 0x00007f2bd7f1b6e5 in g_main_dispatch (context=0x1446620) at gmain.c:2539
#55 g_main_context_dispatch (context=context@entry=0x1446620) at gmain.c:3075
#56 0x00007f2bd7f1ba18 in g_main_context_iterate (context=context@entry=0x1446620, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#57 0x00007f2bd7f1bad4 in g_main_context_iteration (context=0x1446620, may_block=1) at gmain.c:3207
#58 0x00007f2bdb53f4e6 in QEventDispatcherGlib::processEvents (this=0x140eee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f2bdc1f82ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#60 0x00007f2bdb51013f in QEventLoop::processEvents (this=this@entry=0x7ffff6551d60, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f2bdb5103c8 in QEventLoop::exec (this=0x7ffff6551d60, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f2bdb5151b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#63 0x0000000000403459 in main (argc=1, argv=0x7ffff6552038) at /usr/src/debug/kdepim-4.8.4/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Sebastien Renard 2012-08-18 07:58:55 UTC

*** This bug has been marked as a duplicate of bug 286084 ***
Comment 2 Jekyll Wu 2012-10-16 05:47:59 UTC
*** Bug 308469 has been marked as a duplicate of this bug. ***