[Asterisk-bsd] Re: NetBSD 2.0 core dump on exit

Tom Ivar Helbekkmo tih at eunetnorge.no
Fri Dec 3 15:09:13 CST 2004


Jay Adelson <jay at adelson.org> writes:

> Does anyone see this when they exit?
>
> *CLI> stop now
> Beginning asterisk shutdown....
> Executing last minute cleanups
>   == Destroying any remaining musiconhold processes
> Asterisk cleanly ending (0).
> Dec  3 09:51:41 WARNING[7854]: asterisk.c:342 listener: Accept returned -1: Bad file descriptor
> asterisk: Error detected by libpthread: Invalid mutex.
> Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 317, function "pthread_mutex_unlock".
> See pthread(3) for information.
> Abort (core dumped)

Yup.  Asterisk has several pthreads bugs that need fixing.  To make it
run under NetBSD until they're fixed, set the environment variable
PTHREAD_DIAGASSERT to "Ael".  That way, you get the errors reported,
but without the crash and core dump.

-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting
www.eunet.no  T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145


More information about the Asterisk-BSD mailing list