Yahoo Groups archive

Milter-greylist

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

Message

Re: libpthread: Invalid condition variable

2009-09-29 by reschauzier

Ah, I see. The problem is that mg_init() [and therefore dump_init()] is called _after_ conf_load() in main(). I am assuming that before the introduction of store.c, dump_init used to be called _before_ conf_load(), properly initializing the cond var. Is this what the problem was? Also, I wonder why nobody caught it before -- do you have any thoughts on that?

--- In milter-greylist@yahoogroups.com, Petar Bogdanovic <petar@...> wrote:
> 
> On Wed, Sep 16, 2009 at 11:04:33AM +0200, Petar Bogdanovic wrote:
> > 
> > But even if you want to do it right (through mg_init() which contains
> > dump_init() and is in store.c):  The problem is that you have a
> > chicken/egg situation here since conf_load() needs mg_init() (because of
> > dump_init()) and mg_init() needs conf_load() (because of the conf
> > struct).
> 
> 
> 
>    Petar Bogdanovic
>

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.