[Home]

Summary:ASTERISK-20150: Segmentation Fault after several rounds of users joining a conference with a "hangup request all"
Reporter:Ben Aragon (bargs)Labels:
Date Opened:2012-07-19 11:14:20Date Closed:2018-01-02 08:30:35.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:10.6.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Ubuntu 10.04Attachments:( 0) asterisk_log.txt
( 1) backtrace.txt
Description:Test setup has 3 users as conference call participants.
User0 dials in to the conference call.
User0 presses key (0) to instruct asterisk to invite the other 2 users into the conference.
Verified that all 3 users were now call participants and can actively communicate.

Use CLI "hangup request all" to terminate the conference.

Ran this sequence several times and at some point (usually around 8th try), asterisk only sends BYE to 2 users leaving 1 thinking it is still in a call. 'confbridge list' shows empty.

At this point, asterisk either crashes right away, or crashes at the next INVITE from the User0.

Below are the confbridge/extentions setting:

{noformat}
;extensions.conf
[general]
static=yes
writeprotect=no

; called via User0 dialing 3333 into conf, then pressing 0
[adduser]
exten => s,1,Originate(SIP/User1,exten,confroom,3333,1)
exten => s,n,Originate(SIP/User2,exten,confroom,3333,1)

[confroom]
exten => 3333,1,ConfBridge(3333,default_bridge,control_user,default_menu)

[users]
include => confroom


;confbridge.conf
[general]

[default_bridge]
type=bridge
max_members=20
mixing_interval=10
internal_sample_rate=auto
record_conference=no

[control_user]
type=user
music_on_hold_when_empty=yes
dsp_drop_silence=yes
denoise=yes
dtmf_passthrough=yes

[default_menu]
type=menu
0=dialplan_exec(adduser,s,1)
{noformat}

Comments:By: Michael L. Young (elguero) 2012-07-19 13:42:37.126-0500

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace



By: Ben Aragon (bargs) 2012-07-24 16:25:09.572-0500

Attached console log and backtrace.

By: Joshua C. Colp (jcolp) 2017-12-19 05:38:24.424-0600

Are you still experiencing this issue? Looking at the backtrace it's in areas that we've modified/rewritten since.

By: Asterisk Team (asteriskteam) 2018-01-02 08:30:35.362-0600

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines