[asterisk-bugs] [JIRA] (ASTERISK-30064) pbx: iax2 switch causes crash due to deadlock and assertion

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Jun 6 17:44:49 CDT 2022


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

Friendly Automation commented on ASTERISK-30064:
------------------------------------------------

Change 18564 merged by Kevin Harwell:
chan_iax2: Prevent deadlock due to duplicate autoservice.

[https://gerrit.asterisk.org/c/asterisk/+/18564|https://gerrit.asterisk.org/c/asterisk/+/18564]

> pbx: iax2 switch causes crash due to deadlock and assertion
> -----------------------------------------------------------
>
>                 Key: ASTERISK-30064
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30064
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2, PBX/General
>    Affects Versions: 18.9.0
>         Environment: Debian 10
>            Reporter: N A
>            Severity: Major
>         Attachments: uforrqchjv.txt
>
>
> Attempting to use "switch" with IAX2 causes a crash.
> I am marking this major considering there is a major problem with the dialplan itself.
> {noformat}
> [2022-05-16 10:10:34] NOTICE[7956]: chan_iax2.c:8173 authenticate_verify: Call Terminated, Incoming call is unencrypted while force encrypt is enabled.
> [2022-05-16 10:10:34] NOTICE[7956]: chan_iax2.c:11300 socket_process_helper: Host REDACTED:4569 failed to authenticate as phreaknet
> [2022-05-16 10:10:34] DEBUG[8015][C-00000001]: channel.c:3069 ast_waitfor_nandfds: Thread LWP 8015 is blocking 'REDACTED', already blocked by thread LWP 8008 in procedure ast_waitfor_nandfds
> [2022-05-16 10:10:34] ERROR[8015][C-00000001]: channel.c:3069 ast_waitfor_nandfds: FRACK!, Failed assertion 0 (0)
> [2022-05-16 10:10:34] ERROR[8015][C-00000001]:   Got 17 backtrace records
> # 0: [0x55b6f649c4d1] asterisk utils.c:2727 __ast_assert_failed()
> # 1: [0x55b6f633e320] asterisk utils.h:728 _ast_assert()
> # 2: [0x55b6f6347d49] asterisk channel.c:3069 ast_waitfor_nandfds()
> # 3: [0x7fb216deddfe] chan_iax2.so chan_iax2.c:14305 find_cache()
> # 4: [0x7fb216dee103] chan_iax2.so chan_iax2.c:14368 iax2_exists()
> # 5: [0x55b6f63e6d0b] asterisk pbx.c:2752 pbx_find_extension()
> # 6: [0x55b6f63e7776] asterisk pbx.c:2895 pbx_extension_helper()
> # 7: [0x55b6f63ebd33] asterisk pbx.c:4181 ast_exists_extension()
> # 8: [0x7fb2174061c7] app_stack.so app_stack.c:659 gosub_exec()
> # 9: [0x55b6f63ff3d5] asterisk pbx_app.c:492 pbx_exec()
> #10: [0x55b6f63e7bc3] asterisk pbx.c:2947 pbx_extension_helper()
> #11: [0x55b6f63ebecc] asterisk pbx.c:4206 ast_spawn_extension()
> #12: [0x55b6f63ecc5b] asterisk pbx.c:4380 __ast_pbx_run()
> #13: [0x55b6f63ee604] asterisk pbx.c:4705 pbx_thread()
> #14: [0x55b6f64995f6] asterisk utils.c:1572 dummy_start()
> #15: [0x7fb238832fa3] libpthread.so.0 pthread_create.c:487 start_thread()
> #16: [0x7fb2382c6eff] libc.so.6 clone.S:97 clone()
> {noformat}



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



More information about the asterisk-bugs mailing list