Summary:ASTERISK-19213: deadlock on bultin atxfer
Reporter:Patrick El Youssef (wushu_masters)Labels:
Date Opened:2012-01-18 11:37:01.000-0600Date Closed:2012-01-31 13:27:23.000-0600
Versions: Frequency of
Environment:Debian Squeeze 64 bitsAttachments:( 0) core_show_locks_new_.txt
( 1) core_show_locks.txt

In the version or when i do a bultin atxfer the asterisk deadlock.

A calls B
A do the atxfer and B listen MOH
When A type the extension to C the audio stops for A B and C.

Sorry but my englih isnt good
Comments:By: Matt Jordan (mjordan) 2012-01-18 14:42:46.028-0600

Can you reproduce and get an additional core show locks with a version of Asterisk that was compiled with DONT_OPTIMIZE?  Currently, the lock output does not show the symbols, which would be useful for debugging this.  Thanks!

By: Patrick El Youssef (wushu_masters) 2012-01-19 10:17:48.466-0600

core show locks compiled with dont optimize

By: Patrick El Youssef (wushu_masters) 2012-01-19 10:19:14.363-0600

is right now?


By: Richard Mudgett (rmudgett) 2012-01-19 10:39:57.264-0600

It looks like ast_indicate_data() and ast_indicate() cannot be called with the channel or private locks held.
The code needs to be checked that the callers are not holding those locks before calling.

By: Patrick El Youssef (wushu_masters) 2012-01-23 08:08:20.707-0600

the problem happens when I apply the patch faxgateway-1.8.patch2 in this link https://issues.asterisk.org/view.php?id=13405 (ASTERISK-12667).

without the patch everything works

By: Patrick El Youssef (wushu_masters) 2012-01-23 08:24:42.190-0600

Sorry but this is not a bug.

I was using an old patch for asterisk 1.8.

With the new patch works.