You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/01/18 12:10:41 UTC

[Bug 4762] New: spamd segfaults on Perl 5.6.1 under debian woody (r3.0) i386

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4762

           Summary: spamd segfaults on Perl 5.6.1 under debian woody (r3.0)
                    i386
           Product: Spamassassin
           Version: 3.1.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P3
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: matthew@mxtelecom.com


The spamd 3.1.0 parent process segfaults 'reliably' after an arbitrary amount of
time/load (either after ~11,000 messages in an hour, or ~3000 messages in 6
hours).  All extensions are turned off.  

spamd is invoked as:

/usr/bin/perl -T -w /usr/local/bin/spamd -r /var/run/spamd.pid

The last thing the parent says before segfaulting is:

Jan 17 17:24:37 pe1650 spamd[17328]: prefork: child states: BIBBI
Jan 17 17:24:37 pe1650 spamd[17328]: prefork: child states: IIBBI
Jan 17 17:24:37 pe1650 spamd[17328]: spamd: handled cleanup of child pid 28462
due to SIGCHLD

and the backtrace is:

(gdb) bt
#0  0x080a3e87 in Perl_sv_mortalcopy ()
#1  0x0809a952 in Perl_pp_leave ()
#2  0x08097290 in Perl_runops_standard ()
#3  0x0805c5ab in perl_run ()
#4  0x0805c33b in perl_run ()
#5  0x08059d20 in main ()
#6  0x4005b14f in __libc_start_main () from /lib/libc.so.6

(I don't have a perl with a symbol table to hand).  Mail me if you want the core
dump.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4762] spamd segfaults on Perl 5.6.1 under debian woody (r3.0) i386

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4762





------- Additional Comments From matthew@mxtelecom.com  2006-01-19 20:06 -------
it's been running on --round-robin for over 24 hours now without any problems -
many thanks for the suggestion :)  I'll see if I can derive a perl5 VM
stacktrace from the coredump - and see if anyone at Debian is interested in
bugreports for 5.6.1...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4762] spamd segfaults on Perl 5.6.1 under debian woody (r3.0) i386

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4762





------- Additional Comments From matthew@mxtelecom.com  2006-01-18 12:14 -------
for the record:

# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.28-es, archname=i386-linux
    uname='linux gluck 2.4.28-es #1 smp wed jan 12 09:55:22 est 2005 i686 unknown '
    config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux
-Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1
-Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib
-Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldb -ldl -lm -lc -lcrypt
    perllibs=-ldl -lm -lc -lcrypt
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so.5.6.1
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4762] spamd segfaults on Perl 5.6.1 under debian woody (r3.0) i386

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4762





------- Additional Comments From matthew@mxtelecom.com  2006-01-18 12:16 -------
I should also clarify that this worked reliably with all versions of spamd prior
to 3.1.0.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4762] spamd segfaults on Perl 5.6.1 under debian woody (r3.0) i386

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4762





------- Additional Comments From jm@jmason.org  2006-01-18 19:13 -------
nasty -- this may be one to report upstream to the debian bugtracker as a perl bug.

I don't know if it's possible to get a perl-interpreter stacktrace from a core,
but that would be useful.

do you see any log messages about timeouts in the log, from pid 17328?

could you try using --round-robin to see if that avoids it?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4762] spamd segfaults on Perl 5.6.1 under debian woody (r3.0) i386

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4762


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From felicity@apache.org  2006-08-02 02:10 -------
since it appears to be a problem with perl I'm closing the SA ticket. :)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.