Bug 184212 - kmail crashes when trying to display mail
Summary: kmail crashes when trying to display mail
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: MDN (show other bugs)
Version: 1.11.90
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 182429 185510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-13 11:37 UTC by simon
Modified: 2009-06-08 15:10 UTC (History)
0 users

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 simon 2009-02-13 11:37:49 UTC
Version:           1.11.90 (using 4.2.62 (KDE 4.2.62 (KDE 4.3 >= 20090204)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26-tuxonice

hi,

when changing into my imap inbox kmail crashes with following debug messages:

---

kontact(16678)/kmail KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ XXX ]
kontact(16678)/kmail KMReaderWin::setMsg: ( 1403024 , last 0 ) " XXX " "Christoph Blumenthal" , readyToShow true
kontact(16678)/kmail KMMessage::findDwBodyPart: text   plain
kontact(16678)/kmail KMMessage::findDwBodyPart: text   html
kontact(16678)/kmail KMMessage::findDwBodyPart: application   octet-stream
kontact(16678)/kmail KMMessage::createMDN: KPIMUtils::splitAddressList(receiptTo): " XXX "
kontact(16678)/kmail KMMessage::createMDN: clean return path: "XXX"
ASSERT: "mFolder == messageListView()->currentFolder() || mFolder == 0" in file /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/kmmainwidget.cpp, line 1167
*** KMail got signal 6 (Crashing)
---

backtrace:


---

Anwendung: Kontact (kontact), Signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007f66bf3ac7e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 16678)]

Thread 2 (Thread 0x40e3f950 (LWP 16680)):
#0  0x00007f66bfdf5897 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f66c00614b7 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f66c0058fb6 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f66c0060cb0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f66bfdf1047 in start_thread () from /lib/libpthread.so.0
#5  0x00007f66bf3da28d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f66c5c40720 (LWP 16678)):
[KCrash Handler]
#5  0x00007f66bf34a3c5 in raise () from /lib/libc.so.6
#6  0x00007f66bf34b73e in abort () from /lib/libc.so.6
#7  0x00007f66c0059f69 in qt_message_output () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f66c005a080 in qFatal () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f66af1ad74c in KMMainWidget::folder () from /usr/kde/live/lib64/libkmailprivate.so.4
#10 0x00007f66af1b313a in KMMainWidget::updateCutCopyPasteActions () from /usr/kde/live/lib64/libkmailprivate.so.4
#11 0x00007f66af1b3189 in KMMainWidget::updateMessageActions () from /usr/kde/live/lib64/libkmailprivate.so.4
#12 0x00007f66af1c70dd in KMMainWidget::qt_metacall () from /usr/kde/live/lib64/libkmailprivate.so.4
#13 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f66c013aab2 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f66c0c7cbee in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f66c0c83081 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f66c1f3904b in KApplication::notify () from /usr/kde/live/lib64/libkdeui.so.5
#18 0x00007f66c012b5b3 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f66c0151fd9 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f66c014fcfd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f66bb5a64d2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007f66bb5a97b5 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007f66bb5a9cbb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007f66c015027e in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f66c0cfc95f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f66c012a9a5 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f66c012ab26 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f66c10b6bfb in QDialog::exec () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f66c10d43b8 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f66c10d457e in QMessageBox::information () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f66aefd1325 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#32 0x00007f66aefd7ee1 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#33 0x00007f66af06fe91 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#34 0x00007f66af074ead in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#35 0x00007f66af1b0f5b in KMMainWidget::slotMsgSelected () from /usr/kde/live/lib64/libkmailprivate.so.4
#36 0x00007f66af1c714c in KMMainWidget::qt_metacall () from /usr/kde/live/lib64/libkmailprivate.so.4
#37 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007f66aefc483f in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#39 0x00007f66aefc4b4a in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#40 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007f66aefc495f in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#42 0x00007f66af2d4ee3 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#43 0x00007f66aefc4665 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#44 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007f66c11474e7 in QItemSelectionModel::selectionChanged () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007f66c114bd23 in QItemSelectionModel::emitSelectionChanged () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007f66c114e083 in QItemSelectionModel::select () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007f66c1149761 in QItemSelectionModel::select () from /usr/lib64/qt4/libQtGui.so.4
#49 0x00007f66c1147bb8 in QItemSelectionModel::setCurrentIndex () from /usr/lib64/qt4/libQtGui.so.4
#50 0x00007f66c10ff64f in QAbstractItemView::setCurrentIndex () from /usr/lib64/qt4/libQtGui.so.4
#51 0x00007f66af2d6fbe in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#52 0x00007f66af2b3002 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#53 0x00007f66af2b3466 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#54 0x00007f66af2d8981 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#55 0x00007f66af2dd761 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#56 0x00007f66af29852f in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#57 0x00007f66af291f66 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#58 0x00007f66af1bcfda in KMMainWidget::folderSelected () from /usr/kde/live/lib64/libkmailprivate.so.4
#59 0x00007f66af1c67c6 in KMMainWidget::qt_metacall () from /usr/kde/live/lib64/libkmailprivate.so.4
#60 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#61 0x00007f66af0261e0 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#62 0x00007f66af028783 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#63 0x00007f66af02c895 in KMail::FolderView::activateItemInternal () from /usr/kde/live/lib64/libkmailprivate.so.4
#64 0x00007f66af028e35 in KMail::FolderView::slotItemClicked () from /usr/kde/live/lib64/libkmailprivate.so.4
#65 0x00007f66af02f006 in KMail::FolderView::qt_metacall () from /usr/kde/live/lib64/libkmailprivate.so.4
#66 0x00007f66af033fe6 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#67 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#68 0x00007f66c1164b50 in QTreeWidget::itemClicked () from /usr/lib64/qt4/libQtGui.so.4
#69 0x00007f66c116e686 in QTreeWidget::qt_metacall () from /usr/lib64/qt4/libQtGui.so.4
#70 0x00007f66c48195f6 in KPIM::TreeWidget::qt_metacall () from /usr/kde/live/lib64/libkdepim.so.4
#71 0x00007f66c4819695 in KPIM::FolderTreeWidget::qt_metacall () from /usr/kde/live/lib64/libkdepim.so.4
#72 0x00007f66af02ee95 in KMail::FolderView::qt_metacall () from /usr/kde/live/lib64/libkmailprivate.so.4
#73 0x00007f66af033fe6 in ?? () from /usr/kde/live/lib64/libkmailprivate.so.4
#74 0x00007f66c013c648 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#75 0x00007f66c10fbab5 in QAbstractItemView::clicked () from /usr/lib64/qt4/libQtGui.so.4
#76 0x00007f66c1107da9 in QAbstractItemView::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4
#77 0x00007f66c0cc4f10 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#78 0x00007f66c10008f6 in QFrame::event () from /usr/lib64/qt4/libQtGui.so.4
#79 0x00007f66c107c68a in QAbstractScrollArea::viewportEvent () from /usr/lib64/qt4/libQtGui.so.4
#80 0x00007f66c110737a in QAbstractItemView::viewportEvent () from /usr/lib64/qt4/libQtGui.so.4
#81 0x00007f66c113ad77 in QTreeView::viewportEvent () from /usr/lib64/qt4/libQtGui.so.4
#82 0x00007f66c107e038 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#83 0x00007f66c012bb1d in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/qt4/libQtCore.so.4
#84 0x00007f66c0c7cbbf in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#85 0x00007f66c0c83736 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#86 0x00007f66c1f3904b in KApplication::notify () from /usr/kde/live/lib64/libkdeui.so.5
#87 0x00007f66c012b5b3 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#88 0x00007f66c0c84c0a in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#89 0x00007f66c0cda81a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#90 0x00007f66c0cd9330 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#91 0x00007f66c0cfcb43 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#92 0x00007f66bb5a64d2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#93 0x00007f66bb5a97b5 in ?? () from /usr/lib/libglib-2.0.so.0
#94 0x00007f66bb5a9cbb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#95 0x00007f66c015027e in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#96 0x00007f66c0cfc95f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#97 0x00007f66c012a9a5 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#98 0x00007f66c012ab26 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#99 0x00007f66c012c999 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#100 0x0000000000404292 in _start ()
Comment 1 simon 2009-02-13 11:40:54 UTC
please change the severity to crash, i had to delete the specific file in the mailer webfrontend to continue using kmail
Comment 2 Jaime Torres 2009-02-21 23:49:17 UTC
I guess this could be a duplicate of bug 91820. (the assertion and cut and paste and drag and drop).

Did you tried to move the offending message to another folder?
Without the message, it will be harder to solve.
Comment 3 Christophe Marin 2009-03-09 10:49:11 UTC
*** Bug 182429 has been marked as a duplicate of this bug. ***
Comment 4 simon 2009-03-09 13:27:05 UTC
its definately somehow related to the "return receipt" - all the messages that lead to this crash are asking for a receipt, is there anything i can do to further debug this?
Comment 5 Dario Andres 2009-05-08 00:18:15 UTC
*** Bug 185510 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2009-06-08 12:00:41 UTC
*** Bug 195643 has been marked as a duplicate of this bug. ***
Comment 7 simon 2009-06-08 12:11:34 UTC
my duplicated bug 195643 has better debug symbols, i paste a privatized message which caused the crash, anything i can do else?


Return-Path: <xxx@xxx.xxx>
Delivered-To: simon@aktionspotenzial.de
Received: from localhost (localhost [127.0.0.1])
	by aktionspotential.de (Postfix) with ESMTP id BBD7C96C057
	for <simon@aktionspotenzial.de>; Mon,  8 Jun 2009 08:38:19 +0200 (CEST)
X-Virus-Scanned: amavisd-new at aktionspotential.de
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=x tagged_above=-999 required=4 tests=[]
Received: from aktionspotential.de ([127.0.0.1])
	by localhost (aktionspotential.de [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id Jjj+KxXdVdcv for <simon@aktionspotenzial.de>;
	Mon,  8 Jun 2009 08:38:19 +0200 (CEST)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
Received: from webbox240.server-home.org (webbox240.server-home.org [83.220.144.30])
	by aktionspotential.de (Postfix) with ESMTP id 56F3196C055
	for <simon@aktionspotenzial.de>; Mon,  8 Jun 2009 08:38:19 +0200 (CEST)
Received: from [192.168.1.4] (e180038174.adsl.alicedsl.de [85.180.38.174])
	by webbox240.server-home.org (Postfix) with ESMTP id D637B174C66F
	for <simon@aktionspotenzial.de>; Mon,  8 Jun 2009 08:28:21 +0200 (CEST)
Message-ID: <4A2CAF24.5030208@wkurz.com>
Disposition-Notification-To: xxx xxx <xxx@xxx.xxx>
Date: Mon, 08 Jun 2009 08:26:44 +0200
From: xxx xxx <xxx@xxx.xxx>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: =?ISO-8859-15?Q?Simon_B=FChler?= <simon@aktionspotenzial.de>
Subject: [Fwd: Neues Tool =?ISO-8859-15?Q?f=FCr_CineToVid=5D?=
Content-Type: multipart/mixed;
  boundary="------------000701030602050202080006"
X-UID: 41853
X-Length: 370758
Status: R
X-Status: NT
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

This is a multi-part message in MIME format.
--------------000701030602050202080006
Content-Type: multipart/alternative;
 boundary="------------050206060108060003050000"


--------------050206060108060003050000
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

xxx

--------------050206060108060003050000
Content-Type: multipart/related;
 boundary="------------090408090106060008030509"


--------------090408090106060008030509
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
    
    xxx
    
</body>
</html>

--------------090408090106060008030509
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.05020903.04010004@wkurz.com>

--------------000701030602050202080006--
Comment 8 Thomas McGuire 2009-06-08 15:10:31 UTC
This has been fixed with r978093.