[Kolab-devel] [issue3837] Reproducible crash when (not) decrypting s/mime message

Thomas Arendsen Hein issues at kolab.org
Tue Sep 8 15:22:17 CEST 2009


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

Kontact Version 1.2.9 (enterprise35 20090807.1015511)

When looking at an encrypted s/mime message the mail window looks like this:

---Encrypted message---
  This message is encrypted.
    Decrypt Message
---End of encrypted message---

Now I click on "Decrypt Message", pinentry-qt 0.7.5-2.1 asks for my passphrase.
In the background the mail window looks like this:
---Encrypted message (decryption not possible)---
  smime.p7m
---End of encrypted message---

Then I minimize the pinentry window,
click on the smime.p7m link in the mail window,
click on Open with 'Kleopatra',
confirm the error message (Invalid crypto engine) with OK,
close Kleopatra,
unminimize pinentry again.

When I now click on OK three times (without entering a password) or on Cancel,
kontact either crashes with the attached traceback or freezes until I kill it.

(Note that I do not need to minimize pinentry when the pinentry does not
obstruct the smime.p7m link, but in my default window layout it does)

----------
assignedto: allen
files: kontact-crash.txt
keyword: enterprise35, kde client
messages: 21523
nosy: allen, laurent, ludwig, thomas, till, tmcguire, vkrause
priority: urgent
status: unread
title: Reproducible crash when (not) decrypting s/mime message

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue3837>
______________________________________
-------------- next part --------------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1242904896 (LWP 14736)]
[New Thread -1286542416 (LWP 14767)]
[New Thread -1278153808 (LWP 14766)]
[New Thread -1269765200 (LWP 14765)]
[New Thread -1261376592 (LWP 14764)]
[KCrash handler]
#5  0xb776de14 in memmove () from /lib/tls/libc.so.6
#6  0xb4dc495b in mem_copy (src=0x19 <Address 0x19 out of bounds>, n=6, 
    dest=0x19 <Address 0x19 out of bounds>) at dwstring.cpp:143
#7  0xb4dc3523 in DwString::_copy (this=0x87e6fd8) at dwstring.cpp:1228
#8  0xb507bf95 in DwString::c_str (this=0x87e6fd8)
    at ../mimelib/mimelib/string.h:620
#9  0xb507bfd0 in DwMessageComponent::partId (this=0x87e6fb0)
    at ../mimelib/mimelib/msgcmp.h:259
#10 0xb5290822 in partNode::findNodeForDwPart (this=0x8930650, part=0x87e6fb0)
    at partNode.cpp:457
#11 0xb515251b in KMReaderWin::update (this=0x8424c48, observable=0x882542c)
    at kmreaderwin.cpp:890
#12 0xb5307e47 in KMail::ISubject::notify (this=0x882542c) at isubject.cpp:35
#13 0xb5288a10 in KMail::DecryptVerifyBodyPartMemento::notify (this=0x8825400)
    at objecttreeparser_p.h:87
#14 0xb5287c90 in KMail::DecryptVerifyBodyPartMemento::qt_invoke (
    this=0x8825400, _id=3, _o=0xbfc2e0c8) at objecttreeparser_p.moc:94
#15 0xb6fbfd4f in QObject::activate_signal (this=0x81207c0, clist=0x884ecd8, 
    o=0xbfc2e0c8) at kernel/qobject.cpp:2356
#16 0xb7348bbf in QSignal::signal (this=0x81207c0, t0=@0x81207e8)
    at .moc/debug-shared-mt/moc_qsignal.cpp:100
#17 0xb6fdf8d2 in QSignal::activate (this=0x81207c0) at kernel/qsignal.cpp:212
#18 0xb6fe72a4 in QSingleShotTimer::event (this=0x8120798)
    at kernel/qtimer.cpp:286
#19 0xb6f57c26 in QApplication::internalNotify (this=0xbfc2e6cc, 
    receiver=0x8120798, e=0xbfc2e438) at kernel/qapplication.cpp:2635
#20 0xb6f59a43 in QApplication::notify (this=0xbfc2e6cc, receiver=0x8120798, 
    e=0xbfc2e438) at kernel/qapplication.cpp:2358
#21 0xb767fe0e in KApplication::notify (this=0xbfc2e6cc, receiver=0x8120798, 
    event=0xbfc2e438)
    at /chroots/etch-chroot/home/white/kdelibs/new/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#22 0xb6eeb421 in QApplication::sendEvent (receiver=0x8120798, 
    event=0xbfc2e438) at ../include/qapplication.h:520
#23 0xb6f4a623 in QEventLoop::activateTimers (this=0x80af028)
    at kernel/qeventloop_unix.cpp:556
#24 0xb6eff76f in QEventLoop::processEvents (this=0x80af028, flags=4)
    at kernel/qeventloop_x11.cpp:389
#25 0xb6f72179 in QEventLoop::enterLoop (this=0x80af028)
    at kernel/qeventloop.cpp:198
#26 0xb6f71f9a in QEventLoop::exec (this=0x80af028)
    at kernel/qeventloop.cpp:145
#27 0xb6f597bf in QApplication::exec (this=0xbfc2e6cc)
    at kernel/qapplication.cpp:2758
#28 0x0805e2d4 in main (argc=) at main.cpp:188
#29 0xb7715ea8 in __libc_start_main () from /lib/tls/libc.so.6
#30 0x0805dbf1 in _start () at ../sysdeps/i386/elf/start.S:119


More information about the devel mailing list