[asterisk-bugs] [JIRA] (ASTERISK-22363) 'Bad Magic Number' with bridge Application after ~150 bridges

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Aug 21 17:35:03 CDT 2013


Rusty Newton created ASTERISK-22363:
---------------------------------------

             Summary: 'Bad Magic Number' with bridge Application after ~150 bridges
                 Key: ASTERISK-22363
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22363
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Bridges/bridge_simple
    Affects Versions: 11.3.0, 11.4.0, 11.5.0
         Environment: VMWare Virtual Machine  with 4GB RAM and 4 Vcpu, the environment is running over an hp server with 16 GB RAM and an Intel Xeon E5520 QuadCore Processor.
The OS is an Centos 6.4 AND Asterisk 11.5 Versión
            Reporter: Fabian Andrey Garzón Niño
            Assignee: Rusty Newton


We are trying to use the Asterisk Bridge application but when we have more than 150 bridges, Asterisk shows the 'Bad Magic Number' error.
When the 'Bad Magic Number' error occurs the hardware performance is normal (CPU and RAM memory) without substantial increase.
we recompiled Asterisk following the Reference Count Debugging Document and we will attach the debug information.

Operating System : CentOS 6.4 Kernel 2.6.32-358.el6.i686 
Asterisk : Asterisk 11.5.0

this is the Dialplan for the case:

Global Variables
{noformat}
CONFBRIDGEVAL=4000
CONFBRIDGESMF=1
BRIDGELASTCHANNEL=string
{noformat}

Dial-plan
{noformat}
;;BRIDGE
exten => _X.,1,NoOp(${GLOBAL(CONFBRIDGESMF)})
exten => _X.,2,NoOp(${GLOBAL(BRIDGELASTCHANNEL)})
exten => _X.,n,GotoIf($[${GLOBAL(CONFBRIDGESMF)} = 0]?confbridge1:confbridge2)
exten => _X.,n(confbridge1),Set(GLOBAL(BRIDGELASTCHANNEL)=${CHANNEL})
exten => _X.,n,Set(GLOBAL(CONFBRIDGESMF)=1)
exten => _X.,n(play),Playback(tt-monkeys)
exten => _X.,n,Wait(10)
exten => _X.,n,Goto(play)
exten => _X.,n(confbridge2),Set(GLOBAL(CONFBRIDGESMF)=0)
exten => _X.,n,Bridge(${GLOBAL(BRIDGELASTCHANNEL)})
exten => _X.,n,Hangup
{noformat}

Steps required to reproduce the issue :
using the dialplan above, create more than 150 bridges.

Thanks in advance!

--
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