Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Milter-greylist crashes on DragonFly-2.8

2011-01-27 by Francois Tigeot

On Thu, Jan 27, 2011 at 10:48:54AM +0100, manu@... wrote:
> Francois Tigeot <ftigeot@...> wrote:
> 
> >   [1]    20946 segmentation fault  /usr/pkg/bin/milter-greylist -D -p
> > /var/milter-greylist/milter-greylist.sock
> > 
> > What can I do to debug this ? I'd like to at least get a core dump.
> 
> Make sure you built with -g, and run inside gdb:
> # gdb milter-greylist
> (gdb) r -Dv -p /var/milter-greylist/milter-greylist.sock
> 
> Once you crash, type bt to get a backtrace

This is what I got:

Program received signal SIGSEGV, Segmentation fault.
0x281342ff in select () from /usr/lib/libc.so.7
(gdb) bt
#0  0x281342ff in select () from /usr/lib/libc.so.7
#1  0x280b0eae in select () from /usr/lib/libpthread.so.0
#2  0x280d7983 in mi_listener () from /usr/lib/libmilter.so.3
#3  0x280d660f in smfi_main () from /usr/lib/libmilter.so.3
#4  0x0804f2ff in main (argc=0, argv=0xbfbff4ec) at milter-greylist.c:1687

-- 
Francois Tigeot

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.