Summary: | kmail crashes while loading an email with attached jpeg from imap | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Reto Hotz <reto.hotz> |
Component: | encryption | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ajung |
Priority: | NOR | ||
Version: | 1.6 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Reto Hotz
2004-03-04 15:08:41 UTC
Do you get a backtrace if you run kmail in gdb as follows?
> gdb kmail
[...]
(gdb) kmail --nofork
[make KMail crash.]
(gdb) bt
I suspect that it's crashing in the S/MIME code.
In the meanwhile I can make kmail also crash with an encrypted mail. So I have 2 reproduceable testcases, one with signed message and one with encrypted message. If you also need the backtrace from the encrypted message, let me know. Here ist the backtrace from the signed message. Hope this helps: #0 0x413d93ca in posix_memalign () from /usr/kde/3.2/lib/libkdecore.so.4 #1 0x413d8c5d in malloc () from /usr/kde/3.2/lib/libkdecore.so.4 #2 0x41fc624f in xmalloc () from /usr/lib/cryptplug/gpgme-smime.so #3 0x41fc8dcb in parse_dn () from /usr/lib/cryptplug/gpgme-smime.so #4 0x41fca980 in obtain_signature_information () from /usr/lib/cryptplug/gpgme-smime.so #5 0x41fcad28 in checkMessageSignature () from /usr/lib/cryptplug/gpgme-smime.so #6 0x40995665 in CryptPlugWrapper::checkMessageSignature(char**, char const*, bool, int, CryptPlugWrapper::SignatureMetaData*) (this=0x8186d50, cleartext=0xbfffddd8, signaturetext=0x8405100 "0\200\006\t*\206H\206÷\r\001\a\002 \2000\200\002\001\0011\v0\t\006\005+\016\003\002\032\005", signatureIsBinary=true, signatureLen=3146, sigmeta=0xbfffde10) at cryptplugwrapper.cpp:1263 #7 0x40319179 in KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData(partNode*, partNode&, QString const&, bool, QCString*, CryptPlugWrapper::SignatureMetaData*, bool) (this=0xbfffe040, data=0x823aa88, sign=@0x823f8f8, fromAddress=@0x83d0638, doCheck=true, cleartextData=0x0, paramSigMeta=0x0, hideErrors=false) at objecttreeparser.cpp:440 #8 0x4031d1e9 in KMail::ObjectTreeParser::processMultiPartSignedSubtype(partNode*, KMail::ProcessResult&) (this=0xbfffe040, node=0x83d05b0, result=@0xbfffdfa0) ---Type <return> to continue, or q <return> to quit--- at objecttreeparser.cpp:1256 #9 0x403251d7 in (anonymous namespace)::MultiPartSignedBodyPartFormatter::process(KMail::ObjectTreeParser*, partNode*, KMail::ProcessResult&) const ( this=0x8395348, otp=0xbfffe040, node=0x83d05b0, result=@0xbfffdfa0) at bodypartformatter.cpp:111 #10 0x4031852a in KMail::ObjectTreeParser::parseObjectTree(partNode*) ( this=0xbfffe040, node=0x83d05b0) at objecttreeparser.cpp:246 #11 0x40234167 in KMReaderWin::parseMsg(KMMessage*) (this=0x8252950, aMsg=0x83e6418) at kmreaderwin.cpp:1188 #12 0x402335f9 in KMReaderWin::displayMessage() (this=0x8252950) at kmreaderwin.cpp:1064 #13 0x40233163 in KMReaderWin::updateReaderWin() (this=0x8252950) at kmreaderwin.cpp:1006 #14 0x402326f6 in KMReaderWin::setMsg(KMMessage*, bool) (this=0x8252950, aMsg=0x83e6418, force=true) at kmreaderwin.cpp:854 #15 0x4034a51c in KMMainWidget::slotUpdateImapMessage(KMMessage*) ( this=0x81cb4b0, msg=0x83e6418) at kmmainwidget.cpp:1724 #16 0x4034210a in KMMainWidget::qt_invoke(int, QUObject*) (this=0x81cb4b0, _id=149, _o=0xbfffe430) at kmmainwidget.moc:550 #17 0x416f7930 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #18 0x40361151 in KMail::FolderJob::messageRetrieved(KMMessage*) ( this=0x83e76e8, t0=0x83e6418) at folderjob.moc:124 #19 0x40369c05 in KMail::ImapJob::slotGetMessageResult(KIO::Job*) ( this=0x83e76e8, job=0x83e7dd8) at imapjob.cpp:333 #20 0x4036abc6 in KMail::ImapJob::qt_invoke(int, QUObject*) (this=0x83e76e8, _id=2, _o=0xbfffe5c0) at imapjob.moc:120 #21 0x416f7930 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #22 0x40da9882 in KIO::Job::result(KIO::Job*) () from /usr/kde/3.2/lib/libkio.so.4 #23 0x40d948bf in KIO::Job::emitResult() () from /usr/kde/3.2/lib/libkio.so.4 #24 0x40d95d3e in KIO::SimpleJob::slotFinished() () from /usr/kde/3.2/lib/libkio.so.4 #25 0x40d9885e in KIO::TransferJob::slotFinished() () from /usr/kde/3.2/lib/libkio.so.4 #26 0x40dab08d in KIO::TransferJob::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/libkio.so.4 #27 0x416f7930 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #28 0x416f7764 in QObject::activate_signal(int) () from /usr/qt/3/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #29 0x40d88e4e in KIO::SlaveInterface::finished() () from /usr/kde/3.2/lib/libkio.so.4 #30 0x40d87c5d in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #31 0x40d87309 in KIO::SlaveInterface::dispatch() () from /usr/kde/3.2/lib/libkio.so.4 #32 0x40d84c6b in KIO::Slave::gotInput() () from /usr/kde/3.2/lib/libkio.so.4 #33 0x40d86860 in KIO::Slave::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/libkio.so.4 #34 0x416f7930 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #35 0x416f7a90 in QObject::activate_signal(int, int) () from /usr/qt/3/lib/libqt-mt.so.3 #36 0x41a23722 in QSocketNotifier::activated(int) () from /usr/qt/3/lib/libqt-mt.so.3 #37 0x41713db0 in QSocketNotifier::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #38 0x4169cb55 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #39 0x4169bf45 in QApplication::notify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #40 0x412bdb4c in KApplication::notify(QObject*, QEvent*) () from /usr/kde/3.2/lib/libkdecore.so.4 #41 0x4168c44a in QEventLoop::activateSocketNotifiers() () from /usr/qt/3/lib/libqt-mt.so.3 #42 0x41648752 in QEventLoop::processEvents(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3 #43 0x416ae956 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 #44 0x416ae7f8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3 #45 0x4169cda1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3 #46 0x0804a2ba in main (argc=2, argv=0xbffff474) at main.cpp:115 (gdb) *** Bug 84306 has been marked as a duplicate of this bug. *** Reto, thanks for reporting this. Since the crypto layer has been redone for KMail 1.7 and the test case you describe does not crash here, I'm closing this bug as fixed. Please feel free to reopen it if you can still reproduce with a current version of KMail. |