[asterisk-bugs] [JIRA] (ASTERISK-29481) Asterisk Randomly Crash with astobj2.c: FRACK!, Failed assertion bad magic number

Asoka Wardhana (JIRA) noreply at issues.asterisk.org
Thu Jun 17 11:29:33 CDT 2021


Asoka Wardhana created ASTERISK-29481:
-----------------------------------------

             Summary: Asterisk Randomly Crash with astobj2.c: FRACK!, Failed assertion bad magic number
                 Key: ASTERISK-29481
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29481
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 13.38.2
         Environment: Ubuntu 14.04 , Intel(R) Xeon(R) CPU E5-2407 v2 @ 2.40GHz, 16 GB Mem
            Reporter: Asoka Wardhana
            Severity: Critical


We upgrade Asterisk from 11.22.0 to 13.38.2, SIP User using TCP Transport, when using 11.22.0 no issue, but after upgrade to 13.38.2 Asterisk randomly crash with information on full log : 

[Jun 17 19:45:04] ERROR[29771] astobj2.c: FRACK!, Failed assertion bad magic number 0x0 for object 0x3bd1468 (0)
[Jun 17 19:45:05] ERROR[29771] : Got 18 backtrace records
# 0: [0x612635] asterisk utils.c:2487 __ast_assert_failed()
# 1: [0x45e291] asterisk astobj2.c:137 INTERNAL_OBJ()
# 2: [0x45e938] asterisk astobj2.c:404 internal_ao2_ref()
# 3: [0x45edfc] asterisk astobj2.c:524 __ao2_ref()
# 4: [0x45f9ef] asterisk astobj2_container.c:405 internal_ao2_traverse()
# 5: [0x45fce8] asterisk astobj2_container.c:469 __ao2_callback_data()
# 6: [0x7f1c6ee1e8a4] chan_sip.so chan_sip.c:5745 sip_find_peer_full()
# 7: [0x7f1c6ee1eaf7] chan_sip.so chan_sip.c:5803 sip_find_peer()
# 8: [0x7f1c6ee5af43] chan_sip.so chan_sip.c:17852 register_verify()
# 9: [0x7f1c6ee94bc0] chan_sip.so chan_sip.c:28803 handle_request_register()
#10: [0x7f1c6ee96425] chan_sip.so chan_sip.c:29111 handle_incoming()
#11: [0x7f1c6ee96e06] chan_sip.so chan_sip.c:29279 handle_request_do()
#12: [0x7f1c6ee1557e] chan_sip.so chan_sip.c:3093 _sip_tcp_helper_thread()
#13: [0x7f1c6ee14053] chan_sip.so chan_sip.c:2622 sip_tcp_worker_fn()
#14: [0x5fb299] asterisk tcptls.c:857 handle_tcptls_connection()
#15: [0x60f489] asterisk utils.c:1239 dummy_start()
#16: [0x7f1cea5af182] libpthread.so.0 :0 __pthread_get_minstack()
#17: [0x7f1ce986f47d] libc.so.6 :0 clone()

This is information after running asterisk script ast_coredumper: 

Info.txt : 

!@!@!@! info.txt !@!@!@!

Asterisk 13.38.2 built by <error: Cannot access memory at address 0x7f1ceb4ab200> @ <ast_say_number_full_pl+694> on a <error: Cannot access memory at address 0x7f1cea5b6bd0> running <error: Cannot

System started: 1970-01-01 07:00:00
Last reload: 1970-01-01 07:00:00

Build options = OPTIONAL_API

tps_singletons - 'gdb.Value' object cannot be interpreted as an integer
TaskProcessors not found

bridges - Cannot access memory at address 0x28
Bridges not found

channels - 'gdb.Value' object cannot be interpreted as an integer
Channels not found

Unable to retrieve channel summary

locks.txt : 

!@!@!@! locks.txt !@!@!@!

$4 = {si_signo = 6, si_errno = 0, si_code = -6, _sifields = {_pad = {28198, 1001, 0 <repeats 26 times>}, _kill = {si_pid = 28198, si_uid = 1001}, _timer = {si_tid = 28198, si_overrun = 1001, si_sigval = {sival_i
Signal        Stop<>Print<->Pass to program>Description
SIGABRT       Yes<->Yes>Yes><-->Aborted


thread1.txt : 

!@!@!@! thread1.txt !@!@!@!

$1 = {si_signo = 6, si_errno = 0, si_code = -6, _sifields = {_pad = {28198, 1001, 0 <repeats 26 times>}, _kill = {si_pid = 28198, si_uid = 1001}, _timer = {si_tid = 28198, si_overrun = 1001, si_sigval = {sival_i
Signal        Stop<>Print<->Pass to program>Description
SIGABRT       Yes<->Yes>Yes><-->Aborted

Thread 1 (LWP 29771):
#0  0x00007f1ce97abcc9 in ?? ()
No symbol table info available.
#1  0x00007f1ce97af0d8 in ?? ()
No symbol table info available.
#2  0x0000000000000020 in ?? ()
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.









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



More information about the asterisk-bugs mailing list