[dspam-users] dspam 3.6.4 segfault in daemon mode

From: Troy Ayers <dspam1234@wcta.net>
Date: Mon Mar 06 2006 - 00:05:10 EST

Test machine (not production yet)
Rhel4, intel 64bit
Setup as described in relay.doc
Verbose-logging-enabled
opt-in specifed in config
dspam 3.6.4
mysql5.0.18
When sending email through toaster to an nonexisting account
(blahblah@mydomain.com) dspam will segfault.
user blahblah is has not opted-in.
Here's backtrace:

Starting program: /usr/local/bin/dspam --daemon
[Thread debugging using libthread_db enabled]
[New Thread 182894067520 (LWP 30695)]
30695: [03/05/2006 21:37:26] Daemon process starting
[New Thread 1084229984 (LWP 30706)]
30695: [03/05/2006 21:37:53] Got error 550 in response to RCPT TO: 550
5.1.1 <blahblah@mydomain.com>... User unknown
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1084229984 (LWP 30706)]
0x0000003a31f6fc30 in strlen () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x0000003a31f6fc30 in strlen () from /lib64/tls/libc.so.6
#1 0x0000003a31f42b4b in vfprintf () from /lib64/tls/libc.so.6
#2 0x0000003a31fc15b5 in vsyslog () from /lib64/tls/libc.so.6
#3 0x00000000004173d4 in LOG (priority=3, err=0x421cd8 "Got error %d in
response to %s: %s") at error.c:84
#4 0x0000000000410423 in deliver_socket (ATX=0x53dff0,
    msg=0x54c5f0 "Received: from toaster.mydomain.com
(localhost.localdomain [127.0.0.1])\n\tby toaster.domain.com (Postfix)
with ESMTP id 2583CB00C1\n\tfor <blahblah@domain.com>; Sun, 5 Mar 2006
21:37:53 -0600 (CST)\nReceived: f"..., proto=1) at client.c:814
#5 0x0000000000405f93 in deliver_message (ATX=0x53dff0,
    message=0x54c5f0 "Received: from toaster.domain.com
(localhost.localdomain [127.0.0.1])\n\tby toaster.domain.com (Postfix)
with ESMTP id 2583CB00C1\n\tfor <blahblah@domain.com>; Sun, 5 Mar 2006
21:37:53 -0600 (CST)\nReceived: f"...,
    mailer_args=0x53e028 "/usr/bin/procmail ", username=0x53ef10
"blahblah@domain.com", stream=0x53d980, result=2) at dspam.c:860
#6 0x000000000040b963 in process_users (ATX=0x53dff0, message=0x54c010)
at dspam.c:1730
#7 0x000000000040e8da in process_connection (ptr=0x53d8b0) at daemon.c:712
#8 0x0000003a32c0613a in start_thread () from /lib64/tls/libpthread.so.0
#9 0x0000003a31fc52b3 in clone () from /lib64/tls/libc.so.6
#10 0x0000000000000000 in ?? ()

Any ideas what going on?
Received on Mon Mar 6 00:07:49 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 07 2006 - 00:00:01 EST