[asterisk-bugs] [JIRA] (ASTERISK-29376) res_rtp_asterisk: Coredump with t.140 RED enabled

Thomas Johnson (JIRA) noreply at issues.asterisk.org
Thu Jun 3 07:44:09 CDT 2021


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

Thomas Johnson commented on ASTERISK-29376:
-------------------------------------------

Correct that, not seeing the last 'd', but I do see this:

[2021-06-03 08:37:20] ERROR[508116] res_rtp_asterisk.c: FRACK!, Failed assertion bad magic number 0xdeaddea for object 0x7f8bd011eaf0 (0)
[2021-06-03 08:37:20] ERROR[508116] : Got 9 backtrace records
# 0: [0x5dae00] asterisk utils.c:2454 __ast_assert_failed()
# 1: [0x465b35] asterisk astobj2.c:220 log_bad_ao2()
# 2: [0x465b9b] asterisk astobj2.c:224 __ao2_lock()
# 3: [0x7f8b981c4f5b] res_rtp_asterisk.so res_rtp_asterisk.c:8548 red_write()
# 4: [0x58df4f] asterisk sched.c:793 ast_sched_runq()
# 5: [0x7f8bca3e129f] chan_sip.so chan_sip.c:30051 do_monitor()
# 6: [0x5d8199] asterisk utils.c:1299 dummy_start()
# 7: [0x7f8c1333715a] libpthread.so.0 :0 __libpthread_freeres()
# 8: [0x7f8c12884f73] libc.so.6 :0 clone()

> res_rtp_asterisk: Coredump with t.140 RED enabled
> -------------------------------------------------
>
>                 Key: ASTERISK-29376
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29376
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 17.8.1
>         Environment: RedHat 8
>            Reporter: Thomas Johnson
>            Assignee: Unassigned
>         Attachments: core.asterisk.2431.ipswitchdev66.microautomation.local.1617722782-brief.txt, core.asterisk.2431.ipswitchdev66.microautomation.local.1617722782-full.txt, core.asterisk.2431.ipswitchdev66.microautomation.local.1617722782-info.txt, core.asterisk.2431.ipswitchdev66.microautomation.local.1617722782-locks.txt, core.asterisk.2431.ipswitchdev66.microautomation.local.1617722782-thread1.txt, core.asterisk.296402.ipswitchdev66.microautomation.local.1622643818-brief.txt, debug_log_123456.gz, temp.zip
>
>
> Asterisk will randomly coredump if RED is allowed.  The exception is in an apparent scheduled callback to red_write.   I tried modifying the function to check for NULL pointers, but it still crashes due to possibly an invalid pointer.



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



More information about the asterisk-bugs mailing list