[asterisk-bugs] [Asterisk 0013682]: Segmentation Fault with 1.4.21.2 in rtp.c:1131, Application chanSpy

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 13 14:21:52 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13682 
====================================================================== 
Reported By:                wuwu
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13682
Category:                   Core/RTP
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-13 12:23 CDT
Last Modified:              2008-10-13 14:21 CDT
====================================================================== 
Summary:                    Segmentation Fault with 1.4.21.2 in rtp.c:1131,
Application chanSpy
Description: 
i do have encountered a segmentation fault on a 1.4.21.2 machine while 
using the ChanSpy Application - i have tried to reproduce the segfault - 
but without success.

I think the segfault is because of two different sip users where trying 
to start ChanSpy on the same channel - but i don't know exactly...

I am running asterisk with optimized code - so the backtrace isn't as 
usefull as it could be - if i am able to reproduze the fault - then i 
will run it on a non optimized version to produce a more useable 
backtrace (how much does it really costs to disable the optimizations - 
will it be a problem on a production machine running at loadavg around 
1, cpu utilization around 30 % ?)
====================================================================== 

---------------------------------------------------------------------- 
 (0093551) putnopvut (administrator) - 2008-10-13 14:21
 http://bugs.digium.com/view.php?id=13682#c93551 
---------------------------------------------------------------------- 
This issue appears to be similar to issue
http://bugs.digium.com/view.php?id=13682, so I'm going to mark them
related.

One thing that I think will be helpful is to get valgrind output when this
problem occurs. For instructions on how to use valgrind with Asterisk, see
doc/valgrind.txt in the Asterisk source directory.

For the load you are talking about, turning off optimizations should not
make a huge difference in performance. Running valgrind, on the other hand,
will cause noticeable slowdown, and so you may want to try a test run with
valgrind before launching it on a production system. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-13 14:21 putnopvut      Note Added: 0093551                          
======================================================================




More information about the asterisk-bugs mailing list