Skip to content

Instantly share code, notes, and snippets.

@soulfly
Created March 5, 2018 16:32
Show Gist options
  • Save soulfly/6d2f629b511423cbc1914ea66a141832 to your computer and use it in GitHub Desktop.
Save soulfly/6d2f629b511423cbc1914ea66a141832 to your computer and use it in GitHub Desktop.
Title: janus crashed with SIGABRT in g_assertion_message()
Stacktrace:
#0 0x00007fbb3a4cf428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
resultvar = 0
pid = 21468
selftid = 25826
#1 0x00007fbb3a4d102a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {0, 472446402652, 0, 0, 140439726661376, 543, 140442139566816, 0, 140439726661919, 0, 0, 140439726325792, 140439726661920, 1, 140442142242720, 140442142230903}}, sa_flags = -1408950528, sa_restorer = 0x7fbaac051f00}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fbb3bad1d75 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fbb3bad1e0a in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007fbb3bfd788c in agent_signal_component_state_change (agent=agent@entry=0x7fbb0c3438d0, stream_id=1, component_id=1, new_state=new_state@entry=NICE_COMPONENT_STATE_CONNECTED) at agent.c:2320
old_state = NICE_COMPONENT_STATE_GATHERING
component = 0x7fbb0c27fd90
stream = 0x7fbb0c171210
__func__ = "agent_signal_component_state_change"
#5 0x00007fbb3bfe4a7e in priv_map_reply_to_conn_check_request (resp=0x7fba5375cf10, remote_candidate=0x7fbaa8065c90, local_candidate=0xa7b840, from=0x7fba5375d980, sockptr=0x7fbb1001a1f0, component=0x7fbb0c27fd90, stream=0x7fbb0c171210, agent=0x7fbb0c3438d0) at conncheck.c:3420
ok_pair = 0x7fbaac056200
p = <optimized out>
socklen = 16
i = <optimized out>
trans_found = 0
discovery_id = "!\022\244B\206\353\375Q\316\217\201\241\261\244\236\234"
response_id = "!\022\244B\206\353\375Q\316\217\201\241\261\244\236\234"
sockaddr = {storage = {ss_family = 2, __ss_padding = "\203\207\r~\032\030", '\000' <repeats 111 times>, __ss_align = 0}, addr = {sa_family = 2, sa_data = "\203\207\r~\032\030\000\000\000\000\000\000\000"}}
res = <optimized out>
#6 conn_check_handle_inbound_stun (agent=agent@entry=0x7fbb0c3438d0, stream=stream@entry=0x7fbb0c171210, component=component@entry=0x7fbb0c27fd90, nicesock=0x7fbb1001a1f0, from=0x7fba5375d980, buf=buf@entry=0x7fbaac041600 "\001\001", len=64) at conncheck.c:4358
trans_found = 0
sockaddr = {storage = {ss_family = 2, __ss_padding = "\352\020\331\f\326\033", '\000' <repeats 111 times>, __ss_align = 0}, addr = {sa_family = 2, sa_data = "\352\020\331\f\326\033\000\000\000\000\000\000\000"}}
rbuf = "217.12.214.27\000\322\265ip6p\000 \000\b\000\001\313\002\370\036rY\000\006\000\tdvCf:eoPn \000\b\000\024\304\237{i\331\363\001\207I\a+\336\027\347\217C\300>\034\067\200(\000\004\270{\212\234\326\000\000\000\000\000\000\000\033", '\000' <repeats 47 times>, "\260]\006\250\272\177\000\000@\000\f\340\272\177\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000Z\000\000\000\000\000\000\000P\266D\f\273\177\000\000\257\374\256;\273\177\000\000\060\000\000\000\060\000\000\000"...
res = <optimized out>
rbuf_len = 1300
control = true
uname = '\000' <repeats 181 times>, "\062\062\067\000\000\000\000\000\000\000\000\240\322uS\272\177\000\000"...
uname_len = <optimized out>
username = <optimized out>
username_len = 9
req = {agent = 0x7fbb0c280420, buffer = 0x7fbaac041600 "\001\001", buffer_len = 64, key = 0x7fbb0c171553 "XhlK5feq3V9OzoaaxqfjqDS9", key_len = 24, long_term_key = '\000' <repeats 15 times>, long_term_valid = false}
msg = {agent = 0x181a7e0d87830002, buffer = 0x0, buffer_len = 0, key = 0x0, key_len = 0, long_term_key = '\000' <repeats 15 times>, long_term_valid = false}
valid = STUN_VALIDATION_SUCCESS
validater_data = {agent = 0x7fbb0c3438d0, stream = 0x7fbb0c171210, component = 0x7fbb0c27fd90, password = 0x0}
i = <optimized out>
j = <optimized out>
remote_candidate = 0x7fbaa8065c90
remote_candidate2 = <optimized out>
local_candidate = 0xa7b840
discovery_msg = 0
#7 0x00007fbb3bfdc62a in agent_recv_message_unlocked (agent=agent@entry=0x7fbb0c3438d0, stream=stream@entry=0x7fbb0c171210, component=component@entry=0x7fbb0c27fd90, nicesock=0x7fbb1001a1f0, message=message@entry=0x7fba5375da50) at agent.c:3882
handled = <optimized out>
big_buf = 0x7fbaac041600 "\001\001"
big_buf_len = 64
validated_len = <optimized out>
from = {s = {addr = {sa_family = 2, sa_data = "\352\020\331\f\326\033\000\000\000\000\000\000\000"}, ip4 = {sin_family = 2, sin_port = 4330, sin_addr = {s_addr = 467012825}, sin_zero = "\000\000\000\000\000\000\000"}, ip6 = {sin6_family = 2, sin6_port = 4330, sin6_flowinfo = 467012825, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 203948960}}}
item = <optimized out>
retval = <optimized out>
sockret = <optimized out>
is_turn = <optimized out>
__func__ = "agent_recv_message_unlocked"
#8 0x00007fbb3bfdcc8e in component_io_cb (gsocket=<optimized out>, condition=<optimized out>, user_data=0x7fbab409fc00) at agent.c:5178
local_buf = "\001\001\000,!\022\244B\206\353\375Q\316\217\201\241\261\244\236\234\000 \000\b\000\001\242\225,l\276Z\000\b\000\024Q\243\273\027\236\224\275T\273;\355<\231\030e\v]\214\227\036\200(\000\004\242\n\n\006\000\b\000\024\334\355\220\326\340\233\264O\327\004\242\364\366(\323\003\327\\'\\\200(\000\004c\370\004l\000\027\000\000\000#\000\000\000\r\000\024\000\022\004\003\b\004\004\001\005\003\b\005\005\001\b\006\006\001\002\001\000\016\000\a\000\004\000\002\000\001\000\000\v\000\002\001\000\000\n\000\b\000\006\000\035\000\027\000\030", '\000' <repeats 63443 times>...
local_bufs = {buffer = 0x7fba5375dab0, size = 65535}
local_message = {buffers = 0x7fba5375da40, n_buffers = 1, from = 0x7fba5375d980, length = 64}
retval = <optimized out>
socket_source = 0x7fbab409fc00
component = 0x7fbb0c27fd90
agent = 0x7fbb0c3438d0
stream = 0x7fbb0c171210
has_io_callback = <optimized out>
remove_source = 0
__func__ = "component_io_cb"
#9 0x00007fbb39c51901 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#10 0x00007fbb3baac05a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#11 0x00007fbb3baac400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#12 0x00007fbb3baac722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#13 0x000000000042d650 in janus_ice_thread (data=0x7fbae00c0040) at ice.c:2660
handle = 0x7fbae00c0040
__FUNCTION__ = "janus_ice_thread"
loop = 0x7fbb0c34ca90
#14 0x00007fbb3bad2bc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#15 0x00007fbb3a86b6ba in start_thread (arg=0x7fba5376e700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fba5376e700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140438240945920, 3963606849784642531, 0, 140441909136079, 140438240946624, 140440599527488, -4002247048052605981, -4001454439003194397}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#16 0x00007fbb3a5a141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
StacktraceAddressSignature: /opt/janus_dev/bin/janus:6:/lib/x86_64-linux-gnu/libc-2.23.so+35428:/lib/x86_64-linux-gnu/libc-2.23.so+3702a:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.1+6fd75:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.1+6fe0a:/usr/local/lib/libnice.so.10.7.0+1188c:/usr/local/lib/libnice.so.10.7.0+1ea7e:/usr/local/lib/libnice.so.10.7.0+1662a:/usr/local/lib/libnice.so.10.7.0+16c8e:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.1+77901:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.1+4a05a:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.1+4a400:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.1+4a722:/opt/janus_dev/bin/janus+2d650:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.1+70bc5:/lib/x86_64-linux-gnu/libpthread-2.23.so+76ba
StacktraceTop:
g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
agent_signal_component_state_change (agent=agent@entry=0x7fbb0c3438d0, stream_id=1, component_id=1, new_state=new_state@entry=NICE_COMPONENT_STATE_CONNECTED) at agent.c:2320
priv_map_reply_to_conn_check_request (resp=0x7fba5375cf10, remote_candidate=0x7fbaa8065c90, local_candidate=0xa7b840, from=0x7fba5375d980, sockptr=0x7fbb1001a1f0, component=0x7fbb0c27fd90, stream=0x7fbb0c171210, agent=0x7fbb0c3438d0) at conncheck.c:3420
conn_check_handle_inbound_stun (agent=agent@entry=0x7fbb0c3438d0, stream=stream@entry=0x7fbb0c171210, component=component@entry=0x7fbb0c27fd90, nicesock=0x7fbb1001a1f0, from=0x7fba5375d980, buf=buf@entry=0x7fbaac041600 "\001\001", len=64) at conncheck.c:4358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment