Bug 176779 - crash on reply to a certain email
Summary: crash on reply to a certain email
Status: CLOSED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.10.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 11:59 UTC by Thomas Jarosch
Modified: 2010-02-03 10:46 UTC (History)
2 users (show)

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 Thomas Jarosch 2008-12-03 11:59:35 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Fedora RPMs

Hello together,

kmail crashes when I reply to a certain email
and press the send button. Here's a backtrace:

Application: KMail (kmail), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fcd770 (LWP 3748)]
[KCrash handler]
#6  0x0045d8c1 in free () from /lib/libc.so.6
#7  0x02738dfa in gpgme_key_unref () from /usr/lib/libgpgme-pthread.so.11
#8  0x025f2862 in ?? () from /usr/lib/libgpgme++-pthread.so.2
#9  0x04ebe688 in std::remove_if<__gnu_cxx::__normal_iterator<GpgME::Key*, std::vector<GpgME::Key, std::allocator<GpgME::Key> > >, bool (*)(GpgME::Key const&)> (__first=<value optimized out>, __last={_M_current = 0xa5c6948}, 
    __pred=<value optimized out>)
    at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:145
#10 0x04eb8f42 in Kleo::KeyResolver::getEncryptionKeys (
    this=<value optimized out>, person=<value optimized out>, 
    quiet=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.3/kmail/keyresolver.cpp:1417
#11 0x04eb9513 in Kleo::KeyResolver::EncryptionPreferenceCounter::operator() (
    this=<value optimized out>, item=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.3/kmail/keyresolver.cpp:351
#12 0x04eb9657 in Kleo::KeyResolver::checkEncryptionPreferences (
    this=<value optimized out>, encryptionRequested=<value optimized out>)
    at /usr/include/c++/4.3.0/bits/stl_algo.h:3791
#13 0x04ea3ad7 in MessageComposer::determineWhetherToEncrypt (
    this=<value optimized out>, doEncryptCompletely=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.3/kmail/messagecomposer.cpp:897
#14 0x04eae54b in MessageComposer::adjustCryptFlags (
    this=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.3/kmail/messagecomposer.cpp:768
#15 0x04e9ba8c in MessageComposer::slotDoNextJob (this=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.3/kmail/messagecomposer.cpp:431
#16 0x04e9bb1d in MessageComposer::qt_metacall (this=<value optimized out>, 
    _c=<value optimized out>, _id=<value optimized out>, 
    _a=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.3/i386-redhat-linux-gnu/kmail/messagecomposer.moc:69
#17 0x076e2fa0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x076e3d22 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0x076e9377 in ?? () from /usr/lib/libQtCore.so.4
#20 0x076e949c in ?? () from /usr/lib/libQtCore.so.4
#21 0x076dda6f in QObject::event () from /usr/lib/libQtCore.so.4
#22 0x0319df8c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#23 0x031a5e2e in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0x07c9289d in KApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, event=<value optimized out>)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#25 0x076ce2f1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#26 0x076fc2d1 in ?? () from /usr/lib/libQtCore.so.4
#27 0x076f8ae0 in ?? () from /usr/lib/libQtCore.so.4
#28 0x0061ce38 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x006204e3 in ?? () from /lib/libglib-2.0.so.0
#30 0x006206a1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x076f8a38 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#32 0x03237105 in ?? () from /usr/lib/libQtGui.so.4
#33 0x076cc9da in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0x076ccb9a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0x076cf245 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0x0319de07 in QApplication::exec () from /usr/lib/libQtGui.so.4
#37 0x0804a650 in main (argc=)
    at /usr/src/debug/kdepim-4.1.3/kmail/main.cpp:146

Sometimes kmail won't crash but hang forever.
The mail/reply doesn't use any crypto (signing/encryption) features at all.

Cheers,
Thomas
Comment 1 Björn Ruberg 2010-02-02 18:57:10 UTC
Can you please attach this certain e-mail?
Comment 2 Thomas Jarosch 2010-02-03 10:09:34 UTC
The bug report is from 12.2008, I don't remember which email it was :)
Guess it's best to close it.