Yahoo Groups archive

Milter-greylist

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

Message

Milter Greylist's use of POSIX threads is seriously broken

2004-06-07 by Matthias Scheler

Hello,

I cannot get Milter Greylist to work with NetBSD 2.0's pthread library.
It dies very quickly because of incorrect use of POSIX thread functions,
apparently because of uninitialized condition variables:

maillog:Jun  7 20:58:22 colwyn milter-greylist: pthread_cond_wait failed: Undefined error: 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 

This happens with version 1.2 and 1.3.8. Right now Milter Greylist is
completely broken under NetBSD 2.0 and above.

	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.