[Asterisk-bugs] [Asterisk 0009694]: Chan local with /n cause core dump

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 11 06:01:13 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9694 
====================================================================== 
Reported By:                tristan_mahe
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9694
Category:                   Channels/chan_local
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 62331 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             05-09-2007 05:53 CDT
Last Modified:              07-11-2007 06:01 CDT
====================================================================== 
Summary:                    Chan local with /n cause core dump
Description: 
Using chan_local with /n suffix and queues to call back dynamic members
cause core dumps.

Removing /n resolve core dumps.
====================================================================== 

---------------------------------------------------------------------- 
 tristan_mahe - 07-11-07 06:01  
---------------------------------------------------------------------- 
Ok, happened to me again. And 5 times in 5 days.
version: SVN-branch-1.4-r73985M

last crash bt full:

http://bugs.digium.com/view.php?id=0  0x000000000043944d in ast_queue_frame
(chan=0x2a3af90,
fin=0x2aaaac067660) at channel.c:934
        f = (struct ast_frame *) 0x2aaad03e1850
        cur = (struct ast_frame *) 0x0
        blah = 1
        qlen = 9
        __PRETTY_FUNCTION__ = "ast_queue_frame"
http://bugs.digium.com/view.php?id=1  0x00002aaaabd19a36 in local_queue_frame
(p=0x2b1e200, isoutbound=1,
f=0x2aaaac067660, us=0x2b23050)
   from /pstn/system/lib/asterisk/modules/chan_local.so
        other = (struct ast_channel *) 0x2a3af90
        __PRETTY_FUNCTION__ = "local_queue_frame"
http://bugs.digium.com/view.php?id=2  0x00002aaaabd19e66 in local_write
(ast=0x2b23050, f=0x2aaaac067660)
from /pstn/system/lib/asterisk/modules/chan_local.so
        p = (struct local_pvt *) 0x2b1e200
        res = -1
        isoutbound = 1
        __PRETTY_FUNCTION__ = "local_write"
http://bugs.digium.com/view.php?id=3  0x000000000044086a in ast_write
(chan=0x2b23050, fr=0x2aaaac067660) at
channel.c:2914
        res = -1
        f = (struct ast_frame *) 0x2aaaac067660
        __PRETTY_FUNCTION__ = "ast_write"
http://bugs.digium.com/view.php?id=4  0x000000000044440e in ast_generic_bridge
(c0=0x2b23050, c1=0x2b242f0,
config=0x4118d8d0, fo=0x4118d4e8, rc=0x4118d4e0, bridge_end=
      {tv_sec = 0, tv_usec = 0}) at channel.c:4017
        monitored_source = 0
        who = (struct ast_channel *) 0x2b242f0
        other = (struct ast_channel *) 0x2b23050
        cs = {0x2b242f0, 0x2b23050, 0x2b23050}
        f = (struct ast_frame *) 0x2aaaac067660
        res = AST_BRIDGE_COMPLETE
        o0nativeformats = 8
        o1nativeformats = 72
        watch_c0_dtmf = 0
        watch_c1_dtmf = 0
        pvt0 = (void *) 0x2b1e200
        pvt1 = (void *) 0x2aaaac067280
        frame_put_in_jb = 0
        jb_in_use = 0
        to = -1
        __PRETTY_FUNCTION__ = "ast_generic_bridge"
http://bugs.digium.com/view.php?id=5  0x00000000004458a8 in ast_channel_bridge
(c0=0x2b23050, c1=0x2b242f0,
config=0x4118d8d0, fo=0x4118d4e8, rc=0x4118d4e0) at channel.c:4267
        now = {tv_sec = 0, tv_usec = 0}
        to = -1
        who = (struct ast_channel *) 0x0
        res = AST_BRIDGE_COMPLETE
        nativefailed = 0
        firstpass = 1
        o0nativeformats = 8
        o1nativeformats = 72
        time_left_ms = 0
        nexteventts = {tv_sec = 0, tv_usec = 0}
        caller_warning = 0 '\0'
        callee_warning = 0 '\0'
        __PRETTY_FUNCTION__ = "ast_channel_bridge"
http://bugs.digium.com/view.php?id=6  0x00002aaaab6ff0c8 in ast_bridge_call
(chan=0x2b23050, peer=0x2b242f0,
config=0x4118d8d0) at res_features.c:1398
        other = (struct ast_channel *) 0x437160
        f = (struct ast_frame *) 0x0
        who = (struct ast_channel *) 0xffffffff029ead20
        chan_featurecode = '\0' <repeats 11 times>
        peer_featurecode = '\0' <repeats 11 times>
        res = 0
        diff = 0
        hasfeatures = 0
        hadfeatures = 0
        aoh = (struct ast_option_header *) 0x0
        backup_config = {features_caller = {flags = 0}, features_callee =
{flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, feature_timer = 0,
  timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0,
end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0}
        bridge_cdr = (struct ast_cdr *) 0x0
        __PRETTY_FUNCTION__ = "ast_bridge_call"
http://bugs.digium.com/view.php?id=7  0x00002aaaba58d2a6 in dial_exec_full
(chan=0x2b23050, data=0x411909e0,
peerflags=0x4118e7e0, continue_exec=0x0)
   from /pstn/system/lib/asterisk/modules/app_dial.so
        config = {features_caller = {flags = 0}, features_callee = {flags
= 0}, start_time = {tv_sec = 1184152047, tv_usec = 786991}, feature_timer =
0,
  timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0,
end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0}
        number = 0x24e8c41 "45/7922"
        end_time = 1092148208
        answer_time = 1184152039
        res = 0
        u = (struct ast_module_user *) 0x1b20bc0
        rest = 0x0
        cur = 0x0
        outgoing = (struct dial_localuser *) 0x0
        peer = (struct ast_channel *) 0x2b242f0
        to = 21592
        numbusy = 0
        numcongestion = 0
        numnochan = 0
        cause = 0
        numsubst = "45/7922\000??\030A", '\0' <repeats 12 times>,
"???\002\000\000\000\000P??\002\000\000\000\000P??\002\000\000\000\000??\030A\000\000\000\000rLP\000\000\000\000\000\202\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000??\030A\000\000\000\000*h??4\000\000\000\001\200??\000\000\000\000P??\002\000\000\000\000P??\002\000\000\000\000P??\002\000\000\000\000P??\002\000\000\000\000R??\002\000\000\000\000???\002\000\000\000\000P??\002\000\000\000\000???\002",
'\0' <repeats 44 times>, "\001\000\000\000\000\000\000\000
\034\000\000\000\000\000\000\000\000w", '\0' <repeats 13 times>...
        cidname = '\0' <repeats 79 times>
        privdb_val = 0
        calldurationlimit = 0
        timelimit = 0
        play_warning = 0
        warning_freq = 0
        warning_sound = 0x0
        end_sound = 0x0
        start_sound = 0x0
        dtmfcalled = 0x0
        dtmfcalling = 0x0
        status = "ANSWER\000R\000GS", '\0' <repeats 244 times>
        play_to_caller = 0
        play_to_callee = 0
        sentringing = 0
        moh = 0
        outbound_group = 0x0
        result = 0
        start_time = 1184152030
        privintro =
"(\000\000\0000\000\000\000[???4\000\000\000\002\000\000\000\000\000\000\000??\030A\000\000\000\000\t\236P\000\000\000\000\000\v\236P\000\000\000\000\000\020\000\000\000\000\000\000\000R6??4",
'\0' <repeats 11 times>, " ?\030A", '\0' <repeats 12 times>,
"??\030A\000\000\000\000\020?\030A\000\000\000\000?\235P\000\000\000\000\000??\030A\000\000\000\000\006",
'\0' <repeats 11 times>, "\001\000\000\000\006\000\000\000\006", '\0'
<repeats 11 times>, "????????\000\000\000\000?\000\000\000?\235P", '\0'
<repeats 13 times>, "??\030A\000\000\000\000\000\000\000\000\006", '\0'
<repeats 15 times>, "\n"...
        privcid =
"\002\000\000\000\000\000\000\000??\030A\000\000\000\000??\030A\000\000\000\000rLP\000\000\000\000\000\202\000\000\000\000\000\000\000p!??4\000\000\000???\002\000\000\000\000\220?\030A\000\000\000\000@?\030A\000\000\000\000??\030A\000\000\000\000??\030A\000\000\000\000rLP\000\000\000\000\000??\030A\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\a\000\000\000\000\000\000\000????\000\000\000\000\000\000\000\000????????\000\000\000\000\002\000\000\000tLP",
'\0' <repeats 13 times>, "\230?\030A\000\000\000\000\000\000\000\000\001",
'\0' <repeats 15 times>, "\n", '\0' <repeats 31 times>, "\001"...
        parse = 0x4118d630 "Zap"
        opermode = 0
        args = {argc = 3, argv = 0x4118dce8, peers = 0x4118d630 "Zap",
timeout = 0x4118d63c "30", options = 0x4118d63f "rM(agentanswer", url =
0x0}
        opts = {flags = 133120}
        opt_args = {0x4694b9de <Address 0x4694b9de out of bounds>, 0x4fe59
<Address 0x4fe59 out of bounds>, 0x4694b9de <Address 0x4694b9de out of
bounds>,
  0x4fe59 <Address 0x4fe59 out of bounds>, 0x4118dcf0 "<?\030A",
0x4118d642 "agentanswer", 0x3833343732333438 <Address 0x3833343732333438
out of bounds>,
  0x4118e510 "", 0x4118e3e0 "\001\200??"}
        __PRETTY_FUNCTION__ = "dial_exec_full"
http://bugs.digium.com/view.php?id=8  0x00002aaaba58d52b in dial_exec
(chan=0x2b23050, data=0x411909e0) from
/pstn/system/lib/asterisk/modules/app_dial.so
        peerflags = {flags = 0}
http://bugs.digium.com/view.php?id=9  0x000000000047a883 in pbx_exec
(c=0x2b23050, app=0x2aaaac154420,
data=0x411909e0) at pbx.c:532
        res = 0
        saved_c_appl = 0x0
        saved_c_data = 0x0
http://bugs.digium.com/view.php?id=10 0x000000000047e0cd in pbx_extension_helper
(c=0x2b23050, con=0x0,
context=0x2b232a0 "call_agents", exten=0x2b232f0 "call", priority=9,
label=0x0,
    callerid=0x2a31400 "", action=E_SPAWN) at pbx.c:1833
        e = (struct ast_exten *) 0x2aaaac0cb7b0
        app = (struct ast_app *) 0x2aaaac154420
        res = 1092172096
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status =
5, swo = 0x0, data = 0x0, foundcontext = 0x2b232a0 "call_agents"}
        passdata = "Zap/45/7922|30|rM(agentanswer)", '\0' <repeats 8161
times>
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
http://bugs.digium.com/view.php?id=11 0x000000000047f2af in ast_spawn_extension
(c=0x2b23050,
context=0x2b232a0 "call_agents", exten=0x2b232f0 "call", priority=9,
callerid=0x2a31400 "")
    at pbx.c:2288
No locals.
http://bugs.digium.com/view.php?id=12 0x000000000047f807 in __ast_pbx_run
(c=0x2b23050) at pbx.c:2388
        dst_exten =
"@0\031A\000\000\000\000\226?@??*\000\000Local/7922 at call_agents\0009\030\000\000\000\000\000\000\000agents\000\000\0000\031A\000\000\000\000Local\0007623 at call_agents\000nce-ld\000\000\00000\031A\000\000\000\000!\000\000\000\000\000\000\000?\000?\002\000\000\000\000?0??4\000\000\000\220W}\000\000\000\000\000??\031??*\000\000\000/\031A\000\000\000\000\200\231??4",
'\0' <repeats 11 times>,
"\030\000\000\000\000\000\000\000???\002\000\000\000\000Q`\001\000\000\000\000\000\000\020\000\000\000\000\000\000\026"...
        pos = 0
        digit = 0
        found = 1
        res = 0
        autoloopflag = 0
        error = 0
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
http://bugs.digium.com/view.php?id=13 0x0000000000480622 in pbx_thread
(data=0x2b23050) at pbx.c:2601
        c = (struct ast_channel *) 0x2b23050
        opt_args = {0x4694b9de <Address 0x4694b9de out of bounds>, 0x4fe59
<Address 0x4fe59 out of bounds>, 0x4694b9de <Address 0x4694b9de out of
bounds>,
  0x4fe59 <Address 0x4fe59 out of bounds>, 0x4118dcf0 "<?\030A",
0x4118d642 "agentanswer", 0x3833343732333438 <Address 0x3833343732333438
out of bounds>,
  0x4118e510 "", 0x4118e3e0 "\001\200??"}
        __PRETTY_FUNCTION__ = "dial_exec_full"
http://bugs.digium.com/view.php?id=8  0x00002aaaba58d52b in dial_exec
(chan=0x2b23050, data=0x411909e0) from
/pstn/system/lib/asterisk/modules/app_dial.so
        peerflags = {flags = 0}
http://bugs.digium.com/view.php?id=9  0x000000000047a883 in pbx_exec
(c=0x2b23050, app=0x2aaaac154420,
data=0x411909e0) at pbx.c:532
        res = 0
        saved_c_appl = 0x0
        saved_c_data = 0x0
http://bugs.digium.com/view.php?id=10 0x000000000047e0cd in pbx_extension_helper
(c=0x2b23050, con=0x0,
context=0x2b232a0 "call_agents", exten=0x2b232f0 "call", priority=9,
label=0x0,
    callerid=0x2a31400 "", action=E_SPAWN) at pbx.c:1833
        e = (struct ast_exten *) 0x2aaaac0cb7b0
        app = (struct ast_app *) 0x2aaaac154420
        res = 1092172096
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status =
5, swo = 0x0, data = 0x0, foundcontext = 0x2b232a0 "call_agents"}
        passdata = "Zap/45/7922|30|rM(agentanswer)", '\0' <repeats 8161
times>
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
http://bugs.digium.com/view.php?id=11 0x000000000047f2af in ast_spawn_extension
(c=0x2b23050,
context=0x2b232a0 "call_agents", exten=0x2b232f0 "call", priority=9,
callerid=0x2a31400 "")
    at pbx.c:2288
No locals.
http://bugs.digium.com/view.php?id=12 0x000000000047f807 in __ast_pbx_run
(c=0x2b23050) at pbx.c:2388
        dst_exten =
"@0\031A\000\000\000\000\226?@??*\000\000Local/7922 at call_agents\0009\030\000\000\000\000\000\000\000agents\000\000\0000\031A\000\000\000\000Local\0007623 at call_agents\000nce-ld\000\000\00000\031A\000\000\000\000!\000\000\000\000\000\000\000?\000?\002\000\000\000\000?0??4\000\000\000\220W}\000\000\000\000\000??\031??*\000\000\000/\031A\000\000\000\000\200\231??4",
'\0' <repeats 11 times>,
"\030\000\000\000\000\000\000\000???\002\000\000\000\000Q`\001\000\000\000\000\000\000\020\000\000\000\000\000\000\026"...
        pos = 0
        digit = 0
        found = 1
        res = 0
        autoloopflag = 0
        error = 0
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
http://bugs.digium.com/view.php?id=13 0x0000000000480622 in pbx_thread
(data=0x2b23050) at pbx.c:2601
        c = (struct ast_channel *) 0x2b23050
---Type <return> to continue, or q <return> to quit---
http://bugs.digium.com/view.php?id=14 0x00000000004bdbf5 in dummy_start
(data=0x28fe8f0) at utils.c:545
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0,
-2079981371767338200, 0, 1092172096, 1078411264, 4096,
-2079981371767338392,
        -2079981372827360892}, __mask_was_saved = 0}}, __pad =
{0x411931b0, 0x0, 0x22bda60, 0x0}}
        __cancel_routine = (void (*)(void *)) 0x425948
<ast_unregister_thread>
        __cancel_arg = (void *) 0x41193940
        not_first_call = 0
        ret = (void *) 0x34e9f448a0
        a = {start_routine = 0x480605 <pbx_thread>, data = 0x2b23050,
  name = 0x2119430 "pbx_thread", ' ' <repeats 11 times>, "started at [
2625] pbx.c ast_pbx_start()"}
http://bugs.digium.com/view.php?id=15 0x00000034ea806305 in start_thread () from
/lib64/libpthread.so.0
No symbol table info available.
http://bugs.digium.com/view.php?id=16 0x00000034e9ccd50d in clone () from
/lib64/libc.so.6
No symbol table info available.
http://bugs.digium.com/view.php?id=17 0x0000000000000000 in ?? ()
No symbol table info available. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-11-07 06:01  tristan_mahe   Note Added: 0067101                          
======================================================================




More information about the Asterisk-bugs mailing list