Hendrik Visage wrote:
> Really destroying SIP dialog
> '[EMAIL PROTECTED]' Method: OPTIONS
> [Oct  5 08:50:26] ERROR[24396]:
> /home/hvisage/ast/asterisk-1.4.12/include/asterisk/lock.h:284
> __ast_pthread_mutex_lock: channel.c line 4923 (ast_channel_lock):
> Deadlock? waited 5 sec for mutex '&chan->lock'?
> Segmentation fault

First of all, do not compile with DO_CRASH defined.  That is why it is crashing.

However, do compile with DEBUG_THREADS enabled.  When the deadlock occurs, save
the output of the "core show locks" CLI command.  That will show where the
deadlock has occurred.

$ sudo asterisk -rx "core show locks" > show_locks.txt

-- 
Russell Bryant
Software Engineer
Digium, Inc.

_______________________________________________
--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

Reply via email to