Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Milter Greylist's use of POSIX threads is seriously broken

2004-06-07 by Matthias Scheler

On Mon, Jun 07, 2004 at 10:16:29PM +0200, Emmanuel Dreyfus wrote:
> > maillog:Jun  7 20:58:22 colwyn milter-greylist: pthread_cond_wait failed:
> > Undefined error: 0
> How do you explain the errno being equal to 0?

Bad result checking?

And there more error in version 1.2 which I don't have at hand any more.

> > If I start it with "-D" it comes up. But it dies like this on shutdown:
> > 
> > milter-greylist: Error detected by libpthread: Destroying locked mutex.
> > Detected by file "pthread_mutex.c", line 135, function
> > "pthread_mutex_destroy". See pthread(3) for information. zsh: abort
> > /usr/pkg/bin/milter-greylist -D -p
> > /var/milter-greylist/milter-greylist.sock
> 
> Um, okay, I wasn't aware it was forbidden to destroy a locked mutex. But
> I have a good excuse for that: I never destroyed a mutex in
> milter-greyist code. Have you got an idea where is this comming from?

No, I'm still investigating.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/

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.