On Mon, Jan 27, 2014 at 10:35:43PM +0100, Patrick Laimbock wrote: > Hi, > > On a CentOS 6.5 x86_64 box I'm using DSPAM 3.10.2 and SELinux is in > permissive mode. The problem is that DSPAM segfaults: > > Jan 27 22:01:02 vps kernel: dspam[5621]: segfault at 29 ip > 00007f3b55a2612c sp 00007f3b539d1c00 error 4 in > libc-2.12.so[7f3b559de000+18b000] > > The last few lines of the strace -f shows: > > 6403 open("/var/lib/dspam/data/example.org/patrick/patrick.blocklist", > O_RDONLY) = -1 ENOENT (No such file or directory) > 6403 gettimeofday({1390857119, 467076}, {4294967236, > 7092440855327304547}) = 0 > 6403 mmap(NULL, 200704, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b2ffb4000 > 6403 poll([{fd=7, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) > 6403 madvise(0x7f8b2415a000, 65536, MADV_DONTNEED) = 0 > 6403 madvise(0x7f8b2414a000, 65536, MADV_DONTNEED) = 0 > 6403 write(7, "<\0\0\0\0\0\0008\0\0\0\3SHOW VARIABLES WHERE"..., 67) = 67 > 6403 read(7, > "\212\0\0\1\252\0\0x\234cd``d\262d``bNIMc\340\fs\f\362tt\362q"..., > 16384) = 145 > 6403 gettimeofday({1390857119, 469600}, NULL) = 0 > 6403 socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 25 > 6403 connect(25, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0 > 6403 sendto(25, "<20>Jan 27 22:11:59 dspam[6372]:"..., 119, > MSG_NOSIGNAL, NULL, 0) = 119 > 6403 close(25) = 0 > 6403 --- SIGSEGV (Segmentation fault) @ 0 (0) --- > 6372 +++ killed by SIGSEGV +++ > > > Anyone have any tips how to figure out what's causing this? > > Thanks, > Patrick > Hi Patrick,
I may be misremembering, but I think this has happened in the past when there was a DB backend software mismatch. You need to use the version it was built against or build your own executable. Regards, Ken ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user