Last active
March 17, 2016 12:02
-
-
Save lotas/400b3e5c9b4065606bdc to your computer and use it in GitHub Desktop.
Kurento media server 6.4.1 segfault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- stack trace --- | |
#0 0x00007fc243a50cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 | |
resultvar = 0 | |
pid = 14973 | |
selftid = 18597 | |
#1 0x00007fc243a540d8 in __GI_abort () at abort.c:89 | |
save_stage = 2 | |
act = {__sigaction_handler = {sa_handler = 0x7fc2240d8840, sa_sigaction = 0x7fc2240d8840}, sa_mask = {__val = {2, 18628, 140472386274647, 5, 0, 0, 140472335076648, 140471980504576, 18628, 11, 140472386303253, 0, 140472372118602, 0, 140471980499680, 6}}, sa_flags = 0, sa_restorer = 0x1} | |
sigs = {__val = {32, 0 <repeats 15 times>}} | |
#2 0x00000000005188f1 in safe_abort () at /opt/kurento/kurento-media-server/server/death_handler.cpp:299 | |
sa = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 5, 0, 0, 140472372063624, 140471980504576, 18628, 11, 140472386303253, 0, 140472335273911, 1, 140471980500192, 18628, 140472372117244, 140471980500192}}, sa_flags = 469762052, sa_restorer = 0x7fc245d74340 <__restore_rt>} | |
#3 Debug::DeathHandler::SignalHandler (sig=<optimized out>, secret=<optimized out>) at /opt/kurento/kurento-media-server/server/death_handler.cpp:600 | |
forkedPid = <optimized out> | |
trace_size = <optimized out> | |
name_buf = <optimized out> | |
end = 0 '\000' | |
memory = 0x0 | |
trace = <optimized out> | |
oldFreeHook = <optimized out> | |
path_max_length = <optimized out> | |
cwd = <optimized out> | |
uc = <optimized out> | |
oldMallocHook = <optimized out> | |
prev_memory = <optimized out> | |
#4 <signal handler called> | |
No locals. | |
#5 0x00007fc23fdef3d4 in socket_is_reliable (sock=0x7fc2240b8250) at udp-turn-over-tcp.c:444 | |
priv = 0x0 | |
#6 0x00007fc23fddcd6b in agent_socket_send (sock=0x7fc2240b8250, addr=addr@entry=0x7fc2240d8858, len=56, buf=buf@entry=0x7fc2240dbae8 "") at agent.c:6032 | |
No locals. | |
#7 0x00007fc23fde3932 in priv_discovery_tick_unlocked (pointer=pointer@entry=0x7fc224029030) at discovery.c:1130 | |
timeout = 397 | |
now = {tv_sec = 1458209263, tv_usec = 613151} | |
cand = 0x7fc2240d8840 | |
agent = 0x7fc224029030 | |
i = 0x7fc224083940 | |
not_done = 1 | |
buffer_len = 0 | |
__FUNCTION__ = "priv_discovery_tick_unlocked" | |
#8 0x00007fc23fde3a57 in priv_discovery_tick (pointer=0x7fc224029030, pointer@entry=<error reading variable: value has been optimized out>) at discovery.c:1189 | |
agent = 0x7fc224029030 | |
ret = <optimized out> | |
#9 0x00007fc24333a913 in g_timeout_dispatch (source=0x7fc2240c2d20, callback=<optimized out>, user_data=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4577 | |
timeout_source = 0x7fc2240c2d20 | |
again = <optimized out> | |
#10 0x00007fc243339eaa in g_main_dispatch (context=0x7fc2180008c0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154 | |
dispatch = 0x7fc24333a900 <g_timeout_dispatch> | |
prev_source = 0x0 | |
was_in_call = 0 | |
user_data = 0x7fc224029030 | |
callback = 0x7fc23fde3a30 <priv_discovery_tick> | |
cb_funcs = <optimized out> | |
cb_data = 0x7fc2240bfc10 | |
need_destroy = <optimized out> | |
source = 0x7fc2240c2d20 | |
current = 0x7fc2240055a0 | |
i = 0 | |
#11 g_main_context_dispatch (context=context@entry=0x7fc2180008c0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769 | |
No locals. | |
#12 0x00007fc24333a250 in g_main_context_iterate (context=0x7fc2180008c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3840 | |
max_priority = 2147483647 | |
timeout = 18 | |
some_ready = 1 | |
nfds = <optimized out> | |
allocated_nfds = 1 | |
fds = 0x7fc218001220 | |
#13 0x00007fc24333a572 in g_main_loop_run (loop=0x7fc218001200) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4034 | |
__func__ = "g_main_loop_run" | |
#14 0x00007fc2430d358d in loop_thread_init (data=<optimized out>) at /opt/kurento/kms-core/src/gst-plugins/commons/kmsloop.c:102 | |
self = <optimized out> | |
loop = 0x7fc218001200 | |
context = 0x7fc2180008c0 | |
__FUNCTION__ = "loop_thread_init" | |
#15 0x00007fc243360965 in g_thread_proxy (data=0x7fc224006ca0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread.c:778 | |
thread = <optimized out> | |
#16 0x00007fc245d6c182 in start_thread (arg=0x7fc22e7fc700) at pthread_create.c:312 | |
__res = <optimized out> | |
pd = 0x7fc22e7fc700 | |
now = <optimized out> | |
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140471980508928, 904605987515166446, 0, 0, 140471980509632, 140471980508928, -934054209651183890, -934138517035782418}, 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" | |
#17 0x00007fc243b1447d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 | |
No locals. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-03-17 08:43:11,652252 1093 [0x00007f3a407f0700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:52 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"cand | |
idate:13 1 UDP 167772671 222.250.42.151 51824 typ relay raddr 222.250.42.158 rport 51824","sdpMLineIndex":0,"sdpMid":"audio"},"source":"b9143e5e-2f92-4da4-bd5f-eed798948590_kurento.MediaPipeline/f03070d1-0cdf-4ac4-b544-cd14660f9a0d_kurento.WebRtcEndpoint","tags":[],"timestamp":"1458204191", | |
"type":"OnIceCandidate"},"object":"b9143e5e-2f92-4da4-bd5f-eed798948590_kurento.MediaPipeline/f03070d1-0cdf-4ac4-b544-cd14660f9a0d_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} | |
-> ff19ebc8-b114-495e-bf31-31f188f6ea8e | |
2016-03-17 08:43:11,652404 1093 [0x00007f3a407f0700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:52 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"cand | |
idate:13 1 UDP 167772671 222.250.42.151 51824 typ relay raddr 222.250.42.158 rport 51824","sdpMLineIndex":1,"sdpMid":"video"},"source":"b9143e5e-2f92-4da4-bd5f-eed798948590_kurento.MediaPipeline/f03070d1-0cdf-4ac4-b544-cd14660f9a0d_kurento.WebRtcEndpoint","tags":[],"timestamp":"1458204191", | |
"type":"OnIceCandidate"},"object":"b9143e5e-2f92-4da4-bd5f-eed798948590_kurento.MediaPipeline/f03070d1-0cdf-4ac4-b544-cd14660f9a0d_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} | |
-> ff19ebc8-b114-495e-bf31-31f188f6ea8e | |
2016-03-17 08:43:11,914291 1093 [0x00007f3a437f6700] debug KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:214 newSelectedPairFull() <kmswebrtcendpoint42> New pair selected stream_id: 1, component_id: 1, local candidate: candidate:4 1 UDP 2013266431 222.250.42.158 38910 typ host, remot | |
e candidate: candidate:candidate:2003496507 1 UDP 25042687 222.250.42.151 51814 typ relay raddr 83.21.212.134 rport 51814 | |
2016-03-17 08:43:11,934988 1093 [0x00007f3a407f0700] debug KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:214 newSelectedPairFull() <kmswebrtcendpoint43> New pair selected stream_id: 1, component_id: 1, local candidate: candidate:12 1 UDP 167772671 222.250.42.151 51823 typ relay raddr | |
fe80::427:6bff:fef1:153 rport 51823, remote candidate: candidate:candidate:2003496507 1 UDP 25042687 222.250.42.151 51817 typ relay raddr 83.21.212.134 rport 51817 | |
2016-03-17 08:43:12,095520 1093 [0x00007f3a407f0700] debug KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:214 newSelectedPairFull() <kmswebrtcendpoint43> New pair selected stream_id: 1, component_id: 1, local candidate: candidate:4 1 UDP 2013266431 222.250.42.158 55844 typ host, remot | |
e candidate: candidate:candidate:2003496507 1 UDP 25042687 222.250.42.151 51817 typ relay raddr 83.21.212.134 rport 51817 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> /var/log/kurento-media-server/media-server_error.log <== | |
Segmentation fault (thread 139888166897408, pid 1093) | |
Stack trace: | |
[nice_output_stream_new] | |
/usr/lib/x86_64-linux-gnu/libnice.so.10:0x28C74 | |
[nice_output_stream_new] | |
/usr/lib/x86_64-linux-gnu/libnice.so.10:0x2B00A | |
[nice_output_stream_new] | |
/usr/lib/x86_64-linux-gnu/libnice.so.10:0x2BD09 | |
[nice_agent_gather_candidates] | |
/usr/lib/x86_64-linux-gnu/libnice.so.10:0x13E8B | |
[nice_agent_gather_candidates] | |
/usr/lib/x86_64-linux-gnu/libnice.so.10:0x1431E | |
[g_simple_permission_new] | |
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0:0x75B21 | |
[g_main_context_dispatch] | |
/lib/x86_64-linux-gnu/libglib-2.0.so.0:0x49EAA | |
[g_main_context_dispatch] | |
/lib/x86_64-linux-gnu/libglib-2.0.so.0:0x4A250 | |
[g_main_loop_run] | |
/lib/x86_64-linux-gnu/libglib-2.0.so.0:0x4A572 | |
[gst_nice_src_get_type] | |
/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstnice15.so:0x2F99 | |
[g_test_get_filename] | |
/lib/x86_64-linux-gnu/libglib-2.0.so.0:0x70965 | |
[start_thread] | |
/lib/x86_64-linux-gnu/libpthread.so.0:0x8182 | |
[clone] | |
/lib/x86_64-linux-gnu/libc.so.6:0xFA47D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AppServer-0 Thu, 17 Mar 2016 08:43:11 GMT kms:server:ws Connection 15 received message {"id":"onIceCandidate","candidate":{"candidate":"candidate:2003496507 2 udp 25042686 90.80.17.11 51820 typ relay raddr 83.21.212.134 rport 49419 generation 0 ufrag zBPK53l32dj4J9dg","sdpMid":"audio" | |
,"sdpMLineIndex":0}} | |
AppServer-0 Thu, 17 Mar 2016 08:43:11 GMT kms:CallMediaPipeline generateSdpOffer 16 | |
AppServer-0 Thu, 17 Mar 2016 08:43:11 GMT kms:server pipeline:sdpAnswer:caller sdpReady | |
AppServer-0 Thu, 17 Mar 2016 08:43:11 GMT kms:CallMediaPipeline generateSdpOffer 15 | |
AppServer-0 Thu, 17 Mar 2016 08:43:11 GMT kms:server pipeline:sdpAnswer:callee sdpReady | |
AppServer-0 reconnect to server 0 100 ff19ebc8-b114-495e-bf31-31f188f6ea8e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline.createPipeline(caller, callee, ws).then(function () { | |
pipeline.generateSdpAnswer(caller.id, caller.sdpOffer, function (error, callerSdpAnswer) { | |
if (error) { | |
return onError(error, error); | |
} | |
debug('pipeline:sdpAnswer:caller sdpReady'); | |
pipeline.generateSdpAnswer(callee.id, calleeSdp, function (error, calleeSdpAnswer) { | |
if (error) { | |
return onError(error, error); | |
} | |
debug('pipeline:sdpAnswer:callee sdpReady'); | |
var message = { | |
id: 'startCommunication', | |
sdpAnswer: calleeSdpAnswer | |
}; | |
callee.sendMessage(message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kurento-media-server -v | |
Version: 6.4.1~1.g3ffe480 | |
Found modules: | |
Module: 'core' version '6.4.1~2.g4ed0cfc' | |
Module: 'elements' version '6.4.1~3.g8e842ad' | |
Module: 'filters' version '6.4.1~3.g06e2b4f' | |
# dpkg -l |grep -i libnice | |
ii libnice10:amd64 0.1.13.1~20160224182402.77.g7bbb87a.trusty amd64 ICE library (shared library) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment