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

Francois Tigeot <ftigeot@...> wrote:

> I have cleaned-up some of the mg_log() calls and added your last patches.
> milter-greylist now crashes in a different way:
(...)
> Jan 30 16:56:16 milter-greylist: conf.c:381 BUG: conf_release 
> before conf_retain

Now you have to find, by adding mg_log everywhere, the location where
conf_release is called wile GET_CONF or conf_retain has not.

Adding this before each conf_release() call will help:
 if (!GET_CONF()) 
  mg_log("calling conf_release() without a config at %s:%d in %d", 
                __FILE__, __LINE__, pthread_self())

Sorry, you have to find the many places where the DragonflyBSD bug will
hit. I think this is the last round. Assuming we will not encounter
another bug later.

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