Posted: Fri Dec 03, 2004 1:09 pm Post subject: [Asterisk-bsd] Re: NetBSD 2.0 core dump on exit
Jay Adelson <jay@adelson.org> writes:
Quote:
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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum