Summary: | ASTERISK-17908: [patch] Deadlock ast_channel_cmp_cb | ||
Reporter: | Gregory Hinton Nietsky (irroot) | Labels: | |
Date Opened: | 2011-05-23 08:48:17 | Date Closed: | 2011-06-28 16:01:36 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/Channels |
Versions: | 1.8.4 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) ast_channel_cmp_cb.lock.patch | |
Description: | === Thread ID: 0xac887b70 (do_monitor started at [24921] chan_sip.c restart_monitor()) === ---> Lock #0 (chan_sip.c): MUTEX 24445 handle_request_do &netlock 0xb3a67a20 (1) === ---> Lock #1 (chan_sip.c): MUTEX 22757 handle_request_refer p 0xb6b06b8 (1) === ---> Lock #2 (pbx.c): MUTEX 7830 ast_async_goto chan 0xb636778 (1) === ---> Waiting for Lock #3 (astobj2.c): MUTEX 493 internal_ao2_link c 0xb71875e0 (1) === --- ---> Locked Here: astobj2.c line 657 (internal_ao2_callback) === ------------------------------------------------------------------- === === Thread ID: 0xaac87b70 (pbx_thread started at [ 5083] pbx.c ast_pbx_start()) === ---> Lock #0 (cdr.c): RDLOCK 1131 post_cdr &(&be_list)->lock 0x81f3188 (1) === ---> Waiting for Lock #1 (astobj2.c): MUTEX 657 internal_ao2_callback c 0xb71875e0 (1) === --- ---> Locked Here: astobj2.c line 657 (internal_ao2_callback) === ------------------------------------------------------------------- === === Thread ID: 0xaacffb70 (pbx_thread started at [ 5083] pbx.c ast_pbx_start()) === ---> Lock #0 (astobj2.c): MUTEX 657 internal_ao2_callback c 0xb71875e0 (1) === ---> Waiting for Lock #1 (channel.c): MUTEX 1641 ast_channel_cmp_cb chan 0xb636778 (1) === --- ---> Locked Here: pbx.c line 7830 (ast_async_goto) === ------------------------------------------------------------------- | ||
Comments: | By: Gregory Hinton Nietsky (irroot) 2011-05-23 08:55:19 locktry must be initilised 0 not 10 By: David Vossel (dvossel) 2011-06-28 16:01:30.220-0500 This has been resolved. r324364 in 1.8 fixed this. |