Bug 323916 - Kmail Crashes when hitting cancel on PGP decrypt passphrase query
Summary: Kmail Crashes when hitting cancel on PGP decrypt passphrase query
Status: RESOLVED DUPLICATE of bug 308884
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-23 10:14 UTC by Jonathan Haas
Modified: 2014-01-09 04:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.83 KB, text/plain)
2013-09-09 12:37 UTC, Suren Karapetyan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Haas 2013-08-23 10:14:36 UTC
Application: kmail (4.11)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
1. I accidentially selected a pgp encrypted mail and kmail asked me for passphrase
2. As I didn't actually wanted to decrpyt it, I hit cancel.
3. For some reason I was asked again for passphrase, hit cancel again
4. Kmail crashed

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6f079407c0 (LWP 22527))]

Thread 5 (Thread 0x7f6ee0b66700 (LWP 22533)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6ef96f5575 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6ef96f55c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6f025c4f8e in start_thread (arg=0x7f6ee0b66700) at pthread_create.c:311
#4  0x00007f6f04ccce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f6e9bb6f700 (LWP 22534)):
#0  0x00007f6f04cdb0c0 in pthread_mutex_unlock (mutex=0x7f6e94000a60) at forward.c:194
#1  0x00007f6efce9c5f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6efce5c8f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6efce5d0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6efce5d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6f06308036 in QEventDispatcherGlib::processEvents (this=0x7f6e940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6f062d838f in QEventLoop::processEvents (this=this@entry=0x7f6e9bb6ed90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6f062d8618 in QEventLoop::exec (this=this@entry=0x7f6e9bb6ed90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6f061da410 in QThread::exec (this=this@entry=0x1db5230) at thread/qthread.cpp:542
#9  0x00007f6f062b9edf in QInotifyFileSystemWatcherEngine::run (this=0x1db5230) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f6f061dcbec in QThreadPrivate::start (arg=0x1db5230) at thread/qthread_unix.cpp:338
#11 0x00007f6f025c4f8e in start_thread (arg=0x7f6e9bb6f700) at pthread_create.c:311
#12 0x00007f6f04ccce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f6e9aadf700 (LWP 22535)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6ef943b9f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6ef9723cde in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6f025c4f8e in start_thread (arg=0x7f6e9aadf700) at pthread_create.c:311
#4  0x00007f6f04ccce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6e9945c700 (LWP 22537)):
#0  0x00007f6f04cc03cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6efce5d1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6efce5d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6f06308036 in QEventDispatcherGlib::processEvents (this=0x7f6e840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6f062d838f in QEventLoop::processEvents (this=this@entry=0x7f6e9945bdc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6f062d8618 in QEventLoop::exec (this=this@entry=0x7f6e9945bdc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6f061da410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f6f061dcbec in QThreadPrivate::start (arg=0x1d64320) at thread/qthread_unix.cpp:338
#8  0x00007f6f025c4f8e in start_thread (arg=0x7f6e9945c700) at pthread_create.c:311
#9  0x00007f6f04ccce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6f079407c0 (LWP 22527)):
[KCrash Handler]
#6  0x00007f6f01a8a0c4 in KMime::Content::parent (this=this@entry=0x25cd6e0) at ../../kmime/kmime_content.cpp:953
#7  0x00007f6f0118b2b6 in MessageCore::NodeHelper::nextSibling (node=node@entry=0x25cd6e0) at ../../messagecore/helpers/nodehelper.cpp:32
#8  0x00007f6efe0a0786 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=this@entry=0x7fff732ca000, node=node@entry=0x25cd6e0) at ../../messageviewer/viewer/objecttreeparser.cpp:296
#9  0x00007f6efe0a1489 in MessageViewer::ObjectTreeParser::parseObjectTree (this=this@entry=0x7fff732ca000, node=node@entry=0x25cd6e0) at ../../messageviewer/viewer/objecttreeparser.cpp:266
#10 0x00007f6efe0d3c00 in MessageViewer::ViewerPrivate::parseContent (this=this@entry=0x1d4e070, content=0x25cd6e0) at ../../messageviewer/viewer/viewer_p.cpp:1007
#11 0x00007f6efe0d5f1c in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x1d4e070) at ../../messageviewer/viewer/viewer_p.cpp:879
#12 0x00007f6efe0d64d6 in MessageViewer::ViewerPrivate::updateReaderWin (this=0x1d4e070) at ../../messageviewer/viewer/viewer_p.cpp:2269
#13 0x00007f6efe0d929a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x1d4e070, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./viewer_p.moc:255
#14 0x00007f6f062ee0ef in QMetaObject::activate (sender=0x1d4e100, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#15 0x00007f6f062f33ec in QObject::event (this=0x1d4e100, e=<optimized out>) at kernel/qobject.cpp:1156
#16 0x00007f6f0567f8ec in QApplicationPrivate::notify_helper (this=this@entry=0x1695230, receiver=receiver@entry=0x1d4e100, e=e@entry=0x7fff732caa40) at kernel/qapplication.cpp:4567
#17 0x00007f6f0568225b in QApplication::notify (this=this@entry=0x7fff732cb060, receiver=receiver@entry=0x1d4e100, e=e@entry=0x7fff732caa40) at kernel/qapplication.cpp:4428
#18 0x00007f6f07371916 in KApplication::notify (this=0x7fff732cb060, receiver=0x1d4e100, event=0x7fff732caa40) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f6f062d963e in QCoreApplication::notifyInternal (this=0x7fff732cb060, receiver=0x1d4e100, event=event@entry=0x7fff732caa40) at kernel/qcoreapplication.cpp:946
#20 0x00007f6f0630ab72 in sendEvent (event=0x7fff732caa40, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QTimerInfoList::activateTimers (this=0x1697660) at kernel/qeventdispatcher_unix.cpp:622
#22 0x00007f6f063079a4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#23 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#24 0x00007f6efce5cf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f6efce5d248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f6efce5d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f6f06308016 in QEventDispatcherGlib::processEvents (this=0x1617b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007f6f0572513e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f6f062d838f in QEventLoop::processEvents (this=this@entry=0x7fff732cacb0, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f6f062d8618 in QEventLoop::exec (this=this@entry=0x7fff732cacb0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f6f062ddcf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#32 0x00007f6f0567dffc in QApplication::exec () at kernel/qapplication.cpp:3828
#33 0x0000000000402d1e in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

The reporter indicates this bug may be a duplicate of or related to bug 323696.

Possible duplicates by query: bug 323696.

Reported using DrKonqi
Comment 1 Suren Karapetyan 2013-09-09 12:37:41 UTC
Created attachment 82236 [details]
New crash information added by DrKonqi

kmail (4.10.5) on KDE Platform 4.10.5 using Qt 4.8.5

- What I was doing when the application crashed:
Clicked on an encrypted message. Canceled the password dialog. Kmail crashed.
I can't reproduce it at this moment.

-- Backtrace (Reduced):
#6  0x000000319a243e44 in KMime::Content::parent (this=0x7e2e880) at /usr/src/debug/kdepimlibs-4.10.5/kmime/kmime_content.cpp:952
#7  0x00000031a2e2c176 in MessageCore::NodeHelper::nextSibling (node=0x7e2e880) at /usr/src/debug/kdepim-4.10.5/messagecore/nodehelper.cpp:32
#8  0x0000003985c91446 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7fffac0270e0, node=0x7e2e880) at /usr/src/debug/kdepim-4.10.5/messageviewer/objecttreeparser.cpp:296
#9  0x0000003985cc5a30 in MessageViewer::ViewerPrivate::parseContent (this=this@entry=0x254c750, content=0x7e2e880) at /usr/src/debug/kdepim-4.10.5/messageviewer/viewer_p.cpp:974
#10 0x0000003985cc725c in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x254c750) at /usr/src/debug/kdepim-4.10.5/messageviewer/viewer_p.cpp:846
Comment 2 Sandro Knauß 2013-09-30 00:14:28 UTC
I can reproduce it for master branch.
Comment 3 Jekyll Wu 2014-01-09 04:55:50 UTC

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