Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] libpthread: Invalid condition variable [1 Attachment]

2009-09-15 by Petar Bogdanovic

On Tue, Sep 15, 2009 at 09:05:46PM +0200, Petar Bogdanovic wrote:
> On Sat, Sep 12, 2009 at 06:07:24AM +0200, manu@... wrote:
> > Petar Bogdanovic <petar@...> wrote:
> > 
> > > Any ideas?
> > 
> > First rebuild with -g to get the line number in dump.c: you'll know what
> > is the bad variable.
> > 
> > Then add printf before all operations on it, and you'll quickly find
> > what gors wrong.
> 
> Attached patch should fix the problem.

BTW:

   Until -r1.217 of milter-greylist.c, dump_sleepflag was initialized
   through pthread_cond_init(), called by dump_init().  That's why I
   didn't notice earlier.  dump_init() is in store.c now.

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.