node.js - Kurento Media Server 6.4 segmentation fault in libnice -
i using latest kurento media server (6.4) , node.js app one-2-one calls. however, kurento process crashes time time inside libnice: (multiple crashes point same lib entries)
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
at same time, recent debug events recorded log files ice candidates pairings:
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
application log shows error happens @ moment after both sdp answers generated, , before startcommunication
command going fired:
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 server 0 100 ff19ebc8-b114-495e-bf31-31f188f6ea8e
full stack trace , log in can seen in this gist
$ 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)
i can reproduce using 2 chrome browsers (mac + win) , making around 10-15 calls (call out - hang - call out - hang ..)
if give hints, suggestions or directions, appreciate that. thanks!
upd: problem solved after switching turn server reciprocate-turn-server 1.9.7
coturn 4.4.2.1
Comments
Post a Comment