[asterisk-bugs] [JIRA] (ASTERISK-25871) Asterisk deadlock when using confbridge

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Mar 29 13:07:59 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team reopened ASTERISK-25871:
--------------------------------------


> Asterisk deadlock when using confbridge
> ---------------------------------------
>
>                 Key: ASTERISK-25871
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25871
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Resources/res_rtp_asterisk
>    Affects Versions: 13.7.2
>         Environment: CPU Family:Intel Core i3 Sandy Bridge
> Operating System:	Linux Ubuntu 14.04 LTS
> Architecture: 64-bit
> RAM: 8 GB
> Disk Mode: Standalone (No RAID, 1-4 Disks)
> RAID Mode:	None (2-4 Disks)
> 1st Disk:	500 GB HDD
>            Reporter: Val
>         Attachments: backtrace.txt, core-show-locks.txt
>
>
> We use asterisk to mix WEBRTC streams and encounter random deadlocks.
> When there are 2 or more participants in a conference (the number is not relevant, the deadlock may occur when there are only 2 participants and work fine when there are 140, and sometimes vice versa) after a random time 1 CPU goes 100% and all calls are dropped.
> The console doesn't show something special:
> {noformat}
> [Mar 29 18:15:33]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:33]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:33]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:38]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:38]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:38]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:38]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:39]DEBUG[15106]:chan_sip.c:8783 __sip_alloc: Allocating new SIP dialog for 4282459-26fd40e6-56fb7d75 at 178.175.129.194 - REGISTER (No RTP)
> [Mar 29 18:15:39]DEBUG[15106]:chan_sip.c:3715 __sip_xmit: Trying to put 'SIP/2.0 401' onto UDP socket destined for 69.30.232.245:5082
> [Mar 29 18:15:39]NOTICE[15106]:chan_sip.c:27928 handle_request_register:Registration from '"3009" <sip:3009 at 178.175.129.194:5060>' failed for '69.30.232.245:5082' - Not a local domain
> [Mar 29 18:15:39]DEBUG[15106]:res_config_mysql.c:1589 mysql_reconnect: MySQL RealTime: Connection okay.
> [Mar 29 18:15:39]DEBUG[15106]:res_config_mysql.c:377 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sipfriends WHERE name = '' AND host = 'dynamic'
> [Mar 29 18:15:39]DEBUG[15106]:res_config_mysql.c:1589 mysql_reconnect: MySQL RealTime: Connection okay.
> [Mar 29 18:15:39]DEBUG[15106]:res_config_mysql.c:377 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sipfriends WHERE name = ''
> [Mar 29 18:15:40]DEBUG[15106]:chan_sip.c:3715 __sip_xmit: Trying to put 'SIP/2.0 403' onto UDP socket destined for 69.30.232.245:5082
> [Mar 29 18:15:40]NOTICE[15106]:chan_sip.c:27928 handle_request_register: Registration from '"3009" <sip:3009 at 178.175.129.194:5060>' failed for '69.30.232.245:5082' - Not a local domain
> [Mar 29 18:15:40]DEBUG[15106]:res_config_mysql.c:1589 mysql_reconnect: MySQL RealTime: Connection okay.
> [Mar 29 18:15:40]DEBUG[15106]:res_config_mysql.c:377 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sipfriends WHERE name = '' AND host = 'dynamic'
> [Mar 29 18:15:40]DEBUG[15106]:res_config_mysql.c:1589 mysql_reconnect: MySQL RealTime: Connection okay.
> [Mar 29 18:15:40]DEBUG[15106]:res_config_mysql.c:377 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sipfriends WHERE name = ''
> [Mar 29 18:15:43]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:43]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:43]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:43]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:46]DEBUG[15061]:manager.c:6138 process_message: Running action 'Ping'
> [Mar 29 18:15:48]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:48]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:48]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:15:48]DEBUG[15106]:acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> [Mar 29 18:16:16]DEBUG[15061]:manager.c:6138 process_message: Running action 'Ping'
> [Mar 29 18:16:46]DEBUG[15061]:manager.c:6138 process_message: Running action 'Ping'
> {noformat}
> by the way we get a lot of these:
> {noformat}
> [Mar 29 18:15:33] DEBUG[15106]: acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
> {noformat}
> We have compiled our asterisk with DEBUG_THREADS and DONT_OPTIMIZE. 
> Please see core-show-locks.txt and backtrace.txt



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



More information about the asterisk-bugs mailing list