Bug 302019

Summary: Ongoing crashes
Product: [Applications] kmail2 Reporter: Ronnie Bailey <purevw>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ronnie Bailey 2012-06-16 18:28:15 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4) "release 6"
Qt Version: 4.8.2
Operating System: Linux 3.4.2-28-default x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Often when I switch messages in the list window or choose a single message, the program crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f0f39c3e780 (LWP 4212))]

Thread 3 (Thread 0x7f0f1aef5700 (LWP 4217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0f2b40bc12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f0f2b40bc49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f0f34d6ef05 in start_thread (arg=0x7f0f1aef5700) at pthread_create.c:301
#4  0x00007f0f36f6b10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f0f1a5f4700 (LWP 4218)):
#0  0x00007f0f36f61ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0f2f125ae8 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0f2f125fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0f385cae36 in QEventDispatcherGlib::processEvents (this=0x7f0f140008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0f3859a842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0f3859aa97 in QEventLoop::exec (this=0x7f0f1a5f3e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0f3849a5f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f0f3849d61b in QThreadPrivate::start (arg=0x1bf8500) at thread/qthread_unix.cpp:307
#8  0x00007f0f34d6ef05 in start_thread (arg=0x7f0f1a5f4700) at pthread_create.c:301
#9  0x00007f0f36f6b10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f0f39c3e780 (LWP 4212)):
[KCrash Handler]
#6  deref (this=0x7f0f28a5ea18) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  ~KSharedPtr (this=0x1b70570, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/ksharedptr.h:90
#8  ~ParsingData (this=0x1b70570, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/ktraderparse.cpp:40
#9  qThreadStorage_deleteData<KTraderParse::ParsingData> (d=0x1b70570) at /usr/include/QtCore/qthreadstorage.h:97
#10 QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0x1b70570) at /usr/include/QtCore/qthreadstorage.h:140
#11 0x00007f0f3849b5ed in QThreadStorageData::set (this=0x210ac30, p=0x210cda0) at thread/qthreadstorage.cpp:165
#12 0x00007f0f390bcd77 in qThreadStorage_setLocalData<KTraderParse::ParsingData> (d=<optimized out>, t=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:92
#13 setLocalData (t=0x210cda0, 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 0x00007f0f390bc2e2 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 0x00007f0f390bc4ce in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=<optimized out>, constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:127
#18 0x00007f0f390bcc21 in KServiceTypeTrader::query (this=0x1aa5a70, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:141
#19 0x00007f0f28e989de in KEmoticonsPrivate::loadServiceList (this=0x212a7d0) at /usr/src/debug/kdelibs-4.8.4/kutils/kemoticons/kemoticons.cpp:71
#20 0x00007f0f28e98b3a in KEmoticons::KEmoticons (this=0x19b1fa0) at /usr/src/debug/kdelibs-4.8.4/kutils/kemoticons/kemoticons.cpp:121
#21 0x00007f0f307e0502 in operator-> (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/kpimutils/linklocator.cpp:56
#22 KPIMUtils::LinkLocator::convertToHtml (plainText=<optimized out>, flags=<optimized out>, maxUrlLen=<optimized out>, maxAddressLen=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/kpimutils/linklocator.cpp:426
#23 0x00007f0f30328a30 in MessageViewer::ObjectTreeParser::quotedHTML (this=0x7fff65fe6620, s=..., decorate=<optimized out>) at /usr/src/debug/kdepim-4.8.4/messageviewer/objecttreeparser.cpp:3254
#24 0x00007f0f303338b7 in MessageViewer::ObjectTreeParser::writeBodyStr (this=0x7fff65fe6620, aStr=<optimized out>, aCodec=0x16e9980, fromAddress=..., inlineSignatureState=@0x7fff65fe62b8, inlineEncryptionState=@0x7fff65fe62bc, decorate=true) at /usr/src/debug/kdepim-4.8.4/messageviewer/objecttreeparser.cpp:3106
#25 0x00007f0f30333e83 in MessageViewer::ObjectTreeParser::writeBodyString (this=0x7fff65fe6620, bodyString=..., fromAddress=..., codec=0x16e9980, result=..., decorate=true) at /usr/src/debug/kdepim-4.8.4/messageviewer/objecttreeparser.cpp:2175
#26 0x00007f0f3033aa69 in MessageViewer::ObjectTreeParser::processTextPlainSubtype (this=0x7fff65fe6620, curNode=0x1ae1e70, result=...) at /usr/src/debug/kdepim-4.8.4/messageviewer/objecttreeparser.cpp:1422
#27 0x00007f0f3033496e in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7fff65fe6620, node=0x1ae1e70) at /usr/src/debug/kdepim-4.8.4/messageviewer/objecttreeparser.cpp:353
#28 0x00007f0f3036495f in MessageViewer::ViewerPrivate::parseContent (this=0x1bc3610, content=0x1ae1e70) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:918
#29 0x00007f0f30365d1e in MessageViewer::ViewerPrivate::displayMessage (this=0x1bc3610) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:790
#30 0x00007f0f30366532 in MessageViewer::ViewerPrivate::updateReaderWin (this=0x1bc3610) at /usr/src/debug/kdepim-4.8.4/messageviewer/viewer_p.cpp:2084
#31 0x00007f0f3036dc5a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x1bc3610, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.8.4/build/messageviewer/viewer_p.moc:208
#32 0x00007f0f385afc41 in QMetaObject::activate (sender=0x1bc3698, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#33 0x00007f0f385b4b39 in QObject::event (this=0x1bc3698, e=<optimized out>) at kernel/qobject.cpp:1166
#34 0x00007f0f3791efe4 in notify_helper (e=0x7fff65fe7250, receiver=0x1bc3698, this=0x1731f20) at kernel/qapplication.cpp:4551
#35 QApplicationPrivate::notify_helper (this=0x1731f20, receiver=0x1bc3698, e=0x7fff65fe7250) at kernel/qapplication.cpp:4523
#36 0x00007f0f37923db3 in QApplication::notify (this=0x7fff65fe7680, receiver=0x1bc3698, e=0x7fff65fe7250) at kernel/qapplication.cpp:4412
#37 0x00007f0f39652746 in KApplication::notify (this=0x7fff65fe7680, receiver=0x1bc3698, event=0x7fff65fe7250) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#38 0x00007f0f3859bd0c in QCoreApplication::notifyInternal (this=0x7fff65fe7680, receiver=0x1bc3698, event=0x7fff65fe7250) at kernel/qcoreapplication.cpp:915
#39 0x00007f0f385ccbe8 in sendEvent (event=0x7fff65fe7250, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#40 QTimerInfoList::activateTimers (this=0x17348f0) at kernel/qeventdispatcher_unix.cpp:626
#41 0x00007f0f385ca59d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#42 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#43 0x00007f0f2f1255dd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f0f2f125dd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f0f2f125fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f0f385cadcf in QEventDispatcherGlib::processEvents (this=0x16d9000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f0f379c269e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f0f3859a842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f0f3859aa97 in QEventLoop::exec (this=0x7fff65fe7560, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f0f3859f8b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kmail/main.cpp:145

Possible duplicates by query: bug 301928, bug 301899, bug 301812, bug 301710, bug 301678.

Reported using DrKonqi
Comment 1 Ronnie Bailey 2012-06-16 18:37:52 UTC
I changed some kmail settings and the program seems stable at least for now. I'll list them in case it may give a clue:

1. In >apperance>Message list: Changed date display to "localized format"
2. In >appearance>Message window: Cleared the "show spam status in fancy headers" and  "replace smileys by emoticons" check boxes.

With those changes, I have not had a crash.
Comment 2 Jekyll Wu 2012-07-03 09:36:05 UTC

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