Bug 301710

Summary: KMail crashes on startup
Product: [Applications] kmail2 Reporter: Gregor Petrin <gregap>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel, nt1277
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gregor Petrin 2012-06-12 08:19:00 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4) "release 511"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

I open up kmail. It starts checking the servers for new mail and crashes.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f42d95bd700 (LWP 3491)):
#0  0x00007f42f2d29e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f42e93ab9dc in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f42e9d62200) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f42e93abb09 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f42f2d25f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f42f4f2110d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f42d8cbc700 (LWP 3492)):
#0  0x00007f42f4f17ff3 in poll () from /lib64/libc.so.6
#1  0x00007f42ed0dda98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f42ed0ddf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f42f657fe36 in QEventDispatcherGlib::processEvents (this=0x7f42d40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f42f654f842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f42f654fa97 in QEventLoop::exec (this=0x7f42d8cbbe00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f42f644f5f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f42f645261b in QThreadPrivate::start (arg=0xc37ad0) at thread/qthread_unix.cpp:307
#8  0x00007f42f2d25f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f42f4f2110d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f429312c700 (LWP 3493)):
#0  0x00007f42f2d2a1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f42f6452a8f in wait (time=30000, this=0xce6700) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xce6678, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f42f6445e9f in QThreadPoolThread::run (this=0xcf9fb0) at concurrent/qthreadpool.cpp:141
#4  0x00007f42f645261b in QThreadPrivate::start (arg=0xcf9fb0) at thread/qthread_unix.cpp:307
#5  0x00007f42f2d25f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f42f4f2110d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f428bfff700 (LWP 3497)):
#0  0x00007f42f2d2a1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f42f6452a8f in wait (time=30000, this=0xe89f70) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe89f18, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f42f6445e9f in QThreadPoolThread::run (this=0xe8a1c0) at concurrent/qthreadpool.cpp:141
#4  0x00007f42f645261b in QThreadPrivate::start (arg=0xe8a1c0) at thread/qthread_unix.cpp:307
#5  0x00007f42f2d25f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f42f4f2110d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f428b5ef700 (LWP 3498)):
#0  0x00007f42f2d2a1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f42f6452a8f in wait (time=30000, this=0x4064800) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x39ab678, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f42f6445e9f in QThreadPoolThread::run (this=0x4078640) at concurrent/qthreadpool.cpp:141
#4  0x00007f42f645261b in QThreadPrivate::start (arg=0x4078640) at thread/qthread_unix.cpp:307
#5  0x00007f42f2d25f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f42f4f2110d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f42f7be9780 (LWP 3486)):
[KCrash Handler]
#6  deref (this=0x7f42e69fea18) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  ~KSharedPtr (this=0xb728b0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/ksharedptr.h:90
#8  ~ParsingData (this=0xb728b0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/ktraderparse.cpp:40
#9  qThreadStorage_deleteData<KTraderParse::ParsingData> (d=0xb728b0) at /usr/include/QtCore/qthreadstorage.h:97
#10 QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0xb728b0) at /usr/include/QtCore/qthreadstorage.h:140
#11 0x00007f42f64505ed in QThreadStorageData::set (this=0xbb3240, p=0xbb2100) at thread/qthreadstorage.cpp:165
#12 0x00007f42f7071d77 in qThreadStorage_setLocalData<KTraderParse::ParsingData> (d=<optimized out>, t=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:92
#13 setLocalData (t=0xbb2100, this=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:155
#14 KTraderParse::parseConstraints (_constr=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/ktraderparse.cpp:55
#15 0x00007f42f70712e2 in applyConstraints (constraint=<optimized out>, lst=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:59
#16 KServiceTypeTrader::applyConstraints (lst=..., constraint=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:53
#17 0x00007f42f70714ce in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=<optimized out>, constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:127
#18 0x00007f42f7071c21 in KServiceTypeTrader::query (this=0x9d72c0, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:141
#19 0x00007f42e6e389de in KEmoticonsPrivate::loadServiceList (this=0x43618a0) at /usr/src/debug/kdelibs-4.8.4/kutils/kemoticons/kemoticons.cpp:71
#20 0x00007f42e6e38b3a in KEmoticons::KEmoticons (this=0x3f2bd60) at /usr/src/debug/kdelibs-4.8.4/kutils/kemoticons/kemoticons.cpp:121
#21 0x00007f42ee798502 in KPIMUtils::LinkLocator::convertToHtml(QString const&, int, int, int) () from /usr/lib64/libkpimutils.so.4
#22 0x00007f42ee2b7d04 in MessageViewer::strToHtml (str=<optimized out>, flags=<optimized out>) at /usr/src/debug/kdepim-4.8.4/messageviewer/headerstyle.cpp:84
#23 0x00007f42ee2b7fc0 in MessageViewer::subjectString (message=0x4065eb0, flags=3) at /usr/src/debug/kdepim-4.8.4/messageviewer/headerstyle.cpp:111
#24 0x00007f42ee2c029c in MessageViewer::FancyHeaderStyle::format (this=0xc35ef0, message=0x4065eb0) at /usr/src/debug/kdepim-4.8.4/messageviewer/headerstyle.cpp:612
#25 0x00007f42ee30f9df in MessageViewer::ViewerPrivate::writeMsgHeader (this=0xba2e60, aMsg=0x4065eb0, vCardNode=<optimized out>, topLevel=true) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:968
#26 0x00007f42ee31c8bd in MessageViewer::ViewerPrivate::parseContent (this=0xba2e60, content=0x4065eb0) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:907
#27 0x00007f42ee31dd1e in MessageViewer::ViewerPrivate::displayMessage (this=0xba2e60) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:790
#28 0x00007f42ee31e532 in MessageViewer::ViewerPrivate::updateReaderWin (this=0xba2e60) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:2084
#29 0x00007f42ee325c5a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0xba2e60, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.8.4/build/messageviewer/viewer_p.moc:208
#30 0x00007f42f6564c41 in QMetaObject::activate (sender=0xba2ee8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#31 0x00007f42f6569b39 in QObject::event (this=0xba2ee8, e=<optimized out>) at kernel/qobject.cpp:1166
#32 0x00007f42f58d3fe4 in notify_helper (e=0x7fff1c098c30, receiver=0xba2ee8, this=0x66c4f0) at kernel/qapplication.cpp:4551
#33 QApplicationPrivate::notify_helper (this=0x66c4f0, receiver=0xba2ee8, e=0x7fff1c098c30) at kernel/qapplication.cpp:4523
#34 0x00007f42f58d8db3 in QApplication::notify (this=0x7fff1c099060, receiver=0xba2ee8, e=0x7fff1c098c30) at kernel/qapplication.cpp:4412
#35 0x00007f42f7607746 in KApplication::notify (this=0x7fff1c099060, receiver=0xba2ee8, event=0x7fff1c098c30) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#36 0x00007f42f6550d0c in QCoreApplication::notifyInternal (this=0x7fff1c099060, receiver=0xba2ee8, event=0x7fff1c098c30) at kernel/qcoreapplication.cpp:915
#37 0x00007f42f6581be8 in sendEvent (event=0x7fff1c098c30, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#38 QTimerInfoList::activateTimers (this=0x66f4d0) at kernel/qeventdispatcher_unix.cpp:626
#39 0x00007f42f657f59d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#40 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#41 0x00007f42ed0dd58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f42ed0ddd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f42ed0ddf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f42f657fdcf in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007f42f597769e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f42f654f842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f42f654fa97 in QEventLoop::exec (this=0x7fff1c098f40, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f42f65548b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#49 0x0000000000402df3 in ?? ()
#50 0x00007f42f4e6723d in __libc_start_main () from /lib64/libc.so.6
#51 0x00000000004032d5 in _start ()

This bug may be a duplicate of or related to bug 301678, bug 301625.

Possible duplicates by query: bug 301678, bug 301625, bug 301602, bug 300203, bug 277705.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-06-12 10:58:12 UTC
*** Bug 301717 has been marked as a duplicate of this bug. ***
Comment 2 Laurent Montel 2012-06-12 10:59:28 UTC

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