Skip to content

Instantly share code, notes, and snippets.

@vahidov
Created April 15, 2019 09:58
Show Gist options
  • Save vahidov/fc80b43ac9a51a8585ba5dcb132941f0 to your computer and use it in GitHub Desktop.
Save vahidov/fc80b43ac9a51a8585ba5dcb132941f0 to your computer and use it in GitHub Desktop.
janus crash ice_setup_local
(gdb) bt full
#0 0x00006e6d607b5cd0 in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#1 0x00006e6d607b5d17 in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#2 0x00006e6d607a776d in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#3 0x00006e6d6079f44d in nice_agent_add_stream () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#4 0x0000002dc7409f0c in janus_ice_setup_local (handle=0x6e6d2c04d7b0, offer=0, audio=1, video=1, data=0, trickle=1) at ice.c:3305
__FUNCTION__ = "janus_ice_setup_local"
have_turnrest_credentials = 0
turnrest_credentials = 0x0
ifaddr = 0x6e6d1475c7b0
ifa = 0x0
family = 10
s = 0
n = 23
host = "Real.ip.was.here", '\000' <repeats 113 times>, "\313\376F\307-\000\000\000\002\000\000\000\\\000\000\000\000\000\000\000\004\000\000\000\322\376F\307-\000\000\000`\251\357Lmn\000\000`\255\357Lmn\000\000p\251\357Lmn\000\000p\255\357Lmn\000\000p\251\357Lmn\000\000"...
stream = 0x6e6d4cefa770
component = 0x10
#5 0x0000002dc7426471 in janus_plugin_handle_sdp (plugin_session=0x6e6d2c1062e0, plugin=0x6e6d4daa9e20 <janus_videoroom_plugin>, sdp_type=0x6e6d14d76fd0 "offer",
sdp=0x6e6d149eafc0 "v=0\r\no=- 1555164906966677 1 IN IP4 127.0.0.1\r\ns=VideoRoom 1899089\r\nt=0 0\r\nc=IN IP4 127.0.0.1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=sendonly\r\na=rtpmap:111 opus/48000/2\r\nm=video 1 UDP/"..., restart=0) at janus.c:2928
temp = 0x2
__FUNCTION__ = "janus_plugin_handle_sdp"
ice_handle = 0x6e6d2c04d7b0
offer = 1
error_str = "(\000\000\000\000\000\000\000\360\256\357Lmn\000\000\020\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000p\000\000\024mn\000\000\000\000\000\000\000\000\000\000\240\262\357Lmn\000\000\000\000\000\000\000\000\000\000\240\262\357Lmn\000\000\001", '\000' <repeats 15 times>, "o\000\000\000\000\000\000\000\340\340F\307-\000\000\000\036\000\000\000mn\000\000\330\001\000\000\000\000\000\000\060\260\357Lmn\000\000p\257\357Lmn\000\000)\321\354_mn\000\000 \000\000\000\000\000\000\000\340b\020,mn\000\000\225\316\330\vj\206\005\000\000\000\000\000\000\000\000\000\360\260\357Lmn\000\000\001", '\000' <repeats 15 times>...
audio = 1
video = 1
data = 0
parsed_sdp = 0x6e6d140e3a70
updating = 0
stream = 0x6e6d4cefb090
sdp_merged = 0x1 <error: Cannot access memory at address 0x1>
jsep = 0x1ff
tmp = 0x6e6d5e71dcf6 <__vsnprintf_chk+150> "H\201\303\360"
#6 0x0000002dc74244ac in janus_plugin_push_event (plugin_session=0x6e6d2c1062e0, plugin=0x6e6d4daa9e20 <janus_videoroom_plugin>, transaction=0x6e6d24084a20 "f7e70ed05fc790b8c489cbdd15080347",
message=0x6e6d14b88ec0, jsep=0x6e6d14e5a6f0) at janus.c:2799
__FUNCTION__ = "janus_plugin_push_event"
ice_handle = 0x6e6d2c04d7b0
session = 0x6e6d2c3c58f0
sdp_type = 0x6e6d14d76fd0 "offer"
sdp = 0x6e6d149eafc0 "v=0\r\no=- 1555164906966677 1 IN IP4 127.0.0.1\r\ns=VideoRoom 1899089\r\nt=0 0\r\nc=IN IP4 127.0.0.1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=sendonly\r\na=rtpmap:111 opus/48000/2\r\nm=video 1 UDP/"...
restart = 0
merged_jsep = 0x0
event = 0x7
plugin_data = 0x6e6d14ad9980
#7 0x00006e6d4d89675c in janus_videoroom_handler (data=0x0) at plugins/janus_videoroom.c:5095
sdp = 0x6e6d15380f10 "`d\315\024mn"
jsep = 0x6e6d14e5a6f0
offer = 0x6e6d140bcbd0
start = 15380292458683
res = 0
subscriber = 0x6e6d14d556a0
pvt_id = 90842
sc_temporal = 0x0
legacy = 0
pvt = 0x6e6cec07ede0
cpc = 0x0
audio = 0x0
offer_data = 0x0
sc_substream = 0x0
feed = 0x6e6cec05b0b0
close_pc = 1
video = 0x0
data = 0x0
offer_audio = 0x0
temporal = 0x0
owner = 0x0
feed_id = 1899089
offer_video = 0x0
spatial = 0x0
publisher = 0x6e6d14f00170
ptype = 0x6e6cec07ec30
ptype_text = 0x6e6cec0023a0 "subscriber"
session = 0x6e6d2c2cd9b0
event = 0x6e6d14b88ec0
sdp_update = 0
msg_sdp = 0x6e6d240da4d0 "\220\340d\223\004LG\340sbES\276\336"
videoroom = 0x0
participant = 0x0
request_text = 0x6e6cec092530 "join"
msg_sdp_type = 0x6e6d2400e9c0 ""
msg_simulcast = 0x0
request = 0x6e6cec0770d0
__FUNCTION__ = "janus_videoroom_handler"
msg = 0x6e6d24005430
error_code = 0
error_cause = "No such room\000(840591)", '\000' <repeats 490 times>
root = 0x6e6cec03a6f0
#8 0x00006e6d5ff063d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#9 0x00006e6d5e9cd4a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x00006e6d5e70fd0f in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
@vahidov
Copy link
Author

vahidov commented Apr 24, 2019

Another crash 23.04.19

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/janus/bin/janus'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000071b369185cd0 in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
[Current thread is 1 (Thread 0x71b35564a700 (LWP 23))]
(gdb) bt full
#0  0x000071b369185cd0 in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#1  0x000071b369185d17 in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#2  0x000071b36917776d in ?? () from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#3  0x000071b36916f44d in nice_agent_add_stream ()
   from /usr/lib/x86_64-linux-gnu/libnice.so.10
No symbol table info available.
#4  0x000003427175af0c in janus_ice_setup_local (handle=0x71b3348fdfe0,
    offer=0, audio=1, video=1, data=0, trickle=1) at ice.c:3305
        __FUNCTION__ = "janus_ice_setup_local"
        have_turnrest_credentials = 0
        turnrest_credentials = 0x0
        ifaddr = 0x71b31d1735c0
        ifa = 0x0
        family = 10
        s = 0
        n = 23
        host = "x.x.x.x", '\000' <repeats 113 times>, "\313\016|qB\003\000\000\002\000\000\000\\\000\000\000\000\000\000\000\004\000\000\000\322\016|qB\003\000\000`\211dU\263q\000\000`\215dU\263q\000\000p\211dU\263q\000\000p\215dU\263q\000\000p\211dU\263q\000\000"...
        stream = 0x71b355648770
        component = 0x10
#5  0x0000034271777471 in janus_plugin_handle_sdp (
    plugin_session=0x71b3342ed900,
    plugin=0x71b3561a5e20 <janus_videoroom_plugin>,
    sdp_type=0x71b31c130260 "offer",
    sdp=0x71b31ca78510 "v=0\r\no=- 1556054901977887 1 IN IP4 127.0.0.1\r\ns=VideoRoom 1969001\r\nt=0 0\r\nc=IN IP4 127.0.0.1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=sendonly\r\na=rtpmap:111 opus/48000/2\r\nm=video 1 UDP/"..., restart=0) at janus.c:2928
        temp = 0x2
        __FUNCTION__ = "janus_plugin_handle_sdp"
        ice_handle = 0x71b3348fdfe0
        offer = 1
        error_str = "(\000\000\000\000\000\000\000\360\216dU\263q\000\000\020\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000p\000\000\034\263q\000\000\000\000\000\000\000\000\000\000\240\222dU\263q\000\000\000\000\000\000\000\000\000\000\240\222dU\263q\000\000\001", '\000' <repeats 15 times>, "o\000\000\000\000\000\000\000\340\360{qB\003\000\000\036\000\000\000\263q\000\000\330\001\000\000\000\000\000\000\060\220dU\263q\000\000p\217dU\263q\000\000)\321\211h\263q\000\000 \000\000\000\000\000\000\000\000\331.4\263q\000\000\037\363\256C9\207\005\000\000\000\000\000\000\000\000\000\360\220dU\263q\000\000\001", '\000' <repeats 15 times>...
        audio = 1
        video = 1
        data = 0
        parsed_sdp = 0x71b31d0bfbc0
        updating = 0
        stream = 0x71b355649090
        sdp_merged = 0x1 <error: Cannot access memory at address 0x1>
        jsep = 0x1ff
        tmp = 0x71b3670edcf6 <__vsnprintf_chk+150> "H\201\303\360"
#6  0x00000342717754ac in janus_plugin_push_event (
    plugin_session=0x71b3342ed900,
    plugin=0x71b3561a5e20 <janus_videoroom_plugin>,
    transaction=0x71b2f40a6780 "4ddcf8356f7bf6b4a4ffcb08e2e4b333",
    message=0x71b31d4d8230, jsep=0x71b31dbf1030) at janus.c:2799
        __FUNCTION__ = "janus_plugin_push_event"
        ice_handle = 0x71b3348fdfe0
        session = 0x71b3346321e0
        sdp_type = 0x71b31c130260 "offer"
        sdp = 0x71b31ca78510 "v=0\r\no=- 1556054901977887 1 IN IP4 127.0.0.1\r\ns=VideoRoom 1969001\r\nt=0 0\r\nc=IN IP4 127.0.0.1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=sendonly\r\na=rtpmap:111 opus/48000/2\r\nm=video 1 UDP/"...
        restart = 0
        merged_jsep = 0x0
        event = 0x7
        plugin_data = 0x71b31cfb2e70
#7  0x000071b355f9275c in janus_videoroom_handler (data=0x0)
    at plugins/janus_videoroom.c:5095
        sdp = 0x71b31d092800 " \020\321\034\263q"
        jsep = 0x71b31dbf1030
        offer = 0x71b31d0ecdf0
        start = 16268878075047
        res = 0
        subscriber = 0x71b31c2be860
        pvt_id = 1064382
        sc_temporal = 0x0
        legacy = 0
        pvt = 0x71b26c0047d0
        cpc = 0x0
        audio = 0x0
        offer_data = 0x0
        sc_substream = 0x0
        feed = 0x71b26c0863b0
        close_pc = 1
        video = 0x0
        data = 0x0
        offer_audio = 0x0
        temporal = 0x0
        owner = 0x0
        feed_id = 1969001
        offer_video = 0x0
        spatial = 0x0
        publisher = 0x71b31cddf9c0
        ptype = 0x71b26c131150
        ptype_text = 0x71b26c1d4060 "subscriber"
        session = 0x71b33471dad0
        event = 0x71b31d4d8230
        sdp_update = 0
        msg_sdp = 0x71b30010ced0 "H\002"
        videoroom = 0x0
        participant = 0x0
        request_text = 0x71b26c14b080 "join"
        msg_sdp_type = 0x71b300275fc0 "\220_'"
        msg_simulcast = 0x0
        request = 0x71b26c2066f0
        __FUNCTION__ = "janus_videoroom_handler"
        msg = 0x71b2f40477b0
        error_code = 0
        error_cause = "No such room\000(778807)\000\000ber on this handle", '\00
0' <repeats 470 times>
        root = 0x71b26c033e30
#8  0x000071b3688d63d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#9  0x000071b36739d4a4 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x000071b3670dfd0f in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment