[Fiware-tech-help] Kurento crashes in one2many scenario (HELP-4970 reopened)

Alberto Bambala Arbea alberto.bambala at vento.tv
Wed Nov 11 12:23:12 CET 2015


Hi again,

I also reproduced the crash with Kurento's one2many example in the tutorial.

* FF 41.0.2 as presenter
* Chrome 46.0.2490.80 as viewer

After 17 minutes or so Kurento crashes with this error in syslog:

Nov 11 12:09:05 kurento01 kernel: [1593985.842165] KmsLoop[8300]: 
segfault at 24 ip 00007fc3fc407d45 sp 00007fc395ffab90 error 6 in 
libglib-2.0.so.0.4200.1[7fc3fc3af000+10a000]


And from media-server_error.log

libdc1394 error: Failed to initialize libdc1394
0:00:00.047828598  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstsid.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.053614933  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgsttwolame.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.078000344  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstcdio.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.085643833  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstamrwbdec.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.086944351  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstasf.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.108846026  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR 
(Audio Visual Research)' is not mapped
0:00:00.108887257  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF 
(Apple Core Audio File)' is not mapped
0:00:00.108900916  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM 
Tool Kit)' is not mapped
0:00:00.108912642  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU 
Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.108923028  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU 
Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.108932501  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC 
(Akai MPC 2k)' is not mapped
0:00:00.108984209  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF 
(Portable Voice Format)' is not mapped
0:00:00.108996643  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 
(Sound Designer II)' is not mapped
0:00:00.109008553  9326      0x20f6a40 WARN                 default 
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE 
(Psion Series 3)' is not mapped
0:00:00.149821092  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstmpeg2dec.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.150606867  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstdvdlpcmdec.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.167420332  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstamrnb.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.168654193  9326      0x20f6a40 WARN                  ladspa 
gstladspa.c:455:plugin_init: no LADSPA plugins found, check LADSPA_PATH
0:00:00.229372059  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgsta52dec.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.262183479  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstdvdread.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.263097622  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstdvdsub.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.263754737  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstrmdemux.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.285222719  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstx264.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.291322454  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstlame.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.366747790  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstmad.so' has invalid 
datetime '2015-09-18/created>'
0:00:00.369949901  9326      0x20f6a40 ERROR     GST_PLUGIN_LOADING 
gstplugin.c:811:_priv_gst_plugin_load_file_for_registry: GstPluginDesc 
for '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstxingmux.so' has 
invalid datetime '2015-09-18/created>'
0:00:00.381012199  9326      0x20f6a40 WARN           audioresample 
gstaudioresample.c:1559:plugin_init: Orc disabled, can't benchmark int 
vs. float resampler
0:00:00.381083609  9326      0x20f6a40 WARN         GST_PERFORMANCE 
gstaudioresample.c:1562:plugin_init: orc disabled, no benchmarking done
0:00:00.467176166  9325       0xe53b30 WARN            GST_REGISTRY 
gstregistry.c:1830:gst_update_registry: registry update failed: Error 
writing registry cache to 
/nonexistent/.cache/gstreamer-1.5/registry.x86_64.bin: No such file or 
directory


The stack trace is as follows:

(gdb) bt
#0  g_queue_pop_head (queue=0x7fc395ffabb0) at 
/build/buildd/glib2.0-2.42.1/./glib/gqueue.c:518
#1  0x00007fc3f75edee7 in ?? () from 
/tmp/apport_sandbox_sdwyy0/usr/lib/x86_64-linux-gnu/libnice.so.10
#2  0x00007fc3f75f5c2e in ?? () from 
/tmp/apport_sandbox_sdwyy0/usr/lib/x86_64-linux-gnu/libnice.so.10
#3  0x00007fc3fc3f84d3 in g_timeout_dispatch (source=0x7fc3d4005720, 
callback=<optimized out>, user_data=<optimized out>)
     at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:4520
#4  0x00007fc3fc3f7ab5 in g_main_dispatch (context=0x7fc3d40010a0) at 
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
#5  g_main_context_dispatch (context=context at entry=0x7fc3d40010a0) at 
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
#6  0x00007fc3fc3f7e18 in g_main_context_iterate 
(context=0x7fc3d40010a0, block=block at entry=1, dispatch=dispatch at entry=1, 
self=<optimized out>)
     at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
#7  0x00007fc3fc3f80da in g_main_loop_run (loop=0x7fc3d4001890) at 
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3975
#8  0x00007fc3fab5d32d in loop_thread_init (data=<optimized out>)
     at 
/var/lib/jenkins/workspace/util-generate-debian-package/label/media-server-64/slave_version/master/version/master/kms-core/src/gst-plugins/commons/kmsloop.c:102
#9  0x00007fc3fc41ce45 in g_thread_proxy (data=0x7fc3c00051e0) at 
/build/buildd/glib2.0-2.42.1/./glib/gthread.c:764
#10 0x00007fc3fda5e182 in start_thread (arg=0x7fc395ffb700) at 
pthread_create.c:312
#11 0x00007fc3fb28a47d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111


Regards,
Alberto.


On 11/11/15 10:42, Alberto Bambala Arbea wrote:
>
> Hi,
>
> I've performed the tests again and after 18minutes approx. Kurento 
> crashes.
>
> This is what I saw in syslog after the crash:
>
> Nov 11 00:04:07 kurento01 kernel: [1550487.700124] traps: 
> KmsLoop[14382] general protection ip:7f5024deed36 sp:7f4fb47efb90 
> error:0 in libglib-2.0.so.0.4200.1[7f5024d96000+10a000]
>
> As suggested I grabbed the stack trace:
>
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `/usr/bin/kurento-media-server'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  g_queue_pop_head (queue=0x7f4fb47efbb0) at 
> /build/buildd/glib2.0-2.42.1/./glib/gqueue.c:516
> 516    /build/buildd/glib2.0-2.42.1/./glib/gqueue.c: No such file or 
> directory.
> (gdb) bt
> #0  g_queue_pop_head (queue=0x7f4fb47efbb0) at 
> /build/buildd/glib2.0-2.42.1/./glib/gqueue.c:516
> #1  0x00007f501ffd4ee7 in ?? () from 
> /tmp/apport_sandbox_ofEb4J/usr/lib/x86_64-linux-gnu/libnice.so.10
> #2  0x00007f501ffdcc2e in ?? () from 
> /tmp/apport_sandbox_ofEb4J/usr/lib/x86_64-linux-gnu/libnice.so.10
> #3  0x00007f5024ddf4d3 in g_timeout_dispatch (source=0x7f4fd00c4570, 
> callback=<optimized out>, user_data=<optimized out>)
>     at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:4520
> #4  0x00007f5024ddeab5 in g_main_dispatch (context=0x7f4fd0037500) at 
> /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
> #5  g_main_context_dispatch (context=context at entry=0x7f4fd0037500) at 
> /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
> #6  0x00007f5024ddee18 in g_main_context_iterate 
> (context=0x7f4fd0037500, block=block at entry=1, 
> dispatch=dispatch at entry=1, self=<optimized out>)
>     at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
> #7  0x00007f5024ddf0da in g_main_loop_run (loop=0x7f4fd0001910) at 
> /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3975
> #8  0x00007f502354432d in loop_thread_init (data=<optimized out>)
>     at 
> /var/lib/jenkins/workspace/util-generate-debian-package/label/media-server-64/slave_version/master/version/master/kms-core/src/gst-plugins/commons/kmsloop.c:102
> #9  0x00007f5024e03e45 in g_thread_proxy (data=0x7f4fdc0c55e0) at 
> /build/buildd/glib2.0-2.42.1/./glib/gthread.c:764
> #10 0x00007f5026445182 in start_thread (arg=0x7f4fb47f0700) at 
> pthread_create.c:312
> #11 0x00007f5023c7147d in clone () at 
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
>
> Thanks,
> Alberto.
>
>
> 	
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20151111/0301a53b/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy