On 28-01-14 12:23, Stevan Bajić wrote:
> Hello Patrick,
>
> okay. So it segfaults right after it closes the log:
>
> 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 +++
>
>
> What actions have you don't to trigger that segfault?
Just send an email which is received by postfix which sends it to DSPAM.
> Could you compile DSPAM with debug symbols and try the action again and
> post the backtrace here?
The info above was from DSPAM built with -g and with the DSPAM-debug
package installed.
In the Zimbra build scripts for DSPAM I noticed that it specifically
uses CFLAGS="-g -O2" so I rebuild the RPM with those flags instead of
the RPM optflags macro [0] and with debug enabled. This has been running
fine for a few hours now. No segfaults. Maybe those optflags are
wreaking havoc.
Regards,
Patrick
[0] optflags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user