[asterisk-bugs] [JIRA] (ASTERISK-21859) Confbridge doesn't tear down an empty conference bridge when all users were kicked via end_marked=yes. Also, side effect crashes.

Jonathan Gibert (JIRA) noreply at issues.asterisk.org
Fri Aug 9 10:35:03 CDT 2013


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

Jonathan Gibert commented on ASTERISK-21859:
--------------------------------------------

Hello,

I had this bug on 11.4.0 and I'm able to reproduce it with 11.5.0 too (but it does not crash asterisk anymore).

I think I have narrowed the root cause around the two following options :
- end_marked
- wait_marked

whenever BOTH options are activated, and with the following scenario, the bug described by Chris happens :
- enter room with normal user and marked user (order does not matter)
- leave the conference with marked user
- normal user is kicked out
- bug occurs

The bug does not occur when wait_marked is not enabled. 
The bug does not occur when both options are activated and the normal user leaves first.
The bug happens with more than one normal user, and with more than one marked user.
                
> Confbridge doesn't tear down an empty conference bridge when all users were kicked via end_marked=yes. Also, side effect crashes.
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21859
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21859
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 11.4.0
>         Environment: Asterisk 11.4.0 on Raspberry Pi with 2-9-2013-debian-wheezy and 11.3.0 running on an Intel Atom w/ Ubuntu 12.04.
>            Reporter: Chris Gentle
>         Attachments: alsa.conf, backtrace.txt, confbridge.conf, conferences.txt, extensions.conf, full, full.txt, leader_connect.sh, leader_disconnect.sh
>
>
> Please reference:
> http://lists.digium.com/pipermail/asterisk-users/2013-June/279231.html
> I've set up a conference where I'm relying on end_marked=yes to kick all participants when the leader exits.  This results in an error as shown below:
> {noformat}
>  << Hangup on console >>
>     -- <Bridge/0x2364be4-input> Playing 'confbridge-leave.slin' (language 'en')
>     -- Stopped music on hold on SIP/gent_2880-00000002
>     -- <SIP/gent_2880-00000002> Playing 'custom/thank-you.ulaw' (language 'en')
>     -- Executing [1000 at conferences:2] Hangup("SIP/gent_2880-00000002",
> "") in new stack
> == Spawn extension (conferences, 1000, 2) exited non-zero on
> 'SIP/gent_2880-00000002'
> {noformat}
> In this case, the conference leader was the alsa console channel.  Once it was hung up, a non-zero exit status caused the confbridge to go into a bad state showing 0 users:
> confbridge list
> {noformat}
> Conference Bridge Name           Users  Marked Locked?
> ================================ ====== ====== ========
> 1000                                  0      0 unlocked
> {noformat}
> Asterisk has to be restarted to clear this.  In a normal exit, a "confbridge list" would not show conference 1000 because it would have been destroyed.
> If no participants are dialed into the conference, everything closes cleanly when the leader exits.
> *The same scenario can be reproduced with only two SIP channels, one marked and one not marked. See comments*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list