[Asterisk-Dev] * Crashed

Chee Foong cheefoong at ip-vox.com
Wed Sep 7 19:06:52 MST 2005


Hello,

My * box crashed yesterday without any reason being logged in any of the
asterisk log file. But there is a core dump. After looking at it, I am not
quite sure what has happened. I believe it happened in the ast_translate
function.

Below is the full back trace. Any idea? Could it be memory issue?

(gdb) bt full
#0  0x08067c87 in ast_translate (path=0xf4d4b800, f=0xf6c7b0a4, consume=0)
at translate.c:149
        p = (struct ast_trans_pvt *) 0xf4d4b800
        out = (struct ast_frame *) 0x0
        delivery = {tv_sec = 0, tv_usec = 0}
        __PRETTY_FUNCTION__ = "ast_translate"
#1  0x08062b78 in ast_write (chan=0xf5e75370, fr=0xf6c7b0a4) at
channel.c:1821
        jump = -177620772
        res = -1
        f = (struct ast_frame *) 0xf6c7b0a4
        __PRETTY_FUNCTION__ = "ast_write"
#2  0x0806654f in ast_channel_bridge (c0=0xf5e75370, c1=0x9e3db78,
config=0xf569c614, fo=0xf569ba74, rc=0xf569ba78)
    at channel.c:2963
        cs = {0xf5e75370, 0x9e3db78, 0x0}
        res = -154685276
        nativefailed = 0
        firstpass = 165927800
        o0nativeformats = 8
        o1nativeformats = 72
        start_time = {tv_sec = 1126079614, tv_usec = 245622}
        precise_now = {tv_sec = 6, tv_usec = -156281869}
        time_left_ms = -154685276
        playit = 0
        playitagain = 1
        first_time = 1
        __PRETTY_FUNCTION__ = "ast_channel_bridge"
#3  0xf6d6f417 in ast_bridge_call (chan=0xf5e75370, peer=0x9e3db78,
config=0xf569c614) at res_features.c:1161
        f = (struct ast_frame *) 0x0
        who = (struct ast_channel *) 0xf569baac
        chan_featurecode = '\0' <repeats 11 times>
        peer_featurecode = '\0' <repeats 11 times>
        diff = -154685276
        hasfeatures = 0
        hadfeatures = -151535120
        aoh = (struct ast_option_header *) 0xf6c7b0a4
        start = {tv_sec = -152389647, tv_usec = -177620336}
        end = {tv_sec = -177620360, tv_usec = -151535628}
        backup_config = {features_caller = {flags = 0}, features_callee =
{flags = 0}, timelimit = 0, play_warning = 0,
  warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0,
firstpass = 0, flags = 0}
        monitor_exec = 0xd ""
        __PRETTY_FUNCTION__ = "ast_bridge_call"
#4  0xf6341eb6 in dial_exec_full (chan=0xf5e75370, data=0x50,
peerflags=0xf569c95c) at app_dial.c:1328
        newcid = 0xd ""
        res = 0
---Type <return> to continue, or q <return> to quit---
        u = (struct localuser *) 0x9976eb0
        info = 0xf569bc20 "ZAP"
        timeout = 0x0
        number = 0xd ""
        rest = 0x0
        cur = 0x0
        privdb = '\0' <repeats 255 times>
        s = 0x50 ""
        announcemsg = '\0' <repeats 255 times>
        ann = 0x50 ""
        outgoing = (struct localuser *) 0x0
        tmp = (struct localuser *) 0x9984748
        to = -1
        hasmacro = 0
        privacy = 0
        announce = 0
        numbusy = 0
        numcongestion = 0
        numnochan = 0
        cause = 0
        numsubst = "r1/300012", '\0' <repeats 70 times>
        restofit = "\001\200­ûDÈiõDÈiõDÈiõDÈiõ_Èiõ\223ÈiõDÈiõ\223Èiõ", '\0'
<repeats 20 times>,
"ìÆiõ\000\000\000\000\017\000\000\000\000\000\000\t\000\000\000\0001£úö"
        cidname =
"\224ÆiõpÆiõA\206ëö\224ÆiõDÈiõ\223È40\000\000\000\000\223Èiõô¿÷öê\036\017\b°
Çiõ\200ÇiõF2ëö\224Æiõê\036\017\bÌÇiõDÈiõ\000\000\000\0004Çiõ\224Æiõ"
        transfer = 0x0
        l = 0xd ""
        url = 0x0
        calldurationlimit = 0
        now = 0
        config = {features_caller = {flags = 0}, features_callee = {flags =
0}, timelimit = 0, play_warning = 0,
  warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0,
firstpass = 0, flags = 0}
        timelimit = 0
        play_warning = 0
        warning_freq = 0
        warning_sound = 0xd ""
        end_sound = 0x0
        start_sound = 0x0
        limitptr = 0x50 ""
        limitdata =
"Y\024÷ö\001\000\000\000î¤ëö\000\000\000\000\020\021²\t\000\000\000\000\020\
021²\tô\037ûö\017\000\000\000\001\000\000\000\\Åiõô\037ûö\017\000\000\000xã\
201\t\\Åiõ1£úö¼à÷öô¿÷ölÅiõÉEíö¬à÷öô¿÷öüÆiõ\237¥íöñÈiõêÆiõ\002", '\0'
<repeats 23 times>,
"J\005÷ö\000\000\000\000\000\000\000\000\003\000\000\000\224¥ëö", '\0'
<repeats 20 times>, "öÿÿÿ", '\0' <repeats 16 times>,
"\001\000\000\000\020\021²\t\000\000\000\000\236×úö\000ý\000\000\000\000\000
\000\000\000\000\0000 at L\000¤\201\000\00---Type <return> to continue, or q
<return> to quit---
0\001", '\0' <repeats 23 times>...
        sdtmfptr = 0x9e3db78 "Zap/120-1"
        dtmfcalled = 0x0
        dtmfcalling = 0xd ""
        stack = 0x0
        var = 0xd ""
        mac = 0x9e3db78 "Zap/120-1"
        macroname = 0x0
        status = "ANSWER", '\0' <repeats 249 times>
        toast =
"\000\000\000\000\000\000\000\000ô¿÷ö\000ý\000\000\000\000\000\000ìÄiõæKíö\0
20\021²\t#\002\000\000PÄiõ", '\0' <repeats 39 times>
        play_to_caller = 80
        play_to_callee = 0
        sentringing = 0
        moh = 0
        mohclass = 0x0
        outbound_group = 0x0
        macro_result = 0x50 ""
        macro_transfer_dest = 0x50 ""
        digit = 0
        result = 0
        start_time = 1126079610
        answer_time = 1126079614
        end_time = 0
        app = (struct ast_app *) 0x9e3db78
        dblgoto = 0x0
        nojump = 0
        __PRETTY_FUNCTION__ = "dial_exec_full"
#5  0xf6343b0d in dial_exec (chan=0xd, data=0x0) at app_dial.c:1368
        peerflags = {flags = 0}
#6  0x0808baa8 in pbx_extension_helper (c=0xf5e75370, con=0x0,
context=0xf5e754c0 "out-route", exten=0xf5e755b4 "300012",
    priority=1, label=0x0, callerid=0xf56a0b24 "ZAP/r1/300012", action=0) at
pbx.c:555
        e = (struct ast_exten *) 0xf660da58
        sw = (struct ast_switch *) 0x0
        data = 0x0
        foundcontext = 0xf5e754c0 "out-route"
        newstack = 1
        res = 0
        status = 5
        incstack = {0x0 <repeats 80 times>, 0xf6eba594 "\201Ã`\032\f", 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x98774b0 "\030\v",
  0xf6eba594 "\201Ã`\032\f", 0x0, 0xf6f7da1c "", 0xf56a2cd4 "045791852",
0xf56a2cd4 "045791852", 0xf5e8c528 "045791852",
  0x9c03038 "045791852", 0x809fb9a "\017¶D$0\211÷\211ë¾P", 0xf56a2cd4
"045791852", 0xf5e8c528 "045791852", 0x4f "", 0x0,
  0x0, 0x0, 0xf6fad79e "\201ÃVH", 0x0, 0x0, 0xf56a2cf4 "", 0xf6fb441c "",
0xf5e8c528 "045791852",
---Type <return> to continue, or q <return> to quit---
  0x37353430 <Address 0x37353430 out of bounds>, 0x35383139 <Address
0x35383139 out of bounds>, 0x32 "",
  0x0 <repeats 12 times>, 0x809f26c "\213\233ü\003", 0x9c032b8
"z\234\036Ch\236\v", 0x0, 0x0, 0x0}
        passdata = "ZAP/r1/300012", '\0' <repeats 8178 times>
        stacklen = 0
        tmp = "\033[1;36;40mDial\033[0;37;40m", '\0' <repeats 55 times>
        tmp2 = "\033[1;35;40mSIP/10.223.51.173-f4d874a0\033[0;37;40m", '\0'
<repeats 33 times>
        tmp3 = "\033[1;35;40mZAP/r1/300012\033[0;37;40m", '\0' <repeats 8158
times>
        atmp = '\0' <repeats 79 times>
        atmp2 = '\0' <repeats 8291 times>
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
#7  0x0808cd96 in __ast_pbx_run (c=0xf5e75370) at pbx.c:2234
        digit = 0
        exten = '\0' <repeats 255 times>
        pos = 0
        waittime = 1
        res = 0
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
#8  0x0808eaee in pbx_thread (data=0xf5e75370) at pbx.c:2521
No locals.
#9  0xf6fa8ce1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#10 0xf6f1db3a in clone () from /lib/i686/libc.so.6
No symbol table info available.
(gdb)


Thanks
CCF





More information about the asterisk-dev mailing list