Skip to content

Instantly share code, notes, and snippets.

=================================================================
==8==ERROR: AddressSanitizer: heap-use-after-free on address 0x6140000109e4 at pc 0x7f4c12f7a27c bp 0x7f4c0e4f0340 sp 0x7f4c0e4f0330
READ of size 4 at 0x6140000109e4 thread T30 (hloop 584885877)
[Tue Aug 4 21:18:30 2020] [WSS-0x617000080700] Destroying WebSocket client
#0 0x7f4c12f7a27b in janus_videocall_incoming_rtp plugins/janus_videocall.c:760
#1 0x7f4c23529f6f in janus_ice_cb_nice_recv /home/janus/janus-gateway/ice.c:2584
#2 0x7f4c22796e92 in nice_component_emit_io_callback /home/janus/libnice-0.1.16/agent/component.c:928
#3 0x7f4c227a17a3 in component_io_cb /home/janus/libnice-0.1.16/agent/agent.c:5385
#4 0x7f4c2264ef5a (/lib/x86_64-linux-gnu/libgio-2.0.so.0+0xa1f5a)
#5 0x7f4c2247978d in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5178d)
=================================================================
==2482==ERROR: AddressSanitizer: heap-use-after-free on address 0x6140000101dc at pc 0x7fec981d8257 bp 0x7fec94835340 sp 0x7fec94835330
READ of size 4 at 0x6140000101dc thread T30 (hloop 647491036)
[Tue Jul 28 16:27:08 2020] Destroying session 1186094878160002; 0x607000007480
[Tue Jul 28 16:27:08 2020] Detaching handle from JANUS VideoCall plugin; 0x61200005c140 0x604000006050 0x61200005c140 0x614000010640
[Tue Jul 28 16:27:08 2020] [ERR] [janus.c:janus_process_incoming_request:1089] Couldn't find any session 1186094878160002...
[Tue Jul 28 16:27:08 2020] [ERR] [janus.c:janus_process_incoming_request:1089] Couldn't find any session 1186094878160002...
[Tue Jul 28 16:27:08 2020] [WSS-0x617000080380] Destroying WebSocket client
#0 0x7fec981d8256 in janus_videocall_incoming_rtp plugins/janus_videocall.c:756
#1 0x558e42387149 in janus_ice_cb_nice_recv /home/zc/janus/janus-gateway/ice.c:2588
=================================================================
[Tue Jul 28 10:53:55 2020] [janus.plugin.videocall-0x604000006050] No WebRTC media anymore
==25767==ERROR: AddressSanitizer: heap-use-after-free on address 0x614000010040 at pc 0x7fc27780381b bp 0x7fc273e6ff20 sp 0x7fc273e6ff10
READ of size 8 at 0x614000010040 thread T30 (hloop 312140780)
[Tue Jul 28 10:53:55 2020] Destroying session 5150101640793024; 0x607000007480
[Tue Jul 28 10:53:55 2020] Detaching handle from JANUS VideoCall plugin; 0x61200005c140 0x604000006050 0x61200005c140 0x614000010640
[Tue Jul 28 10:53:55 2020] [ERR] [janus.c:janus_process_incoming_request:1089] Couldn't find any session 5150101640793024...
[Tue Jul 28 10:53:55 2020] [WSS-0x617000080000] Destroying WebSocket client
[Tue Jul 28 10:53:55 2020] [ERR] [janus.c:janus_process_incoming_request:1089] Couldn't find any session 5150101640793024...
[Tue Jul 28 10:53:55 2020] [WSS-0x617000080380] Destroying WebSocket client
[Mon Jul 27 17:49:18 2020] [ERR] [janus.c:janus_process_incoming_request:1047] Invalid handle
[Mon Jul 27 17:49:18 2020] [6723535788159588] The DTLS handshake has been completed
[Mon Jul 27 17:49:18 2020] [janus.plugin.videocall-0x604000942250] WebRTC media is now available
[Mon Jul 27 17:49:18 2020] [janus.plugin.videocall-0x604000942250] Data channel available
[Mon Jul 27 17:49:18 2020] [WARN] [4597678052181907] Missing valid SRTP session (packet arrived too early?), skipping...
[Mon Jul 27 17:49:18 2020] [4597678052181907] The DTLS handshake has been completed
[Mon Jul 27 17:49:18 2020] [janus.plugin.videocall-0x604000942290] WebRTC media is now available
[Mon Jul 27 17:49:18 2020] [janus.plugin.videocall-0x604000942290] Data channel available
[Mon Jul 27 17:49:25 2020] [janus.plugin.videocall-0x604000942290] No WebRTC media anymore
[Mon Jul 27 17:49:25 2020] [4597678052181907] WebRTC resources freed; 0x612000159040 0x6070005fbdc0
@648540858
648540858 / error2.log
Last active July 14, 2020 07:47
jansu.crash
(gdb) bt
#0 0x00007f11205493eb in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f1120528899 in __GI_abort () at abort.c:79
#2 0x00007f112059338e in __libc_message
(action=action@entry=do_abort, fmt=fmt@entry=0x7f11206bc3a5 "%s\n")
at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007f112059b4dc in malloc_printerr
(str=str@entry=0x7f11206ba52a "free(): invalid pointer") at malloc.c:5332
#4 0x00007f112059ccfc in _int_free
(gdb) bt
#0 0x00007fd1484273eb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007fd148406899 in __GI_abort () at abort.c:79
#2 0x00007fd14847138e in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fd14859a3a5 "%s\n")
at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007fd1484794dc in malloc_printerr (str=str@entry=0x7fd14859852a "free(): invalid pointer") at malloc.c:5332
#4 0x00007fd14847acfc in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4173
#5 0x00005649343b8cd3 in janus_sdp_parse
(sdp=sdp@entry=0x7fd100011d70 "v=0\r\no=- 8967244692629409963 3 IN IP4 1.1.1.1\r\ns=VideoRoom 72429774\r\nt=0 0\r\nc=IN IP4 127.0.0.1\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=recvonly\r\na=rtpmap:111 opus/48000/2\r\na=extmap:1 u"..., error=error@entry=0x7fd14111e0f0 "", errlen=<optimized out>) at sdp-utils.c:589
#6 0x00005649343ab739 in janus_sdp_preparse