bugtracker
bugtracker copied to clipboard
crash at `kurento::MediaElementImpl::mediaFlowInStateChange`
Prerequisites
- [x] I have read the SUPPORT document
root@kurento-online-bj-2020061005:/var/crash/1# apt list|grep kurento-dbg
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
kurento-dbg/bionic 6.14.0-0kurento1.18.04 amd64
-
[x] I have checked the Troubleshooting Guide
-
[] I have tested with the latest version of Kurento
Issue description
Segmentation fault (thread 140681564055296, pid 9488)
Stack trace:
[__nss_passwd_lookup]
sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S:244
[std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6:0x126AC8
[std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]
/usr/include/c++/7/bits/stl_tree.h:2152
[std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<kurento::MediaFlowState> > >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&) [clone .isra.449]]
/usr/include/c++/7/bits/stl_tree.h:2404
[kurento::MediaElementImpl::mediaFlowInStateChange(int, char*, KmsElementPadType)]
/usr/include/c++/7/bits/stl_map.h:493
[void kurento::signal_handler_adaptor<void, _GstElement*, int, char*, KmsElementPadType>(_GstElement*, int, char*, KmsElementPadType, void*)]
/usr/include/c++/7/bits/shared_ptr_base.h:684
[g_closure_invoke]
gobject/gclosure.c:811 (discriminator 2)
[accumulate]
gobject/gsignal.c:3140
[g_signal_emit_valist]
gobject/gsignal.c:3419 (discriminator 1)
[g_signal_emit]
gobject/gsignal.c:3449
[check_if_flow_media]
./src/gst-plugins/commons/./src/gst-plugins/commons/kmselement.c:616
[g_timeout_dispatch]
glib/gmain.c:4653
[g_main_dispatch]
glib/gmain.c:3180
[g_main_context_iterate]
glib/gmain.c:3902
[g_main_loop_run]
glib/gmain.c:4097
[loop_thread_init]
./src/gst-plugins/commons/./src/gst-plugins/commons/kmsloop.c:105
Context
How to reproduce?
I don't know
Expected & current behavior
(Optional) Possible solution
INFO about Kurento Media Server
- Kurento version: 6.14.0
- Server OS: 18.04 (Bionic)
- Installation method:
- [x] apt-get
- [] Docker
- [] AWS
- [] Built from sources
INFO about your Application Server
- Language: Java
- Kurento Client version:
INFO about end-user clients
- Device(s):
- OS(es):
- Browser(s):
INFO about your environment
Commands output
root@kurento-online-bj-2020061005:/var/crash/1# kurento-media-server --version
Kurento Media Server version: 6.14.0
Found modules:
'core' version 6.14.0
'elements' version 6.14.0
'filters' version 6.14.0
root@kurento-online-bj-2020061005:/var/crash/1#
root@kurento-online-bj-2020061005:/var/crash/1# dpkg -l | grep -Pi 'kurento|kms-|gst.*1.5|nice'
ii gstreamer1.5-libav:amd64 1.8.1-1kurento1.18.04 amd64 libav plugin for GStreamer
ii gstreamer1.5-nice:amd64 0.1.17-0kurento1.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-1kurento2.18.04 amd64 GStreamer plugins from the "base" set
ii gstreamer1.5-plugins-good:amd64 1.8.1-1kurento4.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-1kurento4.18.04 amd64 GStreamer plugin for PulseAudio
ii kms-core 6.14.0-0kurento1.18.04 amd64 Kurento Core module
ii kms-elements 6.14.0-0kurento1.18.04 amd64 Kurento Elements module
ii kms-filters 6.14.0-0kurento1.18.04 amd64 Kurento Filters module
ii kms-jsonrpc 6.14.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.14.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-1kurento2.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.17-0kurento1.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
root@kurento-online-bj-2020061005:/var/crash/1#
Hello @darrenhp! :wave: we're sorry you found a bug... so first of all, thank you very much for reporting it.
However, your report doesn't follow the issue template, so it is being automatically closed. We are really sorry for that, but we need all reports to follow the template, or else it won't be possible to understand and help with all issues.
Please, create a new issue following the template, or reopen this same issue to edit and provide all required information.
Hello @darrenhp! :wave: we're sorry you found a bug... so first of all, thank you very much for reporting it.
To know about progress, check in Triage. All issues are considered Backlog Candidates until work priorities align and the issue is selected for development. It will then become part of our official Backlog.
reopening because it seems valid
Please see if you can get a crash report from /var/crash (read the docs about important info), or a gdb backtrace. The log by itself doesn't look like it contains enough information, now that I've had a look at it
Please see if you can get a crash report from /var/crash (read the docs about important info), or a gdb backtrace. The log by itself doesn't look like it contains enough information, now that I've had a look at it
$ ulimit -c
1024000
May be the limit is not enough, there is no core file in the _usr_bin_kurento-media-server.1000.crash