Serafeim Zanikolas | 27 Jun 2009 02:10
Picon

Fwd: bogofilter: Bogofilter crashes on some mails

(Adding in the loop the bogofilter devs.)

Sjoerd, would you please supply an example email to help with reproducing the
problem?

Cheers,
Serafeim

------ forwarded email --------
From: Sjoerd Simons <sjoerd <at> debian.org>
To: Debian Bug Tracking System <submit <at> bugs.debian.org>
Subject: bogofilter: Bogofilter crashes on some mails
Date: Sun, 19 Apr 2009 18:37:57 +0100

Package: bogofilter
Version: 1.2.0-1+b1
Severity: important

It seems like bogofilter crashes on some mails, i get the following backtrace
when rebuilding with debugging symbols:

(gdb) bt full
#0  word_cmp (w1=0x21681f0, w2=0x0) at ../../src/word.c:40
        r = <value optimized out>
#1  0x0000000000417a44 in listsort (list=0x21460e0, compare=
    0x40ed80 <compare_rstats_t>) at ../../src/listsort.c:113
        p = 0x219dd10
        q = 0x219dd50
        e = 0xffffffff
        tail = 0x219dcd0
(Continue reading)

David Relson | 27 Jun 2009 05:27
Favicon

Bug#524758: bogofilter: Bogofilter crashes on some mails

...[snip]...

> From: Sjoerd Simons <sjoerd <at> debian.org>
> To: Debian Bug Tracking System <submit <at> bugs.debian.org>
> Subject: bogofilter: Bogofilter crashes on some mails
> Date: Sun, 19 Apr 2009 18:37:57 +0100
> 
> Package: bogofilter
> Version: 1.2.0-1+b1
> Severity: important
> 
> It seems like bogofilter crashes on some mails, i get the following
> backtrace when rebuilding with debugging symbols:
> 
> (gdb) bt full
> #0  word_cmp (w1=0x21681f0, w2=0x0) at ../../src/word.c:40
>         r = <value optimized out>

the w2 parameter should never be 0x0

> #1  0x0000000000417a44 in listsort (list=0x21460e0, compare=
>     0x40ed80 <compare_rstats_t>) at ../../src/listsort.c:113
>         p = 0x219dd10
>         q = 0x219dd50
>         e = 0xffffffff
>         tail = 0x219dcd0
>         insize = 1
>         nmerges = <value optimized out>
>         psize = 1
>         qsize = 1
(Continue reading)

David Relson | 27 Jun 2009 05:27
Favicon

Re: bogofilter: Bogofilter crashes on some mails

...[snip]...

> From: Sjoerd Simons <sjoerd <at> debian.org>
> To: Debian Bug Tracking System <submit <at> bugs.debian.org>
> Subject: bogofilter: Bogofilter crashes on some mails
> Date: Sun, 19 Apr 2009 18:37:57 +0100
> 
> Package: bogofilter
> Version: 1.2.0-1+b1
> Severity: important
> 
> It seems like bogofilter crashes on some mails, i get the following
> backtrace when rebuilding with debugging symbols:
> 
> (gdb) bt full
> #0  word_cmp (w1=0x21681f0, w2=0x0) at ../../src/word.c:40
>         r = <value optimized out>

the w2 parameter should never be 0x0

> #1  0x0000000000417a44 in listsort (list=0x21460e0, compare=
>     0x40ed80 <compare_rstats_t>) at ../../src/listsort.c:113
>         p = 0x219dd10
>         q = 0x219dd50
>         e = 0xffffffff
>         tail = 0x219dcd0
>         insize = 1
>         nmerges = <value optimized out>
>         psize = 1
>         qsize = 1
(Continue reading)

Sjoerd Simons | 20 Jul 2009 22:29

Re: Bug#524758: bogofilter: Bogofilter crashes on some mails

On Fri, Jun 26, 2009 at 11:27:17PM -0400, David Relson wrote:
> Please submit a sample email (preferably gzipped).

Attached

  Sjoerd
--

-- 
Before Xerox, five carbons were the maximum extension of anybody's ego.
_______________________________________________
Bogofilter-dev mailing list
Bogofilter-dev <at> bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev
David Relson | 21 Jul 2009 03:18
Favicon

Bug#524758: bogofilter: Bogofilter crashes on some mails

On Mon, 20 Jul 2009 21:29:53 +0100
Sjoerd Simons wrote:

> On Fri, Jun 26, 2009 at 11:27:17PM -0400, David Relson wrote:
> > Please submit a sample email (preferably gzipped).
> 
> Attached
> 
>   Sjoerd
> -- 

Hello Sjoerd,

You've supplied the mime part of an email, not a complete email with
headers.  I added some headers to it and had no problem.  I tested with
bogofilter 1.2.0 on a 32-bit mandriva machine and a 64-bit gentoo
machine.  

Can you supply a _complete_ message that demonstrates the problem?

Thanks.

David


Gmane