[asterisk-bugs] [Asterisk 0015192]: segfault in local_devicestate() in chan_local.c

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 1 09:30:05 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:                     feedback
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-06-01 09:30 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105841) seanbright (manager) - 2009-06-01 09:30
 https://issues.asterisk.org/view.php?id=15192#c105841 
---------------------------------------------------------------------- 
OK.  It looks like a memory corruption issue.  If you could run the latest
version of 1.6.0 from svn:

    svn co http://svn.digium.com/svn/asterisk/branches/1.6.0

And follow the instructions in doc/valgrind.txt that would be great.

If that is not possible, I would like more information on exactly what you
are doing in your environment so I can set up a test here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-01 09:30 seanbright     Note Added: 0105841                          
======================================================================




More information about the asterisk-bugs mailing list