[ASTERISK-171] chan_iax2: SEGV due to -2 bytes in frame
Unsure exactly how this fluke happened...
[2025-12-31 21:49:19.704] WARNING[1819857]: chan_iax2.c:10454 socket_process_helper: Packet Decrypt Failed!
[2025-12-31 21:49:19.784] ERROR[1819854]: iax2/parser.c:1224 iax_frame_wrap: Losing frame data because destination buffer size '4096' bytes not big enough for '-2' bytes in the frame
[2025-12-31 21:49:19.784] ERROR[1819854]: iax2/parser.c:1224 iax_frame_wrap: Losing frame data because destination buffer size '4096' bytes not big enough for '-2' bytes in the frame
#5 0x00007ff54c02686a in malloc_printerr (str=str@entry=0x7ff54c12f158 "double free or corruption (!prev)") at ./malloc/malloc.c:5660
#6 0x00007ff54c0288dc in _int_free (av=0x7ff53c000030, p=0x7ff53cada5a0, have_lock=<optimized out>, have_lock@entry=0) at ./malloc/malloc.c:4587
size = 224
fb = <optimized out>
nextchunk = 0x7ff53cada680
nextsize = <optimized out>
nextinuse = <optimized out>
prevsize = <optimized out>
bck = <optimized out>
fwd = <optimized out>
__PRETTY_FUNCTION__ = "_int_free"
#7 0x00007ff54c02af4f in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3385
ar_ptr = <optimized out>
p = <optimized out>
err = 0
#8 0x0000563937216c55 in __ast_free (ptr=0x7ff53cada5b0, file=0x563937463889 "frame.c", lineno=169, func=0x563937463f28 <__PRETTY_FUNCTION__.3> "__frame_free") at astmm.c:1556
#9 0x00005639372c6950 in __frame_free (fr=0x7ff53cada5b0, cache=1) at frame.c:169
__PRETTY_FUNCTION__ = "__frame_free"
#10 0x00005639372c6990 in ast_frame_free (frame=0x7ff53cada5b0, cache=1) at frame.c:182
next = 0x0
#11 0x000056393725fab5 in __ast_read (chan=0x7ff524132410, dropaudio=0, dropnondefault=1) at channel.c:3739
skipped_dtmf_frame = 0
skip_dtmf = 0
f = 0x7ff53cada5b0
prestate = 4
cause = 0
stream = 0x0
default_stream = 0x0
__PRETTY_FUNCTION__ = "__ast_read"
__FUNCTION__ = "__ast_read"
#12 0x0000563937261ae9 in ast_read (chan=0x7ff524132410) at channel.c:4265
#13 0x0000563937258d64 in safe_sleep_conditional (chan=0x7ff524132410, timeout_ms=1000, cond=0x0, data=0x0, generate_silence=1) at channel.c:1527
dup_f = 0x0
f = 0x5639374fbe20 <ast_null_frame>
silgen = 0x0
res = 0
start = {tv_sec = 1767217759, tv_usec = 553782}
ms = 770
deferred_frames = {first = 0x0, last = 0x0}
__PRETTY_FUNCTION__ = "safe_sleep_conditional"
#14 0x0000563937258f7d in ast_safe_sleep (chan=0x7ff524132410, ms=1000) at channel.c:1576
#15 0x00007ff5480c64ba in streamsilence_exec (chan=0x7ff524132410, data=0x7ff51f50f9d0 "1") at app_streamsilence.c:106Comments
You must be logged in to leave a comment.