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-29 by Francois Tigeot

On Sat, Jan 29, 2011 at 12:13:10PM +0100, manu@... wrote:
> Francois Tigeot <ftigeot@...> wrote:
> 
> > 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
> 
> That suggests things are quire rotten, and that ignoring the assertion
> in conf_retain() was not the right approach.

Do you think this sort of crash may be consistent with a bug in select() ?

> Can you try replacing it by a return? I am not sure it can work, but it
> is easy enough to be worth trying.

I already did since you asked a few days ago.
My experiments were all done with "return;" on line 352 of conf.c instead of
a comment; I'm sorry, I should have made this more clear.

-- 
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.