[asterisk-bugs] [Asterisk 0018315]: [patch] Asterisk segfaults on /lib/i686/cmov/libc.so.6

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 16 07:47:35 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18315 
====================================================================== 
Reported By:                viniciusfontes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18315
Category:                   Core/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.14 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-16 06:29 CST
Last Modified:              2010-11-16 07:47 CST
====================================================================== 
Summary:                    [patch] Asterisk segfaults on
/lib/i686/cmov/libc.so.6
Description: 
Running on Debian Lenny 5.0.1, 32-bit. Crashes occur at random, several
times a day.

Compiled with DONT_OPTIMIZE and DEBUG_THREADS. Backtrace attached.

Here's a snippet of /var/log/asterisk/messages when the crash occurs:


[2010-11-16 09:55:07] VERBOSE[25362] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP RTP TOS bits 184
[2010-11-16 09:55:07] VERBOSE[25362] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP RTP CoS mark 5
[2010-11-16 09:55:07] VERBOSE[25362] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP VRTP TOS bits 96
[2010-11-16 09:55:07] VERBOSE[25362] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP VRTP CoS mark 6
[2010-11-16 09:55:07] VERBOSE[30272] pbx.c: [2010-11-16 09:55:07]     --
Executing [3125 at interno:1] Macro("SIP/3122-00000119",
"ramalsip-vm,interna,3125") in new stack
[2010-11-16 09:55:07] VERBOSE[30272] pbx.c: [2010-11-16 09:55:07]     --
Executing [s at macro-ramalsip-vm:1] GotoIf("SIP/3122-00000119",
"0?sigame:interna") in new stack
[2010-11-16 09:55:07] VERBOSE[30272] pbx.c: [2010-11-16 09:55:07]     --
Goto (macro-ramalsip-vm,s,4)
[2010-11-16 09:55:07] VERBOSE[30272] pbx.c: [2010-11-16 09:55:07]     --
Executing [s at macro-ramalsip-vm:4] Dial("SIP/3122-00000119",
"SIP/3125,30,tTrL(14400000)") in new stack
[2010-11-16 09:55:07] VERBOSE[30272] app_dial.c: [2010-11-16 09:55:07]    
-- Setting call duration limit to 14400.000 seconds.
[2010-11-16 09:55:07] VERBOSE[30272] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP RTP TOS bits 184
[2010-11-16 09:55:07] VERBOSE[30272] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP RTP CoS mark 5
[2010-11-16 09:55:07] VERBOSE[30272] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP VRTP TOS bits 96
[2010-11-16 09:55:07] VERBOSE[30272] netsock.c: [2010-11-16 09:55:07]   ==
Using SIP VRTP CoS mark 6
[2010-11-16 09:55:07] VERBOSE[30272] app_dial.c: [2010-11-16 09:55:07]    
-- Called 3125
[2010-11-16 09:55:07] VERBOSE[30272] app_dial.c: [2010-11-16 09:55:07]    
-- SIP/3125-0000011a is ringing
[2010-11-16 09:55:10] VERBOSE[30272] app_dial.c: [2010-11-16 09:55:10]    
-- SIP/3125-0000011a answered SIP/3122-00000119
[2010-11-16 09:55:11] VERBOSE[25362] res_musiconhold.c: [2010-11-16
09:55:11]     -- Stopped music on hold on DAHDI/33-1
[2010-11-16 09:55:11] VERBOSE[30170] app_macro.c: [2010-11-16 09:55:11]  
== Spawn extension (macro-ramalsip-vm, s, 4) exited non-zero on
'DAHDI/33-1<MASQ>' in macro 'ramalsip-vm'
[2010-11-16 09:55:11] VERBOSE[30170] pbx.c: [2010-11-16 09:55:11]   ==
Spawn extension (interno, 3100, 1) exited non-zero on 'DAHDI/33-1<MASQ>'

And this shows up on syslog:

Nov 16 09:55:11 migplus kernel: [2496666.253535] asterisk[30223]: segfault
at 36 ip b7d2ec1a sp b6397e8c error 6 in libc-2.7.so[b7cb7000+155000]

====================================================================== 

---------------------------------------------------------------------- 
 (0128887) schmidts (manager) - 2010-11-16 07:47
 https://issues.asterisk.org/view.php?id=18315#c128887 
---------------------------------------------------------------------- 
sorry maybe you can change it by yourself its just the order of checks in
this if. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-16 07:47 schmidts       Note Added: 0128887                          
======================================================================




More information about the asterisk-bugs mailing list