[asterisk-bugs] [Asterisk 0015192]: segfault in local_devicestate() in chan_local.c
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue May 26 06:13:40 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15192
======================================================================
Reported By: caspy
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15192
Category: Channels/chan_local
Reproducibility: random
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.6.0.6
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-05-26 05:53 CDT
Last Modified: 2009-05-26 06:13 CDT
======================================================================
Summary: segfault in local_devicestate() in chan_local.c
Description:
Asterisk crashes randomly:
(gdb) bt full
https://issues.asterisk.org/view.php?id=0 0xb7c95e1a in strcmp () from
/lib/i686/cmov/libc.so.6
No symbol table info available.
https://issues.asterisk.org/view.php?id=1 0xb7291599 in local_devicestate
(data=0xb7a52286) at chan_local.c:150
exten = 0xb7a52200 "1181"
context = 0xb7a52205 "toagent"
opts = 0x0
res = 1
lp = (struct local_pvt *) 0x558
__PRETTY_FUNCTION__ = "local_devicestate"
complete backtraces in attaches
======================================================================
----------------------------------------------------------------------
(0105384) caspy (reporter) - 2009-05-26 06:13
https://issues.asterisk.org/view.php?id=15192#c105384
----------------------------------------------------------------------
add on:
in the morning, when THREAD_DEBUG was turned on, these errors were in log
just before crash:
[May 26 11:23:24] ERROR[24975]
/usr/home/caspy/compile/asterisk-1.6.0.6/include/asterisk/lock.h:
chan_local.c line 595 (local_hangup): Error releasing mutex: Invalid
argument
[May 26 11:30:46] ERROR[30551]
/usr/home/caspy/compile/asterisk-1.6.0.6/include/asterisk/lock.h:
chan_local.c line 595 (local_hangup): Error releasing mutex: Invalid
argument
[May 26 11:34:03] ERROR[31088]
/usr/home/caspy/compile/asterisk-1.6.0.6/include/asterisk/lock.h:
chan_local.c line 165 (local_pvt_destroy): Error: attempt to destroy locked
mutex '&pvt->lock'.
now THREAD_DEBUG turned off, cause asterisk seem to be slightly more
stable.
Issue History
Date Modified Username Field Change
======================================================================
2009-05-26 06:13 caspy Note Added: 0105384
======================================================================
More information about the asterisk-bugs
mailing list