Bug 67940 - kmail crash's when view mails
Summary: kmail crash's when view mails
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 23:46 UTC by Patrick Dempster
Modified: 2008-10-15 21:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
This is the mail that causes kmail beta1 to crash when attempting to view (5.83 KB, application/octet-stream)
2003-11-11 23:57 UTC, Patrick Dempster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Dempster 2003-11-11 23:46:03 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.2 (Debian) 
OS:          Linux

Kmail (built with the beta1 sources using knostruct) Crashes after configuring using the instructions at http://kmail.kde.org/kmail-pgpmime-howto.html

When viewing the following mail, the mail does not appear to crash kmail built with the alpha2 sources and not configured to use cryto plugins.
<start insert>
Return-path: <blug-chat-owner@groups.kasei.com>
Envelope-to: patrick@localhost
Received: from phoenix ([127.0.0.1] helo=localhost)
	by phoenix with esmtp (Exim 4.22)
	id 1AIYJ6-0000Oc-Db
	for patrick@localhost; Sat, 08 Nov 2003 18:59:36 +0000
Received: from pop.ntlworld.com [62.253.162.53]
	by localhost with POP3 (fetchmail-6.2.4)
	for patrick@localhost (single-drop); Sat, 08 Nov 2003 18:59:36 +0000 (GMT)
Received: from mx5.123-reg.co.uk ([212.67.202.215])
          by mta02-svc.ntlworld.com
          (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
          id <20031108171756.QUWY16139.mta02-svc.ntlworld.com@mx5.123-reg.co.uk>
          for <patrick.dempster@ntlworld.com>;
          Sat, 8 Nov 2003 17:17:56 +0000
Received: from soto.kasei.com ([80.76.206.154])
	by mx5.123-reg.co.uk with esmtp (Exim 3.36 #2)
	id 1AIWii-0000fN-00
	for lists@paddy-dempster.org.uk; Sat, 08 Nov 2003 17:17:56 +0000
Received: by soto.kasei.com (Postfix, from userid 103)
	id 1E5D91C7B3; Sat,  8 Nov 2003 17:17:56 +0000 (GMT)
X-Original-To: group-post+blug-chat@soto.kasei.com
Delivered-To: group-post+blug-chat@soto.kasei.com
Received: by soto.kasei.com (Postfix, from userid 65534)
	id 2D6CD1C8A1; Sat,  8 Nov 2003 17:17:53 +0000 (GMT)
Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47])
	by soto.kasei.com (Postfix) with ESMTP id B23581C338
	for <blug-chat@groups.kasei.com>; Sat,  8 Nov 2003 17:17:52 +0000 (GMT)
Received: from oemcomputer ([81.99.6.236]) by mta07-svc.ntlworld.com
          (InterMail vM.4.01.03.37 201-229-121-137-20020806) with SMTP
          id <20031108171752.IYRU21570.mta07-svc.ntlworld.com@oemcomputer>
          for <blug-chat@groups.kasei.com>; Sat, 8 Nov 2003 17:17:52 +0000
From: "David Jamison" <david.jamison1@ntlworld.com>
To: "Blug" <blug-chat@groups.kasei.com>
Date: Sat, 8 Nov 2003 17:14:57 -0000
Message-ID: <NGBBLIGNELOKKCLIEOFKKEKJCGAA.david.jamison1@ntlworld.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
  boundary="----=_NextPart_000_0058_01C3A61B.D5702450"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
X-MS-TNEF-Correlator: <NGBBLIGNELOKKCLIEOFKKEKJCGAA.david.jamison1@ntlworld.com>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	soto.kasei.com
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60
X-Spam-Level: 
Reply-To: blug-chat@groups.kasei.com
X-Loop: blug-chat@groups.kasei.com
X-Sequence: 3163
Errors-To: blug-chat-owner@groups.kasei.com
Precedence: list
X-no-archive: yes
List-Id: <blug-chat.groups.kasei.com>
List-Help: <mailto:sympa@groups.kasei.com?subject=help>
List-Subscribe: <mailto:sympa@groups.kasei.com?subject=subscribe%20blug-chat>
List-Unsubscribe: <mailto:sympa@groups.kasei.com?subject=unsubscribe%20blug-chat>
List-Post: <mailto:blug-chat@groups.kasei.com>
List-Owner: <mailto:blug-chat-request@groups.kasei.com>
List-Archive: <http://groups.kasei.com/mail/arc/blug-chat>
Subject: [blug-chat] November Meeting
X-UID: 253


------=_NextPart_000_0058_01C3A61B.D5702450
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: 

Did anything get arranged?

If not anyoe feel like meeting up somewhere (pub or coffee house or
whereever?). Could perhaps discuss my LAMP project idea thingy or even why
is it so hard to install packages on Mandrake (lol)

D

------=_NextPart_000_0058_01C3A61B.D5702450

------=_NextPart_000_0058_01C3A61B.D5702450--

<end insert>

The following messages appear in popup dialogues:

Error - Kmail <3> 
Unable to open file /tmp/kde-patrick/kmailqB1Zba.groupware/msTNEF.raw

Error - Kmail <2> 
Unable to open file /tmp/kde-patrick/kmailUP89Ha.groupware/msTNEF.raw


Error - Kmail <1> 
Unable to open file /tmp/kde-patrick/kmailUP89Ha.groupware/msTNEF.raw

With the follow output display in the console that was used to start kde in,
kmail: KMFolderImap::slotCheckValidityResult of: blug
kmail: processNextCheck, remaining 0
kmail: account Local finished check
kmail: set Msg, force = false
kmail: enable progress
QDict: Cannot insert null item
khtml (part): DONE: 6
kmail: ImapJob::slotGetMessageResult - retrieved part HEADER
kmail: (972, last 0) [blug-chat] November Meeting David Jamison
kmail: set Msg, force = true
QDict: Cannot insert null item
kmail:
#######
#######
#######  parseMsg(KMMessage* aMsg == aMsg )
#######
#######
kmail: *no* first body part found, creating one from Message
kmail:
     ----->  Inserting Root Node into the Mime Part Tree
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: multipart/mixed
kmail:
     <-----  Finished inserting Root Node into Mime Part Tree
kmail: partNode::findType() is looking at Multipart/Mixed
kmail: KMMessage::emailAddrAsAnchor('"David Jamison" <david.jamison1@ntlworld.com>') returns:
--><a href="mailto:%22David%20Jamison%22%20%3Cdavid.jamison1%40ntlworld.com%3E">&quot;David Jamison&quot; &lt;david.jamison1@ntlworld.com&gt;</a><--
kmail: KMMessage::emailAddrAsAnchor('"Blug" <blug-chat@groups.kasei.com>') returns:
--><a href="mailto:%22Blug%22%20%3Cblug-chat%40groups.kasei.com%3E">&quot;Blug&quot; &lt;blug-chat@groups.kasei.com&gt;</a><--
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) **
**
kmail: writePartIcon: PartNum: 1
kmail: KMReaderWin  -  finished parsing and displaying of message.
kmail: ImapAccountBase::constructParts - created id 0 of type MULTIPART/MIXED
kmail: ImapAccountBase::constructParts - created id 1 of type TEXT/PLAIN
kmail: ImapAccountBase::constructParts - created id 2 of type APPLICATION/MS-TNEF
kmail: ImapAccountBase::handleBodyStructure - load 0 (MULTIPART/MIXED)
kmail: load HEADER
kmail: ImapAccountBase::handleBodyStructure - load 1 (TEXT/PLAIN)
kmail: load HEADER
kmail: load Part
kmail: ImapAccountBase::handleBodyStructure - load 2 (APPLICATION/MS-TNEF)
kmail: load HEADER
khtml (part): DONE: 180
kmail: ImapJob::slotGetMessageResult - retrieved part 1.MIME
kmail: KMMessage::updateBodyPart 1
kmail: ISubject::notify 1
kmail: KMReaderWin::update - message
QDict: Cannot insert null item
kmail:
#######
#######
#######  parseMsg(KMMessage* aMsg == aMsg )
#######
#######
kmail:
     ----->  First body part *was* found, filling the Mime Part Tree
kmail:
        partNode::partNode()      explicitType == DwMime::kTypeUnknown
kmail:
kmail:
        partNode::partNode()      explicitType == DwMime::kTypeUnknown
kmail:
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: multipart/mixed
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: APPLICATION/MS-TNEF
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/plain
kmail: partNode::findType() is looking at Multipart/Mixed
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: KMMessage::emailAddrAsAnchor('"David Jamison" <david.jamison1@ntlworld.com>') returns:
--><a href="mailto:%22David%20Jamison%22%20%3Cdavid.jamison1%40ntlworld.com%3E">&quot;David Jamison&quot; &lt;david.jamison1@ntlworld.com&gt;</a><--
kmail: KMMessage::emailAddrAsAnchor('"Blug" <blug-chat@groups.kasei.com>') returns:
--><a href="mailto:%22Blug%22%20%3Cblug-chat%40groups.kasei.com%3E">&quot;Blug&quot; &lt;blug-chat@groups.kasei.com&gt;</a><--
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) **
**
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: ImapJob::slotGetMessageResult - retrieved part 1
kmail: KMMessage::updateBodyPart 1
kmail: ISubject::notify 1
kmail: KMReaderWin::update - message
khtml (part): DONE: 171
QDict: Cannot insert null item
kmail:
#######
#######
#######  parseMsg(KMMessage* aMsg == aMsg )
#######
#######
kmail:
     ----->  First body part *was* found, filling the Mime Part Tree
kmail:
        partNode::partNode()      explicitType == DwMime::kTypeUnknown
kmail:
kmail:
        partNode::partNode()      explicitType == DwMime::kTypeUnknown
kmail:
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: multipart/mixed
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: APPLICATION/MS-TNEF
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/plain
kmail: partNode::findType() is looking at Multipart/Mixed
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: KMMessage::emailAddrAsAnchor('"David Jamison" <david.jamison1@ntlworld.com>') returns:
--><a href="mailto:%22David%20Jamison%22%20%3Cdavid.jamison1%40ntlworld.com%3E">&quot;David Jamison&quot; &lt;david.jamison1@ntlworld.com&gt;</a><--
kmail: KMMessage::emailAddrAsAnchor('"Blug" <blug-chat@groups.kasei.com>') returns:
--><a href="mailto:%22Blug%22%20%3Cblug-chat%40groups.kasei.com%3E">&quot;Blug&quot; &lt;blug-chat@groups.kasei.com&gt;</a><--
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) **
**
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: ImapJob::slotGetMessageResult - retrieved part 2.MIME
kmail: KMMessage::updateBodyPart 2
kmail: ISubject::notify 1
kmail: KMReaderWin::update - message
khtml (part): DONE: 189
QDict: Cannot insert null item
kmail:
#######
#######
#######  parseMsg(KMMessage* aMsg == aMsg )
#######
#######
kmail:
     ----->  First body part *was* found, filling the Mime Part Tree
kmail:
        partNode::partNode()      explicitType == DwMime::kTypeUnknown
kmail:
kmail:
        partNode::partNode()      explicitType == DwMime::kTypeUnknown
kmail:
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: multipart/mixed
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: application/ms-tnef
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/plain
kmail: partNode::findType() is looking at Multipart/Mixed
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: KMMessage::emailAddrAsAnchor('"David Jamison" <david.jamison1@ntlworld.com>') returns:
--><a href="mailto:%22David%20Jamison%22%20%3Cdavid.jamison1%40ntlworld.com%3E">&quot;David Jamison&quot; &lt;david.jamison1@ntlworld.com&gt;</a><--
kmail: KMMessage::emailAddrAsAnchor('"Blug" <blug-chat@groups.kasei.com>') returns:
--><a href="mailto:%22Blug%22%20%3Cblug-chat%40groups.kasei.com%3E">&quot;Blug&quot; &lt;blug-chat@groups.kasei.com&gt;</a><--
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) **
**
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Application/ms-tnef
kmail: processNextCheck, remaining 1
kmail: processing next mail check for Local
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.bclub/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.Drafts/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.ebay/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.ebay.questions/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.failed/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.HeartLight/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.lists/;SECTION=UNSEEN
kmail: KMFolderImap::checkValidity of: blug
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.lists.dwn/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.lists.kde-bindings/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.lists.pm-belfast/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.lists.security/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.paypal/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.Sent/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.SourceForge/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.Spam/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.Spam.not-spam/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.Spam.uncaught/;SECTION=UNSEEN
kio (KIOJob): stat imap://patrick@127.0.0.1:143/INBOX.Trash/;SECTION=UNSEEN


kmail: KMFolderImap::slotCheckValidityResult of: blug
kmail: processNextCheck, remaining 0
kmail: account Local finished check
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) **
**
kmail: WARNING: Unknown codec "7bit" requested!
kmail: writePartIcon: PartNum: 3
kmail: KMReaderWin  -  finished parsing and displaying of message.
khtml (part): DONE: 108384
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE ) **
**
*** KMail got signal 11 (Crashing)

Unfortunaly I can't provide a back trace because the system has been compiled without debugging information enabled.
Comment 1 Patrick Dempster 2003-11-11 23:54:57 UTC
I've just removed the crypto plugin and tried re-viewing the message which again crashed kmail. Before the crypto plugin was configured I was able to view the message using kmail beta1.

When trying to save (to disk) the messaging using kmail alpha2 it crashes kmail alpha2 with the following message in the konsole window that kmail was started in,

kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
*** KMail got signal 11 (Crashing)

Comment 2 Patrick Dempster 2003-11-11 23:57:40 UTC
Created attachment 3166 [details]
This is the mail that causes kmail beta1 to crash when attempting to view
Comment 3 Ingo Klöcker 2003-11-12 11:18:05 UTC
You will have to recompile with debug information if you want us to have a look at your problem. I can't reproduce it, so I assume that it has been fixed in the meantime.
Comment 4 Ralph Hauck 2008-10-15 21:32:43 UTC
On SUSE 11.0 Package with kmail 1.10.1

Anwendung: KMail (kmail), Signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb46756d0 (LWP 12228)]
[KCrash handler]
#6  0xb4e780f8 in ?? () from /lib/libc.so.6
#7  0xb4e795bf in ?? () from /lib/libc.so.6
#8  0xb4e7995c in free () from /lib/libc.so.6
#9  0xb5d8ae4d in qFree () from /usr/lib/libQtCore.so.4
#10 0xb53e9acc in QX11PaintEnginePrivate::~QX11PaintEnginePrivate ()
   from /usr/lib/libQtGui.so.4
#11 0xb53076ef in QPaintEngine::~QPaintEngine () from /usr/lib/libQtGui.so.4
#12 0xb53e09ff in QX11PaintEngine::~QX11PaintEngine ()
   from /usr/lib/libQtGui.so.4
#13 0xb52d15dc in QX11PixmapData::release () from /usr/lib/libQtGui.so.4
#14 0xb52d1cca in QX11PixmapData::~QX11PixmapData ()
   from /usr/lib/libQtGui.so.4
#15 0xb52c33c7 in QPixmap::deref () from /usr/lib/libQtGui.so.4
#16 0xb52c454d in QPixmap::~QPixmap () from /usr/lib/libQtGui.so.4
#17 0xb441b38a in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#18 0xb442571f in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0xb4425e54 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0xb442ab45 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#21 0xb443e8bb in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#22 0xb4e398f1 in exit () from /lib/libc.so.6
#23 0xb4e225fd in __libc_start_main () from /lib/libc.so.6
#24 0x08049d91 in _start ()
#0  0xffffe430 in __kernel_vsyscall ()