Bug#263895: segfaults if viewing source of a certain message

2004-08-08 Thread Adeodato Simó
* Adeodato Simó [Sun, 08 Aug 2004 15:14:24 +0200]:

>   I'm asking for its backport to 3_2_BRANCH

  Response from KDE developer Till Adam:

I'm told there probably wont be another 3.2.x release and the crash
is fixed in 3.3 and later, I'll therefore close this bug. We don't
have the resources to maintain more than one stable version and 3.3
is the new stable version (or will be very shortly). Thanks for
understanding. 
 
  So I guess Debian's kdepim should include the patch in itself...


-- 
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Truth is the most valuable thing we have, so let's economize it.
-- Mark Twain




Bug#263895: segfaults if viewing source of a certain message

2004-08-08 Thread Adeodato Simó
* Adeodato Simó [Sun, 08 Aug 2004 15:14:24 +0200]:

>   anyway sarge *must* include it.

  pardon my excitement, s/must/really should/.

  cheers,

-- 
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Any life, no matter how long and complex it may be, is made up of a
single moment: the moment in which a man finds out, once and for all,
who he is.
-- Jorge Luis Borges




Bug#263895: segfaults if viewing source of a certain message

2004-08-08 Thread Adeodato Simó
package kmail
forwarded 263895 http://bugs.kde.org/85175 
severity 263895 serious
tag 263895 patch
quit

* Marc Haber [Fri, 06 Aug 2004 09:14:42 +0200]:

> When I hit "V" to view the source of an HTML message, kmail segfaults.

  this seem to be happening to many other people, see [1]. I think this
  bug should get severity "serious" under the "in the package
  maintainer's opinion, makes the package unsuitable for release"
  statement. Chris, you agree with that?

[1] http://lists.debian.org/debian-kde/2004/08/msg00059.html

  also, I'm attaching a mail that seems to reproduce the problem (from
  the KDE BTS entry).

  attached a patch also. it's the following diff:


http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdepim/kmail/kmcommands.cpp.diff?r1=1.155&r2=1.156&f=h

  I'm asking for its backport to 3_2_BRANCH, anyway sarge *must* include
  it.

-- 
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
You've come to the right place.  At debian-devel we are always willing
to argue over the meanings of words.
-- seen on [EMAIL PROTECTED]
From [EMAIL PROTECTED] Fri Jul  9 14:40:53 2004
Return-path: <[EMAIL PROTECTED]>
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Fri, 09 Jul 2004 15:13:32 -0400
Received: from firenze ([127.0.0.1] helo=localhost)
by firenze with esmtp (Exim 3.36 #1 (Debian))
id 1Bj0oN-0003hu-02
for <[EMAIL PROTECTED]>; Fri, 09 Jul 2004 15:13:31 -0400
Received: from pop-server.neo.rr.com [65.24.7.43]
by localhost with POP3 (fetchmail-6.2.5)
for [EMAIL PROTECTED] (single-drop); Fri, 09 Jul 2004 15:13:31 -0400 
(EDT)
Received: from ms-mta-01 (ms-mta-01 [10.24.14.215])
 by ms-mss-01.columbus.rr.com
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <[EMAIL PROTECTED]> for
 [EMAIL PROTECTED]; Fri, 09 Jul 2004 14:54:21 -0400 (EDT)
Received: from ohmx01.mgw.rr.com (ohmx01.mgw.rr.com [65.24.0.111])
 by ms-mta-01.columbus.rr.com
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]
 (ORCPT [EMAIL PROTECTED]); Fri, 09 Jul 2004 14:42:20 -0400 (EDT)
Received: from web52603.mail.yahoo.com
 (web52603.mail.yahoo.com [206.190.39.141])
by ohmx01.mgw.rr.com (8.12.10/8.12.8) with SMTP id i69If3F5013223   
for
 <[EMAIL PROTECTED]>; Fri, 09 Jul 2004 14:41:33 -0400 (EDT)
Received: from [24.166.55.8] by web52603.mail.yahoo.com via HTTP; Fri,
 09 Jul 2004 11:40:53 -0700 (PDT)
Date: Fri, 09 Jul 2004 11:40:53 -0700 (PDT)
From: Beirne Konarski <[EMAIL PROTECTED]>
Subject: 2nd message from yahoo
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain;
  charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Original-recipient: rfc822;[EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on firenze
X-Spam-Level: 
X-Spam-Status: No, hits=-1.4 required=5.0 tests=BAYES_01,RCVD_IN_SORBS 
autolearn=no version=2.63
Status: R
X-Status: N
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--- kmcommands.cpp  2004-08-08 15:10:45.0 +0200
+++ kmcommands.cpp.new  2004-08-08 15:12:08.0 +0200
@@ -552,9 +552,7 @@
 void KMShowMsgSrcCommand::execute()
 {
   KMMessage *msg = retrievedMessage();
-  QString str = QTextCodec::codecForName(  msg->charset().isEmpty() ?
-QCString( kmkernel->networkCodec()->mimeName() ) :
-msg->charset() )->toUnicode( msg->asString() );
+  QString str = msg->codec()->toUnicode( msg->asString() );
 
   MailSourceViewer *viewer = new MailSourceViewer(); // deletes itself upon 
close
   viewer->setCaption( i18n("Message as Plain Text") );


Processed: Re: Bug#263895: segfaults if viewing source of a certain message

2004-08-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> package kmail
Ignoring bugs not assigned to: kmail

> forwarded 263895 http://bugs.kde.org/85175
Bug#263895: kmail: segfaults if viewing source of a certain message
Bug#264332: kmail: Kmail crashes when trying to do view->view source on some 
emails
Noted your statement that Bug has been forwarded to http://bugs.kde.org/85175.

> severity 263895 serious
Bug#263895: kmail: segfaults if viewing source of a certain message
Bug#264332: kmail: Kmail crashes when trying to do view->view source on some 
emails
Severity set to `serious'.

> tag 263895 patch
Bug#263895: kmail: segfaults if viewing source of a certain message
There were no tags set.
Bug#264332: kmail: Kmail crashes when trying to do view->view source on some 
emails
Tags added: patch

> quit
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#263895: segfaults if viewing source of a certain message

2004-08-06 Thread Marc Haber
Package: kmail
Version: 4:3.2.3-1
Severity: normal

Hi!

When I hit "V" to view the source of an HTML message, kmail segfaults.
A backtrace is attached.

On demand, I can privately deliver an strace of the application as well.

What else can I do to help debugging?

Greetings
Marc

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-zg1-vash
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages kmail depends on:
ii  kdebase-kio-plugins   4:3.2.3-1  KDE I/O Slaves
ii  kdelibs4  4:3.2.3-4  KDE core libraries
ii  ktnef 4:3.2.3-1  KDE TNEF viewer
ii  libart-2.0-2  2.3.16-6   Library of functions for 2D graphi
ii  libc6 2.3.2.ds1-15   GNU C Library: Shared libraries an
ii  libfam0c102   2.7.0-5client library to control the FAM 
ii  libgcc1   1:3.4.1-5  GCC support library
ii  libice6   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  libjpeg62 6b-9   The Independent JPEG Group's JPEG 
ii  libkcal2  4:3.2.3-1  KDE calendaring library
ii  libkdenetwork24:3.2.3-1  KDE Network library
ii  libkdepim14:3.2.3-1  KDE PIM library
ii  libksieve04:3.2.3-1  KDE mail/news message filtering li
ii  libmimelib1   4:3.2.3-1  KDE mime library
ii  libpcre3  4.5-1.1Perl 5 Compatible Regular Expressi
ii  libpng12-01.2.5.0-6  PNG library - runtime
ii  libqt3c102-mt 3:3.2.3-4  Qt GUI Library (Threaded runtime v
ii  libsm64.3.0.dfsg.1-6 X Window System Session Management
ii  libstdc++51:3.3.4-7  The GNU Standard C++ Library v3
ii  libx11-6  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxext6  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxrender1   0.8.3-7X Rendering Extension client libra
ii  xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g1:1.2.1.1-5compression library - runtime

-- no debconf information


backtrace.kmail.gz
Description: Binary data