Am 2012-08-01 09:55, schrieb David:
> Hello list,
>
Hello David,

> I'm fighting against a problem since few hours but can't find the
> solution.
> i have the same configuration of an other personal server and it 
> works
> fine but on this one i can't learn my spams with dspam:
>
> strace -C -f dspam --source=error --class=spam --user ab...@my.org
> --signature=5017f30f214711006719318
[....]
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> % time     seconds  usecs/call     calls    errors syscall
> ------ ----------- ----------- --------- --------- ----------------
>     -nan    0.000000           0       234           read
>     -nan    0.000000           0       186           write
>     -nan    0.000000           0        55        17 open
>     -nan    0.000000           0        76           close
>     -nan    0.000000           0        19        16 stat
>     -nan    0.000000           0        36           fstat
>     -nan    0.000000           0       118           poll
>     -nan    0.000000           0         3           lseek
>     -nan    0.000000           0        74           mmap
>     -nan    0.000000           0        33           mprotect
>     -nan    0.000000           0        15           munmap
>     -nan    0.000000           0       131           brk
>     -nan    0.000000           0         3           rt_sigaction
>     -nan    0.000000           0         1           rt_sigprocmask
>     -nan    0.000000           0        24        24 access
>     -nan    0.000000           0        41           socket
>     -nan    0.000000           0        41         4 connect
>     -nan    0.000000           0         2           sendto
>     -nan    0.000000           0        33           shutdown
>     -nan    0.000000           0       140        35 setsockopt
>     -nan    0.000000           0         1           execve
>     -nan    0.000000           0        76           fcntl
>     -nan    0.000000           0         2           getdents
>     -nan    0.000000           0         1           umask
>     -nan    0.000000           0         1           getrlimit
>     -nan    0.000000           0         1           getuid
>     -nan    0.000000           0         1           arch_prctl
>     -nan    0.000000           0         3         1 futex
>     -nan    0.000000           0         1           set_tid_address
>     -nan    0.000000           0         1           set_robust_list
> ------ ----------- ----------- --------- --------- ----------------
> 100.00    0.000000                  1353        97 total
> Segmentation fault
>
is it possible to compile DSPAM with debug symbols and run it with GNU 
gdb and send a stack trace when you get that segmentation fault?



> the logs says:
> 18:38:17 dspam[]: bailing on error -2
> 18:38:17 dspam[]: received invalid result (!DSR_ISSPAM &&
> !DSR_ISINNOCENT): -2
>
> & segfault at 0 ip 00007f28753abxxx sp 00007fff91da1xxx error 4 in
> libdspam.so.7.0.0
>
> here is the version:
>
> DSPAM Anti-Spam Suite 3.10.1 (agent/library)
>
> Copyright (C) 2002-2011 DSPAM Project
> http://dspam.sourceforge.net.
>
> DSPAM may be copied only under the terms of the GNU Affero General
> Public
> License, a copy of which can be found with the DSPAM distribution 
> kit.
>
> Configuration parameters:  '--prefix=/usr'
> '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
> '--infodir=${prefix}/share/info' '--sysconfdir=/etc'
> '--localstatedir=/var' '--libexecdir=${prefix}/lib'
> '--disable-maintainer-mode' '--build=x86_64-linux-gnu'
> '--host=x86_64-linux-gnu' '--sysconfdir=/etc/dspam'
> '--disable-dependency-tracking' '--enable-split-configuration'
> '--enable-static' '--enable-external-lookup' '--enable-syslog'
> '--with-logdir=/var/log/dspam/' '--with-dspam-home=/var/spool/dspam'
> '--enable-domain-scale' '--with-delivery-agent=/usr/bin/procmail'
> '--enable-daemon' '--with-mysql-includes=/usr/include/mysql'
> '--with-pgsql-includes=/usr/include/postgresql'
> '--with-storage-driver=hash_drv,mysql_drv,pgsql_drv,sqlite3_drv'
> '--enable-debug' '--enable-virtual-users'
> '--enable-preferences-extension' '--enable-clamav'
> 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 
> 'CFLAGS=-g
> -O2' 'LDFLAGS= -Wl,-z,defs -Wl,--as-needed' 'CPPFLAGS='
>
>
> if you have any idea of the problem ...
>
> i'm using the mysql driver, the hash driver works well but i dont 
> want
> to use it ;-)
>
> thanks a lot !
>
> David
>


-- 
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to