This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Kurento 6.15.0 crushes #599
Copy link
Copy link
Open
Description
Prerequisites
These are MANDATORY, otherwise the issue will be automatically closed.
- I agree to fill this issue template.
- I have read the Troubleshooting Guide and Support Instructions.
Issue description
We use KMS 6.15.0 on AWS instance linux Ubuntu 18.04. It starts like:
sudo -u kurento docker run --name kms-6.15.0 --restart always -p 8888:8888 -p 8433:8433 --ulimit nofile="$(( ($(cat /proc/sys/fs/file-max) * 50) / 100 ))" \
-e GST_DEBUG='2,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4,KurentoMediaElementImpl:4' \
-e KMS_EXTERNAL_IPV4='auto' -e KMS_NETWORK_INTERFACES="eth0" -v /home/kurento/kurento-config-6.15.0:/etc/kurento -e KMS_MTU='1100' \
-e KMS_STUN_IP='ip.of.our.stun' -e KMS_STUN_PORT='3478' -e KMS_TURN_URL='turn:[email protected]:3478?transport=udp' --network host \
-v /home/kurento/tmp/kurento:/tmp -v /srv/records:/srv/records --log-driver journald -d kurento/kurento-media-server:6.15.0;
Why is not KMS 6.16.0? I don't see any urgent updates in the version.
We get some crush of our server really rarely.
Next I attach backtrace of a crash.
I see some malloc problems in backtrace. But I don't see any memory problems on the AWS instance.
How to reproduce?
I don't know
Expected & current behavior
[New LWP 25997]
[New LWP 18582]
[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 SIGBUS, Bus error.
#0 malloc_consolidate (av=av@entry=0x7f403c000020) at malloc.c:4188
4188 malloc.c: No such file or directory.
[Current thread is 1 (Thread 0x7f42c59fc700 (LWP 252))]
(gdb) bt
#0 0x00007f433d1c14d6 in malloc_consolidate (av=av@entry=0x7f403c000020) at malloc.c:4188
#1 0x00007f433d1c4d0c in _int_malloc (av=av@entry=0x7f403c000020, bytes=bytes@entry=7904) at malloc.c:3457
#2 0x00007f433d1c71d4 in __GI___libc_malloc (bytes=7904) at malloc.c:2920
#3 0x00007f433d7b0e78 in operator new(unsigned long) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (this=<optimized out>, __n=494)
at /usr/include/c++/5/ext/new_allocator.h:104
#5 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (__a=..., __n=494)
at /usr/include/c++/5/bits/alloc_traits.h:491
#6 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (this=<optimized out>, __n=494)
at /usr/include/c++/5/bits/stl_vector.h:170
#7 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (__n=<optimized out>, this=0x7f42c59fb170) at /usr/include/c++/5/bits/stl_vector.h:185
#8 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (__a=..., __n=<optimized out>, this=0x7f42c59fb170) at /usr/include/c++/5/bits/stl_vector.h:136
#9 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (__x=std::vector of length 494, capacity 494 = {...}, this=0x7f42c59fb170) at /usr/include/c++/5/bits/stl_vector.h:320
#10 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (other=..., this=0x7f42c59fb170)
at /usr/include/boost/asio/detail/consuming_buffers.hpp:186
#11 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (other=<unknown type in /usr/lib/debug/.build-id/47/50de7fbda2d6efaf9658acc2b864373a4c161e.debug, CU 0x43c7af, DIE 0x6b88fc>, this=0x7f42c59fb168) at /usr/include/boost/asio/impl/write.hpp:167
#12 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (this=0x7f42c59fb168)
at /usr/include/boost/asio/detail/bind_handler.hpp:108
#13 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (other=<unknown type in /usr/lib/debug/.build-id/47/50de7fbda2d6efaf9658acc2b864373a4c161e.debug, CU 0x43c7af, DIE 0x739142>, this=0x7f42c59fb120) at /usr/include/boost/asio/detail/wrapped_handler.hpp:184
#14 0x000056477eee9b21 in boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> >, boost::asio::detail::is_continuation_if_running> >, boost::system::error_code, unsigned long>, websocketpp::transport::asio::custom_alloc_handler<std::_Bind<std::_Mem_fn<void (websocketpp---Type <return> to continue, or q <return> to quit---
::transport::asio::connection<websocketpp::config::asio::transport_config>::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&, unsigned long)> (std::shared_ptr<websocketpp::transport::asio::connection<websocketpp::config::asio::transport_config> >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (owner=0x564780ca3560, base=0x564780ca3f50) at /usr/include/boost/asio/detail/completion_handler.hpp:59
#15 0x000056477ee995fd in boost::asio::detail::strand_service::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (bytes_transferred=0, ec=..., owner=..., this=<optimized out>)
at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38
#16 0x000056477ee995fd in boost::asio::detail::strand_service::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (owner=0x564780ca3560, base=0x564780ca2710, ec=...)
at /usr/include/boost/asio/detail/impl/strand_service.ipp:167
#17 0x000056477ee89fcb in kurento::WebSocketTransport::run() (bytes_transferred=0, ec=..., owner=..., this=<optimized out>) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38
#18 0x000056477ee89fcb in kurento::WebSocketTransport::run() (ec=..., this_thread=..., lock=..., this=0x564780ca3560) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:372
#19 0x000056477ee89fcb in kurento::WebSocketTransport::run() (ec=..., this=0x564780ca3560) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#20 0x000056477ee89fcb in kurento::WebSocketTransport::run() (this=0x564780c6d248) at /usr/include/boost/asio/impl/io_service.ipp:59
#21 0x000056477ee89fcb in kurento::WebSocketTransport::run() (this=0x564780c6d140) at /build/server/transport/websocket/WebSocketTransport.cpp:103
#22 0x00007f433d7dbc80 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#23 0x00007f433f88f6ba in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
#24 0x00007f433d24a4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) quit
(Optional) Possible solution
Info about your environment
About Kurento Media Server
- Kurento version: 6.15.0
- Server OS: 18.04 (Bionic)
- Installation method:
About your Application Server
- Programming Language: node.js
- Kurento Client version: 6.15.0
Run these commands
I run the command into docker container
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
kurento-media-server --version
0:00:00.014285031 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so
0:00:00.014341591 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: filters, version: 6.15.0, date: Nov 3 2020 18:33:58
0:00:00.014658784 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so
0:00:00.014687655 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: core, version: 6.15.0, date: Nov 3 2020 18:12:59
0:00:00.022753644 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so
0:00:00.022791185 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: elements, version: 6.15.0, date: Nov 3 2020 18:22:58
0:00:00.023270089 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmspointerdetectormodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmspointerdetectormodule.so
0:00:00.023295380 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: pointerdetector, version: 6.15.0, date: Nov 4 2020 12:26:22
0:00:00.023724744 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsplatedetectormodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsplatedetectormodule.so
0:00:00.023748634 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: platedetector, version: 6.15.0, date: Nov 4 2020 12:26:25
0:00:00.024299370 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscrowddetectormodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscrowddetectormodule.so
0:00:00.024326290 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: crowddetector, version: 6.15.0, date: Nov 4 2020 12:26:52
0:00:00.024734014 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmschromamodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmschromamodule.so
0:00:00.024760604 19688 0x55e36ba44270 INFO KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: chroma, version: 6.15.0, date: Nov 4 2020 12:20:06
Kurento Media Server version: 6.15.0
Found modules:
'chroma' version 6.15.0
'core' version 6.15.0
'crowddetector' version 6.15.0
'elements' version 6.15.0
'filters' version 6.15.0
'platedetector' version 6.15.0
'pointerdetector' version 6.15.0
dpkg -l | grep -Pi 'kurento|kms-|gst.*1.5|nice'
ii gstreamer1.5-alsa:amd64 1.8.1-1kurento2.16.04 amd64 GStreamer plugin for ALSA
ii gstreamer1.5-libav:amd64 1.8.1-1kurento1.16.04 amd64 libav plugin for GStreamer
ii gstreamer1.5-libav-dbg:amd64 1.8.1-1kurento1.16.04 amd64 libav plugin for GStreamer (debug symbols)
ii gstreamer1.5-nice:amd64 0.1.18-0kurento1.16.04 amd64 ICE library (GStreamer 1.5 plugin)
ii gstreamer1.5-nice-dbgsym:amd64 0.1.18-0kurento1.16.04 amd64 debug symbols for package gstreamer1.5-nice
ii gstreamer1.5-plugins-bad:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer plugins from the "bad" set
ii gstreamer1.5-plugins-bad-dbg:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer plugins from the "bad" set (debug symbols)
ii gstreamer1.5-plugins-base:amd64 1.8.1-1kurento2.16.04 amd64 GStreamer plugins from the "base" set
ii gstreamer1.5-plugins-base-dbg:amd64 1.8.1-1kurento2.16.04 amd64 GStreamer plugins from the "base" set
ii gstreamer1.5-plugins-good:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer plugins from the "good" set
ii gstreamer1.5-plugins-good-dbg:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer plugins from the "good" set
ii gstreamer1.5-plugins-ugly:amd64 1.8.1-1kurento1.16.04 amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.5-plugins-ugly-dbg:amd64 1.8.1-1kurento1.16.04 amd64 GStreamer plugins from the "ugly" set (debug symbols)
ii gstreamer1.5-pulseaudio:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer plugin for PulseAudio
ii gstreamer1.5-x:amd64 1.8.1-1kurento2.16.04 amd64 GStreamer plugins for X11 and Pango
ii kms-chroma 6.15.0-0kurento1.16.04 amd64 Kurento Chroma filter
ii kms-core 6.15.0-0kurento1.16.04 amd64 Kurento Core module
ii kms-core-dbg 6.15.0-0kurento1.16.04 amd64 Kurento Core module
ii kms-crowddetector 6.15.0-0kurento1.16.04 amd64 Kurento Crowd Detector filter
ii kms-elements 6.15.0-0kurento1.16.04 amd64 Kurento Elements module
ii kms-elements-dbg 6.15.0-0kurento1.16.04 amd64 Kurento Elements module
ii kms-filters 6.15.0-0kurento1.16.04 amd64 Kurento Filters module
ii kms-filters-dbg 6.15.0-0kurento1.16.04 amd64 Kurento Filters module
ii kms-jsonrpc 6.15.0-0kurento1.16.04 amd64 Kurento JSON-RPC library
ii kms-jsonrpc-dbg 6.15.0-0kurento1.16.04 amd64 Kurento JSON-RPC library
ii kms-platedetector 6.15.0-0kurento1.16.04 amd64 Kurento Plate Detector filter
ii kms-pointerdetector 6.15.0-0kurento1.16.04 amd64 Kurento Pointer Detector filter
ii kmsjsoncpp 1.6.3-1kurento1.16.04 amd64 Kurento jsoncpp library
ii kmsjsoncpp-dbg 1.6.3-1kurento1.16.04 amd64 Kurento jsoncpp library
ii kurento-dbg 6.15.0-0kurento1.16.04 amd64 Meta-package that installs debug symbols
ii kurento-media-server 6.15.0-0kurento1.16.04 amd64 Kurento Media Server
ii kurento-media-server-dbg 6.15.0-0kurento1.16.04 amd64 Kurento Media Server
ii libgstreamer-plugins-bad1.5-0:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-base1.5-0:amd64 1.8.1-1kurento2.16.04 amd64 GStreamer libraries from the "base" set
ii libgstreamer1.5-0:amd64 1.8.1-1kurento2.16.04 amd64 Core GStreamer libraries and elements
ii libgstreamer1.5-0-dbg:amd64 1.8.1-1kurento2.16.04 amd64 Core GStreamer libraries and elements
ii libnice10:amd64 0.1.18-0kurento1.16.04 amd64 ICE library (shared library)
ii libnice10-dbgsym:amd64 0.1.18-0kurento1.16.04 amd64 debug symbols for package libnice10
ii libsrtp0:amd64 1.6.0-0kurento1.16.04 amd64 Secure RTP (SRTP) and UST Reference Implementations - shared library
ii libusrsctp 0.9.2-1kurento1.16.04 amd64 sctp-refimpl library
ii openh264 1.5.0-0kurento1.16.04 amd64 H.264 Video Codec provided by Cisco Systems, Inc.
ii openh264-gst-plugins-bad-1.5:amd64 1.8.1-1kurento5.16.04 amd64 GStreamer plugins from openh264
ii openwebrtc-gst-plugins 0.10.0-1kurento1.16.04 amd64 OpenWebRTC specific GStreamer plugins
ii openwebrtc-gst-plugins-dbg 0.10.0-1kurento1.16.04 amd64 OpenWebRTC specific GStreamer plugins
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Jun 1, 2021
Hello @avssav! 👋 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.
avssav commentedon Jul 3, 2021
Our another kurento was crashed yesterday. Dump file didn't create but I have some logs. Maybe it will helps
avssav commentedon Aug 3, 2021
One more crush on low load service (
avssav commentedon Nov 24, 2021
An another one:
j1elo commentedon Nov 24, 2021
@avssav are you using DataChannel?
I noticed that lines 3 and 4 mention the
DataChannelClosemethod, so that could be a hintavssav commentedon Nov 25, 2021
@j1elo Where can I see to use of the method? We connect to the kurento server through our node.js kurento-client. It was forked and rewritten from https://github.com/Kurento/kurento-tutorial-node/tree/master/kurento-one2one-call with using socket.io and ws npm modules and kurento-client-js and kurento-utils-js a few years ago.
Copy of our application is here https://github.com/avssav/novakid-kurento-client (app.js) There is 6.13.1 version, but it doesn't matter, because this client hasn't changed. Only the versions of the kureno server and modules npm in the package.json changed to newer
After that I update npm modules in our package.json, kurento-client-js and kurento-utils-js, Because they were changing from one version of kurento to another.
Our forks of kurento-client-js and kurento-utils-js are here https://github.com/d42f/kurento-client-bower/tree/branch-6.15.0 and https://github.com/d42f/kurento-utils-bower/tree/branch-6.15.0
We are now using the standard docker kms image 6.15.0 (there are plans to upgrade to 6.16.0 now because kurento-client-js and kurento-utils-js have some upgrades)
j1elo commentedon Nov 25, 2021
It doesn't look that you are using DataChannels in https://github.com/avssav/novakid-kurento-client
So the fact that Kurento stack trace points to some DataChannel methods, could indicate a memory corruption bug, that ends up with a crash.
Are you able to identify if the crash happens with some scenario? Like:
So I can try to replicate your conditions with the kurento-one2one-call, to see if I can also get the same crash which would help me investigate the issue.
avssav commentedon Nov 29, 2021
There a lot of one2one pair of clients connected (10-70 pair). Different geographic areas. Load doesn't matter. This does not happen often