Bug 291293

Summary: Kmail2 crashes when Nepomuk is stopped
Product: [Applications] kmail2 Reporter: didier.richard
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description didier.richard 2012-01-11 20:08:35 UTC
Application: kmail (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: back from KDE control center when nepomuk service has been halted. I restarted the akonadi service from the akonadi console. When the akonadi service started back, Kmail2 crashes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1b05730 (LWP 2321))]

Thread 4 (Thread 0xb01d8b70 (LWP 2325)):
#0  0xb7820424 in __kernel_vsyscall ()
#1  0xb59eea5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5fdacfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb3ace883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb3ace99f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb59ead31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5fcd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xaf8afb70 (LWP 2326)):
#0  0xb7820424 in __kernel_vsyscall ()
#1  0xb5fbe40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb472134b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4712896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4712c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6315b37 in QEventDispatcherGlib::processEvents (this=0x9e8eb90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb62e61dd in QEventLoop::processEvents (this=0xaf8af2c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb62e6421 in QEventLoop::exec (this=0xaf8af2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb61e990b in QThread::exec (this=0x9e8e530) at thread/qthread.cpp:498
#9  0xb61e99fb in QThread::run (this=0x9e8e530) at thread/qthread.cpp:565
#10 0xb61ec7b3 in QThreadPrivate::start (arg=0x9e8e530) at thread/qthread_unix.cpp:331
#11 0xb59ead31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5fcd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xad326b70 (LWP 2330)):
#0  0xb458ad10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb62437d5 in do_gettime (frac=0xad326000, sec=0xad325ff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb63164b6 in QTimerInfoList::updateCurrentTime (this=0xa0afcec) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb631680a in QTimerInfoList::timerWait (this=0xa0afcec, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6315053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xad32610c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb63150ed in timerSourcePrepare (source=0xa0afcb8, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb471188c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4712637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb4712c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6315b37 in QEventDispatcherGlib::processEvents (this=0xa1a0ba0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb62e61dd in QEventLoop::processEvents (this=0xad326290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb62e6421 in QEventLoop::exec (this=0xad326290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb61e990b in QThread::exec (this=0xa19fa88) at thread/qthread.cpp:498
#14 0xb62c6e2d in QInotifyFileSystemWatcherEngine::run (this=0xa19fa88) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb61ec7b3 in QThreadPrivate::start (arg=0xa19fa88) at thread/qthread_unix.cpp:331
#16 0xb59ead31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb5fcd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb1b05730 (LWP 2321)):
[KCrash Handler]
#7  deref (this=0xb29925ac) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#8  ~KSharedPtr (this=0x9c9f108, __in_chrg=<optimized out>) at ../../kdecore/util/ksharedptr.h:90
#9  ~ParsingData (this=0x9c9f108, __in_chrg=<optimized out>) at ../../kdecore/services/ktraderparse.cpp:40
#10 QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0x9c9f108) at /usr/include/qt4/QtCore/qthreadstorage.h:133
#11 0xb61ea8db in QThreadStorageData::set (this=0xcd10770, p=0xcd10298) at thread/qthreadstorage.cpp:165
#12 0xb7278ba9 in qThreadStorage_setLocalData<KTraderParse::ParsingData> (d=<optimized out>, t=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#13 setLocalData (t=0xcd10298, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:148
#14 KTraderParse::parseConstraints (_constr=...) at ../../kdecore/services/ktraderparse.cpp:55
#15 0xb7278025 in applyConstraints (constraint=..., lst=...) at ../../kdecore/services/kservicetypetrader.cpp:59
#16 KServiceTypeTrader::applyConstraints (lst=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:53
#17 0xb727821f in KServiceTypeTrader::defaultOffers (this=0x9c52690, serviceType=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:127
#18 0xb7278a30 in KServiceTypeTrader::query (this=0x9c52690, serviceType=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:141
#19 0xb29c87bf in KEmoticonsPrivate::loadServiceList (this=0xcb4e8d8) at ../../kutils/kemoticons/kemoticons.cpp:71
#20 0xb29c8941 in KEmoticons::KEmoticons (this=0xccecfa8) at ../../kutils/kemoticons/kemoticons.cpp:121
#21 0xb4bdd6ff in operator-> (this=<optimized out>) at ../../kpimutils/linklocator.cpp:56
#22 KPIMUtils::LinkLocator::convertToHtml (plainText=..., flags=3, maxUrlLen=4096, maxAddressLen=255) at ../../kpimutils/linklocator.cpp:426
#23 0xb4afabbc in MessageViewer::strToHtml (str=<optimized out>, flags=3) at ../../messageviewer/headerstyle.cpp:85
#24 0xb4afaf0c in MessageViewer::subjectString (message=0xbf98be40, flags=-1298586200) at ../../messageviewer/headerstyle.cpp:112
#25 0xb4b04d8d in MessageViewer::FancyHeaderStyle::format (this=0x9eca6d0, message=0xccac2e0) at ../../messageviewer/headerstyle.cpp:613
#26 0xb4b5c536 in MessageViewer::ViewerPrivate::writeMsgHeader (this=0x9e80ea0, aMsg=0xcd10701, vCardNode=0x0, topLevel=true) at ../../messageviewer/viewer_p.cpp:907
#27 0xb4b6c2cc in MessageViewer::ViewerPrivate::parseContent (this=0x9e80ea0, content=0xccac2e0) at ../../messageviewer/viewer_p.cpp:846
#28 0xb4b6f066 in MessageViewer::ViewerPrivate::displayMessage (this=0x9e80ea0) at ../../messageviewer/viewer_p.cpp:729
#29 0xb4b6f960 in MessageViewer::ViewerPrivate::updateReaderWin (this=0x9e80ea0) at ../../messageviewer/viewer_p.cpp:1947
#30 0xb4b7343d in MessageViewer::ViewerPrivate::qt_metacall (this=0x9e80ea0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf991974) at ./viewer_p.moc:220
#31 0xb62edb7d in metacall (argv=0xbf991974, idx=31, cl=QMetaObject::InvokeMetaMethod, object=0x9e80ea0) at kernel/qmetaobject.cpp:237
#32 QMetaObject::metacall (object=0x9e80ea0, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbf991974) at kernel/qmetaobject.cpp:232
#33 0xb62fca6a in QMetaObject::activate (sender=0x9e80ee4, m=0xb641e5f8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#34 0xb634b7d5 in QTimer::timeout (this=0x9e80ee4) at .moc/release-shared/moc_qtimer.cpp:134
#35 0xb6304286 in QTimer::timerEvent (this=0x9e80ee4, e=0xbf991d6c) at kernel/qtimer.cpp:271
#36 0xb62ff994 in QObject::event (this=0x9e80ee4, e=0xbf991d6c) at kernel/qobject.cpp:1181
#37 0xb6579d54 in notify_helper (e=0xbf991d6c, receiver=0x9e80ee4, this=0x9a21320) at kernel/qapplication.cpp:4486
#38 QApplicationPrivate::notify_helper (this=0x9a21320, receiver=0x9e80ee4, e=0xbf991d6c) at kernel/qapplication.cpp:4458
#39 0xb657f103 in QApplication::notify (this=0xbf991d6c, receiver=0x9e80ee4, e=0xbf991d6c) at kernel/qapplication.cpp:3886
#40 0xb75b1681 in KApplication::notify (this=0xbf9920cc, receiver=0x9e80ee4, event=0xbf991d6c) at ../../kdeui/kernel/kapplication.cpp:311
#41 0xb62e719e in QCoreApplication::notifyInternal (this=0xbf9920cc, receiver=0x9e80ee4, event=0xbf991d6c) at kernel/qcoreapplication.cpp:787
#42 0xb6317c10 in sendEvent (event=0xbf991d6c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QTimerInfoList::activateTimers (this=0x9a240bc) at kernel/qeventdispatcher_unix.cpp:603
#44 0xb6315122 in timerSourceDispatch (source=0x9a24088) at kernel/qeventdispatcher_glib.cpp:184
#45 0xb471225f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb4712990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0xb4712c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb6315ada in QEventDispatcherGlib::processEvents (this=0x99e9250, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0xb6631e3a in QGuiEventDispatcherGlib::processEvents (this=0x99e9250, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0xb62e61dd in QEventLoop::processEvents (this=0xbf991fe4, flags=...) at kernel/qeventloop.cpp:149
#51 0xb62e6421 in QEventLoop::exec (this=0xbf991fe4, flags=...) at kernel/qeventloop.cpp:201
#52 0xb62eb19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0xb65778f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#54 0x0804a266 in main (argc=839943, argv=0x880cd107) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 289128, bug 278944, bug 277705.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-05-03 09:13:41 UTC

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