Bug 226977

Summary: Kmail crashed when mail with attachment is opened
Product: [Unmaintained] kmail Reporter: Vadim Naboikin <vadim>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kollix
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vadim Naboikin 2010-02-15 12:41:52 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.32-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Kmail is crashed every time when I try to open message with attachment file
(openoffice calc)

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000001263a50 in ?? ()
#6  0x00007fd8d2e5aa69 in QMetaObject::cast(QObject*) const () from /usr/lib/libQtCore.so.4
#7  0x00007fd8d27ba5c7 in QTreeWidgetItem::insertChild(int, QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4
#8  0x00007fd8d27baa4b in QTreeWidgetItem::addChild(QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4
#9  0x00007fd8d27bae43 in QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4
#10 0x00007fd8d384dc69 in KMMimePartTreeItem::KMMimePartTreeItem(KMMimePartTreeItem*, partNode*, QString const&, QString const&, QString const&, unsigned long long, bool) ()
   from /usr/lib/libkmailprivate.so.4
#11 0x00007fd8d3892853 in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) ()
   from /usr/lib/libkmailprivate.so.4
#12 0x00007fd8d38810dc in KMail::ObjectTreeParser::insertAndParseNewChildNode(partNode&, char const*, char const*, bool, bool) () from /usr/lib/libkmailprivate.so.4
#13 0x00007fd8d3884f00 in KMail::ObjectTreeParser::processMessageRfc822Subtype(partNode*, KMail::ProcessResult&) () from /usr/lib/libkmailprivate.so.4
#14 0x00007fd8d3880801 in KMail::ObjectTreeParser::parseObjectTree(partNode*) () from /usr/lib/libkmailprivate.so.4
#15 0x00007fd8d3880b25 in KMail::ObjectTreeParser::stdChildHandling(partNode*) () from /usr/lib/libkmailprivate.so.4
#16 0x00007fd8d3880ed4 in KMail::ObjectTreeParser::processMultiPartMixedSubtype(partNode*, KMail::ProcessResult&) () from /usr/lib/libkmailprivate.so.4
#17 0x00007fd8d3880801 in KMail::ObjectTreeParser::parseObjectTree(partNode*) () from /usr/lib/libkmailprivate.so.4
#18 0x00007fd8d3702510 in KMReaderWin::parseMsg(KMMessage*) () from /usr/lib/libkmailprivate.so.4
#19 0x00007fd8d36f7590 in KMReaderWin::displayMessage() () from /usr/lib/libkmailprivate.so.4
#20 0x00007fd8d36f7760 in KMReaderWin::updateReaderWin() () from /usr/lib/libkmailprivate.so.4
#21 0x00007fd8d36f8035 in KMReaderWin::update(KMail::Interface::Observable*) () from /usr/lib/libkmailprivate.so.4
#22 0x00007fd8d39203b1 in KMail::ISubject::notify() () from /usr/lib/libkmailprivate.so.4
#23 0x00007fd8d361d8ac in KMMessage::updateBodyPart(QString, QByteArray const&) () from /usr/lib/libkmailprivate.so.4
#24 0x00007fd8d38f7a69 in KMail::ImapJob::slotGetMessageResult(KJob*) () from /usr/lib/libkmailprivate.so.4
#25 0x00007fd8d38f962b in KMail::ImapJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#26 0x00007fd8d2e68b0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#27 0x00007fd8d41a7542 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#28 0x00007fd8d41a77e0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#29 0x00007fd8ceb2d333 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#30 0x00007fd8ceb2dcf7 in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#31 0x00007fd8ceb2b921 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#32 0x00007fd8d2e68b0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#33 0x00007fd8cebecfe1 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#34 0x00007fd8cebea353 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#35 0x00007fd8cebde7c6 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#36 0x00007fd8cebde9ac in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#37 0x00007fd8d2e68b0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#38 0x00007fd8ceafc837 in KIO::ConnectionPrivate::dequeue() () from /usr/lib/libkio.so.5
#39 0x00007fd8ceafc95d in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#40 0x00007fd8d2e65a49 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#41 0x00007fd8d221b47c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007fd8d2221a6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007fd8d4767cd6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00007fd8d2e55dcc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0x00007fd8d2e58547 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#46 0x00007fd8d2e7f703 in ?? () from /usr/lib/libQtCore.so.4
#47 0x00007fd8c936a26e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0x00007fd8c936dc28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#49 0x00007fd8c936dd50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0x00007fd8d2e7f243 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0x00007fd8d22c960e in ?? () from /usr/lib/libQtGui.so.4
#52 0x00007fd8d2e546f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0x00007fd8d2e54acc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0x00007fd8d2e5880b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#55 0x0000000000403292 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-15 20:07:07 UTC
Probably related to bug 224414 / bug 186502.
- Does that attachment have some weird properly? (like an empty name)
Regards
Comment 2 Thomas McGuire 2010-02-28 19:30:21 UTC

*** This bug has been marked as a duplicate of bug 186502 ***