[asterisk-bugs] [JIRA] (ASTERISK-20574) chan_motif crash

Dmitry Melekhov (JIRA) noreply at issues.asterisk.org
Tue Nov 6 00:29:21 CST 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199273#comment-199273 ] 

Dmitry Melekhov commented on ASTERISK-20574:
--------------------------------------------

bt full

#0  __ao2_callback (c=0x0, arg=0xb4a90e34, flags=OBJ_POINTER) at astobj2.c:1188
No locals.
#1  __ao2_find (c=0x0, arg=0xb4a90e34, flags=OBJ_POINTER) at astobj2.c:1219
No locals.
#2  0x0811f53e in find_interface (format1=0xb4c45bd4, format2=0xb4a90e34) at format.c:107
No locals.
#3  format_cmp_helper (format1=0xb4c45bd4, format2=0xb4a90e34) at format.c:314
        res = AST_FORMAT_CMP_EQUAL
        __PRETTY_FUNCTION__ = "format_cmp_helper"
#4  0x080c5b54 in ast_write (chan=0xb4c4534c, fr=0xb4a924f0) at channel.c:5035
        res = -1
        f = <value optimized out>
        count = 0
        __PRETTY_FUNCTION__ = "ast_write"
#5  0xb6f1f979 in conf_run (chan=0xb4c4534c, conf=0xb4c583b8, confflags=0xb4a92e3c, optargs=0xb4a92e10) at app_meetme.c:3959
        user = <value optimized out>
        fd = 72
        dahdic = {chan = 32770, confno = 1023, confmode = 772}
        dahdic_empty = {chan = 0, confno = 0, confmode = 0}
        f = 0xb4a92310
        c = <value optimized out>
        fr = {frametype = AST_FRAME_VOICE, subclass = {integer = 100019, format = {id = AST_FORMAT_SLINEAR, fattr = {format_attr = {
                  0 <repeats 64 times>}, rtp_marker_bit = 0 '\000'}}}, datalen = 320, samples = 160, mallocd = 0, mallocd_hdr_len = 0, 
          offset = 64, src = 0x0, data = {ptr = 0xb4a923b0, uint32 = 3030983600, pad = "\260#\251\264\000\000\000"}, delivery = {tv_sec = 0, 
            tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0}
        outfd = 72
        ms = -1
        nfds = 1
        res = <value optimized out>
        retrydahdi = <value optimized out>
        origfd = 66
        musiconhold = 0
        mohtempstopped = <value optimized out>
        firstpass = 1
        lastmarked = 0
        currentmarked = 0
        ret = <value optimized out>
        x = 1
        menu_active = 0
        menu8_active = 0
        talkreq_manager = 0
        using_pseudo = 1
        duration = 20
        sent_event = 1
        checked = 0
        announcement_played = 0
        now = {tv_sec = 1352173211, tv_usec = 218036}
        dsp = 0xb58ef990
        agi_app = <value optimized out>
        agifile = <value optimized out>
        mod_speex = <value optimized out>
        tmpvar = <value optimized out>
        meetmesecs = '\000' <repeats 29 times>
        exitcontext = '\000' <repeats 79 times>
        recordingtmp = '\000' <repeats 79 times>
        members = "1\000\000\000\000\000\000\000\000"
        dtmf = <value optimized out>
        opt_waitmarked_timeout = 0
        timeout = 0
        bi = {txbufpolicy = 0, rxbufpolicy = 0, numbufs = 32, bufsize = 160, readbufs = 0, writebufs = 0}
        __buf = "m\000\000\000\064\000\300\264\064\000\300\264\000\000\000\000@\000\300\264\003\000\000\000\230$\251\264a\212\237O\b\000\000\000\025\274 \b\353f\237O\001\000\000\000\020\000\300\264\025\274 \bx$\251\264\027\214\237O", '\000' <repeats 319 times>
        exitkeys = 0x0
        calldurationlimit = 0
        timelimit = 10800000
        play_warning = 60000
        warning_freq = 0
        warning_sound = 0xb6f2ddb0 "timeleft"
        end_sound = 0x0
        parse = 0x0
        time_left_ms = <value optimized out>
        nexteventts = {tv_sec = 1352183949, tv_usec = 378862}
        to = <value optimized out>
        setusercount = <value optimized out>
        confsilence = 0
        totalsilence = 0
        mailbox = <value optimized out>
        context = 0x29 <Address 0x29 out of bounds>
        cap_slin = 0xb4c175e8
        tmpfmt = {id = AST_FORMAT_SLINEAR, fattr = {format_attr = {0 <repeats 64 times>}, rtp_marker_bit = 0 '\000'}}
        __PRETTY_FUNCTION__ = "conf_run"
        __FUNCTION__ = "conf_run"
#6  0xb6f2a8ff in conf_exec (chan=0xb4c4534c, data=0xb4a94f04 "6000,TL(10800000:60000)") at app_meetme.c:4760
        req_pin = <value optimized out>
        res = <value optimized out>
        confno = "6000", '\000' <repeats 75 times>
        allowretry = 0
        retrycnt = 0
        cnf = <value optimized out>
        confflags = {flags = 1073774592}
        dynamic = 0
        empty = 0
        empty_no_pin = 0
        always_prompt = 0
        notdata = 0xb4a92e10 ""
        the_pin = '\000' <repeats 79 times>
        args = {argc = 2, argv = 0xb4a92e30, confno = 0xb4a92b80 "6000", options = 0xb4a92b85 "TL(10800000", pin = 0x0}
        optargs = {0x0, 0x0, 0x0, 0xb4a92b88 "10800000", 0x0, 0x0, 0x0}
        __PRETTY_FUNCTION__ = "conf_exec"
#7  0x08165c10 in pbx_exec (c=0xb4c4534c, app=0xb58e3aa0, data=0xb4a94f04 "6000,TL(10800000:60000)") at pbx.c:1589
---Type <re        res = <value optimized out>
        u = 0xa9e0028
        saved_c_appl = 0x0
        saved_c_data = 0x0
        __PRETTY_FUNCTION__ = "pbx_exec"
#8  0x08176a6d in pbx_extension_helper (c=0xb4c4534c, con=0x0, context=0xb4c45f00 "jabber-in", exten=0xb4c45f50 "s", priority=4, label=0x0, 
    callerid=0xb4c1ccf8 "dm", action=E_SPAWN, found=0xb4a97328, combined_find_spawn=1) at pbx.c:4442
        e = <value optimized out>
        app = 0xb58e3aa0
        res = <value optimized out>
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb4c45f00 "jabber-in"}
        passdata = "6000,TL(10800000:60000)\000oogle Talk”", '\000' <repeats 3411 times>, "/var/log/asterisk//cdr-csv//Master.csv", '\000' <repeats 534 times>, "ڷ\232O", '\000' <repeats 32 times>"\241, \001\037\bڷ\232O\000\000\000\000\000\000\000\000\200g\251\264\034?\217\265\340`\251\264\000\000\000\000\004\000\000\000\000\000\000\000\020a\251\264\210a\251\264\000\000\000\000l_\251\264ڷ\232O\034?\217\265\ba\251\264\000\000\000\000\004", '\000' <repeats 11 times>"\220, a\251\264\000\000\000\000\265x\037\b\000\000\000\000\241\001\037\b\217\001\037\bXa\251\264\034?\217\265Xa\251\264\000\000\000\000\004\000\000\000\000\000\000\000"...
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
#9  0x0817be4d in ast_spawn_extension (c=0xb4c4534c, args=0x0) at pbx.c:5558
No locals.
#10 __ast_pbx_run (c=0xb4c4534c, args=0x0) at pbx.c:6030
        digit = 0
        invalid = <value optimized out>
        dst_exten = " s\251\264a\212\237O\\s\251\264", '\000' <repeats 28 times>, "8\344\237\n(\000\000\000\343r\251\264pq\256O\000\000\000\000pq\256O\364\237\260O at q\256O\020\000\000\000 at q\256O", '\000' <repeats 20 times>, "\031\000\000\000pq\256O\000\000\000\000\346}\237O\003\000\000\000\250\003\000\000\000\000\000\000 at q\256OPs\251\264\001\000\000\000@\325\301\264\066\364\246O at q\256O\300\226\253O\000\000\000\000\003\000\000\000\001\000\000\000\000\341\240\n\"y\253O\346}\237O\206\031\260O\020\000\000\000\000\000\000\000\215a\237O\364_\256O at q\256O\000\000\000\000(s\251\264xs\251\264\342\025\b\bXs\251\264\067\362\245O\b\341\240\n\000\000\000\000\220{\251\264(s\251\264R\034\034\b\340\000\000\000\220{\251\264"
        pos = <value optimized out>
        found = 1
        res = 0
        error = 0
        callid = <value optimized out>
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
#11 0x0817e910 in pbx_thread (data=0xb4c4534c) at pbx.c:6360
No locals.
#12 0x081c239b in dummy_start (data=0xb4c1d538) at utils.c:1030
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1262401632, 0, -1263961200, -1263963208, 256271595, -1275907057}, 
              __mask_was_saved = 0}}, __pad = {0xb4a97470, 0x0, 0x4fb09ff4, 0x4fae5ff4}}
        __cancel_arg = 0xb4a97b90
        not_first_call = <value optimized out>
        ret = <value optimized out>
#13 0x4faf8852 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x4fa62a8e in clone () from /lib/libc.so.6
No symbol table info available.
turn> to continue, or q <return> to quit---

                
> chan_motif crash
> ----------------
>
>                 Key: ASTERISK-20574
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20574
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_motif
>    Affects Versions: 11.0.0-beta2
>         Environment: Centos 5.8/x86
>            Reporter: Dmitry Melekhov
>            Assignee: Dmitry Melekhov
>            Severity: Minor
>         Attachments: motif.conf, xmpp.conf
>
>
> I'm trying to test calls between asterisk and psi with chan_motif with 11rc1 and just got crash:
> Program terminated with signal 11, Segmentation fault.
> #0  0x4fa00945 in memcpy () from /lib/libc.so.6
> (gdb) bt
> #0  0x4fa00945 in memcpy () from /lib/libc.so.6
> #1  0x4fb3e04d in ?? () from /lib/libz.so.1
> #2  0x4fb3f162 in ?? () from /lib/libz.so.1
> #3  0x4fb3e2f7 in deflate () from /lib/libz.so.1
> #4  0x4fcbd8aa in ?? () from /lib/libcrypto.so.6
> #5  0x4fcbd42e in COMP_compress_block () from /lib/libcrypto.so.6
> #6  0x4ffa148a in ssl3_do_compress () from /lib/libssl.so.6
> #7  0x4ffa15bd in ?? () from /lib/libssl.so.6
> #8  0x4ffa19d5 in ssl3_write_bytes () from /lib/libssl.so.6
> #9  0x4ff9efb1 in ssl3_write () from /lib/libssl.so.6
> #10 0x4ffb0879 in SSL_write () from /lib/libssl.so.6
> #11 0xb74d1eb9 in xmpp_client_send_raw_message (client=0xb7209f84, stanza=0x9c267e4) at res_xmpp.c:2409
> #12 ast_xmpp_client_send (client=0xb7209f84, stanza=0x9c267e4) at res_xmpp.c:2443
> #13 0xb64e0b4d in jingle_send_session_action (session=0x9c2a26c, action=0xb64e6c9f "session-initiate") at chan_motif.c:1318
> #14 0xb64e5f01 in jingle_send_session_initiate (ast=0x9c3b354, dest=0x9c0dec0 "jabber/dm at jabber.belkam.com", timeout=0) at chan_motif.c:1342
> not big deal just because I can't get sound between asterisk and psi yet, but anyway I guess there should be no crash... :-)
> #15 jingle_call (ast=0x9c3b354, dest=0x9c0dec0 "jabber/dm at jabber.belkam.com", timeout=0) at chan_motif.c:1682
> #16 0x080b8c28 in ast_call (chan=0x9c3b354, addr=0x9c0dec0 "jabber/dm at jabber.belkam.com", timeout=0) at channel.c:5959
> #17 0xb6d7662a in dial_exec_full (chan=0x9c0a544, data=<value optimized out>, peerflags=0xb4b1ae50, continue_exec=0x0) at app_dial.c:2594
> #18 0xb6d7a979 in dial_exec (chan=0x9c0a544, data=0xb4b1cf04 "Motif/jabber/dm at jabber.belkam.com,,r") at app_dial.c:3124
> #19 0x08165b70 in pbx_exec (c=0x9c0a544, app=0xb54954e0, data=0xb4b1cf04 "Motif/jabber/dm at jabber.belkam.com,,r") at pbx.c:1589
> #20 0x081769cd in pbx_extension_helper (c=0x9c0a544, con=0x0, context=0x9c0b0f8 "default", exten=0x9c0b148 "6006", priority=1, label=0x0, 
>     callerid=0x9bfea88 "6401", action=E_SPAWN, found=0xb4b1f328, combined_find_spawn=1) at pbx.c:4442
> #21 0x0817bdad in ast_spawn_extension (c=0x9c0a544, args=0x0) at pbx.c:5558
> #22 __ast_pbx_run (c=0x9c0a544, args=0x0) at pbx.c:6030
> #23 0x0817e870 in pbx_thread (data=0x9c0a544) at pbx.c:6360
> #24 0x081c220b in dummy_start (data=0x9c0d270) at utils.c:1030
> #25 0x4faf8852 in start_thread () from /lib/libpthread.so.0
> #26 0x4fa62a8e in clone () from /lib/libc.so.6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list