Giampaolo,

> 3.2.4 here.
> This message:
> http://www.spamcop.net/sc?id=z2777168254z0fdfee4493414fc9bde77b85d4d93f01z
> ;action=display 
>
> yields this:
> kernel: amavisd[nnn]: segfault at bf5eae7c ip 081162a5 sp bf5eae80
>   error 6 in perl5.8.8[8048000+110000]
> A segfault also happens when directly running the message through SA\
> with -D
> In -D mode, the output lines right before the segfault are:
>
> [9632] dbg: check: running tests for priority: 500
[...]
> [9632] dbg: rules: running rawbody tests; score so far=2.451
> [9632] dbg: rules: compiled rawbody tests
> --- segfault here ---

Seems it crashes during exacution of compiled rawbody tests at priority 500.

> Any clue why?
>
> Please note that the line endings you see in the message are the way they
> are in the original one. Maybe this is the reason of the fault?
> I got a couple of these messages in my MX queue and I had to delete them.

My suspect is a runaway regexp on long and nested HTML lables
with no paragraph breaks. See:
  https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5486

A workaround is in 3.3:

  r629888 | mmartinec | 2008-02-21 18:43:43 +0100 (Thu, 21 Feb 2008) | 1 line
  New sub Message::split_into_array_of_short_lines to nicely split a text into
  array of paragraph chunks of sizes between 1 kB and 2 kB; bugs: 5717, 5644,
  5795, 5486, 5801, 5041

The easiest is to install 3.3 from CVS:
  perl Makefile.PL; make; make test; make install
  sa-update
  amavisd reload

or for a patch to 3.2.5 see:
  https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5717
comment #11


Mark

Reply via email to