Bug 192379

Summary: Kontact crashed at exit
Product: [Applications] kontact Reporter: Ronny Standtke <Ronny.Standtke>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 1.4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ronny Standtke 2009-05-12 00:01:44 UTC
Version:           1.11.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-11-generic

I use Kubuntu-9.04 with KDE-4.2.2 and Kontact-1.4.2. I just exited Kontact and it crashed with the following backtrace:

Anwendung: Kontact (kontact), Signal SIGABRT
[Current thread is 0 (LWP 3893)]

Thread 4 (Thread 0xac720b90 (LWP 3957)):
#0  0xb7f37430 in __kernel_vsyscall ()
#1  0xb58927b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5b66380 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5a9496e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb508b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb589a49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaa29eb90 (LWP 6497)):
#0  0xb7f37430 in __kernel_vsyscall ()
#1  0xb508f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58a9344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xa9264ae3 in ?? () from /usr/lib/libxine.so.1

Thread 2 (Thread 0xa7525b90 (LWP 6499)):
#0  0xb508e0c6 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb58a94f6 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb4c5e6f1 in IA__g_main_context_check (context=0xca7d520, max_priority=2147483647, fds=0xca7ad18, n_fds=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2321
#3  0xb4c5efdd in g_main_context_iterate (context=0xca7d520, block=1, dispatch=1, self=0xca7dfc8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2445
#4  0xb4c5f268 in IA__g_main_context_iteration (context=0xca7d520, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#5  0xb5bb4457 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb5b8706a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb5b874aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb5a91639 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xa92b220a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0xb5a9496e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb508b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb589a49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb47a5700 (LWP 3893)):
[KCrash Handler]
#6  0xb7f37430 in __kernel_vsyscall ()
#7  0xb57e16d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb57e3098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb57da5ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb0ed413c in KMKernel::self () from /usr/lib/libkmailprivate.so.4
#11 0xb0fac38c in kmcrashHandler () from /usr/lib/libkmailprivate.so.4
#12 0xb6cef17a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#13 <signal handler called>
#14 ~QDomDocumentTypePrivate (this=0xc4ae010) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#15 0xb691dce1 in ~QDomDocumentPrivate (this=0xc115848) at dom/qdom.cpp:6201
#16 0xb6916a2a in ~QDomNode (this=0x19) at dom/qdom.cpp:2107
#17 0xb6918e0d in ~QDomDocument (this=0x9f39f58) at dom/qdom.cpp:6656
#18 0xb6dab4f2 in KXMLGUIClient::~KXMLGUIClient () from /usr/lib/libkdeui.so.5
#19 0xb1432870 in ?? () from /usr/lib/kde4/kmailpart.so
#20 0xb77d90e9 in Kontact::Plugin::~Plugin () from /usr/lib/libkontactinterfaces.so.4
#21 0xb158876c in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#22 0xb77f483e in Kontact::MainWindow::~MainWindow () from /usr/lib/libkontactprivate.so.4
#23 0xb5b97b25 in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#24 0xb5b993cb in QObject::event () from /usr/lib/libQtCore.so.4
#25 0xb60b04d0 in QWidget::event (this=0x9bfe7a8, event=0xa148968) at kernel/qwidget.cpp:7913
#26 0xb64a84c7 in QMainWindow::event (this=0x9bfe7a8, event=0xa148968) at widgets/qmainwindow.cpp:1396
#27 0xb6d62327 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#28 0xb6da710c in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#29 0xb6059f2c in QApplicationPrivate::notify_helper (this=0x9b9a338, receiver=0x9bfe7a8, e=0xa148968) at kernel/qapplication.cpp:4084
#30 0xb6062312 in QApplication::notify (this=0xbfc52fd8, receiver=0x9bfe7a8, e=0xa148968) at kernel/qapplication.cpp:4049
#31 0xb6c7e94d in KApplication::notify () from /usr/lib/libkdeui.so.5
#32 0xb5b88a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#33 0xb5b89695 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#34 0xb5b8988d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#35 0xb5bb47ef in ?? () from /usr/lib/libQtCore.so.4
#36 0xb4c5bb88 in IA__g_main_context_dispatch (context=0x9b9c290) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#37 0xb4c5f0eb in g_main_context_iterate (context=0x9b9c290, block=1, dispatch=1, self=0x9ba9ef8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#38 0xb4c5f268 in IA__g_main_context_iteration (context=0x9b9c290, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#39 0xb5bb4438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#40 0xb60fb3f5 in QGuiEventDispatcherGlib::processEvents (this=0x9b77238, flags={i = -1077596456}) at kernel/qguieventdispatcher_glib.cpp:202
#41 0xb5b8706a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#42 0xb5b874aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#43 0xb5b89959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#44 0xb6059da7 in QApplication::exec () at kernel/qapplication.cpp:3553
#45 0x0804c072 in _start ()
Comment 1 Ronny Standtke 2009-05-12 21:04:17 UTC
Again, kontact crashed at exit. Because I installed some more debugging packages the backtrace is more detailed than the last time. It also looks a little different...

Anwendung: Kontact (kontact), Signal SIGABRT
[Current thread is 0 (LWP 7958)]

Thread 3 (Thread 0xac6d0b90 (LWP 8189)):
#0  0xb7ee7430 in __kernel_vsyscall ()
#1  0xb503f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5859344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xa9fb0ae3 in metronom_sync_loop (this=0xaaab790) at metronom.c:870
#4  0xb503b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb584a49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8276b90 (LWP 8196)):
#0  0xb503ca2c in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb58594b6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb4c0ef1e in g_main_context_iterate (context=0xaf7c138, block=1, dispatch=1, self=0xaf66760) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2756
#3  0xb4c0f268 in IA__g_main_context_iteration (context=0xaf7c138, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#4  0xb5b64457 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb5b3706a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb5b374aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb5a41639 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xa9ffe20a in Phonon::Xine::XineThread::run (this=0xaaf3878) at /build/buildd/phonon-4.3.1/xine/xinethread.cpp:143
#9  0xb5a4496e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb503b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb584a49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4755700 (LWP 7958)):
[KCrash Handler]
#6  0xb7ee7430 in __kernel_vsyscall ()
#7  0xb57916d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5793098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb57cf24d in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0xb57d5604 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0xb57d75b6 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0xb59b8231 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb616ab48 in QPen::operator= (this=0x9fcced0, p=@0xbf800e74) at ../../include/QtCore/../../src/corelib/thread/qatomic.h:201
#14 0xb6214db5 in QX11PaintEngine::updatePen (this=0xa2c5598, pen=@0xbf800e74) at painting/qpaintengine_x11.cpp:1155
#15 0xb6215e8c in QX11PaintEngine::updateState (this=0xa2c5598, state=@0xabb645c) at painting/qpaintengine_x11.cpp:1060
#16 0xb6133558 in QPainterPrivate::updateStateImpl (this=0xabb3cb0, newState=0xabb6458) at painting/qpainter.cpp:899
#17 0xb613363b in QPainterPrivate::updateState (this=0xabb3cb0, newState=0xabb6458) at painting/qpainter.cpp:927
#18 0xb61429b0 in QPainter::drawPixmap (this=0xbf802850, r=@0xbf8010a8, pm=@0xbf801ae0, sr=@0xbf8010c8) at painting/qpainter.cpp:5319
#19 0xb630bc45 in QStyle::drawItemPixmap (this=0x8f254c8, painter=0xbf802850, rect=@0xbf801ab0, alignment=132, pixmap=@0xbf801ae0) at ../../include/QtGui/../../src/gui/painting/qpainter.h:831
#20 0xb6c3b919 in KStyle::drawItemPixmap () from /usr/lib/libkdeui.so.5
#21 0xb632856e in QCommonStyle::drawControl (this=0x8f254c8, element=QStyle::CE_ToolButtonLabel, opt=0xbf802568, p=0xbf802850, widget=0xa1cf2c0) at styles/qcommonstyle.cpp:1709
#22 0xb6c3df83 in KStyle::drawControl () from /usr/lib/libkdeui.so.5
#23 0xb4548742 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#24 0xb6c3c634 in KStyle::drawComplexControl () from /usr/lib/libkdeui.so.5
#25 0xb45480a7 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#26 0xb64d76dd in QToolButton::paintEvent (this=0xbf8027f0) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:94
#27 0xb60609ae in QWidget::event (this=0xa1cf2c0, event=0xbf802d24) at kernel/qwidget.cpp:7654
#28 0xb63eb34e in QAbstractButton::event (this=0xa1cf2c0, e=0xbf802d24) at widgets/qabstractbutton.cpp:1077
#29 0xb64d763a in QToolButton::event (this=0xa1cf2c0, event=0xbf802d24) at widgets/qtoolbutton.cpp:1151
#30 0xb6009f2c in QApplicationPrivate::notify_helper (this=0x8ef8f68, receiver=0xa1cf2c0, e=0xbf802d24) at kernel/qapplication.cpp:4084
#31 0xb6012312 in QApplication::notify (this=0xbf804f28, receiver=0xa1cf2c0, e=0xbf802d24) at kernel/qapplication.cpp:4049
#32 0xb6c2e94d in KApplication::notify () from /usr/lib/libkdeui.so.5
#33 0xb5b38a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#34 0xb601507e in QCoreApplication::sendSpontaneousEvent (receiver=0xa1cf2c0, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#35 0xb60687a9 in QWidgetPrivate::drawWidget (this=0xa1a35a0, pdev=0x8fca134, rgn=@0xbf802e84, offset=@0xbf802e7c, flags=4, sharedPainter=0x0, backingStore=0x8fe7f00) at kernel/qwidget.cpp:5046
#36 0xb6068f4e in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=32, rgn=@0xbf802f14, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5156
#37 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=34, rgn=@0xbf802fa4, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#38 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=35, rgn=@0xbf803034, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#39 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=36, rgn=@0xbf8030c4, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#40 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=38, rgn=@0xbf803154, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#41 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=39, rgn=@0xbf8031e4, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#42 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=41, rgn=@0xbf803274, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#43 0xb6068e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1bcd38, pdev=0x8fca134, siblings=@0xa1bcd44, index=42, rgn=@0xbf803454, offset=@0xbf80344c, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5147
#44 0xb606839a in QWidgetPrivate::drawWidget (this=0xa1bcd38, pdev=0x8fca134, rgn=@0xbf803454, offset=@0xbf80344c, flags=4, sharedPainter=0x0, backingStore=0x8fe7f00) at kernel/qwidget.cpp:5095
#45 0xb6068f4e in QWidgetPrivate::paintSiblingsRecursive (this=0x8fe75a8, pdev=0x8fca134, siblings=@0x8fe75b4, index=43, rgn=@0xbf803708, offset=@0x8fe7f24, flags=4, sharedPainter=0x0, 
    backingStore=0x8fe7f00) at kernel/qwidget.cpp:5156
#46 0xb606839a in QWidgetPrivate::drawWidget (this=0x8fe75a8, pdev=0x8fca134, rgn=@0xbf803708, offset=@0x8fe7f24, flags=4, sharedPainter=0x0, backingStore=0x8fe7f00) at kernel/qwidget.cpp:5095
#47 0xb622511a in QWidgetBackingStore::sync (this=0x8fe7f00) at painting/qbackingstore.cpp:1266
#48 0xb62254cd in QWidgetBackingStore::sync (this=0x8fe7f00, exposedWidget=0x8ef5718, exposedRegion=@0xbf803900) at painting/qbackingstore.cpp:1073
#49 0xb6058b82 in QWidgetPrivate::syncBackingStore (this=0x8fe75a8, region=@0xbf803900) at kernel/qwidget.cpp:1612
#50 0xb6070cfe in QETWidget::translatePaintEvent (this=0x8ef5718, event=0xbf803e3c) at kernel/qapplication_x11.cpp:5125
#51 0xb60804da in QApplication::x11ProcessEvent (this=0xbf804f28, event=0xbf803e3c) at kernel/qapplication_x11.cpp:3443
#52 0xb60abcfa in x11EventSourceDispatch (s=0x8ef0268, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0xb4c0bb88 in IA__g_main_context_dispatch (context=0x8eeeea8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#54 0xb4c0f0eb in g_main_context_iterate (context=0x8eeeea8, block=1, dispatch=1, self=0x8ee5f80) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#55 0xb4c0f268 in IA__g_main_context_iteration (context=0x8eeeea8, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#56 0xb5b64438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#57 0xb60ab3f5 in QGuiEventDispatcherGlib::processEvents (this=0x8ecc238, flags={i = -1082114008}) at kernel/qguieventdispatcher_glib.cpp:202
#58 0xb5b3706a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#59 0xb5b374aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#60 0xb6488751 in QMenu::exec (this=0xa1cfd48, p=@0xbf804638, action=0x0) at widgets/qmenu.cpp:1991
#61 0xb6d4c755 in KToolBar::contextMenuEvent () from /usr/lib/libkdeui.so.5
#62 0xb60612bc in QWidget::event (this=0xaefc670, event=0xbf804620) at kernel/qwidget.cpp:7675
#63 0xb64cc80f in QToolBar::event (this=0xaefc670, event=0xbf804620) at widgets/qtoolbar.cpp:1182
#64 0xb6009f2c in QApplicationPrivate::notify_helper (this=0x8ef8f68, receiver=0xaefc670, e=0xbf804620) at kernel/qapplication.cpp:4084
#65 0xb601276d in QApplication::notify (this=0xbf804f28, receiver=0xaefc670, e=0xbf804620) at kernel/qapplication.cpp:3873
#66 0xb6c2e94d in KApplication::notify () from /usr/lib/libkdeui.so.5
#67 0xb5b38a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#68 0xb601507e in QCoreApplication::sendSpontaneousEvent (receiver=0xaefc670, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#69 0xb60821f7 in QETWidget::translateMouseEvent (this=0xaefc670, event=0xbf804c3c) at kernel/qapplication_x11.cpp:4431
#70 0xb6080d37 in QApplication::x11ProcessEvent (this=0xbf804f28, event=0xbf804c3c) at kernel/qapplication_x11.cpp:3421
#71 0xb60abcfa in x11EventSourceDispatch (s=0x8ef0268, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#72 0xb4c0bb88 in IA__g_main_context_dispatch (context=0x8eeeea8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#73 0xb4c0f0eb in g_main_context_iterate (context=0x8eeeea8, block=1, dispatch=1, self=0x8ee5f80) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#74 0xb4c0f268 in IA__g_main_context_iteration (context=0x8eeeea8, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#75 0xb5b64438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#76 0xb60ab3f5 in QGuiEventDispatcherGlib::processEvents (this=0x8ecc238, flags={i = -1082110424}) at kernel/qguieventdispatcher_glib.cpp:202
#77 0xb5b3706a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#78 0xb5b374aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#79 0xb5b39959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#80 0xb6009da7 in QApplication::exec () at kernel/qapplication.cpp:3553
#81 0x0804c072 in main (argc=1, argv=0xbf805224) at /build/buildd/kdepim-4.2.2/kontact/src/main.cpp:218
Comment 2 Christophe Marin 2011-09-24 21:23:09 UTC
I cannot reproduce the crash with recent kdepim versions. Feel free to reopen this report if you can reproduce this issue with recent kdepim versions (>=4.7.1)