Bug 107789 - [backtrace] crashes on Reply to email with invalid gpg sign.
Summary: [backtrace] crashes on Reply to email with invalid gpg sign.
Status: RESOLVED REMIND
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Marc Mutz
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2005-06-20 16:17 UTC by Grzegorz Jaskiewicz
Modified: 2008-11-07 17:23 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 Grzegorz Jaskiewicz 2005-06-20 16:17:23 UTC
Version:           unknown (using KDE 3.4.89 (>= 20050615), compiled sources)
Compiler:          gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-12)
OS:                Linux (i686) release 2.6.11.7

reply to email with invalid gpg signature (according to kmail at least), press send and kaboom:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1243482432 (LWP 2046)]
[KCrash handler]
#3  0xb53f8fd8 in __gnu_cxx::__mt_alloc<GpgME::UserID>::deallocate (
    this=0xbfffe9f0, __p=0x9356b78, __n=0) at mt_allocator.h:430
#4  0xb5687a49 in ValidTrustedOpenPGPEncryptionKey (key=@0x9356b84)
    at stl_vector.h:117
#5  0xb5687aa9 in NotValidTrustedEncryptionKey (key=@0x91ff070)
    at /home/gj/kde-sources/kdepim/kmail/keyresolver.cpp:145
#6  0xb5692c39 in std::find_if<__gnu_cxx::__normal_iterator<GpgME::Key*, std::vector<GpgME::Key, std::allocator<GpgME::Key> > >, bool (*)(GpgME::Key const&)>
    (__first={_M_current = 0x91ff070}, 
    __pred=0xb5687a60 <NotValidTrustedEncryptionKey>) at stl_iterator.h:614
#7  0xb5692f70 in std::remove_if<__gnu_cxx::__normal_iterator<GpgME::Key*, std::vector<GpgME::Key, std::allocator<GpgME::Key> > >, bool (*)(GpgME::Key const&)> (__pred=0xb5687a60 <NotValidTrustedEncryptionKey>)
    at stl_iterator_base_types.h:165
#8  0xb568cfbc in Kleo::KeyResolver::getEncryptionKeys (this=0x9146ef8, 
    person=@0x91fc1e0, quiet=true) at stl_vector.h:314
#9  0xb568dcb5 in Kleo::KeyResolver::EncryptionPreferenceCounter::operator() (
    this=0xbfffecec, item=@0x91fc1e0)
    at /home/gj/kde-sources/kdepim/kmail/keyresolver.cpp:292
#10 0xb569a6ba in std::for_each<__gnu_cxx::__normal_iterator<Kleo::KeyResolver::Item*, std::vector<Kleo::KeyResolver::Item, std::allocator<Kleo::KeyResolver::Item> > >, Kleo::KeyResolver::EncryptionPreferenceCounter> (__first=
      {_M_current = 0x91fc1e0}, __f=
      {<std::unary_function<Kleo::KeyResolver::Item,void>> = {<No data fields>}, _this = 0x9146ef8, mDefaultPreference = Kleo::AskWheneverPossible, mTotal = 0, mNoKey = 0, mNeverEncrypt = 0, mUnknownPreference = 0, mAlwaysEncrypt = 0, mAlwaysEncryptIfPossible = 0, mAlwaysAskForEncryption = 0, mAskWheneverPossible = 0}) at stl_iterator.h:614
#11 0xb568de4a in Kleo::KeyResolver::checkEncryptionPreferences (
    this=0x9146ef8, encryptionRequested=false) at stl_vector.h:314
#12 0xb567aca2 in MessageComposer::determineWhetherToEncrypt (this=0x91ab068, 
    doEncryptCompletely=false)
    at /home/gj/kde-sources/kdepim/kmail/messagecomposer.cpp:702
#13 0xb567cc80 in MessageComposer::adjustCryptFlags (this=0x91ab068)
    at /home/gj/kde-sources/kdepim/kmail/messagecomposer.cpp:575
#14 0xb568577f in AdjustCryptFlagsJob::execute (this=0x0)
    at /home/gj/kde-sources/kdepim/kmail/messagecomposer.cpp:240
#15 0xb5681057 in MessageComposer::slotDoNextJob (this=0x91ab068)
    at /home/gj/kde-sources/kdepim/kmail/messagecomposer.cpp:353
#16 0xb5681199 in MessageComposer::qt_invoke (this=0x91ab068, _id=2, 
    _o=0xbffff280) at messagecomposer.moc:95
#17 0xb66f8e7b in QObject::activate_signal (this=0x81f7d90, clist=0x811d0f8, 
    o=0xbffff280) at kernel/qobject.cpp:2355
#18 0xb6a5e054 in QSignal::signal (this=0x81f7d90, t0=@0x81f7db8)
    at .moc/debug-shared-mt/moc_qsignal.cpp:100
#19 0xb6716e51 in QSignal::activate (this=0x81f7d90) at kernel/qsignal.cpp:212
#20 0xb671edcb in QSingleShotTimer::event (this=0x81f7d68)
    at kernel/qtimer.cpp:286
#21 0xb66944fd in QApplication::internalNotify (this=0xbffff830, 
    receiver=0x81f7d68, e=0xbffff590) at kernel/qapplication.cpp:2635
#22 0xb66939c1 in QApplication::notify (this=0xbffff830, receiver=0x81f7d68, 
    e=0xbffff590) at kernel/qapplication.cpp:2358
#23 0xb6d1cfe3 in KApplication::notify (this=0xbffff830, receiver=0x81f7d68, 
    event=0xbffff590)
    at /home/gj/kde-sources/kdelibs/kdecore/kapplication.cpp:549
#24 0xb6625945 in QApplication::sendEvent (receiver=0x81f7d68, 
    event=0xbffff590) at qapplication.h:491
#25 0xb6682233 in QEventLoop::activateTimers (this=0x80a4e88)
    at kernel/qeventloop_unix.cpp:556
#26 0xb6639609 in QEventLoop::processEvents (this=0x80a4e88, flags=4)
    at kernel/qeventloop_x11.cpp:389
#27 0xb66a9588 in QEventLoop::enterLoop (this=0x80a4e88)
    at kernel/qeventloop.cpp:198
#28 0xb66a94a6 in QEventLoop::exec (this=0x80a4e88)
    at kernel/qeventloop.cpp:145
#29 0xb669467d in QApplication::exec (this=0xbffff830)
    at kernel/qapplication.cpp:2758
#30 0x08059591 in main (argc=1, argv=0xbffffab4)
    at /home/gj/kde-sources/kdepim/kontact/src/main.cpp:177
Comment 1 mario tuling 2008-10-17 06:50:42 UTC
does that still happen for you? i cant reproduce with r872xxx
Comment 2 Michael Leupold 2008-11-07 17:23:01 UTC
Closing this for now as we weren't able to reproduce it. Please reopen if the problem still persists.