Crash when recording in full screen then recording
How to reproduce:
- Call someone
- Set the call in fullscreen
- Record
- Hang up without stop recording
- Re-call this person
- Crash!
Thread 1 "lt-dring" received signal SIGSEGV, Segmentation fault.
ring::AudioReceiveThread::startRecorder (this=0x0, rec=std::shared_ptr<ring::MediaRecorder> (use count 1, weak count 0) = {...}) at audio_rtp_session.cpp:386
386 audioDecoder_->startRecorder(rec);
Missing separate debuginfos, use: dnf debuginfo-install alsa-lib-1.1.6-2.fc28.x86_64 alsa-plugins-pulseaudio-1.1.6-3.fc28.x86_64 bzip2-libs-1.0.6-26.fc28.x86_64 dbus-libs-1.12.8-1.fc28.x86_64 flac-libs-1.3.2-7.fc28.x86_64 gmp-6.1.2-7.fc28.x86_64 gnutls-3.6.2-1.fc28.x86_64 gsm-1.0.17-5.fc28.x86_64 jsoncpp-1.8.4-3.fc28.x86_64 libICE-1.0.9-12.fc28.x86_64 libSM-1.2.2-8.fc28.x86_64 libX11-1.6.5-7.fc28.x86_64 libX11-xcb-1.6.5-7.fc28.x86_64 libXau-1.0.8-11.fc28.x86_64 libXext-1.3.3-8.fc28.x86_64 libXfixes-5.0.3-5.fc28.x86_64 libXi-1.7.9-6.fc28.x86_64 libXtst-1.2.3-5.fc28.x86_64 libasyncns-0.8-14.fc28.x86_64 libblkid-2.32-2.fc28.x86_64 libcap-2.25-9.fc28.x86_64 libdrm-2.4.92-1.fc28.x86_64 libffi-3.1-16.fc28.x86_64 libgcc-8.1.1-1.fc28.x86_64 libgcrypt-1.8.2-2.fc28.x86_64 libgpg-error-1.29-1.fc28.x86_64 libidn2-2.0.5-1.fc28.x86_64 libmount-2.32-2.fc28.x86_64 libogg-1.3.2-10.fc28.x86_64 libpciaccess-0.13.4-8.fc28.x86_64 libsamplerate-0.1.9-1.fc28.x86_64 libselinux-2.7-13.fc28.x86_64 libsndfile-1.0.28-7.fc28.x86_64 libstdc++-8.1.1-1.fc28.x86_64 libtasn1-4.13-2.fc28.x86_64 libunistring-0.9.9-1.fc28.x86_64 libuuid-2.32-2.fc28.x86_64 libva-2.1.0-1.fc28.x86_64 libva-intel-driver-2.1.0-2.fc28.x86_64 libvdpau-1.1.1-7.fc28.x86_64 libvorbis-1.3.6-1.fc28.x86_64 libxcb-1.13-1.fc28.x86_64 lz4-libs-1.8.1.2-4.fc28.x86_64 nettle-3.4-2.fc28.x86_64 nss-mdns-0.14.1-1.fc28.x86_64 openssl-libs-1.1.0h-3.fc28.x86_64 opus-1.3-0.4.beta.fc28.x86_64 p11-kit-0.23.10-1.fc28.x86_64 pcre-8.42-1.fc28.x86_64 pcre2-10.31-4.fc28.x86_64 pulseaudio-libs-11.1-18.fc28.1.x86_64 speex-1.2.0-1.fc28.x86_64 speexdsp-1.2-0.13.rc3.fc28.x86_64 systemd-libs-238-8.git0e0aa59.fc28.x86_64 xz-libs-5.2.4-2.fc28.x86_64 yaml-cpp-0.6.1-2.fc28.x86_64 zlib-1.2.11-8.fc28.x86_64
(gdb) bt
#0 ring::AudioReceiveThread::startRecorder (this=0x0, rec=std::shared_ptr<ring::MediaRecorder> (use count 1, weak count 0) = {...}) at audio_rtp_session.cpp:386
#1 0x00007ffff69f4538 in ring::AudioRtpSession::startRecorder (this=0x2632100, rec=std::shared_ptr<ring::MediaRecorder> (use count 1, weak count 0) = {...}) at audio_rtp_session.cpp:520
#2 0x00007ffff69bde46 in ring::SIPCall::toggleRecording (this=0x7fffc00b72b0) at sipcall.cpp:1157
#3 0x00007ffff69580dc in ring::Manager::toggleRecordingCall(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () at manager.cpp:2408
#4 0x0000000000436954 in DBusCallManager::toggleRecording (callID="17475899643809895462", this=<optimized out>) at dbuscallmanager.cpp:219
#5 cx::ring::Ring::CallManager_adaptor::_toggleRecording_stub (this=0x6c8080, call=...) at dbuscallmanager.adaptor.h:997
#6 0x0000000000435fb7 in DBus::Callback<cx::ring::Ring::CallManager_adaptor, DBus::Message, DBus::CallMessage const&>::call (this=<optimized out>, param=...) at /home/AmarOk/Projets/ring-project/daemon/contrib/x86_64-redhat-linux/include/dbus-c++-1/dbus-c++/util.h:281
#7 0x0000000000458f1e in DBus::Slot<DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const ()
#8 0x0000000000457fd9 in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) ()
#9 0x0000000000460f0c in DBus::ObjectAdaptor::handle_message(DBus::Message const&) ()
#10 0x00000000004605a1 in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) ()
#11 0x00007ffff7babeb8 in ?? () from /lib64/libdbus-1.so.3
#12 0x00007ffff7b9c604 in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
#13 0x000000000044f2e6 in DBus::Connection::Private::do_dispatch() ()
#14 0x0000000000452872 in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) ()
#15 0x00000000004526a2 in DBus::Dispatcher::dispatch_pending() ()
#16 0x00000000004564d8 in DBus::BusDispatcher::do_iteration() ()
#17 0x000000000045620b in DBus::BusDispatcher::enter() ()
#18 0x000000000041bf2f in DBusClient::event_loop() () at dbusclient.cpp:250
#19 0x000000000041b719 in main () at main.cpp:236
#20 0x00007ffff101d18b in __libc_start_main () from /lib64/libc.so.6
#21 0x000000000041ba0a in _start () at main.cpp:241