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 manu@netbsd.org

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.

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

        if (GET_CONF()) {
                mg_log(LOG_ERR, "%s:%d BUG: conf_retain called twice?",
                                __FILE__, __LINE__);
                return;
        } 
 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.