amavis-user September 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] Amavis Crashes on Solaris x86

Re: [AMaViS-user] Amavis Crashes on Solaris x86

From: Phil Pearl (Lobbes) <phil_at_nospam>
Date: Tue Sep 07 2010 - 14:22:17 GMT
To: Ihsan Dogan <ihsan@dogan.ch>

At the beginning of this year when I was setting up amavisd on Solaris,
I had problems with amavisd crashing (perl segfaults). I didn't get time
to investigate the root of the problems although in at least 1 case
it appeared to be happening on certain messages with HTML content. You
may want to try what I did:

  # HACK -- avoid this as it seems some HTML content causes a segfault
  $bypass_decode_parts = 1;

Around the same time I also set:

  $sa_spawned = 1;

I believe setting $bypass_decode_parts was the thing that really helped
stabilize things. I've updated software a little since then so I can't
guarantee any results but if you have a little time to try things out
this may be worth a shot. There may be some caveats on doing this
depending on your amavis configuration so you may want to verify that
setting this doesn't cause problems for your AV scanner of choice.

Hope this helps!
Phil

----- Original Message -----
> From: "Ihsan Dogan" <ihsan@dogan.ch>
> To: amavis-user@lists.sourceforge.net
> Sent: Sunday, September 5, 2010 4:37:05 PM
> Subject: [AMaViS-user] Amavis Crashes on Solaris x86
> Hello,
>
> I've got a problem on a Solaris x86 host (running within VmWare).
> Recently, Amavis crashes very (core dumps) very offen and I can't find
> a
> reason why.
>
> A backtrace of the core dump:
> #0 0xfeb25302 in t_splay () from /lib/libc.so.1
> #1 0x09a21d30 in ?? ()
> #2 0xfebfe000 in _sys_cldlist () from /lib/libc.so.1
> #3 0x08047590 in ?? ()
> #4 0xfeb25032 in _morecore () from /lib/libc.so.1
> #5 0x09a27d80 in ?? ()
> #6 0x00000090 in ?? ()
> #7 0x09a21c98 in ?? ()
> #8 0xfebfe000 in _sys_cldlist () from /lib/libc.so.1
> #9 0x00006048 in ?? ()
> #10 0x080475b8 in ?? ()
> #11 0xfeb24edb in realfree () from /lib/libc.so.1
> #12 0x09a21d38 in ?? ()
> #13 0x09a21ca0 in ?? ()
> #14 0x08060e08 in ?? ()
> #15 0xfefa86a0 in ?? () from /opt/csw/lib/i386/libperl.so.5.10.1
> #16 0x00000078 in ?? ()
> #17 0x00000079 in ?? ()
> #18 0x09a21ca0 in ?? ()
> #19 0x09a21d18 in ?? ()
> #20 0x080475d4 in ?? ()
> #21 0xfeee5ed7 in Perl_safesysrealloc ()
> from /opt/csw/lib/i386/libperl.so.5.10.1
>
> Running Amavisd-new 2.6.4 with Perl 5.10 and Spamassassin 3.3.1.
>
>
>
>
> Ihsan
>
> --
> ihsan_at_dogan.ch http://blog.dogan.ch/
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> Please visit http://www.ijs.si/software/amavisd/ regularly
> For administrativa requests please send email to rainer at
> openantivirus dot org

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot org