[asterisk-bugs] [JIRA] (ASTERISK-29846) channels: bad ao2 ref causes crash
N A (JIRA)
noreply at issues.asterisk.org
Sat Apr 30 14:08:41 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259030#comment-259030 ]
N A commented on ASTERISK-29846:
--------------------------------
Here is another one, with slightly more detail:
Not sure if it's PJSIP related, but this one here has been consistent for months and there is certainly a bug with the channel list:
{noformat}
[2022-04-30 18:08:42] NOTICE[12062]: loader.c:2389 load_modules: 316 modules will be loaded.
[2022-04-30 18:08:43] ERROR[12204]: Got 11 backtrace records
# 0: asterisk __ast_assert_failed()
# 1: asterisk <unknown>()
# 2: asterisk __ao2_ref()
# 3: asterisk ao2_iterator_init()
# 4: asterisk <unknown>()
# 5: asterisk ast_cli_command_full()
# 6: asterisk ast_cli_command_multiple_full()
# 7: asterisk <unknown>()
# 8: asterisk <unknown>()
# 9: [0x51e5fa3] libpthread.so.0 pthread_create.c:487 start_thread()
#10: [0x5794eff] libc.so.6 clone.S:97 clone()
==12062==
==12062== Process terminating with default action of signal 6 (SIGABRT): dumping core
==12062== at 0x56D37BB: raise (raise.c:51)
==12062== by 0x56BE534: abort (abort.c:79)
==12062== by 0x31A440: ast_do_crash (utils.c:2699)
==12062== by 0x31A4DF: __ast_assert_failed (utils.c:2728)
==12062== by 0x17EEFB: log_bad_ao2 (astobj2.c:212)
==12062== by 0x17F87E: __ao2_ref (astobj2.c:501)
==12062== by 0x182085: ao2_iterator_init (astobj2_container.c:492)
==12062== by 0x1EAFD5: handle_chanlist (cli.c:1152)
==12062== by 0x1F1DDA: ast_cli_command_full (cli.c:3106)
==12062== by 0x1F1F82: ast_cli_command_multiple_full (cli.c:3133)
==12062== by 0x1738F4: netconsole (asterisk.c:1441)
==12062== by 0x3175F5: dummy_start (utils.c:1572)
{noformat}
> channels: bad ao2 ref causes crash
> ----------------------------------
>
> Key: ASTERISK-29846
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29846
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 18.9.0
> Environment: Debian 10
> Reporter: N A
> Assignee: N A
> Attachments: core-asterisk-2022-02-01T17-04-52Z-brief.txt, core-asterisk-2022-02-01T17-04-52Z-full.txt, core-asterisk-2022-02-01T17-04-52Z-info.txt, core-asterisk-2022-02-01T17-04-52Z-locks.txt, core-asterisk-2022-02-01T17-04-52Z-thread1.txt, core-asterisk-2022-02-10T00-46-55Z-full.txt
>
>
> Currently, Asterisk crashes randomly every few days, not seemingly linked to anything going on at the moment. In fact, prior to this crash, the system was completely idle (no calls) for the previous 34 minutes.
> Here is a backtrace from right before the last crash, useful as it has line numbers:
> 01:35:03 ERROR[13076] : Got 10 backtrace records
> # 0: [0x55ca492928cc] asterisk utils.c:2727 __ast_assert_failed()
> # 1: [0x55ca49109db3] asterisk astobj2.c:212 log_bad_ao2()
> # 2: [0x55ca4910a73a] asterisk astobj2.c:501 __ao2_ref()
> # 3: [0x55ca4917269a] asterisk cli.c:1218 handle_chanlist()
> # 4: [0x55ca4917859f] asterisk cli.c:3020 ast_cli_command_full()
> # 5: [0x55ca49178734] asterisk cli.c:3048 ast_cli_command_multiple_full()
> # 6: [0x55ca49101e0c] asterisk asterisk.c:1424 netconsole()
> # 7: [0x55ca4928fb57] asterisk utils.c:1572 dummy_start()
> # 8: [0x7f257c305fa3] libpthread.so.0 pthread_create.c:487 start_thread()
> # 9: [0x7f257bd994cf] libc.so.6 clone.S:97 clone()
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list