[asterisk-bugs] [JIRA] (ASTERISK-25547) Asterisk crashed when user came in confbridge

Dmitry Burilov (JIRA) noreply at issues.asterisk.org
Tue Feb 9 09:10:33 CST 2016


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

Dmitry Burilov commented on ASTERISK-25547:
-------------------------------------------

I'm sorry for delay. Backtrace below
{noformat}
Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004f000e in ast_slinear_saturated_multiply (input=0x0, value=0x7fe4b65cd752) at /opt/rpmbuild/BUILD/asterisk-11.7.0/include/asterisk/utils.h:350

warning: Source file is more recent than executable.
350		res = (int) *input * *value;
(gdb) bt
#0  0x00000000004f000e in ast_slinear_saturated_multiply (input=0x0, value=0x7fe4b65cd752) at /opt/rpmbuild/BUILD/asterisk-11.7.0/include/asterisk/utils.h:350
#1  0x00000000004f3069 in ast_frame_adjust_volume (f=0x7fe4f44952e0, adjustment=1) at frame.c:1198
#2  0x00007fe4d403c2ad in volume_callback (audiohook=0x7fe4f443a1a0, chan=0x7fe4f43137b8, frame=0x7fe4f44952e0, direction=AST_AUDIOHOOK_DIRECTION_READ) at func_volume.c:146
#3  0x0000000000452f8b in audio_audiohook_write_list (chan=0x7fe4f43137b8, audiohook_list=0x7fe4f443bc10, direction=AST_AUDIOHOOK_DIRECTION_READ, frame=0x7fe4f44952e0) at audiohook.c:862
#4  0x0000000000453141 in ast_audiohook_write_list (chan=0x7fe4f43137b8, audiohook_list=0x7fe4f443bc10, direction=AST_AUDIOHOOK_DIRECTION_READ, frame=0x7fe4f44952e0) at audiohook.c:920
#5  0x000000000047e403 in __ast_read (chan=0x7fe4f43137b8, dropaudio=0) at channel.c:4267
#6  0x000000000047ea79 in ast_read (chan=0x7fe4f43137b8) at channel.c:4366
#7  0x000000000045595b in ast_bridge_handle_trip (bridge=0x7fe4f4530408, bridge_channel=0x7fe4f4239328, chan=0x7fe4f43137b8, outfd=-99999) at bridging.c:294
#8  0x0000000000457d68 in bridge_channel_join_multithreaded (bridge_channel=0x7fe4f4239328) at bridging.c:768
#9  0x0000000000458e7f in bridge_channel_join (bridge_channel=0x7fe4f4239328) at bridging.c:1001
#10 0x0000000000459967 in ast_bridge_join (bridge=0x7fe4f4530408, chan=0x7fe4f43137b8, swap=0x0, features=0x7fe4b65d13b0, tech_args=0x7fe4b65d13e0) at bridging.c:1123
#11 0x00007fe4c05b8599 in confbridge_exec (chan=0x7fe4f43137b8, data=0x7fe4b65d1a40 "26,conf_bridge,conf_user,conf_user_menu") at app_confbridge.c:1796
#12 0x000000000052a509 in pbx_exec (c=0x7fe4f43137b8, app=0x35c2240, data=0x7fe4b65d1a40 "26,conf_bridge,conf_user,conf_user_menu") at pbx.c:1622
#13 0x000000000053505b in pbx_extension_helper (c=0x7fe4f43137b8, con=0x0, context=0x7fe4f4314608 "confbridge", exten=0x7fe4f4314658 "join26", priority=15, label=0x0, 
    callerid=0x7fe4f43fa160 "skype:Margarita_Anisimova", action=E_SPAWN, found=0x7fe4b65d5b2c, combined_find_spawn=1) at pbx.c:4922
#14 0x00000000005384d2 in ast_spawn_extension (c=0x7fe4f43137b8, context=0x7fe4f4314608 "confbridge", exten=0x7fe4f4314658 "join26", priority=15, 
    callerid=0x7fe4f43fa160 "skype:Margarita_Anisimova", found=0x7fe4b65d5b2c, combined_find_spawn=1) at pbx.c:6038
#15 0x0000000000539b76 in __ast_pbx_run (c=0x7fe4f43137b8, args=0x0) at pbx.c:6513
#16 0x000000000053b484 in pbx_thread (data=0x7fe4f43137b8) at pbx.c:6843
#17 0x0000000000599eba in dummy_start (data=0x7fe4f430e480) at utils.c:1162
#18 0x00007fe51ac90a51 in start_thread (arg=0x7fe4b65d6700) at pthread_create.c:301
#19 0x00007fe51c26e93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) f 2
#2  0x00007fe4d403c2ad in volume_callback (audiohook=0x7fe4f443a1a0, chan=0x7fe4f43137b8, frame=0x7fe4f44952e0, direction=AST_AUDIOHOOK_DIRECTION_READ) at func_volume.c:146
warning: Source file is more recent than executable.
146			ast_frame_adjust_volume(frame, *gain);
(gdb) bt full
#0  0x00000000004f000e in ast_slinear_saturated_multiply (input=0x0, value=0x7fe4b65cd752) at /opt/rpmbuild/BUILD/asterisk-11.7.0/include/asterisk/utils.h:350
        res = 32740
#1  0x00000000004f3069 in ast_frame_adjust_volume (f=0x7fe4f44952e0, adjustment=1) at frame.c:1198
        count = 0
        fdata = 0x0
        adjust_value = 1
#2  0x00007fe4d403c2ad in volume_callback (audiohook=0x7fe4f443a1a0, chan=0x7fe4f43137b8, frame=0x7fe4f44952e0, direction=AST_AUDIOHOOK_DIRECTION_READ) at func_volume.c:146
        datastore = 0x7fe4f41608e0
        vi = 0x7fe4f443a1a0
        gain = 0x7fe4f443bbfc
#3  0x0000000000452f8b in audio_audiohook_write_list (chan=0x7fe4f43137b8, audiohook_list=0x7fe4f443bc10, direction=AST_AUDIOHOOK_DIRECTION_READ, frame=0x7fe4f44952e0) at audiohook.c:862
        __list_head = 0x7fe4f443c078
        __list_next = 0x0
        __list_prev = 0x0
        __list_current = 0x7fe4f443a1a0
        start_frame = 0x7fe4f44952e0
        middle_frame = 0x7fe4f44952e0
        end_frame = 0x7fe4f44952e0
        audiohook = 0x7fe4f443a1a0
        samples = 160
        middle_frame_manipulated = 0
        removed = 0
        __PRETTY_FUNCTION__ = "audio_audiohook_write_list"
#4  0x0000000000453141 in ast_audiohook_write_list (chan=0x7fe4f43137b8, audiohook_list=0x7fe4f443bc10, direction=AST_AUDIOHOOK_DIRECTION_READ, frame=0x7fe4f44952e0) at audiohook.c:920
No locals.
#5  0x000000000047e403 in __ast_read (chan=0x7fe4f43137b8, dropaudio=0) at channel.c:4267
        old_frame = 0x7fe4f44952e0
---Type <return> to continue, or q <return> to quit---
        readq_tail = 0x0
        read_action_payload = 0x3ff9999998000000
        connected = {id = {name = {str = 0x656ba36db <Address 0x656ba36db out of bounds>, char_set = -198101064, presentation = 32740, valid = 32 ' '}, number = {
              str = 0x47b4e2 "\353fH\203\275\b\377\377\377", plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', 
              valid = 0 '\000'}, tag = 0x600000000 <Address 0x600000000 out of bounds>}, ani = {name = {str = 0x900000000 <Address 0x900000000 out of bounds>, char_set = 0, 
              presentation = 10, valid = 0 '\000'}, number = {str = 0x7fe4c05c89d4 "app_confbridge.c", plan = -1235428048, presentation = 32740, valid = 139 '\213'}, subaddress = {
              str = 0x200000001 <Address 0x200000001 out of bounds>, type = 1, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x7fe4f447e3d0 ""}, priv = {name = {str = 0x0, 
              char_set = 471871338, presentation = 8, valid = 164 '\244'}, number = {str = 0x0, plan = 303, presentation = 65539, valid = 33 '!'}, subaddress = {
              str = 0x300000122 <Address 0x300000122 out of bounds>, type = -199870112, odd_even_indicator = 228 '\344', valid = 127 '\177'}, tag = 0x0}, ani2 = 48, source = 6}
        f = 0x7fe4f44952e0
        prestate = 6
        cause = 0
        __PRETTY_FUNCTION__ = "__ast_read"
#6  0x000000000047ea79 in ast_read (chan=0x7fe4f43137b8) at channel.c:4366
No locals.
#7  0x000000000045595b in ast_bridge_handle_trip (bridge=0x7fe4f4530408, bridge_channel=0x7fe4f4239328, chan=0x7fe4f43137b8, outfd=-99999) at bridging.c:294
        frame = 0xf
        __PRETTY_FUNCTION__ = "ast_bridge_handle_trip"
#8  0x0000000000457d68 in bridge_channel_join_multithreaded (bridge_channel=0x7fe4f4239328) at bridging.c:768
        fds = {-1, 0, 0, 0}
        nfds = 0
        i = 0
        outfd = -99999
        ms = -1
        chan = 0x7fe4f43137b8
        __PRETTY_FUNCTION__ = "bridge_channel_join_multithreaded"
#9  0x0000000000458e7f in bridge_channel_join (bridge_channel=0x7fe4f4239328) at bridging.c:1001
---Type <return> to continue, or q <return> to quit---
        formats = {{id = AST_FORMAT_SLINEAR, fattr = {format_attr = {0 <repeats 64 times>}, rtp_marker_bit = 0 '\000'}}, {id = AST_FORMAT_SLINEAR, fattr = {format_attr = {
                0 <repeats 64 times>}, rtp_marker_bit = 0 '\000'}}}
        state = AST_BRIDGE_CHANNEL_STATE_WAIT
        __PRETTY_FUNCTION__ = "bridge_channel_join"
        __FUNCTION__ = "bridge_channel_join"
#10 0x0000000000459967 in ast_bridge_join (bridge=0x7fe4f4530408, chan=0x7fe4f43137b8, swap=0x0, features=0x7fe4b65d13b0, tech_args=0x7fe4b65d13e0) at bridging.c:1123
        bridge_channel = 0x7fe4f4239328
        state = AST_BRIDGE_CHANNEL_STATE_HANGUP
        __PRETTY_FUNCTION__ = "ast_bridge_join"
#11 0x00007fe4c05b8599 in confbridge_exec (chan=0x7fe4f43137b8, data=0x7fe4b65d1a40 "26,conf_bridge,conf_user,conf_user_menu") at app_confbridge.c:1796
        res = 0
        volume_adjustments = {0, 0}
        quiet = 0
        parse = 0x7fe4b65ce070 "26"
        b_profile_name = 0x7fe4b65ce073 "conf_bridge"
        u_profile_name = 0x7fe4b65ce07f "conf_user"
        conference_bridge = 0x7fe4f422ebe8
        conference_bridge_user = {conference_bridge = 0x7fe4f422ebe8, b_profile = {name = "conf_bridge", '\000' <repeats 52 times>, language = "en", '\000' <repeats 37 times>, 
            rec_file = '\000' <repeats 4095 times>, flags = 8, max_members = 100, internal_sample_rate = 16000, mix_interval = 20, sounds = 0x35b4538}, u_profile = {
            name = "conf_user", '\000' <repeats 118 times>, pin = '\000' <repeats 79 times>, moh_class = "default", '\000' <repeats 120 times>, 
            announcement = '\000' <repeats 4095 times>, flags = 38976, announce_user_count_all_after = 0, talking_threshold = 0, silence_threshold = 160}, 
          menu_name = "conf_user_menu", '\000' <repeats 49 times>, name_rec_location = '\000' <repeats 4095 times>, chan = 0x7fe4f43137b8, features = {hooks = {first = 0x7fe4f4217630, 
              last = 0x7fe4f4246f80}, talker_cb = 0x7fe4c05b77f1 <conf_handle_talker_cb>, talker_destructor_cb = 0x7fe4c05b77d7 <conf_handle_talker_destructor>, 
            talker_pvt_data = 0x7fe4f430e430, feature_flags = {flags = 0}, usable = 1, mute = 0, dtmf_passthrough = 0}, tech_args = {talking_threshold = 160, silence_threshold = 160, 
            drop_silence = 1}, suspended_moh = 0, kicked = 0, playing_moh = 0, post_join_list = {first = 0x0, last = 0x0}, list = {next = 0x7fe4b5d92180}}
        args = {argc = 4, argv = 0x7fe4b65ce150, conf_name = 0x7fe4b65ce070 "26", b_profile_name = 0x7fe4b65ce073 "conf_bridge", u_profile_name = 0x7fe4b65ce07f "conf_user", 
          menu_name = 0x7fe4b65ce089 "conf_user_menu"}
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "confbridge_exec"
#12 0x000000000052a509 in pbx_exec (c=0x7fe4f43137b8, app=0x35c2240, data=0x7fe4b65d1a40 "26,conf_bridge,conf_user,conf_user_menu") at pbx.c:1622
        res = 0
        u = 0x7fe4f402b4f0
        saved_c_appl = 0x0
        saved_c_data = 0x0
        __PRETTY_FUNCTION__ = "pbx_exec"
#13 0x000000000053505b in pbx_extension_helper (c=0x7fe4f43137b8, con=0x0, context=0x7fe4f4314608 "confbridge", exten=0x7fe4f4314658 "join26", priority=15, label=0x0, 
    callerid=0x7fe4f43fa160 "skype:Margarita_Anisimova", action=E_SPAWN, found=0x7fe4b65d5b2c, combined_find_spawn=1) at pbx.c:4922
        e = 0x3654a60
        app = 0x35c2240
        res = 0
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7fe4f4314608 "confbridge"}
        passdata = "26,conf_bridge,conf_user,conf_user_menu\000al/26 at conference-invite-dialout-000000c0;1,Uniqueid:1455026301.703,ConferenceNo:26,CallerIDnum:skype:Margarita_Anisimova,CallerIDname:Babakova Margarita", '\000' <repeats 5696 times>...
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
#14 0x00000000005384d2 in ast_spawn_extension (c=0x7fe4f43137b8, context=0x7fe4f4314608 "confbridge", exten=0x7fe4f4314658 "join26", priority=15, 
    callerid=0x7fe4f43fa160 "skype:Margarita_Anisimova", found=0x7fe4b65d5b2c, combined_find_spawn=1) at pbx.c:6038
No locals.
#15 0x0000000000539b76 in __ast_pbx_run (c=0x7fe4f43137b8, args=0x0) at pbx.c:6513
        digit = 0
        invalid = 0
        timeout = 0
        dst_exten = '\000' <repeats 32 times>, "8]]\266\344\177\000\000@]]\266\344\177\000\000\000\000\000\000\000\000\000\000H]]\266\344\177", '\000' <repeats 18 times>, "p]]\266\344\177", '\000' <repeats 18 times>, " \000\000\364\344\177\000\000@]]\266\344\177\000\000\220^\n\000\000\000\000\000p\341V\364\344\177\000\000 \000\000\000\000\000\000\000\200^Q\034\345\177\000\000\355\a \034\345\177\000\000x]]\266\344\177\000\000\000\000\000\000\000\000\000\000@]]\266\344\177\000\000\260Yٶ\344\177\000\000\300i]\266\344\177\000\000\340a\217\003\000\000\000\000---Type <return> to continue, or q <return> to quit---
\a\000\000\000\000\000\000\000*\205Y", '\000' <repeats 12 times>, "@$AP", '\000' <repeats 13 times>"\331, \341b\000\000\000\000"
        pos = 0
        found = 1
        res = 0
        autoloopflag = 0
        error = 0
        pbx = 0x7fe4f430e480
        callid = 0x0
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
#16 0x000000000053b484 in pbx_thread (data=0x7fe4f43137b8) at pbx.c:6843
        c = 0x7fe4f43137b8
#17 0x0000000000599eba in dummy_start (data=0x7fe4f430e480) at utils.c:1162
        __clframe = {__cancel_routine = 0x4411ae <ast_unregister_thread>, __cancel_arg = 0x7fe4b65d6700, __do_it = 1, __cancel_type = 0}
        ret = 0x7fe4b65d6a10
        a = {start_routine = 0x53b45f <pbx_thread>, data = 0x7fe4f43137b8, name = 0x7fe4f402b4a0 "pbx_thread", ' ' <repeats 11 times>, "started at [ 6869] pbx.c ast_pbx_start()"}
#18 0x00007fe51ac90a51 in start_thread (arg=0x7fe4b65d6700) at pthread_create.c:301
        __res = <value optimized out>
        pd = 0x7fe4b65d6700
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140620288845568, 9007671450525153678, 140620296968624, 140620288846272, 59728352, 7, -9022748758198535794, -9021949307618936434}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        pagesize_m1 = <value optimized out>
        sp = <value optimized out>
        freesize = <value optimized out>
#19 0x00007fe51c26e93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.
(gdb)
{noformat}

> Asterisk crashed when user came in confbridge
> ---------------------------------------------
>
>                 Key: ASTERISK-25547
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25547
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 11.7.0
>         Environment: CentOS release 6.4 (Final)
> 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Dmitry Burilov
>            Assignee: Rusty Newton
>            Severity: Critical
>         Attachments: backtrace1.txt.tar.gz, backtrace2.txt.tar.gz
>
>
> Time to time asterisk crashed when user come in conference (application confbridge).



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list