[asterisk-bugs] [Asterisk 0018869]: Crash in ast_frdup

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 23 16:25:16 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18869 
====================================================================== 
Reported By:                ZX81
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18869
Category:                   Channels/General
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 308242 
Request Review:              
====================================================================== 
Date Submitted:             2011-02-22 17:55 CST
Last Modified:              2011-02-23 16:25 CST
====================================================================== 
Summary:                    Crash in ast_frdup
Description: 
Asterisk crashed, dumped core, backtrace:

https://issues.asterisk.org/view.php?id=0  ast_frdup (f=0x4d6448ce) at
frame.c:481
https://issues.asterisk.org/view.php?id=1  0x000000000046772e in
__ast_queue_frame (chan=0x1fdf268,
fin=0x4d6448ce, head=0, after=0x0) at channel.c:1401
https://issues.asterisk.org/view.php?id=2  0x000000000047559a in __ast_read
(chan=0x1fdf268, dropaudio=0) at
channel.c:3853
https://issues.asterisk.org/view.php?id=3  0x0000000000477fe2 in
ast_channel_bridge (c0=0x1fdf268, c1=0x2023218,
config=0x429ed510, fo=0x429eca50, rc=0x429eca48) at channel.c:4176
https://issues.asterisk.org/view.php?id=4  0x00000000004a7a66 in ast_bridge_call
(chan=0x1fdf268, peer=0x2023218,
config=0x429ed510) at features.c:3572
https://issues.asterisk.org/view.php?id=5  0x00007f8084354811 in dial_exec_full
(chan=0x1fdf268, data=<value
optimized out>, peerflags=0x429ed800, continue_exec=0x0) at
app_dial.c:2653
https://issues.asterisk.org/view.php?id=6  0x00007f8084356096 in dial_exec
(chan=0x4d6448ce, data=0x1 <Address
0x1 out of bounds>) at app_dial.c:2753
https://issues.asterisk.org/view.php?id=7  0x00000000004eeed0 in pbx_exec
(c=0x1fdf268, app=0x7f8064000e40,
data=0x429ef910 "SIP/709,30,tTwW") at pbx.c:1406
https://issues.asterisk.org/view.php?id=8  0x00000000004faf9d in
pbx_extension_helper (c=0x1fdf268, con=<value
optimized out>, context=0x1fdf7c0 "macro-stdexten", exten=0x1fdf810 "s",
priority=3, label=0x0, callerid=0x201b550 "P\001\002", 
    action=E_SPAWN, found=0x429f287c, combined_find_spawn=1) at
pbx.c:4085
https://issues.asterisk.org/view.php?id=9  0x00000000004fb510 in
ast_spawn_extension (c=0x4d6448ce,
context=<value optimized out>, exten=<value optimized out>, priority=<value
optimized out>, callerid=<value optimized out>, 
    found=<value optimized out>, combined_find_spawn=1) at pbx.c:4608
https://issues.asterisk.org/view.php?id=10 0x00007f80774a5748 in _macro_exec
(chan=0x1fdf268, data=<value
optimized out>, exclusive=0) at app_macro.c:408
https://issues.asterisk.org/view.php?id=11 0x00000000004eeed0 in pbx_exec
(c=0x1fdf268, app=0x1f9c460,
data=0x429f49c0 "stdexten,709,SIP/709") at pbx.c:1406
https://issues.asterisk.org/view.php?id=12 0x00000000004faf9d in
pbx_extension_helper (c=0x1fdf268, con=<value
optimized out>, context=0x1fdf7c0 "macro-stdexten", exten=0x1fdf810 "s",
priority=1, label=0x0, callerid=0x201b550 "P\001\002", 
    action=E_SPAWN, found=0x429f704c, combined_find_spawn=1) at
pbx.c:4085
https://issues.asterisk.org/view.php?id=13 0x00000000004fce3f in __ast_pbx_run
(c=0x1fdf268, args=0x0) at
pbx.c:4608
https://issues.asterisk.org/view.php?id=14 0x00000000004fe5db in pbx_thread
(data=0x4d6448ce) at pbx.c:5017
https://issues.asterisk.org/view.php?id=15 0x00000000005374ac in dummy_start
(data=<value optimized out>) at
utils.c:973
https://issues.asterisk.org/view.php?id=16 0x00007f8087d28fc7 in start_thread ()
from /lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=17 0x00007f808856d64d in clone () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=18 0x0000000000000000 in ?? ()
====================================================================== 

---------------------------------------------------------------------- 
 (0132315) lmadsen (administrator) - 2011-02-23 16:25
 https://issues.asterisk.org/view.php?id=18869#c132315 
---------------------------------------------------------------------- 
See <value optimize out> in the following line?

0000005 0x00007f8084354811 in dial_exec_full (chan=0x1fdf268, data=<value
optimized out>, peerflags=0x429ed800, continue_exec=0x0) at
app_dial.c:2653

That means you haven't enabled DONT_OPTIMIZE in menuselect and reinstalled
Asterisk. This is required for meaningful backtraces.

Please follow the instructions at
https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-23 16:25 lmadsen        Note Added: 0132315                          
======================================================================




More information about the asterisk-bugs mailing list