<<< Date Index >>>     <<< Thread Index >>>

bug#913: marked as done (segmentation fault in thread sorting)



Your message dated Tue, 4 May 2004 17:57:57 +0100
with message-id <20040504165757.GA24840@xxxxxxxxxxxxxxxxxxxxx>
and subject line [kraai@xxxxxxxxx: Re: mutt bug #913, "segmentation fault in 
thread sorting"]
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 12 Dec 2001 21:16:27 +0000
>From md@xxxxxxxx Wed Dec 12 22:16:27 2001
Received: from attila.bofh.it ([213.92.8.2] ident=postfix)
        by trithemius.gnupg.org with esmtp (Exim 3.12 #1 (Debian))
        id 16EGjr-0006ay-00
        for <submit@xxxxxxxxxxxx>; Wed, 12 Dec 2001 22:16:27 +0100
Received: by attila.bofh.it (Postfix, from userid 10)
        id 72359612A6; Wed, 12 Dec 2001 22:15:00 +0100 (CET)
Received: by wonderland.linux.it (Postfix/Md, from userid 1001)
        id C968A17ECA; Wed, 12 Dec 2001 21:26:02 +0100 (CET)
From: Marco d'Itri <md@xxxxxxxx>
To: submit@xxxxxxxxxxxx
Subject: segmentation fault in thread sorting
X-GUUG-CC: 123658@xxxxxxxxxxxxxxx
Message-Id: <20011212202602.C968A17ECA@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Dec 2001 21:26:02 +0100 (CET)

Package: mutt
Version: 1.3.24-2

[NOTE: this bug report has been submitted to the debian BTS as Bug#123658.
Please Cc all your replies to 123658@xxxxxxxxxxxxxxxx]

From: Matt Kraai <kraai@xxxxxxxxxx>
Subject: segmentation fault in thread sorting
Date: Wed, 12 Dec 2001 10:57:01 -0800

Package: mutt
Version: 1.3.24-2
Tags: patch

Mutt sometimes segfaults on line 717 of thread.c:

          } while (thread != &top && !thread->child && !thread->message);

thread is NULL, so the dereference of thread->child causes the
segfault.  The following patch attaches newly created threads to
top, so that the first part of the test fails and it finishes.

Matt

--- mutt-1.3.24/build-tree/mutt-1.3.24/thread.c Wed Dec 12 07:58:49 2001
+++ mutt/build-tree/mutt-1.3.24/thread.c        Wed Dec 12 07:55:40 2001
@@ -728,6 +728,7 @@
        hash_insert (ctx->thread_hash,
                     cur->env->message_id ? cur->env->message_id : "",
                     thread, 1);
+       insert_message (&top.child, &top, thread);
 
        if (new)
        {


---------------------------------------
Received: (at 913-done) by bugs.guug.de; 4 May 2004 17:02:21 +0000
>From paul@xxxxxxxxxxxxxxxxxxxxx Tue May 04 18:57:38 2004
Received: from anchor-post-36.mail.demon.net ([194.217.242.86] 
helo=anchor-post-37.mail.demon.net)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1BL3Eg-0005NT-00
        for <913-done@xxxxxxxxxxxx>; Tue, 04 May 2004 18:57:38 +0200
Received: from black-sun.demon.co.uk ([212.228.147.62] helo=nova)
        by anchor-post-37.mail.demon.net with esmtp (Exim 3.35 #1)
        id 1BL3HZ-000Jox-0b
        for 913-done@xxxxxxxxxxxx; Tue, 04 May 2004 18:00:38 +0100
Received: from paul 
        by nova with local id 1BL3Ez-0006Sx-Dz
        for <913-done@xxxxxxxxxxxx>; Tue, 04 May 2004 17:57:57 +0100
Date: Tue, 4 May 2004 17:57:57 +0100
From: Paul Walker <paul@xxxxxxxxxxxxxxxxxxxxx>
To: 913-done@xxxxxxxxxxxx
Subject: [kraai@xxxxxxxxx: Re: mutt bug #913, "segmentation fault in thread 
sorting"]
Message-ID: <20040504165757.GA24840@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-Spam-Status: No, hits=-106.5 required=4.0
        tests=AWL,BAYES_30,EMAIL_ATTRIBUTION,PGP_SIGNATURE_2,
              QUOTED_EMAIL_TEXT,USER_AGENT_MUTT,USER_IN_WHITELIST
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)


--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

----- Forwarded message from Matt Kraai <kraai@xxxxxxxxx> -----

Date: Mon, 3 May 2004 19:04:55 -0700
=46rom: Matt Kraai <kraai@xxxxxxxxx>
To: Paul Walker <paul@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: mutt bug #913, "segmentation fault in thread sorting"
User-Agent: Mutt/1.5.5.1+cvs20040105i

On Mon, May 03, 2004 at 08:14:57PM +0100, Paul Walker wrote:
> Just checking back on this one :) Can you still reproduce it using the
> latest devel series...? (1.5.6 as of now) There was a problem for some ti=
me
> with the threading, but someone committed a patch a while ago to remove i=
t,
> and I haven't seen a mutt crash for ages now. Doesn't mean it's the same
> bug, though...

I've been using the Debian mutt package, version
1.5.5.1-20040112+1, and haven't seen the problem.

--=20
Matt Kraai            kraai@xxxxxxxxx            http://ftbfs.org/

----- End forwarded message -----

--=20
Paul

Artificial intelligence is a fascinating subject, and computers are getting
smarter every day, but no computer expert that I know of is worried about
whether a database program could become the Antichrist. -- Rich Buhler =20

--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAl8uVP9fOqdxRstoRAsnoAKCIUM453FTiNAwEeKlTHneKlYl+SQCgg9fK
FLtx6KxW+XNcnRhiRYFXAb8=
=ZYDY
-----END PGP SIGNATURE-----

--IJpNTDwzlM2Ie8A6--