Bug 324009 - Crash in KMime when viewing inline OpenPGP encrypted/signed message
Summary: Crash in KMime when viewing inline OpenPGP encrypted/signed message
Status: RESOLVED DUPLICATE of bug 308884
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-25 11:49 UTC by Martin Nyhus
Modified: 2013-08-25 16:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Nyhus 2013-08-25 11:49:29 UTC
Application: kmail (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10.7-200.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Clicked the message in the Kmail message view, displaying the message in the message view. The crash doesn't happen for other messages (plain text, with attachment, MIME openpgp encrypted/signed), and after the first crash it doesn't happen anymore for that message.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f28233638c0 (LWP 32142))]

Thread 5 (Thread 0x7f2814f4c700 (LWP 32146)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003adaecd34d in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x0000003adaecd389 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x0000003ab6a07c53 in start_thread (arg=0x7f2814f4c700) at pthread_create.c:308
#4  0x0000003ab66f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f27d3ba1700 (LWP 32147)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003adac0dadd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f28146b5398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x0000003adaefcba6 in WTF::wtfThreadEntryPoint (param=0x1b51720) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x0000003ab6a07c53 in start_thread (arg=0x7f27d3ba1700) at pthread_create.c:308
#4  0x0000003ab66f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f27d2491700 (LWP 32149)):
#0  0x0000003ab66eb6fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003ab8a480f4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f27c80027c0, timeout=7919, context=0x7f27c80009a0) at gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f27c80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3696
#3  0x0000003ab8a481fc in g_main_context_iteration (context=0x7f27c80009a0, may_block=1) at gmain.c:3762
#4  0x0000003abf7a7166 in QEventDispatcherGlib::processEvents (this=0x7f27c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003abf778ecf in QEventLoop::processEvents (this=this@entry=0x7f27d2490d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003abf7791c5 in QEventLoop::exec (this=this@entry=0x7f27d2490d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003abf67866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x0000003abf67ad0f in QThreadPrivate::start (arg=0x1d7e200) at thread/qthread_unix.cpp:338
#9  0x0000003ab6a07c53 in start_thread (arg=0x7f27d2491700) at pthread_create.c:308
#10 0x0000003ab66f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f27c25d4700 (LWP 32341)):
#0  0x0000003ab6a0e0cd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003ab8a86520 in read (__nbytes=16, __buf=0x7f27c25d3ae0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f27c8001db0) at gwakeup.c:212
#3  0x0000003ab8a47c1c in g_main_context_check (context=context@entry=0x7f27b80009a0, max_priority=2147483647, fds=fds@entry=0x7f27b80029b0, n_fds=n_fds@entry=1) at gmain.c:3502
#4  0x0000003ab8a4808b in g_main_context_iterate (context=context@entry=0x7f27b80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3698
#5  0x0000003ab8a481fc in g_main_context_iteration (context=0x7f27b80009a0, may_block=1) at gmain.c:3762
#6  0x0000003abf7a7166 in QEventDispatcherGlib::processEvents (this=0x7f27b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x0000003abf778ecf in QEventLoop::processEvents (this=this@entry=0x7f27c25d3ce0, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003abf7791c5 in QEventLoop::exec (this=this@entry=0x7f27c25d3ce0, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003abf67866f in QThread::exec (this=this@entry=0x32f14e0) at thread/qthread.cpp:536
#10 0x0000003abf75a733 in QInotifyFileSystemWatcherEngine::run (this=0x32f14e0) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x0000003abf67ad0f in QThreadPrivate::start (arg=0x32f14e0) at thread/qthread_unix.cpp:338
#12 0x0000003ab6a07c53 in start_thread (arg=0x7f27c25d4700) at pthread_create.c:308
#13 0x0000003ab66f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f28233638c0 (LWP 32142)):
[KCrash Handler]
#6  KMime::Content::contents (this=0x750071006d0035) at /usr/src/debug/kdepimlibs-4.10.5/kmime/kmime_content.cpp:527
#7  0x0000003ae4a3889e in MessageCore::NodeHelper::nextSibling (node=node@entry=0x2671340) at /usr/src/debug/kdepim-4.10.5/messagecore/nodehelper.cpp:34
#8  0x0000003ae5e9875f in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=this@entry=0x7fffe6be8a40, node=node@entry=0x2671340) at /usr/src/debug/kdepim-4.10.5/messageviewer/objecttreeparser.cpp:296
#9  0x0000003ae5e9a249 in MessageViewer::ObjectTreeParser::parseObjectTree (this=this@entry=0x7fffe6be8a40, node=node@entry=0x2671340) at /usr/src/debug/kdepim-4.10.5/messageviewer/objecttreeparser.cpp:266
#10 0x0000003ae5ec6c98 in MessageViewer::ViewerPrivate::parseContent (this=this@entry=0x1d6c050, content=0x2671340) at /usr/src/debug/kdepim-4.10.5/messageviewer/viewer_p.cpp:974
#11 0x0000003ae5ec73f4 in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x1d6c050) at /usr/src/debug/kdepim-4.10.5/messageviewer/viewer_p.cpp:846
#12 0x0000003ae5ec7e0e in MessageViewer::ViewerPrivate::updateReaderWin (this=0x1d6c050) at /usr/src/debug/kdepim-4.10.5/messageviewer/viewer_p.cpp:2185
#13 0x0000003ae5ecef5a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x1d6c050, _c=7143477, _id=-1231313016, _a=0x0) at /usr/src/debug/kdepim-4.10.5/x86_64-redhat-linux-gnu/messageviewer/viewer_p.moc:233
#14 0x0000003abf78df78 in QMetaObject::activate (sender=0x1d6c0e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#15 0x0000003abf792141 in QObject::event (this=0x1d6c0e0, e=<optimized out>) at kernel/qobject.cpp:1156
#16 0x0000003ac3fc84dc in QApplicationPrivate::notify_helper (this=this@entry=0x192eee0, receiver=receiver@entry=0x1d6c0e0, e=e@entry=0x7fffe6be9170) at kernel/qapplication.cpp:4562
#17 0x0000003ac3fceaa0 in QApplication::notify (this=this@entry=0x7fffe6be9770, receiver=receiver@entry=0x1d6c0e0, e=e@entry=0x7fffe6be9170) at kernel/qapplication.cpp:4348
#18 0x0000003ac62415ba in KApplication::notify (this=0x7fffe6be9770, receiver=0x1d6c0e0, event=0x7fffe6be9170) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#19 0x0000003abf77a26d in QCoreApplication::notifyInternal (this=0x7fffe6be9770, receiver=0x1d6c0e0, event=0x7fffe6be9170) at kernel/qcoreapplication.cpp:949
#20 0x0000003abf7a9c13 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#21 QTimerInfoList::activateTimers (this=0x1934f20) at kernel/qeventdispatcher_unix.cpp:621
#22 0x0000003abf7a6f11 in timerSourceDispatch (source=source@entry=0x1934ec0) at kernel/qeventdispatcher_glib.cpp:186
#23 0x0000003ab8a47e06 in g_main_dispatch (context=0x1934d80) at gmain.c:3054
#24 g_main_context_dispatch (context=context@entry=0x1934d80) at gmain.c:3630
#25 0x0000003ab8a48158 in g_main_context_iterate (context=context@entry=0x1934d80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#26 0x0000003ab8a481fc in g_main_context_iteration (context=0x1934d80, may_block=1) at gmain.c:3762
#27 0x0000003abf7a7145 in QEventDispatcherGlib::processEvents (this=0x18c2af0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#28 0x0000003ac4064fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#29 0x0000003abf778ecf in QEventLoop::processEvents (this=this@entry=0x7fffe6be93f0, flags=...) at kernel/qeventloop.cpp:149
#30 0x0000003abf7791c5 in QEventLoop::exec (this=this@entry=0x7fffe6be93f0, flags=...) at kernel/qeventloop.cpp:204
#31 0x0000003abf77e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#32 0x0000003ac3fc6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#33 0x0000000000402e19 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.10.5/kmail/main.cpp:146

Possible duplicates by query: bug 308884.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-25 16:41:51 UTC

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