[asterisk-dev] Asterisk 1.4.12 __ast_pthread_mutex_lock Deadlock

Hendrik Visage hvjunk at gmail.com
Tue Oct 9 07:02:59 CDT 2007


gcc 4.1.2
or gcc 4.2.1 ??

Just installed glibc 2.6.1 (compiled with 4.2.1), and recompiled * 1.4.12
let's see how it handles....


On 10/9/07, Gregory Nietsky <gregnietsky at gmail.com> wrote:
> Hendrik Visage wrote:
>
> Hendrik (AKA chicken push ??)  i was getting segfaults in libc in odd
> places upgrading libc and NOT using
> gcc-4.1.0 the problems have mostly gone away. im curently using libc
> 2.6.1/gcc-1.4.2 i used the new gcc to build
> libc as gcc-4.1.0 is known to be buggy (dit is opgefo....).
>
> the backtrace shows a problem in libc more than * as the libc functions
> when you load the libs do not strip them
> to maintain debug info this will be far more usefull
>
> > with DETECT_DEADLOCKS and DEBUG_THREADS:
> > [Oct  9 12:57:41] ERROR[32313]:
> > /home/hvisage/ast/asterisk-1.4.12/include/asterisk/lock.h:284
> > __ast_pthread_mutex_lock: channel.c line 1587 (queue_frame_to_spies):
> > Deadlock? waited 5 sec for mutex '&spy->lock'?
> > Segmentation fault (core dumped)
> >
> > ie. I did NOT have DO_CRASH enabled. This appears to be a problem in
> > some string:
> >
> > #0  0xb7dcbb6b in strlen () from /lib/libc.so.6
> > (gdb) bt full
> > #0  0xb7dcbb6b in strlen () from /lib/libc.so.6
> > No symbol table info available.
> > #1  0xb7d9edab in vfprintf () from /lib/libc.so.6
> > No symbol table info available.
> > #2  0xb7dbe524 in vsnprintf () from /lib/libc.so.6
> > No symbol table info available.
> > #3  0x0813613b in ?? ()
> > No symbol table info available.
> >
> >
> >
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>


-- 
Hendrik Visage



More information about the asterisk-dev mailing list