Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g_slist crash in component->candidates #58

Closed
leighman opened this issue Aug 22, 2014 · 2 comments
Closed

g_slist crash in component->candidates #58

leighman opened this issue Aug 22, 2014 · 2 comments

Comments

@leighman
Copy link
Contributor

Using 7d97da9

component->candidates seems to have been freed before being accessed but I can't work out how.

Backtrace:
#0 0x00007ffff6f6e5f3 in g_slist_last () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff6f6e68e in g_slist_append () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x0000000000423614 in janus_sdp_parse_candidate (stream=0x7fffd00f3e10,

candidate=0x7fffdc039450 "candidate:3 2 UDP 1686044670 93.93.133.71 42057 typ srflx raddr 172.22.64.178 rport 42057", trickle=1) at sdp.c:402

#3 0x000000000040d3ba in janus_process_incoming_request (source=0x7fffcc7f79b0, root=0x7fffdc013bb0)

at janus.c:1226

#4 0x000000000040a702 in janus_ws_handler (cls=0x63c530, connection=0x7fffec023070,

url=0x7ffff7f80005 "/janus/1807724126/3802035604", method=0x7ffff7f80000 "POST", 
version=0x7ffff7f80022 "HTTP/1.1", upload_data=0x0, upload_data_size=0x7fffcc7f7b48, 
ptr=0x7fffec0230a8) at janus.c:626

#5 0x00007ffff6cfb329 in ?? () from /usr/lib/x86_64-linux-gnu/libmicrohttpd.so.10
#6 0x00007ffff6cfbdc0 in MHD_connection_handle_idle ()

from /usr/lib/x86_64-linux-gnu/libmicrohttpd.so.10
#7 0x00007ffff6cfe421 in ?? () from /usr/lib/x86_64-linux-gnu/libmicrohttpd.so.10
#8 0x00007ffff56b1b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9 0x00007ffff53fc20d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

@lminiero
Copy link
Member

Please upgrade to the latest version, several things have been fixed in the meanwhile.

@lminiero
Copy link
Member

lminiero commented Oct 1, 2014

Is this still happening or was this fixed in the latest changes, also thanks to your help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants