Summary: | ASTERISK-26314: MulticastRTP crashes in 13 as of 13.10 | ||||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | |||
Date Opened: | 2016-08-25 07:03:42 | Date Closed: | 2016-08-25 07:15:19 | ||
Priority: | Major | Regression? | Yes | ||
Status: | Closed/Complete | Components: | Channels/chan_multicast_rtp | ||
Versions: | 13.10.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Attachments: | ( 0) 26314.patch | |||
Description: | (Note that the component is really chan_rtp, but it is not on the list)
To reproduce: asterisk -rx 'channel originate MulticastRTP/basic/239.0.1.15:10000 application Playback beep' This crashes asterisk in 13.10.0 and in branch 13 git 134db75e67850513e26addf171b8be79e66ee03d (Wed Aug 10 21:15:15 2016). Works fine with 13.8.2. Below is a back trace from 13.10.0 (on Debian Jessie armhf). Also attached a patch tested in 13 git on Centos 7. {code} #0 strlen () at ../ports/sysdeps/arm/armv6t2/strlen.S:85 #1 0x7556a756 in ast_multicast_rtp_create_options (type=0x7109bc00 "basic", options=0x0) at res_rtp_multicast.c:144 #2 0x733c778e in multicast_rtp_request (type=<optimized out>, cap=0x71aff7fc, assignedids=0x0, requestor=0x75c2ba84, data=0x765055fa "basic/239.0.1.15:10000", cause=<optimized out>) at chan_rtp.c:169 #3 0x76ee7e52 in ast_request (type=0x765055e0 "MulticastRTP", request_cap=request_cap@entry=0x75c284ac, assignedids=0x765055fa, assignedids@entry=0x0, requestor=requestor@entry=0x75c2ba84, addr=addr@entry=0x765055fa "basic/239.0.1.15:10000", cause=0x744ee480, cause@entry=0x7109bed4) at channel.c:6045 #4 0x744eb12e in dial_exec_full (chan=0x75c2ba84, data=<optimized out>, peerflags=peerflags@entry=0x7109c878, continue_exec=continue_exec@entry=0x0) at app_dial.c:2426 #5 0x744eda46 in dial_exec (chan=<optimized out>, data=<optimized out>) at app_dial.c:3141 #6 0x76f6420a in pbx_exec (c=c@entry=0x75c2ba84, app=app@entry=0x7819bee0, data=data@entry=0x7109cb34 "MulticastRTP/basic/239.0.1.15:10000,30,N") at pbx_app.c:485 #7 0x76f5ec96 in pbx_extension_helper (c=c@entry=0x75c2ba84, con=con@entry=0x0, context=context@entry=0x75c2c110 "default-trunk", exten=exten@entry=0x75c2c160 "foooood", priority=priority@entry=1, label=label@entry=0x0, callerid=callerid@entry=0x75c10510 "anonymous", action=<optimized out>, action@entry=E_SPAWN, found=found@entry=0x7109eba0, combined_find_spawn=combined_find_spawn@entry=1) at pbx.c:2834 #8 0x76f5f8ca in ast_spawn_extension (combined_find_spawn=1, found=0x7109eba0, callerid=0x75c10510 "anonymous", priority=1, exten=0x75c2c160 "foooood", context=0x75c2c110 "default-trunk", c=0x75c2ba84) at pbx.c:4060 #9 __ast_pbx_run (c=0x75c2ba84, args=args@entry=0x0) at pbx.c:4235 #10 0x76f609b8 in pbx_thread (data=<optimized out>) at pbx.c:4555 #11 0x76fa9cf0 in dummy_start (data=<optimized out>) at utils.c:1235 #12 0x76a23f88 in start_thread (arg=0x7109f420) at pthread_create.c:311 #13 0x768221fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 {code} | ||||
Comments: | By: Asterisk Team (asteriskteam) 2016-08-25 07:03:42.787-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Joshua C. Colp (jcolp) 2016-08-25 07:15:19.256-0500 This has been fixed in git already as of last night. By: Joshua C. Colp (jcolp) 2016-08-25 10:08:49.478-0500 Code reviews in question: https://gerrit.asterisk.org/3694 https://gerrit.asterisk.org/3696 https://gerrit.asterisk.org/3695 https://gerrit.asterisk.org/3697 |