Kurento / bugtracker

[ARCHIVED] Contents migrated to monorepo: https://github.com/Kurento/kurento
46 stars 10 forks source link

Play rtsp crashes and exits #420

Open zqx1993 opened 4 years ago

zqx1993 commented 4 years ago

KMS Version:

6.12.0

Ubuntu Version

18.04

Other libraries versions:

ii gstreamer1.5-libav:amd64 1.8.1-1kurento1.18.04 amd64 libav plugin for GStreamer ii gstreamer1.5-nice:amd64 0.1.15-1kurento3.18.04 amd64 ICE library (GStreamer 1.5 plugin) ii gstreamer1.5-plugins-bad:amd64 1.8.1-1kurento4.18.04 amd64 GStreamer plugins from the "bad" set ii gstreamer1.5-plugins-base:amd64 1.8.1-1kurento1.18.04 amd64 GStreamer plugins from the "base" set ii gstreamer1.5-plugins-good:amd64 1.8.1-1kurento2.18.04 amd64 GStreamer plugins from the "good" set ii gstreamer1.5-plugins-ugly:amd64 1.8.1-1kurento1.18.04 amd64 GStreamer plugins from the "ugly" set ii gstreamer1.5-pulseaudio:amd64 1.8.1-1kurento2.18.04 amd64 GStreamer plugin for PulseAudio ii gstreamer1.5-x:amd64 1.8.1-1kurento1.18.04 amd64 GStreamer plugins for X11 and Pango ii kms-core 6.12.0-0kurento1.18.04 amd64 Kurento Core module ii kms-elements 6.12.0-0kurento1.18.04 amd64 Kurento Elements module ii kms-filters 6.12.0-0kurento1.18.04 amd64 Kurento Filters module ii kms-jsonrpc 6.12.0-0kurento1.18.04 amd64 Kurento JSON-RPC library ii kmsjsoncpp 1.6.3-1kurento1.18.04 amd64 Kurento jsoncpp library ii kurento-media-server 6.12.0-0kurento1.18.04 amd64 Kurento Media Server ii libgstreamer-plugins-bad1.5-0:amd64 1.8.1-1kurento4.18.04 amd64 GStreamer development files for libraries from the "bad" set ii libgstreamer-plugins-base1.5-0:amd64 1.8.1-1kurento1.18.04 amd64 GStreamer libraries from the "base" set ii libgstreamer1.5-0:amd64 1.8.1-1kurento2.18.04 amd64 Core GStreamer libraries and elements ii libnice10:amd64 0.1.15-1kurento3.18.04 amd64 ICE library (shared library) ii libsrtp0:amd64 1.6.0-0kurento1.18.04 amd64 Secure RTP (SRTP) and UST Reference Implementations - shared library ii libusrsctp 0.9.2-1kurento1.18.04 amd64 sctp-refimpl library ii openh264 1.4.0-1kurento1.18.04 amd64 OpenH264 library ii openh264-gst-plugins-bad-1.5:amd64 1.8.1-1kurento4.18.04 amd64 GStreamer plugins from openh264 ii openwebrtc-gst-plugins 0.10.0-1kurento1.18.04 amd64 OpenWebRTC specific GStreamer plugins

Repository

https://github.com/lulop-k/kurento-rtsp2webrtc.git

Browsers tested

System description:

  1. start kurento-media-server 2.start turnserver 3.start rtsp2webrtc

What is the expected result?

kurento-media-server has an exception and exits

error log Segmentation fault (thread 140637227710208, pid 13678) Stack trace: [??] ??:0 0x266EC at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstrtp.so [??] ??:0 0x26F29 at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstrtp.so [gst_rtp_base_payload_push] /usr/lib/x86_64-linux-gnu/libgstrtp-1.5.so.0:0x1262E [gst_flow_get_name] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x6D2E7 [gst_pad_send_event] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x77C01 [??] ??:0 0xE848 at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [gst_mini_object_steal_qdata] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x6BFD4 [gst_mini_object_steal_qdata] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x6B85F [gst_pad_sticky_events_foreach] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x78783 [??] ??:0 0xC46E at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [??] ??:0 0x173EB at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [??] ??:0 0x176DD at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [ffi_call_unix64] /usr/lib/x86_64-linux-gnu/libffi.so.6:0x5DAE [ffi_call] /usr/lib/x86_64-linux-gnu/libffi.so.6:0x571F [g_cclosure_marshal_generic] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0:0x10901 [g_closure_invoke] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0:0x1010D

j1elo commented 4 years ago

Could you please try with Kurento 6.13.0? We're just in the middle of releasing it, so there hasn't been any release announcement yet, but apt-get packages and Docker image should already be available.

zqx1993 commented 4 years ago

OK, let me try. Thank you.

zqx1993 commented 4 years ago

@j1elo After updating the version, the error persists

kurento-media-server version: 6.13.0

kurento-media-server --version

Kurento Media Server version: 6.13.0 Found modules:

   'core' version 6.12.0
   'elements' version 6.12.0
   'filters' version 6.12.0

error log:

2019-12-24T08:08:10+00:00 -- New execution Segmentation fault (thread 140345606125312, pid 31161) Stack trace: [??] ??:0 0x266EC at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstrtp.so [??] ??:0 0x26F29 at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstrtp.so [gst_rtp_base_payload_push] /usr/lib/x86_64-linux-gnu/libgstrtp-1.5.so.0:0x1262E [gst_flow_get_name] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x6D2E7 [gst_pad_send_event] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x77C01 [??] ??:0 0xE848 at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [gst_mini_object_steal_qdata] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x6BFD4 [gst_mini_object_steal_qdata] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x6B85F [gst_pad_sticky_events_foreach] /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0:0x78783 [??] ??:0 0xC46E at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [??] ??:0 0x173EB at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [??] ??:0 0x176DD at /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstplayback.so [ffi_call_unix64] /usr/lib/x86_64-linux-gnu/libffi.so.6:0x5DAE [ffi_call] /usr/lib/x86_64-linux-gnu/libffi.so.6:0x571F [g_cclosure_marshal_generic] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0:0x10901 [g_closure_invoke] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0:0x1010D

j1elo commented 4 years ago

Please make sure that Kurento and all dependencies have been upgraded. In your case, I can see that's not the case because core, elements & filters should be also 6.13.

When you change the repository line in kurento.list, there are 2 options:

If you don't do one of these methods, then you'll end up with a mixed installation of old and new packages. apt-get is not clever enough to upgrade all dependency packages when you change the files in /etc/apt/sources.list

j1elo commented 4 years ago

I have updated the docs section to talk about limitations of apt-get and how to upgrade between versions of Kurento: local upgrade.

Meanwhile, please install debug symbols so we can see file names and line numbers in your stack trace.

Also provide more description about your setup, to help me reproduce the issue on my side. I used rtsp2webrtc with a sample rtsp stream, and it didn't crash on me... what is your config?

zqx1993 commented 4 years ago

I will try again and thank you again for your answers.