Bug 134186 - IMAP slave crashes when downloading multipart messages in preview window, for some IMAP servers
Summary: IMAP slave crashes when downloading multipart messages in preview window, for...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 23:37 UTC by Aurélien
Modified: 2010-04-06 00:31 UTC (History)
1 user (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 Aurélien 2006-09-16 23:37:17 UTC
Version:           1.9.3 (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Hello, 

Similar problems seem to have been reported some time ago, but I'm not sure this is the same problem.

When I click on a mail, and
- it is a multipart mail (but not necessarily with attachements)
- in preview more
- on some servers
then the message (in French) pops:
"Fin inattendue du programme
Le programme de votre ordinateur permettant d'accéder au protocole imap://imap.contactoffice.net s'est terminé de façon inattendue."

Translation:
"Unexpected end of the program.
The program allowing to access the imap protocol terminated unexpectedly"

Important notes:
- The problem arises on some IMAP servers (the same message does not cause problems when copied to annother server). 
- The problem arises in PREVIEW MODE ONLY: when one doubleclicks on the message, it shows correctly (in a new window)! and the message may still be copied to another server;
 
 I also noted that multipart messages are the cause of the problem. Single messages are fine, as well as attachements. 
 
I attach 2 listings, trackec with wireshark:
 a) Buggy conversation: Kmail throws the Unexpected Program Termination 
 b) Correct conversation: the same message causes no problem when read from on another server 
 
 Aurelien 
 
 ------- BUGGY IMAP CONVERSATION ---------------------------------------- 
 6 NOOP 
 * 59 EXISTS 
 * OK [UIDVALIDITY 0] 
 6 OK NOOP completed 
 7 UID FETCH 102 (UID RFC822.HEADER RFC822.SIZE FLAGS) 
 * 59 FETCH (FLAGS () UID 102 RFC822.SIZE 7246 RFC822.HEADER {1127} 
 Delivered-To: aurelien@cognitec.be 
 Return-Path: <credit.manager@transatel.com> 
 Received: from smtp.transatel.com (web1.transatel.com [::ffff:82.138.79.7]) 
   by mail.cognitec.be with esmtp; Tue, 12 Jul 2005 18:48:55 +0200 
 Received: from gate.transatel.com (unknown [192.168.4.1]) 
 .by smtp.transatel.com (Postfix) with ESMTP id 6728527AA1 
 .for <aurelien.slodzian@cognitec.be>; Tue, 12 Jul 2005 17:20:43 +0200 (CEST) 
 Received: from Marlene (unknown [192.168.4.80]) 
 .by gate.transatel.com (Postfix) with ESMTP id 434BE36C912 
 .for <aurelien.slodzian@cognitec.be>; Tue, 12 Jul 2005 17:18:44 +0200 (CEST) 
 From: "Credit Manager" <credit.manager@transatel.com> 
 To: aurelien.slodzian@cognitec.be 
 Subject: Trabnsatel facture 
 Date: Tue, 12 Jul 2005 17:20:43 +0200 
 MIME-Version: 1.0 
 Content-Type: multipart/alternative; 
   boundary="----=_NextPart_000_0046_01C58706.08A260A0" 
 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 
 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 
 Thread-Index: AcWG8vJ49Eoq+rBSQ42IUAJLa/x93w== 
 Message-Id: <20050712151844.434BE36C912@gate.transatel.com> 
 X-Length: 7217 
 X-UID: 232 
 ) 
 7 OK FETCH Completed 
 8 UID FETCH 102 (BODYSTRUCTURE) 
 * 59 FETCH (UID 102 BODYSTRUCTURE (("text" "plain" () NIL NIL "quoted-printable" 646 38)("text" "html" () NIL NIL "quoted-printable" 5087 78) "alternative")) 
 8 OK FETCH Completed 
 9 UID FETCH 102 (UID RFC822.SIZE FLAGS BODY.PEEK[1.MIME]) 
 * 59 FETCH (FLAGS () UID 102 RFC822.SIZE 7246 BODY[1.MIME] "text/plain; 
 .charset="iso-8859-1"") 
 9 OK FETCH Completed 
 * BYE Stream closed 
 
 --- THE SAME FROM ANOTHER SERVER -> NO BUG ------------------------------ 
 1797 NOOP 
 1797 OK NOOP completed 
 1798 UID FETCH 9 (UID RFC822.HEADER RFC822.SIZE FLAGS) 
 * 4 FETCH (UID 9 RFC822.HEADER {1128} 
 Delivered-To: aurelien@cognitec.be 
 Return-Path: <credit.manager@transatel.com> 
 Received: from smtp.transatel.com (web1.transatel.com [::ffff:82.138.79.7]) 
   by mail.cognitec.be with esmtp; Tue, 12 Jul 2005 18:48:55 +0200 
 Received: from gate.transatel.com (unknown [192.168.4.1]) 
 .by smtp.transatel.com (Postfix) with ESMTP id 6728527AA1 
 .for <aurelien.slodzian@cognitec.be>; Tue, 12 Jul 2005 17:20:43 +0200 (CEST) 
 Received: from Marlene (unknown [192.168.4.80]) 
 .by gate.transatel.com (Postfix) with ESMTP id 434BE36C912 
 .for <aurelien.slodzian@cognitec.be>; Tue, 12 Jul 2005 17:18:44 +0200 (CEST) 
 From: "Credit Manager" <credit.manager@transatel.com> 
 To: aurelien.slodzian@cognitec.be 
 Subject: Trabnsatel facture 
 Date: Tue, 12 Jul 2005 17:20:43 +0200 
 MIME-Version: 1.0 
 Content-Type: multipart/alternative; 
   boundary="----=_NextPart_000_0046_01C58706.08A260A0" 
 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 
 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 
 Thread-Index: AcWG8vJ49Eoq+rBSQ42IUAJLa/x93w== 
 Message-Id: <20050712151844.434BE36C912@gate.transatel.com> 
 X-Length: 7217 
 X-UID: 39 
   
  RFC822.SIZE 7245 FLAGS (\Seen)) 
 1798 OK FETCH completed. 
 1799 UID FETCH 9 (BODYSTRUCTURE) 
 * 4 FETCH (UID 9 BODYSTRUCTURE (("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 646 39 NIL NIL NIL)("text" "html" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 5087 102 NIL NIL NIL) "alternative" ("boundary" "----=_NextPart_000_0046_01C58706.08A260A0") NIL NIL)) 
 1799 OK FETCH completed. 
 1800 UID FETCH 9 (UID RFC822.SIZE FLAGS BODY.PEEK[TEXT]) 
 * 4 FETCH (UID 9 RFC822.SIZE 7245 FLAGS (\Seen) BODY[TEXT] {6117} 
 This is a multi-part message in MIME format. 
   
 ------=_NextPart_000_0046_01C58706.08A260A0 
 Content-Type: text/plain; 
 .charset="iso-8859-1" 
 Content-Transfer-Encoding: quoted-printable 
   
 Bonjour Mr. Slodzian, 
   
 =20 
   
 Suite =E0 notre entretien t=E9l=E9phonique de ce jour veuillez trouver = 
 ci-dessous 
 nos coordonn=E9es bancaires : 
   
 =20 
   
 Merci de nous confirmer votre accord et effectuer un virement sur notre 
 compte bancaire en Belgique dont voici les coordonn=E9es. 
   
 =20 
   
 BANQUE FORTIS (Bruxelles) 
   
 Transatel 
   
 N=B0 Compte 001-3725564-64. 
   
 IBAN :   BE29 001372556464 
   
 SWIFT : GEBABEBB 
   
 =20 
 Cordialement, 
 =20 
 =20 
 Nicoliene Langereis 
 Credit Management Department 
 =20 
 TRANSATEL=20 
 Immeuble Le Monge=20 
 22, place des Vosges=20 
 92979 Paris la D=E9fense Cedex France=20 
 =20 
 Tel.+33(0)1.55.70.73.86 
 =20 
   
 ------=_NextPart_000_0046_01C58706.08A260A0 
 Content-Type: text/html; 
 .charset="iso-8859-1" 
 Content-Transfer-Encoding: quoted-printable 
   
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
 <HTML><HEAD> 
 <META http-equiv=3DContent-Type content=3D"text/html; = 
 charset=3Diso-8859-1"> 
 <META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR></HEAD> 
 <BODY> 
 <DIV> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN=20 
 class=3D077440115-12072005>Bonjour Mr. Slodzian,</SPAN></SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN=20 
 class=3D077440115-12072005></SPAN></SPAN>&nbsp;</P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN=20 
 class=3D077440115-12072005></SPAN>Suite =E0 notre entretien = 
 t=E9l=E9phonique de ce jour=20 
 veuillez trouver&nbsp;ci-dessous nos coordonn=E9es = 
 bancaires&nbsp;:</SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><FONT face=3DArial=20 
 size=3D2></FONT>&nbsp;</P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Merci de = 
 nous=20 
 confirmer votre accord et effectuer un virement sur notre compte = 
 bancaire en=20 
 Belgique dont voici les coordonn=E9es.</SPAN><SPAN=20 
 style=3D"COLOR: black"><?xml:namespace prefix =3D o ns =3D=20 
 "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20 
 style=3D"mso-bidi-font-weight: normal"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: = 
 Arial"><o:p>&nbsp;</o:p></SPAN></B></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20 
 style=3D"mso-bidi-font-weight: normal"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">BANQUE=20 
 FORTIS</SPAN></B><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">=20 
 (Bruxelles)</SPAN><SPAN style=3D"COLOR: black"><o:p></o:p></SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: = 
 Arial">Transatel<o:p></o:p></SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">N=B0 Compte=20 
 001-3725564-64.</SPAN><SPAN style=3D"COLOR: = 
 black"><o:p></o:p></SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">IBAN&nbsp;: = 
 <SPAN=20 
 style=3D"mso-spacerun: yes">&nbsp;&nbsp;</SPAN>BE29=20 
 001372556464<o:p></o:p></SPAN></P> 
 <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">SWIFT&nbsp;: = 
   
 GEBABEBB<o:p></o:p></SPAN></P></DIV> 
 <DIV><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: = 
 'Times New Roman'; mso-ansi-language: FR; mso-fareast-language: FR; = 
 mso-bidi-language: AR-SA"></SPAN>&nbsp;</DIV> 
 <DIV><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: = 
 'Times New Roman'; mso-ansi-language: FR; mso-fareast-language: FR; = 
 mso-bidi-language: AR-SA"><SPAN=20 
 class=3D077440115-12072005>Cordialement,</SPAN></SPAN></DIV> 
 <DIV><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: = 
 'Times New Roman'; mso-ansi-language: FR; mso-fareast-language: FR; = 
 mso-bidi-language: AR-SA"><SPAN=20 
 class=3D077440115-12072005></SPAN></SPAN>&nbsp;</DIV> 
 <DIV><SPAN=20 
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: = 
 'Times New Roman'; mso-ansi-language: FR; mso-fareast-language: FR; = 
 mso-bidi-language: AR-SA"><SPAN=20 
 class=3D077440115-12072005></SPAN>&nbsp;</SPAN></DIV> 
 <DIV align=3Dleft><FONT face=3DArial size=3D2><STRONG>Nicoliene=20 
 Langereis</STRONG></FONT></DIV> 
 <DIV align=3Dleft><FONT face=3DArial size=3D2>Credit Management=20 
 Department</FONT></DIV> 
 <DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> 
 <DIV align=3Dleft><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><FONT=20 
 color=3D#000000>TRANSATEL</FONT></SPAN><FONT color=3D#000000><SPAN=20 
 style=3D"COLOR: navy"> <BR></SPAN><FONT face=3DArial size=3D2><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Immeuble Le=20 
 Monge</SPAN></FONT></FONT><FONT color=3D#000000><SPAN style=3D"COLOR: = 
 navy">=20 
 <BR></SPAN><FONT face=3DArial size=3D2><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">22, place des = 
   
 Vosges</SPAN></FONT></FONT><FONT color=3D#000000><SPAN style=3D"COLOR: = 
 navy">=20 
 <BR></SPAN><FONT face=3DArial size=3D2><SPAN=20 
 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">92979 Paris = 
 la D=E9fense=20 
 Cedex France</SPAN></FONT><SPAN style=3D"COLOR: navy"> = 
 </SPAN></FONT></DIV> 
 <DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN=20 
 style=3D"COLOR: navy"></SPAN></FONT>&nbsp;</DIV> 
 <DIV align=3Dleft><FONT face=3DArial color=3D#000000 size=3D2><SPAN=20 
 style=3D"COLOR: = 
 navy">Tel.+33(0)1.55.70.73.86</SPAN></FONT><o:p></o:p></DIV> 
 <DIV>&nbsp;</DIV></BODY></HTML> 
   
 ------=_NextPart_000_0046_01C58706.08A260A0-- 
   
 ) 
 1800 OK FETCH completed.
Comment 1 Deathwing00 2006-09-27 18:17:34 UTC
One of our users can confirm this bug: https://bugs.gentoo.org/show_bug.cgi?id=149303
Comment 2 Bram Schoenmakers 2007-03-03 21:34:51 UTC
Do you have a backtrace of the crash?
Comment 3 Christian Hofstede 2008-01-01 17:06:55 UTC
Same Problem here on google mail with Multipart mails
(imap.gmail.com)
Comment 4 Björn Ruberg 2009-12-29 22:59:06 UTC
Is this still a problem in KDE 4.3?
Comment 5 Björn Ruberg 2010-04-06 00:31:18 UTC
No response. Closing old KDE 3 crash.