[asterisk-bugs] [JIRA] (ASTERISK-30481) chan_console: Hangs on placing calls
N A (JIRA)
noreply at issues.asterisk.org
Mon Apr 3 13:39:03 CDT 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-30481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261692#comment-261692 ]
N A commented on ASTERISK-30481:
--------------------------------
Pa_ReadStream is a blocking call, so keeping console pvt locked there seems likely to cause all sorts of issues.
If you move the console_pvt_lock/unlock at line 281 to wrap the pvt->owner check a couple lines below, does this resolve your deadlock issue (without causing further issues)? A quick test of this for me effected a big improvement. However, I haven't studied how this will affect other things.
> chan_console: Hangs on placing calls
> ------------------------------------
>
> Key: ASTERISK-30481
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30481
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/General
> Affects Versions: 20.2.0
> Environment: Ubuntu 22 - 5.15.0-69-generic
> Reporter: Sebastian Gutierrez
> Assignee: Unassigned
>
> Asterisk from scratch no modifications after the 2 call to this basic dialplan asterisk gets unresponsive
> {code:none}
> [test]
> exten=> 1,1,Answer()
> exten=> 1,2,Set(result=${CURL(https://dummyjson.com/products)})
> exten=> 1,3,NoOp(${result})
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list