[asterisk-bugs] [JIRA] (ASTERISK-30085) res_parking: Deadlock when parking call dynamically

N A (JIRA) noreply at issues.asterisk.org
Mon May 30 12:07:49 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259344#comment-259344 ] 

N A commented on ASTERISK-30085:
--------------------------------

Well, maybe not a deadlock proper, per se, but there is this:

{noformat}
[2022-05-30 17:05:35] WARNING[14398][C-00000001]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to Local/2425 at rdct-originate-local-00000002;1
[2022-05-30 17:05:36] WARNING[14398][C-00000001]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to Local/2425 at rdct-originate-local-00000002;1
[2022-05-30 17:05:37] WARNING[14398][C-00000001]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to Local/2425 at rdct-originate-local-00000002;1
{noformat}

core show locks:
{noformat}

=======================================================================
=== 18.9.0
=== Currently Held Locks
=======================================================================
===
=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 0x7f8fd7ed3700 LWP:14400 (pbx_thread           started at [ 4730] pbx.c ast_pbx_start())
=== ---> Lock #0 (pbx.c): WRLOCK 8982 ast_wrlock_context &con->lock 0x7f8ffc0cc980 (1)
        asterisk __ast_rwlock_wrlock()
        asterisk ast_wrlock_context()
        [0x7f8fe258d777] res_parking.so res_parking.c:796 parking_lot_cfg_create_extensions()
        [0x7f8fe258edc8] res_parking.so res_parking.c:1036 create_dynamic_lot_full()
        [0x7f8fe258f014] res_parking.so res_parking.c:1062 parking_create_dynamic_lot()
        [0x7f8fe25941cc] res_parking.so parking_applications.c:504 park_common_setup()
        [0x7f8fe25943d5] res_parking.so parking_applications.c:540 park_application_setup()
        [0x7f8fe2594563] res_parking.so parking_applications.c:564 park_app_exec()
        asterisk pbx_exec()
        asterisk <unknown>()
        asterisk ast_spawn_extension()
        asterisk <unknown>()
        asterisk <unknown>()
        asterisk <unknown>()
        [0x7f90048d1fa3] libpthread.so.0 pthread_create.c:487 start_thread()
        [0x7f9004365eff] libc.so.6 clone.S:97 clone()
=== -------------------------------------------------------------------
===
=======================================================================

{noformat}

Additionally, the channel can't be soft hung up. *Something* is stuck. It is stuck executing the Park application.

> res_parking: Deadlock when parking call dynamically
> ---------------------------------------------------
>
>                 Key: ASTERISK-30085
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30085
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_parking
>    Affects Versions: 18.9.0
>            Reporter: N A
>            Assignee: Unassigned
>            Severity: Major
>         Attachments: akriekcyui.txt, mcfbcownho.txt
>
>
> Asterisk deadlocks when parking a call.
> Because the deadlock is in the dialplan, Asterisk must be restarted to clear the deadlock.
> {noformat}
> [rdct]
> context => parkedcalls
> parkpos => 1-9999999
> parkingtime = 90
> comebacktoorigin = no
> comebackcontext = park-recall
> comebackdialtime = 9999999
> parkedmusicclass = default
> {noformat}



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



More information about the asterisk-bugs mailing list