Yahoo Groups archive

Milter-greylist

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

Thread

mutex crash on ^C

mutex crash on ^C

2008-09-07 by Greg Troxel

I ran milter-greylist with -Dv under gdb and hit ^C

^Csmfi_main() returned 0
milter-greylist: Error detected by libpthread: Invalid mutex.
Detected by file "/n0/gdt/NetBSD-4/src/lib/libpthread/pthread_mutex.c", line 334, function "pthread_mutex_unlock".
See pthread(3) for information.

Program received signal SIGABRT, Aborted.
0xbbb0d23f in kill () from /usr/lib/libc.so.12
(gdb) i thr
(gdb) bt
#0 0xbbb0d23f in kill () from /usr/lib/libc.so.12
#1 0xbbbe3dcb in pthread__errorfunc () from /usr/lib/libpthread.so.0
#2 0xbbbe23d3 in pthread_mutex_unlock () from /usr/lib/libpthread.so.0
#3 0x0805f416 in mi_closener ()
#4 0x080612f9 in mi_stop_milters ()
#5 0x080613b9 in mi_signal_thread ()
#6 0xbbbe562d in pthread_join () from /usr/lib/libpthread.so.0
#7 0xbbb2ea24 in swapcontext () from /usr/lib/libc.so.12


I suspect I am in libmilter not compiled with -g, so I'll just send this and hope it's helpful.

Re: [milter-greylist] mutex crash on ^C

2008-09-07 by manu@netbsd.org

Greg Troxel <gdt@...> wrote:

> I ran milter-greylist with -Dv under gdb and hit ^C        
> 
> ^Csmfi_main() returned 0
> milter-greylist: Error detected by libpthread: Invalid mutex.
> Detected by file "/n0/gdt/NetBSD-4/src/lib/libpthread/pthread_mutex.c",
> line 334, function "pthread_mutex_unlock".
> See pthread(3) for information.

Yes, I have it too. No idea how to fix it, but it seems quite harmless,
though.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.