reproducible kontakt/kmail crash

Bug #177587 reported by vhahn
6
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Fix Released
Medium
Rich Johnson

Bug Description

I found reproducible kontakt/kmail crash in Gutsy. Select a folder and then a PGP encrypted message. Click cancel in the passphrase dialog. Select another folder and go back to the folder with the PGP message. As the PGP message was the last one that was selected in this folder, it gets selected automatically and the passphrase dialog appears again. Ignore it and select another message. Now click cancel in the passphrase dialog which is still open and Kontakt crashes.

This sounds complicated, though if you start kontact and the last message you viewed in your last session was PGP encrypted it's quite realistic you encounter this crash. That's how I found it, actually.

Here's the backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47144510670144 (LWP 25715)]
[New Thread 1107310928 (LWP 25719)]
[New Thread 1098918224 (LWP 25718)]
[New Thread 1090525520 (LWP 25717)]
[New Thread 1082132816 (LWP 25716)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5 0x0000000001fe7e80 in ?? ()
#6 0x00002ae0b52e236a in KMReaderWin::parseMsg ()
   from /usr/lib/libkmailprivate.so
#7 0x00002ae0b52e2a12 in KMReaderWin::displayMessage ()
   from /usr/lib/libkmailprivate.so
#8 0x00002ae0b52e2c0f in KMReaderWin::updateReaderWin ()
   from /usr/lib/libkmailprivate.so
#9 0x00002ae0b52e50f8 in KMReaderWin::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#10 0x00002ae0ab887d76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#11 0x00002ae0ab888910 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#12 0x00002ae0abbf79a2 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#13 0x00002ae0ab8ae257 in QTimer::event () from /usr/lib/libqt-mt.so.3
#14 0x00002ae0ab8232a2 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#15 0x00002ae0ab825031 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0x00002ae0aa4aa248 in KApplication::notify ()
   from /usr/lib/libkdecore.so.4
#17 0x00002ae0ab7b5d12 in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#18 0x00002ae0ab81655c in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
#19 0x00002ae0ab7ca443 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#20 0x00002ae0ab83c7e7 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#21 0x00002ae0ab83c5ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#22 0x00002ae0ab824d68 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#23 0x0000000000419122 in ?? ()
#24 0x00002ae0af189b44 in __libc_start_main () from /lib/libc.so.6
#25 0x0000000000418939 in ?? ()
#26 0x00007fff04c45108 in ?? ()
#27 0x0000000000000000 in ?? ()

Revision history for this message
Rich Johnson (nixternal) wrote :

I had to do this about 5 or more times to finally get it to crash. However, I noticed that you cannot simply ignore the GPG password box in order to use Kontact, you had to either cancel or enter a password. Well I canceled it a few times and went back in forth between folders and message. The last time through is when I tried to ignore the password dialog, and it was at that point that it crashed. Thanks for the report!

===== CRASH BACKTRACE =====

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e63920 (LWP 32199)]
[New Thread 0xb33ebb90 (LWP 32215)]
[New Thread 0xb3becb90 (LWP 32214)]
[New Thread 0xb43edb90 (LWP 32213)]
[New Thread 0xb4beeb90 (LWP 32212)]
[KCrash handler]
#6 0x00000000 in ?? ()
#7 0xb4f952cb in KMReaderWin::parseMsg (this=0x8b3afc8, aMsg=0x94f8378)
    at /build/buildd/kdepim-3.5.9/./kmail/kmreaderwin.cpp:1593
#8 0xb4f917c8 in KMReaderWin::displayMessage (this=0x8b3afc8)
    at /build/buildd/kdepim-3.5.9/./kmail/kmreaderwin.cpp:1513
#9 0xb4f919d5 in KMReaderWin::updateReaderWin (this=0x8b3afc8)
    at /build/buildd/kdepim-3.5.9/./kmail/kmreaderwin.cpp:1449
#10 0xb4f9497d in KMReaderWin::qt_invoke (this=0x8b3afc8, _id=48,
    _o=0xbfe1c7d8) at ./kmreaderwin.moc:301
#11 0xb672273c in QObject::activate_signal (this=0x8b3b078, clist=0x8b647a8,
    o=0xbfe1c7d8) at kernel/qobject.cpp:2359
#12 0xb6723221 in QObject::activate_signal (this=0x8b3b078, signal=2)
    at kernel/qobject.cpp:2328
#13 0xb6ab3e24 in QTimer::timeout (this=0x8b3b078)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#14 0xb6749d46 in QTimer::event (this=0x8b3b078, e=0xbfe1cad8)
    at kernel/qtimer.cpp:222
#15 0xb66b6c36 in QApplication::internalNotify (this=0xbfe1cdec,
    receiver=0x8b3b078, e=0xbfe1cad8) at kernel/qapplication.cpp:2638
#16 0xb66b8a5f in QApplication::notify (this=0xbfe1cdec, receiver=0x8b3b078,
    e=0xbfe1cad8) at kernel/qapplication.cpp:2361
#17 0xb6e76702 in KApplication::notify (this=0xbfe1cdec, receiver=0x8b3b078,
    event=0xbfe1cad8)
    at /build/buildd/kdelibs-3.5.9/./kdecore/kapplication.cpp:550
#18 0xb6647279 in QApplication::sendEvent (receiver=0x8b3b078,
    event=0xbfe1cad8) at ../include/qapplication.h:523
#19 0xb66a9b19 in QEventLoop::activateTimers (this=0x80b9908)
    at kernel/qeventloop_unix.cpp:559
#20 0xb665c637 in QEventLoop::processEvents (this=0x80b9908, flags=4)
    at kernel/qeventloop_x11.cpp:392
#21 0xb66d1f90 in QEventLoop::enterLoop (this=0x80b9908)
    at kernel/qeventloop.cpp:201
#22 0xb66d1c8e in QEventLoop::exec (this=0x80b9908)
    at kernel/qeventloop.cpp:148
#23 0xb66b87df in QApplication::exec (this=0xbfe1cdec)
    at kernel/qapplication.cpp:2761
#24 0x0805c113 in main (argc=0, argv=0x0)
    at /build/buildd/kdepim-3.5.9/./kontact/src/main.cpp:163
#25 0xb5ec6450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#26 0x0805b7e1 in _start ()

Changed in kdepim:
assignee: nobody → nixternal
status: New → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

If a pinentry dialog is active, KMail 1.10.1 will not let you select another message, thus fixing this crash.

Changed in kdepim:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.