[asterisk-bugs] [Asterisk 0011972]: tls transport often causes asterisk to lock
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Mar 4 13:41:18 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11972
======================================================================
Reported By: pj
Assigned To: jamesgolovich
======================================================================
Project: Asterisk
Issue ID: 11972
Category: Channels/chan_sip/General
Reproducibility: random
Severity: block
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 103313
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 02-11-2008 11:04 CST
Last Modified: 03-04-2008 13:41 CST
======================================================================
Summary: tls transport often causes asterisk to lock
Description:
when asterisk is locked, no call or registration is processed,
this happened several times today and yesterday (tried several trunk
revisions)
currently haven't found thing, what causes the locking situation,
it seems, that locking problem start appearing, after more peers start
using tls transport
my tls only peers are: asterisk trunk, asterisk beta2 and eyebeam
sofphone
+several udp clients.
======================================================================
----------------------------------------------------------------------
pj - 03-04-08 13:41
----------------------------------------------------------------------
uff, another crash!
=== -------------------------------------------------------------------
===
=== Thread ID: -1219318896 (ast_make_file_from_fd started at [ 154]
tcptls.c server_root())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (chan_sip.c): MUTEX 2510
__sip_xmit p->socket.ser->lock
0x825f670 (1)
=== -------------------------------------------------------------------
[Mar 4 20:39:36] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:278
__ast_pthread_mutex_destroy: chan_sip.c line 4319 (__sip_destroy): Error:
attempt to destroy locked mutex '&p->pvt_lock'.
[Mar 4 20:39:36] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:281
__ast_pthread_mutex_destroy: chan_sip.c line 5853 (find_call): Error:
'&p->pvt_lock' was locked here.
[Mar 4 20:39:36] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:288
__ast_pthread_mutex_destroy: chan_sip.c line 4319 (__sip_destroy): Error
destroying mutex &p->pvt_lock: Device or resource busy
[Mar 4 20:40:50] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:469
__ast_pthread_mutex_unlock: chan_sip.c line 18038 (handle_request_do):
mutex '&p->pvt_lock' freed more times than we've locked!
[Mar 4 20:40:50] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:486
__ast_pthread_mutex_unlock: chan_sip.c line 18038 (handle_request_do):
Error releasing mutex: Operation not permitted
[Mar 4 20:41:22] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:278
__ast_pthread_mutex_destroy: chan_sip.c line 4319 (__sip_destroy): Error:
attempt to destroy locked mutex '&p->pvt_lock'.
[Mar 4 20:41:22] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:281
__ast_pthread_mutex_destroy: chan_sip.c line 5853 (find_call): Error:
'&p->pvt_lock' was locked here.
[Mar 4 20:41:22] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:288
__ast_pthread_mutex_destroy: chan_sip.c line 4319 (__sip_destroy): Error
destroying mutex &p->pvt_lock: Device or resource busy
[Mar 4 20:41:52] ERROR[20982]:
/root/src/asterisk-r105553/include/asterisk/lock.h:469
__ast_pthread_mutex_unlock: chan_sip.c line 18038 (handle_request_do):
mutex '&p->pvt_lock' freed more times than we've locked!
(gdb) bt
http://bugs.digium.com/view.php?id=0 0xb7988e6c in __sip_destroy (p=0x82c8c70,
lockowner=1,
lockdialoglist=1) at chan_sip.c:4275
http://bugs.digium.com/view.php?id=1 0xb7989c9c in sip_destroy (p=0x82c8c70) at
chan_sip.c:4450
http://bugs.digium.com/view.php?id=2 0xb79820d9 in __sip_autodestruct
(data=0x82c8c70) at chan_sip.c:2877
http://bugs.digium.com/view.php?id=3 0x08131d7a in ast_sched_runq
(con=0x81f3610) at sched.c:365
http://bugs.digium.com/view.php?id=4 0xb79ccf34 in do_monitor (data=0x0) at
chan_sip.c:18352
http://bugs.digium.com/view.php?id=5 0x08146219 in dummy_start (data=0x81fdab8)
at utils.c:870
http://bugs.digium.com/view.php?id=6 0xb7c194e2 in start_thread () from
/lib/i686/libpthread.so.0
http://bugs.digium.com/view.php?id=7 0xb7d0146e in clone () from
/lib/i686/libc.so.6
Issue History
Date Modified Username Field Change
======================================================================
03-04-08 13:41 pj Note Added: 0083351
======================================================================
More information about the asterisk-bugs
mailing list