jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2020-07-07T20:16:39Zhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/233Crash when hanging up if video device was used by another process2020-07-07T20:16:39ZAdrien BéraudCrash when hanging up if video device was used by another processReported on GNU/Linux
[crash-jerome-16juin.txt](/uploads/f1ed5026ea41c06f6ff7031629deb939/crash-jerome-16juin.txt)Reported on GNU/Linux
[crash-jerome-16juin.txt](/uploads/f1ed5026ea41c06f6ff7031629deb939/crash-jerome-16juin.txt)Pierre LespagnolPierre Lespagnolhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/222Recording video calls crash after some time2020-07-07T20:06:36ZAdrien BéraudRecording video calls crash after some timeIteration 18Pierre LespagnolPierre Lespagnolhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/22intercom: segfault while deleting self-conversation2022-11-14T21:52:31ZHugo Lefeuvreintercom: segfault while deleting self-conversation**How to reproduce**:
1. Create a conversation with yourself
2. Try to remove it using "Remove conversation" in the smartlist
The daemon segfaults.
**Stacktrace**:
```
Thread 1 "dring" received signal SIGSEGV, Segmentation fault. ...**How to reproduce**:
1. Create a conversation with yourself
2. Try to remove it using "Remove conversation" in the smartlist
The daemon segfaults.
**Stacktrace**:
```
Thread 1 "dring" received signal SIGSEGV, Segmentation fault.
0x00007fffef394153 in asn1_delete_structure2 () from /usr/lib/x86_64-linux-gnu/libtasn1.so.6
(gdb) bt
#0 0x00007fffef394153 in asn1_delete_structure2 () at /usr/lib/x86_64-linux-gnu/libtasn1.so.6
#1 0x00007ffff64ccf09 in gnutls_x509_crl_deinit () at /usr/lib/x86_64-linux-gnu/libgnutls.so.30
#2 0x00007ffff6504544 in gnutls_x509_trust_list_deinit () at /usr/lib/x86_64-linux-gnu/libgnutls.so.30
#3 0x00005555558d9b8e in dht::crypto::TrustList::operator=(dht::crypto::TrustList&&) ()
#4 0x000055555561d064 in ring::tls::TrustStore::rebuildTrust() (this=this@entry=0x555555dc5a48)
at certstore.cpp:549
#5 0x00005555556225d0 in ring::tls::TrustStore::setCertificateStatus(std::shared_ptr<dht::crypto::Certificate>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ring::tls::TrustStore::PermissionStatus, bool) (this=0x555555dc5a48, cert=std::shared_ptr<dht::crypto::Certificate> (empty) = {...}, cert_id="eb3c27067c4637b99bf9895d5babb2c77c3115b5", status=status@entry=ring::tls::TrustStore::PermissionStatus::UNDEFINED, local=local@entry=false) at certstore.cpp:468
#6 0x0000555555622ddc in ring::tls::TrustStore::setCertificateStatus(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ring::tls::TrustStore::PermissionStatus) (this=<optimized out>, cert_id="eb3c27067c4637b99bf9895d5babb2c77c3115b5", status=status@entry=ring::tls::TrustStore::PermissionStatus::UNDEFINED) at certstore.cpp:416
#7 0x0000555555677fd2 in ring::RingAccount::removeContact(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (this=this@entry=
0x555555dc4430, uri="eb3c27067c4637b99bf9895d5babb2c77c3115b5", ban=ban@entry=false)
at ringaccount.cpp:2941
#8 0x000055555560a260 in DRing::removeContact(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (accountId="bde9e076abf742fb", uri="eb3c27067c4637b99bf9895d5babb2c77c3115b5", ban=<optimized out>) at configurationmanager.cpp:340
#9 0x00005555555d3304 in DBusConfigurationManager::removeContact(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool const&) (ban=@0x7fffffffdbff: false, uri="eb3c27067c4637b99bf9895d5babb2c77c3115b5", accountId="bde9e076abf742fb", this=0x555555b48880) at dbusconfigurationmanager.cpp:551
#10 0x00005555555d3304 in cx::ring::Ring::ConfigurationManager_adaptor::_removeContact_stub(DBus::CallMessage const&) (this=0x555555b48880, call=...) at dbusconfigurationmanager.adaptor.h:2323
#11 0x00005555555d0397 in DBus::Callback<cx::ring::Ring::ConfigurationManager_adaptor, DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const (this=<optimized out>, param=...)
at /home/hle/Development/ring/ring-daemon/contrib/x86_64-linux-gnu/include/dbus-c++-1/dbus-c++/util.h:283
#12 0x00005555555ebcbe in DBus::Slot<DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const ()
#13 0x00005555555eacfd in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) ()
#14 0x00005555555f3d92 in DBus::ObjectAdaptor::handle_message(DBus::Message const&) ()
#15 0x00005555555f3427 in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) ()
#16 0x00007ffff7bad440 in () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#17 0x00007ffff7b9e20a in dbus_connection_dispatch () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#18 0x00005555555e1d8a in DBus::Connection::Private::do_dispatch() ()
#19 0x00005555555e533e in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) ()
#20 0x00005555555e516e in DBus::Dispatcher::dispatch_pending() ()
#21 0x00005555555e9156 in DBus::BusDispatcher::do_iteration() ()
#22 0x00005555555e8e89 in DBus::BusDispatcher::enter() ()
#23 0x00005555555ac3ff in DBusClient::event_loop() (this=<optimized out>) at dbusclient.cpp:250
#24 0x00005555555a63e2 in main(int, char**) (argc=2, argv=<optimized out>) at main.cpp:236
(gdb) up 7
#7 0x0000555555677fd2 in ring::RingAccount::removeContact (this=this@entry=0x555555dc4430,
uri="eb3c27067c4637b99bf9895d5babb2c77c3115b5", ban=ban@entry=false) at ringaccount.cpp:2941
2941 trust_.setCertificateStatus(uri, ban ? tls::TrustStore::PermissionStatus::BANNED
(gdb) l
2936 c = contacts_.emplace(h, Contact{}).first;
2937 else if (not c->second.isActive() and c->second.banned == ban)
2938 return;
2939 c->second.removed = std::time(nullptr);
2940 c->second.banned = ban;
2941 trust_.setCertificateStatus(uri, ban ? tls::TrustStore::PermissionStatus::BANNED
2942 : tls::TrustStore::PermissionStatus::UNDEFINED);
2943 if (ban and trustRequests_.erase(h) > 0)
2944 saveTrustRequests();
2945 saveContacts();
(gdb) p ban
$1 = false
(gdb)
```Adrien BéraudAdrien Béraudhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/10Crash when recording in full screen then recording2024-03-08T19:26:14ZAdministratorCrash when recording in full screen then recordingHow to reproduce:
1. Call someone
2. Set the call in fullscreen
3. Record
4. Hang up without stop recording
5. Re-call this person
6. Crash!
```
Thread 1 "lt-dring" received signal SIGSEGV, Segmentation fault.
ring::AudioReceiveThread::...How to reproduce:
1. Call someone
2. Set the call in fullscreen
3. Record
4. Hang up without stop recording
5. Re-call this person
6. 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
```https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/25ring-daemon breaks: no member named 'raw\_chain' in 'pj\_ssl\_cert\_info'2022-11-14T21:52:31ZJami Botring-daemon breaks: no member named 'raw\_chain' in 'pj\_ssl\_cert\_info'Issue generated from Tuleap's migration script.
**Originally submitted by: Yuri (yurivict)**
Getting this in the FreeBSD port.
It also expects a missing symbol PJSIP\_TRANSPORT\_DTLS6.
You provide patches for pjsip. However, it isn'...Issue generated from Tuleap's migration script.
**Originally submitted by: Yuri (yurivict)**
Getting this in the FreeBSD port.
It also expects a missing symbol PJSIP\_TRANSPORT\_DTLS6.
You provide patches for pjsip. However, it isn't easy to build pjsip. This is done by its own port. Ring port can't just easily repeat what the other port is doing.
Please merge your patches into the pjsip upstream, so that there will be no need to keep any patches.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/24Please support the current pjsip version2022-11-14T21:52:31ZJami BotPlease support the current pjsip versionIssue generated from Tuleap's migration script.
**Originally submitted by: Yuri (yurivict)**
Build with the current pjsip-2.6 fails with missing pjsip\_dlg\_create\_uas which is deprecated. You require pjsip-2.4. But this poses a proble...Issue generated from Tuleap's migration script.
**Originally submitted by: Yuri (yurivict)**
Build with the current pjsip-2.6 fails with missing pjsip\_dlg\_create\_uas which is deprecated. You require pjsip-2.4. But this poses a problem for packaging systems because this requires the custom build and installation of older versions.
ring-daemon-2.2.0