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

Matthias Scheler <tron@...> 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?
 
> 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?
(Yes, I have a NetBSD-current at home and I could be looking into this
problem, but I'm also trying to get my iBook G4 supported by NetBSD, it
consumes some time :o)

-- 
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
le binaire et ceux qui ne le comprennent pas.
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.