[asterisk-bugs] [JIRA] (ASTERISK-27847) Asterisk Crashes (Excessive refcount)

Jestin Philip (JIRA) noreply at issues.asterisk.org
Thu May 10 09:50:56 CDT 2018


Jestin Philip created ASTERISK-27847:
----------------------------------------

             Summary: Asterisk Crashes (Excessive refcount)
                 Key: ASTERISK-27847
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27847
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/CodecHandling, Sounds
    Affects Versions: 13.21.0
            Reporter: Jestin Philip


We have an asterisk system with 1009 sip extensions. Around 600 are registered. 
We get around 100 active channels/50 active calls at the same time.

Recently asterisk started to crash frequently with the following error on the CLI

[May 10 14:56:42] ERROR[14464][C-0000080f]: astobj2.c:518 __ao2_ref: Excessive refcount 100000 reached on ao2 object 0x12f5628
[May 10 14:56:42] ERROR[14464][C-0000080f]: astobj2.c:518 __ao2_ref: FRACK!, Failed assertion Excessive refcount 100000 reached on ao2 object 0x12f5628 (0)
Got 14 backtrace records
#0: [0x60d01e] main/utils.c:2487 __ast_assert_failed() (0x60cf96+88)
#1: [0x45d823] main/astobj2.c:437 internal_ao2_ref()
#2: [0x45db98] main/astobj2.c:519 __ao2_ref() (0x45db67+31)
#3: [0x528113] main/frame.c:348 ast_frdup() (0x527ea7+26C)
#4: [0x4641bd] main/audiohook.c:341 audiohook_read_frame_both()
#5: [0x464470] main/audiohook.c:396 audiohook_read_frame_helper()
#6: [0x46469b] main/audiohook.c:452 ast_audiohook_read_frame_all() (0x464651+4A)
#7: [0x7fa936b14ddb] apps/app_mixmonitor.c:693 mixmonitor_thread()
#8: [0x609a8f] main/utils.c:1239 dummy_start()


We also get a similar error whenever we do a module reload

[May 10 14:58:49] ERROR[16049]: astobj2.c:518 __ao2_ref: Excessive refcount 100000 reached on ao2 object 0xc808b8
[May 10 14:58:49] ERROR[16049]: astobj2.c:518 __ao2_ref: FRACK!, Failed assertion Excessive refcount 100000 reached on ao2 object 0xc808b8 (0)
Got 28 backtrace records
#0: [0x60d01e] main/utils.c:2487 __ast_assert_failed() (0x60cf96+88)
#1: [0x45d823] main/astobj2.c:437 internal_ao2_ref()
#2: [0x45db98] main/astobj2.c:519 __ao2_ref() (0x45db67+31)
#3: [0x525541] main/format_cap.c:226 __ast_format_cap_append() (0x5254c9+78)
#4: [0x567e95] main/media_index.c:335 update_file_format_info()
#5: [0x567f63] main/media_index.c:363 process_media_file()
#6: [0x5689bb] main/media_index.c:507 process_file()
#7: [0x568da3] main/media_index.c:577 media_index_update()
#8: [0x568d52] main/media_index.c:564 media_index_update()
#9: [0x568ce7] main/media_index.c:560 media_index_update()
#10: [0x568e6d] main/media_index.c:591 ast_media_index_update() (0x568e45+28)
#11: [0x5d42cd] main/sounds.c:106 update_index_cb()
#12: [0x45e9d9] main/astobj2_container.c:354 internal_ao2_traverse()
#13: [0x45ed0b] main/astobj2_container.c:456 __ao2_callback() (0x45ecac+5F)
#14: [0x5d43f5] main/sounds.c:138 ast_sounds_reindex() (0x5d42fc+F9)
#15: [0x53cba8] main/loader.c:1017 ast_module_reload() (0x53c96e+23A)
#16: [0x4d36b0] main/cli.c:274 handle_reload()
#17: [0x4dc6cb] main/cli.c:2808 ast_cli_command_full() (0x4dc457+274)
#18: [0x7fa960fde53f] res/res_clialiases.c:149 cli_alias_passthrough()
#19: [0x4dc6cb] main/cli.c:2808 ast_cli_command_full() (0x4dc457+274)
#20: [0x4dc82f] main/cli.c:2835 ast_cli_command_multiple_full() (0x4dc797+98)
#21: [0x455631] main/asterisk.c:1549 netconsole()
#22: [0x609a8f] main/utils.c:1239 dummy_start()

Could it be we just have too many sip extensions ? We use chan_sip and not chan_pjsip.





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



More information about the asterisk-bugs mailing list