jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2019-01-27T15:01:35Zhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/65Account archive seems to not contains contacts anymore2019-01-27T15:01:35ZSébastien BlinAccount archive seems to not contains contacts anymore# Reproduce step:
1. Generate a new account (without any password).
2. Add some contacts
3. Retrieve the related export.gz
4. `gunzip export.gz`
5. The key `ringAccountContacts` is not present!# Reproduce step:
1. Generate a new account (without any password).
2. Add some contacts
3. Retrieve the related export.gz
4. `gunzip export.gz`
5. The key `ringAccountContacts` is not present!Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/158Android: video frozen in conference, or black screen2019-11-21T15:01:34ZSébastien BlinAndroid: video frozen in conference, or black screenIteration 17 (Video conferences stabilization)Pierre LespagnolPierre Lespagnolhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/95Audio record is broken2019-06-10T14:32:02ZAdministratorAudio record is broken```
Thread 5 "dring" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5326700 (LWP 400)]
0x0000000000ba8952 in avcodec_is_open (s=s@entry=0x20) at libavcodec/utils.c:1873
1873 return !!s->internal;
Missing sep...```
Thread 5 "dring" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5326700 (LWP 400)]
0x0000000000ba8952 in avcodec_is_open (s=s@entry=0x20) at libavcodec/utils.c:1873
1873 return !!s->internal;
Missing separate debuginfos, use: dnf debuginfo-install alsa-lib-1.1.8-1.fc29.x86_64 bzip2-libs-1.0.6-28.fc29.x86_64 dbus-libs-1.12.12-1.fc29.x86_64 flac-libs-1.3.2-8.fc29.x86_64 gsm-1.0.18-3.fc29.x86_64 jsoncpp-1.8.4-5.fc29.x86_64 libICE-1.0.9-14.fc29.x86_64 libSM-1.2.3-1.fc29.x86_64 libX11-1.6.7-1.fc29.x86_64 libX11-xcb-1.6.7-1.fc29.x86_64 libXau-1.0.8-14.fc29.x86_64 libXext-1.3.3-10.fc29.x86_64 libXfixes-5.0.3-8.fc29.x86_64 libXtst-1.2.3-8.fc29.x86_64 libasyncns-0.8-15.fc29.x86_64 libatomic-8.3.1-2.fc29.x86_64 libblkid-2.32.1-1.fc29.x86_64 libcap-2.25-12.fc29.x86_64 libdrm-2.4.97-1.fc29.x86_64 libgcc-8.3.1-2.fc29.x86_64 libgcrypt-1.8.4-1.fc29.x86_64 libgpg-error-1.33-1.fc29.x86_64 libmount-2.32.1-1.fc29.x86_64 libogg-1.3.3-1.fc29.x86_64 libselinux-2.8-6.fc29.x86_64 libstdc++-8.3.1-2.fc29.x86_64 libuuid-2.32.1-1.fc29.x86_64 libva-2.4.0-2.fc29.x86_64 libvdpau-1.1.1-11.fc29.x86_64 libxcb-1.13.1-1.fc29.x86_64 lz4-libs-1.8.3-1.fc29.x86_64 nss-mdns-0.14.1-2.fc29.x86_64 opus-1.3-1.fc29.x86_64 pulseaudio-libs-12.2-1.fc29.x86_64 speex-1.2.0-2.fc29.x86_64 speexdsp-1.2-0.14.rc3.fc29.x86_64 sssd-client-2.0.0-5.fc29.x86_64 xz-libs-5.2.4-3.fc29.x86_64 yaml-cpp-0.6.1-4.fc29.x86_64 zlib-1.2.11-14.fc29.x86_64
(gdb) bt
#0 0x0000000000ba8952 in avcodec_is_open (s=s@entry=0x20) at libavcodec/utils.c:1873
#1 0x0000000000af7591 in avcodec_send_frame (avctx=0x20, frame=0x7fffc4004dc0) at libavcodec/encode.c:389
#2 0x0000000000681714 in jami::MediaEncoder::encode(AVFrame*, int) () at libavcodec/utils.c:1136
#3 0x0000000000687549 in jami::MediaRecorder::filterAndEncode(jami::MediaFilter*, int) () at libavcodec/utils.c:1136
#4 0x00000000006907ff in std::_Function_handler<void (), jami::MediaRecorder::startRecording()::{lambda()#1}>::_M_invoke(std::_Any_data const&) () at libavcodec/utils.c:1136
#5 0x00000000005e5b08 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at libavcodec/utils.c:1136
#6 0x00007ffff75ca9a3 in ?? () from /lib64/libstdc++.so.6
#7 0x00007ffff7bca58e in start_thread () from /lib64/libpthread.so.0
#8 0x00007ffff729d6a3 in clone () from /lib64/libc.so.6
```Iteration 9Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/134Call can cut after 30 secs if bad transport selected2019-08-29T14:44:20ZSébastien BlinCall can cut after 30 secs if bad transport selectedIf we see the following logs at the start of a call:
```
[1565812513.241| 1648|instant_messaging.cpp:184 ] pjsip_dlg_send_request failed: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
```
The call will cut after 30 secs because...If we see the following logs at the start of a call:
```
[1565812513.241| 1648|instant_messaging.cpp:184 ] pjsip_dlg_send_request failed: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
```
The call will cut after 30 secs because the SIP message is not sent.
A bad ip is resolved in sip_resolve.c. Currently digging.Iteration 14Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/120calls: multi-device doesn't seem to work2020-09-30T21:37:08ZMohamed Fenjirocalls: multi-device doesn't seem to workScenario:
Call from account1 (one device) to account2 (two devices). Place a call. Accept one device of account2, the call is kept as pending on the other clients.
Use case:
Once the call is accepted on one of the device, the call sho...Scenario:
Call from account1 (one device) to account2 (two devices). Place a call. Accept one device of account2, the call is kept as pending on the other clients.
Use case:
Once the call is accepted on one of the device, the call should go in CURRENT and close on the others (device of Acc1 and 2nd device of Acc2).Iteration 9Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/162Call-Swarm: link to current rdv2023-11-17T16:32:48ZSébastien BlinCall-Swarm: link to current rdv+ Modify messages to use the "rendezvous" word in non 1:1
+ Add a priority to get the best host (mobile/non mobile/ipv6/resources)
+ Maybe use the DRT to avoid to connect to a non connected mobile.+ Modify messages to use the "rendezvous" word in non 1:1
+ Add a priority to get the best host (mobile/non mobile/ipv6/resources)
+ Maybe use the DRT to avoid to connect to a non connected mobile.Swarm-chat2023-03-31https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/727Camera not opening if rdv host joins2023-02-17T13:51:27ZSébastien BlinCamera not opening if rdv host joins# Scenario
+ Alice is a rdv host
+ Bob calls alice (he will be alone in a rdv)
+ Alice joins the call
# Expected
+ Alice and Bob should see their video in the rdv
# Current
+ Alice's camera is not opening and mute is broken
# Obser...# Scenario
+ Alice is a rdv host
+ Bob calls alice (he will be alone in a rdv)
+ Alice joins the call
# Expected
+ Alice and Bob should see their video in the rdv
# Current
+ Alice's camera is not opening and mute is broken
# Observation
+ Device is busy and not opening
+ The camera become unusable for all apps as busy, even after leaving jamihttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/163Can't search amarok@ns.jami.net2019-09-28T15:10:48ZSébastien BlinCan't search amarok@ns.jami.netIteration 16 (POC prep)Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/779conference: detached host appearing2023-12-27T18:01:47ZAline Gondim Santosconference: detached host appearingJoin a rdv from two different devices;
Crash one of them (force jami quit without correctly ending the call)
On the other one you will see the host in the place of this crashed participant. If the crashed participant is still there (a ...Join a rdv from two different devices;
Crash one of them (force jami quit without correctly ending the call)
On the other one you will see the host in the place of this crashed participant. If the crashed participant is still there (a frozen component), you can change the layout one or two times and the host will take its place.
Expected: the crashed participant should disappear and the host should not take its place.Aline Gondim SantosAline Gondim Santoshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/660Conference, various crash on peer exit2021-11-24T14:58:45ZSébastien BlinConference, various crash on peer exit# Scenario
+ Alice call Bob
+ Alice adds Carla to the conference
+ Bob stop
+ Crash
```
0x00007fffedfe7364 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator std::basic_string_view<char, std::c...# Scenario
+ Alice call Bob
+ Alice adds Carla to the conference
+ Bob stop
+ Crash
```
0x00007fffedfe7364 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator std::basic_string_view<char, std::char_traits<char> >() const () from /lib64/libstdc++.so.6
(gdb) bt
#0 0x00007fffedfe7364 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator std::basic_string_view<char, std::char_traits<char> >() const () at /lib64/libstdc++.so.6
#1 0x00007fffec0f563c in std::less<void>::_S_cmp<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string_view<char, std::char_traits<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string_view<char, std::char_traits<char> > const&, std::integral_constant<bool, false>) (__t=<error reading variable: Cannot access memory at address 0x40>, __u="") at /usr/include/c++/10/bits/stl_function.h:601
#2 0x00007fffec0f569f in std::less<void>::operator()<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string_view<char, std::char_traits<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string_view<char, std::char_traits<char> > const&) const (this=0xc3c6c8, __t=<error reading variable: Cannot access memory at address 0x40>, __u="") at /usr/include/c++/10/bits/stl_function.h:586
#3 0x00007fffec0f0eeb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_lower_bound_tr<std::basic_string_view<char, std::char_traits<char> >, void>(std::basic_string_view<char, std::char_traits<char> > const&) const (this=0xc3c6c8, __k="") at /usr/include/c++/10/bits/stl_tree.h:1346
#4 0x00007fffec0eb35e in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_find_tr<std::basic_string_view<char, std::char_traits<char> >, void>(std::basic_string_view<char, std::char_traits<char> > const&) const (this=0xc3c6c8, __k="") at /usr/include/c++/10/bits/stl_tree.h:1314
#5 0x00007fffec0e63b3 in std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::find<std::basic_string_view<char, std::char_traits<char> > >(std::basic_string_view<char, std::char_traits<char> > const&) const (this=0xc3c6c8, __x="") at /usr/include/c++/10/bits/stl_set.h:812
#6 0x00007fffec0d9002 in jami::Conference::isModerator(std::basic_string_view<char, std::char_traits<char> >) const (this=0xc3c4a0, uri="") at conference.cpp:946
#7 0x00007fffec0d327a in operator()() const (__closure=0x7ffe9e2422c0) at conference.cpp:100
#8 0x00007fffec0dc11a in operator()() (this=0x7ffe9e2422c0) at manager.h:1057
#9 0x00007fffec0de730 in std::__invoke_impl<void, jami::runOnMainThread<jami::Conference::Conference(bool)::<lambda(std::vector<jami::video::SourceInfo>&&)>::<lambda()> >::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...)
at /usr/include/c++/10/bits/invoke.h:60
#10 0x00007fffec0ddef4 in std::__invoke_r<void, jami::runOnMainThread<jami::Conference::Conference(bool)::<lambda(std::vector<jami::video::SourceInfo>&&)>::<lambda()> >::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/10/bits/invoke.h:110
#11 0x00007fffec0dd337 in std::_Function_handler<void(), jami::runOnMainThread<jami::Conference::Conference(bool)::<lambda(std::vector<jami::video::SourceInfo>&&)>::<lambda()> >::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
at /usr/include/c++/10/bits/std_function.h:291
#12 0x00007fffec1328d8 in std::function<void ()>::operator()() const (this=0x7ffe9e5d5e40) at /usr/include/c++/10/bits/std_function.h:622
#13 0x00007fffec205ce3 in jami::ScheduledExecutor::loop() (this=0xdc94a0) at scheduled_executor.cpp:137
#14 0x00007fffec2052a1 in operator()() const (__closure=0xe2e828) at scheduled_executor.cpp:32
#15 0x00007fffec207212 in std::__invoke_impl<void, jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> >(std::__invoke_other, struct {...} &&) (__f=...) at /usr/include/c++/10/bits/invoke.h:60
#16 0x00007fffec2071c7 in std::__invoke<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> >(struct {...} &&) (__fn=...) at /usr/include/c++/10/bits/invoke.h:95
#17 0x00007fffec207174 in std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>) (this=0xe2e828) at /usr/include/c++/10/thread:264
#18 0x00007fffec207148 in std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > >::operator()(void) (this=0xe2e828) at /usr/include/c++/10/thread:271
#19 0x00007fffec20712c in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > > >::_M_run(void) (this=0xe2e820) at /usr/include/c++/10/thread:215
#20 0x00007fffedf38444 in execute_native_thread_routine () at /lib64/libstdc++.so.6
#21 0x00007fffed9513f9 in start_thread () at /lib64/libpthread.so.0
#22 0x00007fffedc354c3 in clone () at /lib64/libc.so.6
```
```
Thread 72 "jami-qt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffebaffd640 (LWP 3232921)]
std::_Rb_tree<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*, std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*>, std::allocator<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_lower_bound (this=0x817f990, __x=0xc, __y=0x817f998, __k=@0x7ffebaff92f0: 0xd117170) at /usr/include/c++/10/bits/stl_tree.h:1937
1937 if (!_M_impl._M_key_compare(_S_key(__x), __k))
(gdb) bt
#0 std::_Rb_tree<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*, std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*>, std::allocator<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_lower_bound(std::_Rb_tree_node<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, std::_Rb_tree_node_base*, jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const&) (this=0x817f990, __x=0xc, __y=0x817f998, __k=@0x7ffebaff92f0: 0xd117170) at /usr/include/c++/10/bits/stl_tree.h:1937
#1 0x00007fffec0ea361 in std::_Rb_tree<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*, std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*>, std::allocator<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::find(jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const&) (this=0x817f990, __k=@0x7ffebaff92f0: 0xd117170)
at /usr/include/c++/10/bits/stl_tree.h:2555
#2 0x00007fffec0e6513 in std::map<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<jami::Observable<std::shared_ptr<DRing::MediaFrame> >*>, std::allocator<std::pair<jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::find(jami::Observable<std::shared_ptr<DRing::MediaFrame> >* const&) (this=0x817f990, __x=@0x7ffebaff92f0: 0xd117170)
at /usr/include/c++/10/bits/stl_map.h:1170
#3 0x00007fffec0d9af9 in jami::Conference::detachVideo(jami::Observable<std::shared_ptr<DRing::MediaFrame> >*) (this=0x817f860, frame=0xd117170) at conference.cpp:610
#4 0x00007fffec324a1a in jami::video::VideoRtpSession::setupConferenceVideoPipeline(jami::Conference&) (this=0xd120760, conference=...) at ./media/video/video_rtp_session.cpp:352
#5 0x00007fffec324795 in jami::video::VideoRtpSession::setupVideoPipeline() (this=0xd120760) at ./media/video/video_rtp_session.cpp:324
#6 0x00007fffec3242dc in jami::video::VideoRtpSession::start(std::unique_ptr<jami::IceSocket, std::default_delete<jami::IceSocket> >, std::unique_ptr<jami::IceSocket, std::default_delete<jami::IceSocket> >)
(this=0xd120760, rtp_sock=std::unique_ptr<jami::IceSocket> = {...}, rtcp_sock=std::unique_ptr<jami::IceSocket> = {...}) at ./media/video/video_rtp_session.cpp:271
#7 0x00007fffec37350e in jami::SIPCall::startAllMedia() (this=0xd117280) at ./sip/sipcall.cpp:2037
#8 0x00007fffec3756b4 in jami::SIPCall::onIceNegoSucceed() (this=0xd117280) at ./sip/sipcall.cpp:2472
#9 0x00007fffec378a1e in operator()() const (__closure=0x7ffb880099c0) at ./sip/sipcall.cpp:3129
#10 0x00007fffec37c878 in operator()() (this=0x7ffb880099c0) at ./manager.h:1057
#11 0x00007fffec3825e2 in std::__invoke_impl<void, jami::runOnMainThread<jami::SIPCall::initIceMediaTransport(bool, std::optional<jami::IceTransportOptions>)::<lambda(bool)>::<lambda()> >::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...)
at /usr/include/c++/10/bits/invoke.h:60
#12 0x00007fffec3813d2 in std::__invoke_r<void, jami::runOnMainThread<jami::SIPCall::initIceMediaTransport(bool, std::optional<jami::IceTransportOptions>)::<lambda(bool)>::<lambda()> >::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/10/bits/invoke.h:110
#13 0x00007fffec37f7c3 in std::_Function_handler<void(), jami::runOnMainThread<jami::SIPCall::initIceMediaTransport(bool, std::optional<jami::IceTransportOptions>)::<lambda(bool)>::<lambda()> >::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
at /usr/include/c++/10/bits/std_function.h:291
#14 0x00007fffec134480 in std::function<void ()>::operator()() const (this=0x7ffb880098f0) at /usr/include/c++/10/bits/std_function.h:622
#15 0x00007fffec20789d in jami::ScheduledExecutor::loop() (this=0xdcc320) at scheduled_executor.cpp:137
#16 0x00007fffec206e5b in operator()() const (__closure=0xdfcab8) at scheduled_executor.cpp:32
#17 0x00007fffec208dcc in std::__invoke_impl<void, jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> >(std::__invoke_other, struct {...} &&) (__f=...) at /usr/include/c++/10/bits/invoke.h:60
#18 0x00007fffec208d81 in std::__invoke<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> >(struct {...} &&) (__fn=...) at /usr/include/c++/10/bits/invoke.h:95
#19 0x00007fffec208d2e in std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>) (this=0xdfcab8) at /usr/include/c++/10/thread:264
#20 0x00007fffec208d02 in std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > >::operator()(void) (this=0xdfcab8) at /usr/include/c++/10/thread:271
#21 0x00007fffec208ce6 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > > >::_M_run(void) (this=0xdfcab0) at /usr/include/c++/10/thread:215
#22 0x00007fffedf38444 in execute_native_thread_routine () at /lib64/libstdc++.so.6
#23 0x00007fffed9513f9 in start_thread () at /lib64/libpthread.so.0
#24 0x00007fffedc354c3 in clone () at /lib64/libc.so.6
```
```
0x00007fffedf23e53 in std::_Rb_tree_increment(std::_Rb_tree_node_base const*) () from /lib64/libstdc++.so.6
(gdb) bt
#0 0x00007fffedf23e53 in std::_Rb_tree_increment(std::_Rb_tree_node_base const*) () at /lib64/libstdc++.so.6
#1 0x00007fffec0e6993 in std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator++() (this=0x7ffecaff92d8) at /usr/include/c++/10/bits/stl_tree.h:368
#2 0x00007fffec0dd8e7 in jami::Conference::isHost(std::basic_string_view<char, std::char_traits<char> >) const (this=0x9448cf0, uri="host") at conference.cpp:1158
#3 0x00007fffec0dc040 in jami::Conference::isHandRaised(std::basic_string_view<char, std::char_traits<char> >) const (this=0x9448cf0, uri="host") at conference.cpp:948
#4 0x00007fffec0d634d in operator()() const (__closure=0x7ffafc4be450) at conference.cpp:108
#5 0x00007fffec0dee4c in operator()() (this=0x7ffafc4be450) at manager.h:1057
#6 0x00007fffec0e045e in std::__invoke_impl<void, jami::runOnMainThread<jami::Conference::Conference(bool)::<lambda(std::vector<jami::video::SourceInfo>&&)>::<lambda()> >::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...)
at /usr/include/c++/10/bits/invoke.h:60
#7 0x00007fffec0e005c in std::__invoke_r<void, jami::runOnMainThread<jami::Conference::Conference(bool)::<lambda(std::vector<jami::video::SourceInfo>&&)>::<lambda()> >::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/10/bits/invoke.h:110
#8 0x00007fffec0dfa21 in std::_Function_handler<void(), jami::runOnMainThread<jami::Conference::Conference(bool)::<lambda(std::vector<jami::video::SourceInfo>&&)>::<lambda()> >::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
at /usr/include/c++/10/bits/std_function.h:291
#9 0x00007fffec134480 in std::function<void ()>::operator()() const (this=0x7ffb241e8d40) at /usr/include/c++/10/bits/std_function.h:622
#10 0x00007fffec20789d in jami::ScheduledExecutor::loop() (this=0xdcb3a0) at scheduled_executor.cpp:137
#11 0x00007fffec206e5b in operator()() const (__closure=0xde11c8) at scheduled_executor.cpp:32
#12 0x00007fffec208dcc in std::__invoke_impl<void, jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> >(std::__invoke_other, struct {...} &&) (__f=...) at /usr/include/c++/10/bits/invoke.h:60
#13 0x00007fffec208d81 in std::__invoke<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> >(struct {...} &&) (__fn=...) at /usr/include/c++/10/bits/invoke.h:95
#14 0x00007fffec208d2e in std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>) (this=0xde11c8) at /usr/include/c++/10/thread:264
#15 0x00007fffec208d02 in std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > >::operator()(void) (this=0xde11c8) at /usr/include/c++/10/thread:271
#16 0x00007fffec208ce6 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::ScheduledExecutor::ScheduledExecutor()::<lambda()> > > >::_M_run(void) (this=0xde11c0) at /usr/include/c++/10/thread:215
#17 0x00007fffedf38444 in execute_native_thread_routine () at /lib64/libstdc++.so.6
#18 0x00007fffed9513f9 in start_thread () at /lib64/libpthread.so.0
#19 0x00007fffedc354c3 in clone () at /lib64/libc.so.6
(gdb)
```Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/66connectivity issues leading to unstable file transfer2020-09-30T19:33:15ZHugo Lefeuvreconnectivity issues leading to unstable file transferThe file transfer feature is quite unreliable on my devices/network, around 1/3 of attempted file transfers fail.
Devices: Android (WiFi + 4G), GNOME client (Ethernet)
I have investigated the issue, and many of these failures seem to b...The file transfer feature is quite unreliable on my devices/network, around 1/3 of attempted file transfers fail.
Devices: Android (WiFi + 4G), GNOME client (Ethernet)
I have investigated the issue, and many of these failures seem to be due to connectivity issues at unfavorable moments.
**First scenario:**
1. A sends rx DHT request to B
2. B receives rx DHT request and replies with a list of addresses on the DHT
3. A does not receive the answer in time and timeouts
Typical logs:
```
[1542546917.185|27153|p2p.cpp :526 ] [Account b9243250525b44cb] [CNX] rx DHT request from 8004386f1052cae68e543ebb87992612f218ded6
[1542546917.186|27153|ringaccount.cpp :2438 ] Found peer device: 8004386f1052cae68e543ebb87992612f218ded6 account:3c2a2fae84be1713e6d68d39360
faa7441220c00 CA:310d17e467cfb06ee20e2ddc0e75ebee0ba55640
[1542546917.187|27153|sip_utils.cpp :203 ] Registered thread 0x7f7cd12ac158 (0x69A0)
[1542546917.187| 7535|sip_utils.cpp :203 ] Registered thread 0x7f7cb77fd158 (0x69A0)
[1542546917.187|27153|turn_transport.cpp:357 ] Connecting to TURN 51.254.39.157:3478
[1542546917.187|27153|turn_transport.cpp:357 ] Connecting to TURN 51.254.39.157:3478
[1542546917.187| 7536|sip_utils.cpp :203 ] Registered thread 0x7f7cb6ffc158 (0x69A0)
[1542546917.210| 7536|turn_transport.cpp:214 ] TURN server disconnected (Deallocated)
[1542546917.212| 7535|turn_transport.cpp:211 ] TURN server ready, peer relay address: 51.254.39.157:28253
[1542546917.218|27153|p2p.cpp :558 ] [Account b9243250525b44cb] [CNX] authorized peer connection from 141.x.x.x
[1542546917.218|27153|p2p.cpp :582 ] [Account b9243250525b44cb] [CNX] connection accepted, DHT reply to 8004386f1052cae68e543ebb8799
2612f218ded6
[1542546920.329|27857|ringaccount.cpp :2051 ] [Account b9243250525b44cb] Dht status : IPv4 connected; IPv6 connecting
[1542546920.336|27857|ringaccount.cpp :2051 ] [Account b9243250525b44cb] Dht status : IPv4 connected; IPv6 connected
[1542546921.933|27149|siptransport.cpp :223 ] pjsip transport@0x7f7c8800bfb0 DTLS to 100.124.24.241 -> DESTROY
[1542546921.933|27149|siptransport.cpp :249 ] unmap pjsip transport@0x7f7c8800bfb0 {SipTransport@(nil)}
[1542546921.933|27149|sips_transport_ice.cpp:214 ] SipsIceTransport@0x7f7c8800bf40: destroying
[1542546921.933|27149|sips_transport_ice.cpp:256 ] ~SipIceTransport@0x7f7c8800bf40 {tr=0x7f7c8800bfb0}
[1542546921.934|27149|sips_transport_ice.cpp:277 ] ~SipIceTransport@0x7f7c8800bf40 {tr=0x7f7c8800bfb0} bye
```
Nothing comes after that. Peer seems to time out.
The SIP logs are not are not always present and might be unrelated, but I didn't remove them just in case.
The `IPv4 connected; IPv6 connecting` lines mean changes in IPv6 connectivity right ?Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/230Contacts are not displayed after account creation from the DHT2020-06-18T19:54:46ZCyrille BéraudContacts are not displayed after account creation from the DHTIteration 18Sébastien BlinAdrien BéraudKateryna KostiukMing Rui ZhangSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/714Conversation: status erased, removed but conversation is still in contact.yaml2022-02-09T21:49:59ZMaxime CalletConversation: status erased, removed but conversation is still in contact.yamlWhile syncing conversations data from another device, some conversations are still listed in the conversation.yml file while their status is erased and removed.
The daemon should clear this conversation.
json example for a conversatio...While syncing conversations data from another device, some conversations are still listed in the conversation.yml file while their status is erased and removed.
The daemon should clear this conversation.
json example for a conversation:
```
"7e20d508e92e58928003c8a6b580e4374004ada4": {
"created": 1643907807,
"erased": 1643924392,
"id": "7e20d508e92e58928003c8a6b580e4374004ada4",
"lastDisplayed": "",
"members": [
{
"uri": "77d1acf5b271d7c73032ef010241b94fb3a32b07"
}
],
"removed": 1643924392
},
```Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/878CPU rapidly increased during video call when video muted on another side2023-09-08T15:24:55ZKateryna KostiukCPU rapidly increased during video call when video muted on another sidesteps to reproduce:
- Start a video call between A and B.
- Monitor CPU usage on A.
- Mute video on B.
- On A, CPU usage increases and stays high.steps to reproduce:
- Start a video call between A and B.
- Monitor CPU usage on A.
- Mute video on B.
- On A, CPU usage increases and stays high.Adrien BéraudSébastien BlinAdrien Béraudhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/676Crash in OpenSL Layer - Android2021-12-16T14:19:41ZSébastien BlinCrash in OpenSL Layer - AndroidPotential crash on playstore:
```
backtrace:
#00 pc 0000000000085888 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+248)
#00 pc 00000000009cf9ec /data/app/~~QWALmU1nwmeEvS6MLMbQ2Q==/cx.ring-IkugpkPqtZLOBFWZ6inK1Q==/lib...Potential crash on playstore:
```
backtrace:
#00 pc 0000000000085888 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+248)
#00 pc 00000000009cf9ec /data/app/~~QWALmU1nwmeEvS6MLMbQ2Q==/cx.ring-IkugpkPqtZLOBFWZ6inK1Q==/lib/arm64/libring.so
#00 pc 00000000009d18d8 /data/app/~~QWALmU1nwmeEvS6MLMbQ2Q==/cx.ring-IkugpkPqtZLOBFWZ6inK1Q==/lib/arm64/libring.so
#00 pc 000000000001c0e8 /system/lib64/libwilhelm.so (audioTrack_callBack_pullFromBuffQueue(int, void*, void*)+180)
#00 pc 0000000000079c68 /system/lib64/libaudioclient.so (android::AudioTrack::processAudioBuffer()+2368)
#00 pc 0000000000078f7c /system/lib64/libaudioclient.so (android::AudioTrack::AudioTrackThread::threadLoop()+312)
#00 pc 00000000000154dc /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+460)
#00 pc 00000000000a4d20 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#00 pc 0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#00 pc 00000000000eb0ec /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#00 pc 000000000008b850 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```
On my device:
```
2021-12-15 10:27:34.827 26087-26087/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-12-15 10:27:34.827 26087-26087/? A/DEBUG: Build fingerprint: 'motorola/kiev_retailu/kiev:11/RZKS31.Q3-25-15-1/d940e8:user/release-keys'
2021-12-15 10:27:34.827 26087-26087/? A/DEBUG: Revision: 'pvt'
2021-12-15 10:27:34.827 26087-26087/? A/DEBUG: ABI: 'arm64'
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: Timestamp: 2021-12-15 10:27:34-0500
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: pid: 22160, tid: 26084, name: AudioTrack >>> cx.ring <<<
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: uid: 10387
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8ecfe25800000000
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x0 8ecfe25800000000 x1 b4000072d1ce0b00 x2 00000000000001e0 x3 8ecfe25800000000
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x4 b4000072d1ce0ce0 x5 8ecfe258000001e0 x6 0000000000000000 x7 0000000000000000
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x8 00000000000000f0 x9 0000000000000000 x10 8ecfe26000000071 x11 0000000000000000
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x12 0000000000000000 x13 0000000000000000 x14 0000000000000002 x15 00000071e214c000
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x16 0000007185219fe8 x17 0000007483a222c0 x18 0000007180846000 x19 b400007331c1c400
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x20 b400007331c1b9b0 x21 00000071e214ba00 x22 b4000072a1c21130 x23 b400007331c1bbd8
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x24 000000748308cea9 x25 00000071e214c000 x26 0000007183fc8454 x27 00000074851c0140
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: x28 00000071e214ba08 x29 00000071e214b5d0
2021-12-15 10:27:34.828 26087-26087/? A/DEBUG: lr 0000007183fc7f50 sp 00000071e214b5b0 pc 0000007483a22248 pst 0000000020001000
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: backtrace:
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #00 pc 000000000004a248 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+248) (BuildId: 1fdafb7d457cc367eb58ced21a4fa8ac)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #01 pc 0000000000e79f4c /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::enable_if<(is_same<std::__ndk1::remove_const<short const>::type, short>::value) && (is_trivially_copy_assignable<short>::value), short*>::type std::__ndk1::__copy<short const, short>(short const*, short const*, short*)+80)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #02 pc 0000000000e79eec /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (short* std::__ndk1::copy<short const*, short*>(short const*, short const*, short*)+84)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #03 pc 0000000000e747f8 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::enable_if<__is_cpp17_random_access_iterator<short const*>::value, short*>::type std::__ndk1::copy_n<short const*, int, short*>(short const*, int, short*)+52)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #04 pc 0000000000e72000 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (jami::OpenSLLayer::engineServiceRing()+572)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #05 pc 0000000000e774d4 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (decltype(*(std::__ndk1::forward<jami::OpenSLLayer*&>(fp0)).*fp()) std::__ndk1::__invoke<void (jami::OpenSLLayer::*&)(), jami::OpenSLLayer*&, void>(void (jami::OpenSLLayer::*&)(), jami::OpenSLLayer*&)+100)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #06 pc 0000000000e77460 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::__bind_return<void (jami::OpenSLLayer::*)(), std::__ndk1::tuple<jami::OpenSLLayer*>, std::__ndk1::tuple<>, __is_valid_bind_return<void (jami::OpenSLLayer::*)(), std::__ndk1::tuple<jami::OpenSLLayer*>, std::__ndk1::tuple<> >::value>::type std::__ndk1::__apply_functor<void (jami::OpenSLLayer::*)(), std::__ndk1::tuple<jami::OpenSLLayer*>, 0ul, std::__ndk1::tuple<> >(void (jami::OpenSLLayer::*&)(), std::__ndk1::tuple<jami::OpenSLLayer*>&, std::__ndk1::__tuple_indices<0ul>, std::__ndk1::tuple<>&&)+72)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #07 pc 0000000000e77408 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::__bind_return<void (jami::OpenSLLayer::*)(), std::__ndk1::tuple<jami::OpenSLLayer*>, std::__ndk1::tuple<>, __is_valid_bind_return<void (jami::OpenSLLayer::*)(), std::__ndk1::tuple<jami::OpenSLLayer*>, std::__ndk1::tuple<> >::value>::type std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>::operator()<>()+40)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #08 pc 0000000000e773bc /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (decltype(std::__ndk1::forward<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>&>(fp)()) std::__ndk1::__invoke<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>&>(std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>&)+24)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #09 pc 0000000000e77370 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (void std::__ndk1::__invoke_void_return_wrapper<void>::__call<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>&>(std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>&)+24)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #10 pc 0000000000e77348 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::__function::__alloc_func<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>, std::__ndk1::allocator<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*> >, void ()>::operator()()+24)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #11 pc 0000000000e76308 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::__function::__func<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*>, std::__ndk1::allocator<std::__ndk1::__bind<void (jami::OpenSLLayer::*)(), jami::OpenSLLayer*> >, void ()>::operator()()+24)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #12 pc 0000000000c2dc14 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::__function::__value_func<void ()>::operator()() const+56)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #13 pc 0000000000c2d6f0 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (std::__ndk1::function<void ()>::operator()() const+20)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #14 pc 0000000000e7a5d0 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (jami::opensl::AudioPlayer::processSLCallback(SLAndroidSimpleBufferQueueItf_ const* const*)+336)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #15 pc 0000000000e7a470 /data/app/~~Vlyg2gq6SPkC7Wb7M_ToPg==/cx.ring-u9ihF0JKX163ILKSJyh-FA==/lib/arm64/libring.so (jami::opensl::bqPlayerCallback(SLAndroidSimpleBufferQueueItf_ const* const*, void*)+28)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #16 pc 000000000001c118 /system/lib64/libwilhelm.so (audioTrack_callBack_pullFromBuffQueue(int, void*, void*)+180) (BuildId: 3dc436cad2f5774c2a5d1236156e2640)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #17 pc 0000000000078b78 /system/lib64/libaudioclient.so (android::AudioTrack::processAudioBuffer()+2376) (BuildId: e6b35b953c2ab1e220e508553e2c3803)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #18 pc 0000000000077f40 /system/lib64/libaudioclient.so (android::AudioTrack::AudioTrackThread::threadLoop()+272) (BuildId: e6b35b953c2ab1e220e508553e2c3803)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #19 pc 0000000000015598 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+460) (BuildId: 5d6af74124211886d954d61c96514a46)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #20 pc 00000000000a1ec8 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144) (BuildId: 8dd68419fe710778585e2c5c133d86e0)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #21 pc 0000000000014d94 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412) (BuildId: 5d6af74124211886d954d61c96514a46)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #22 pc 00000000000afc6c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 1fdafb7d457cc367eb58ced21a4fa8ac)
2021-12-15 10:27:34.868 26087-26087/? A/DEBUG: #23 pc 00000000000502c8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 1fdafb7d457cc367eb58ced21a4fa8ac)
2021-12-15 10:27:35.236 991-991/? E/tombstoned: Tombstone written to: /data/tombstones/tombstone_11
2021-12-15 10:27:35.274 1697-8175/? E/FrameEvents: updateAcquireFence: Did not find frame.
```
Randomly happens when receiving a crash.
Observations. buf->cap_ is completely incorrect, so it's rather a bad queue or a bad buf_manager.hSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/1daemon: account maintenance regression2024-03-08T19:26:13ZJami Botdaemon: account maintenance regressionIssue generated from Tuleap's migration script.
**Originally submitted by: Guillaume Roguez (guillaume)**
Migration/Maintenance system is broken: not able to recreate a new device if ring\_device.\* files missing (ex: filesystem corrupt...Issue generated from Tuleap's migration script.
**Originally submitted by: Guillaume Roguez (guillaume)**
Migration/Maintenance system is broken: not able to recreate a new device if ring\_device.\* files missing (ex: filesystem corruption).
Was tested on GNU/Linux-GNOME and Win32 platforms, using lasted sources.
I only indicate GNU/Linux-GNOME below.
\* Environment:
daemon: 1ed6a0f video: disable auto quality by default
lrc: 68c8ad0 AccountModel: separate selected and chosen account
gnome:
\* Reproduce steps:
- Create a new ring account
- stop ring
- delete ring\_device.\* files associated to this account
- restart ring
\* Expected result:
- the client ask for the password
- the client shows the normal screen after correct password given, with new ring device generated
\* Actual result:
- the client loops in password askingAdrien BéraudAdrien Béraudhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/5daemon: call goes to failure instead of over2024-03-08T19:26:14ZJami Botdaemon: call goes to failure instead of overIssue generated from Tuleap's migration script.
**Originally submitted by: Alexandre Lision (alision)**
<p>Steps to reproduce:</p>
<p>- make a call</p>
<p>- Bob hangs up</p>
<p>- Alice can go to Failure instead of Over (i...Issue generated from Tuleap's migration script.
**Originally submitted by: Alexandre Lision (alision)**
<p>Steps to reproduce:</p>
<p>- make a call</p>
<p>- Bob hangs up</p>
<p>- Alice can go to Failure instead of Over (it does not happen every time I think)</p>
<p> </p>
<p>This is the log generated:</p>
<pre>
<strong>1457970175.894|0x70000021d000|tls\_session.cpp:638 ] [TLS] shutdown
1457970175.894|0x1019b7000|siptransport.cpp:209 ] pjsip transport@0x1031c4088 TLS to 208.88.110.46:7170 -> DISCONNECTED
1457970175.894|0x1019b7000|sipcall.cpp:205 ] call:12405873968647423475] Ending call because underlying SIP transport was closed
1457970175.894|0x1019b7000|call.cpp:144 ] [call:12405873968647423475] state change 1/4, cnx 4/0, code 54
1457970175.894|0x1019b7000|call.cpp:163 ] [call:12405873968647423475] emit client call state change FAILURE, code 54
1457970175.894|0x1019b7000|manager.cpp:1778 ] [call:12405873968647423475] Failed
1457970175.894|0x1019b7000|corelayer.cpp:226 ] START STREAM
1457970175.894|0x1019b7000|call\_factory.cpp:39 ] Removing call 12405873968647423475
1457970175.894|0x1019b7000|call\_factory.cpp:43 ] Remaining 0 SIP call(s)
1457970175.895|0x1019b7000|call.cpp:144 ] [call:12405873968647423475] state change 4/5, cnx 0/0, code 0
1457970175.895|0x1019b7000|call.cpp:163 ] [call:12405873968647423475] emit client call state change OVER, code 0</strong></pre>
<p>The problem seems to be in the daemon, it emits first a FAILURE state changed before a OVER. LRC puts the call in failed and does nothing when the OVER signal is received:</p>
<p>Log in LRC:</p>
<pre>
<strong>Call State Changed for call "12405873968647423475" . New state : "FAILURE"
Call found Call(0x6000002321e0) "Talking"
Calling stateChanged "FAILURE" -> 6 on call with state "Talking" . Become "Failed"
Call State Changed for call "12405873968647423475" . New state : "OVER"
Call found Call(0x6000002321e0) "Failed"
Origin and destination states are identical "Failed" "Failed" doing nothing Call(0x6000002321e0)
Calling stateChanged "OVER" -> 7 on call with state "Failed" . Become "Failed"
</strong></pre>Guillaume RoguezGuillaume Roguezhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/111Daemon crashes upon attempting to send a SIP text message2019-06-10T14:32:57ZMaxim CournoyerDaemon crashes upon attempting to send a SIP text message### Reproducer
1. Configure SIP account (I used voip.ms with the Gnome client)
2. Attempt to send a text message to a phone number (XXXXXXXXXX).
3. Observe the assertion crash below:
```
Starting program: /gnu/store/5ly4xxm5rq6w7rbhlgm...### Reproducer
1. Configure SIP account (I used voip.ms with the Gnome client)
2. Attempt to send a text message to a phone number (XXXXXXXXXX).
3. Observe the assertion crash below:
```
Starting program: /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/ring/dring -cdp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libthread_db.so.1".
Jami Daemon 7.5.0, by Savoir-faire Linux 2004-2018
https://jami.net/
[Video support enabled]
[Detaching after fork from child process 2206]
[1558321843.073| 2205|account_factory.cpp:40 ] registered SIP account
[1558321843.073| 2205|account_factory.cpp:43 ] registered RING account
[1558321843.073| 2205|data_transfer.cpp :663 ] [XFER] facade created, pimpl @0x4bff90
[New Thread 0x7ffff2d60700 (LWP 2207)]
[1558321843.073| 2205|ringbufferpool.cpp:118 ] Ringbuffer created with id 'audiolayer_id'
[1558321843.192| 2205|video_device.h :129 ] Default video settings: 960x540, 30 FPS
[1558321843.192| 2205|video_device_monitor.cpp:197 ] Manager not initialized yet
[New Thread 0x7ffff23cf700 (LWP 2209)]
[1558321843.192| 2205|manager.cpp :639 ] Not initialized
[1558321843.193| 2205|manager.cpp :639 ] Not initialized
23:10:43.193 os_core_unix.c !pjlib 2.7.2 for POSIX initialized
[1558321843.193| 2205|manager.cpp :700 ] pjsip version 2.7.2 for x86_64-unknown-linux-gnu initialized
[1558321843.193| 2205|manager.cpp :703 ] GNU TLS version 3.6.5 initialized
[1558321843.193| 2205|ice_transport.cpp :189 ] [ice] added host stun server
[1558321843.193| 2205|ice_transport.cpp :189 ] [ice] added host stun server
[1558321843.193| 2205|manager.cpp :710 ] Configuration file path: /home/mcournoyer/.config/ring/dring.yml
[1558321843.193| 2205|manager.cpp :419 ] Could not open configuration file
[New Thread 0x7ffff1a3e700 (LWP 2210)]
[1558321843.195| 2205|pulselayer.cpp :136 ] Waiting....
[1558321843.196| 2210|pulselayer.cpp :136 ] Waiting....
[1558321843.196| 2210|pulselayer.cpp :136 ] Waiting....
[1558321843.196| 2210|pulselayer.cpp :140 ] Connection to PulseAudio server established
[1558321843.196| 2210|pulselayer.cpp :169 ] Updating PulseAudio sink list
[1558321843.196| 2210|pulselayer.cpp :185 ] Updating PulseAudio source list
[1558321843.196| 2210|pulselayer.cpp :201 ] Updating PulseAudio server infos
[New Thread 0x7fffed0ad700 (LWP 2211)]
[1558321843.199| 2210|pulselayer.cpp :592 ] PulseAudio server info:
Server name: pulseaudio
Server version: 12.2
Default Sink alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source alsa_input.pci-0000_00_1f.3.analog-stereo
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
[Thread 0x7fffed0ad700 (LWP 2211) exited]
[1558321851.729| 2205|system_codec_container.cpp:157 ] Encoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321851.729| 2205|system_codec_container.cpp:158 ] Decoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321851.729| 2205|sipvoiplink.cpp :511 ] Using SIP nameserver: 192.168.10.1
[1558321851.729| 2205|sipvoiplink.cpp :509 ] Error printing SIP nameserver: Unknown error -6
[1558321851.729| 2205|siptransport.cpp :201 ] SipTransportBroker@0x4bbd20
[New Thread 0x7fffdbfff700 (LWP 2255)]
[1558321851.730| 2205|sipvoiplink.cpp :605 ] SIPVoIPLink@0x4bc460
[1558321851.730| 2255|sip_utils.cpp :203 ] Registered thread 0x7fffdbfff4d0 (0x89D)
[1558321851.730| 2205|sipvoiplink.cpp :610 ] ~SIPVoIPLink@0x4bc460
[1558321851.730| 2205|siptransport.cpp :206 ] ~SipTransportBroker@0x4bbd20
[1558321851.730| 2205|siptransport.cpp :213 ] destroying SipTransportBroker@0x4bbd20
[1558321852.732| 2205|sipvoiplink.cpp :638 ] destroying SIPVoIPLink@0x4bc460
[Thread 0x7fffdbfff700 (LWP 2255) exited]
[1558321852.733| 2205|manager.cpp :2719 ] Adding account 63bc8e5210fc211d
[1558321852.733| 2205|system_codec_container.cpp:157 ] Encoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321852.733| 2205|system_codec_container.cpp:158 ] Decoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321852.733| 2205|sipvoiplink.cpp :511 ] Using SIP nameserver: 192.168.10.1
[1558321852.733| 2205|sipvoiplink.cpp :509 ] Error printing SIP nameserver: Unknown error -6
[1558321852.733| 2205|siptransport.cpp :201 ] SipTransportBroker@0x4bbd20
[New Thread 0x7fffdbfff700 (LWP 2256)]
[1558321852.733| 2205|sipvoiplink.cpp :605 ] SIPVoIPLink@0x606380
[1558321852.733| 2256|sip_utils.cpp :203 ] Registered thread 0x7fffdbfff4d0 (0x89D)
[1558321852.733| 2205|upnp_context.cpp :169 ] UPnP: IPv6 support enabled, but we will use IPv4
[New Thread 0x7fffdb66e700 (LWP 2257)]
[New Thread 0x7fffdacdd700 (LWP 2258)]
[New Thread 0x7fffda34c700 (LWP 2259)]
[New Thread 0x7fffd99bb700 (LWP 2260)]
[New Thread 0x7fffd902a700 (LWP 2261)]
[New Thread 0x7fffd3fff700 (LWP 2262)]
[New Thread 0x7fffd366e700 (LWP 2263)]
[New Thread 0x7fffd2cdd700 (LWP 2264)]
[1558321852.785| 2205|upnp_context.cpp :180 ] UPnP: using IPv4
[1558321852.785| 2205|upnp_context.cpp :184 ] UPnP: initialiazed on 192.168.10.172:49152
[1558321853.590| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321853.590| 2205|sipaccount.cpp :597 ] No credentials set, inferring them...
[1558321853.590| 2205|sipaccount.cpp :716 ] doRegister
[1558321853.590| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2265)]
[1558321853.591| 2265|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321853.591| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321853.591| 2265|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321853.591| 2265|sipaccount.cpp :769 ] doRegister isIP2IP.
[1558321853.591| 2265|siptransport.cpp :362 ] Created UDP transport on default : 0.0.0.0:5060
[1558321853.591| 2265|siptransport.cpp :82 ] SipTransport@0x7fffbc0029d0 {tr=0x7fffbc000f88 {rc=2}}
[1558321853.591| 2265|message_engine.cpp:198 ] [Account 63bc8e5210fc211d] couldn't load messages from /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[Thread 0x7fffd234c700 (LWP 2265) exited]
[Thread 0x7fffdacdd700 (LWP 2258) exited]
[Thread 0x7fffd3fff700 (LWP 2262) exited]
[1558321867.075| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321867.075| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffbc0029d0 {tr=0x7fffbc000f88 {rc=2}}
[1558321867.075| 2205|sipaccount.cpp :716 ] doRegister
[1558321867.075| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd3fff700 (LWP 2267)]
[1558321867.075| 2267|message_engine.cpp:252 ] [Account 63bc8e5210fc211d] Couldn't save messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321867.075| 2267|message_engine.cpp:254 ] [Account 63bc8e5210fc211d] saved 0 messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages
[New Thread 0x7fffdacdd700 (LWP 2268)]
[1558321867.075| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321867.076| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321867.076| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321867.076| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321867.076| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321867.076| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[1558321867.076| 2268|sip_utils.cpp :203 ] Registered thread 0x7fffdacdd4d0 (0x89D)
[1558321867.076| 2268|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.077| 2268|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[New Thread 0x7fffd234c700 (LWP 2269)]
[Thread 0x7fffdacdd700 (LWP 2268) exited]
[1558321867.077| 2269|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321867.078| 2269|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.078| 2269|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[Thread 0x7fffd234c700 (LWP 2269) exited]
[1558321867.102| 2256|sipaccount.cpp :828 ] Creating transport
[1558321867.102| 2256|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321867.102| 2256|siptransport.cpp :82 ] SipTransport@0x7fffd40013c0 {tr=0x7fffbc000f88 {rc=2}}
[1558321867.128| 2256|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.128| 2256|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.177| 2256|sipaccount.cpp :1045 ] SIP registration failed, status=403 (Forbidden)
[1558321870.931| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321870.931| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffd40013c0 {tr=0x7fffbc000f88 {rc=7}}
[1558321870.931| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Registration structure is NULL
[1558321870.931| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321870.931| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2270)]
[1558321870.932| 2270|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321870.932| 2270|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.932| 2270|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321870.932| 2270|sipaccount.cpp :828 ] Creating transport
[1558321870.932| 2270|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321870.932| 2270|siptransport.cpp :82 ] SipTransport@0x7fffc0001060 {tr=0x7fffbc000f88 {rc=7}}
[1558321870.933| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321870.933| 2270|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.933| 2270|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.933| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321870.933| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0001060 {tr=0x7fffbc000f88 {rc=11}}
[1558321870.933| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321870.933| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321870.933| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321870.933| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321870.933| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321870.934| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321870.934| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2271)]
[Thread 0x7fffd234c700 (LWP 2270) exited]
[1558321870.934| 2271|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321870.934| 2271|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.934| 2271|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321870.934| 2271|sipaccount.cpp :828 ] Creating transport
[1558321870.934| 2271|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321870.934| 2271|siptransport.cpp :82 ] SipTransport@0x7fffc0007d70 {tr=0x7fffbc000f88 {rc=11}}
[1558321870.935| 2271|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.935| 2271|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2271) exited]
[1558321870.952| 2256|sipaccount.cpp :1045 ] SIP registration failed, status=403 (Forbidden)
[1558321877.084| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321877.084| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0007d70 {tr=0x7fffbc000f88 {rc=2}}
[1558321877.085| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Registration structure is NULL
[1558321877.085| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321877.085| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2272)]
[1558321877.085| 2272|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321877.085| 2272|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.085| 2272|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321877.085| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321877.085| 2272|sipaccount.cpp :828 ] Creating transport
[1558321877.085| 2272|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321877.085| 2272|siptransport.cpp :82 ] SipTransport@0x7fffc0001000 {tr=0x7fffbc000f88 {rc=2}}
[1558321877.085| 2272|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.085| 2272|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.085| 2205|sipaccount.cpp :302 ] Removing transport from account
[Thread 0x7fffd234c700 (LWP 2272) exited]
[1558321877.085| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0001000 {tr=0x7fffbc000f88 {rc=6}}
[1558321877.085| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321877.086| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321877.086| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321877.086| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321877.086| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321877.086| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321877.086| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2273)]
[1558321877.086| 2273|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321877.086| 2273|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.086| 2273|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321877.086| 2273|sipaccount.cpp :828 ] Creating transport
[1558321877.086| 2273|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321877.086| 2273|siptransport.cpp :82 ] SipTransport@0x7fffc0004bb0 {tr=0x7fffbc000f88 {rc=6}}
[1558321877.086| 2273|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.086| 2273|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2273) exited]
[1558321877.118| 2256|sipaccount.cpp :1045 ] SIP registration failed, status=403 (Forbidden)
[1558321882.739| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321882.739| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0004bb0 {tr=0x7fffbc000f88 {rc=2}}
[1558321882.740| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Registration structure is NULL
[1558321882.740| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321882.740| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2274)]
[1558321882.746| 2274|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321882.746| 2274|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.746| 2274|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321882.746| 2274|sipaccount.cpp :828 ] Creating transport
[1558321882.746| 2274|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321882.746| 2274|siptransport.cpp :82 ] SipTransport@0x7fffb8000f80 {tr=0x7fffbc000f88 {rc=2}}
[1558321882.746| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321882.746| 2274|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.746| 2274|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.746| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321882.746| 2205|siptransport.cpp :95 ] [Thread 0x7fffd234c700 (LWP 2274) exited]
~SipTransport@0x7fffb8000f80 {tr=0x7fffbc000f88 {rc=6}}
[1558321882.746| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321882.746| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321882.746| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321882.746| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321882.746| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321882.747| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321882.747| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2275)]
[1558321882.747| 2275|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321882.747| 2275|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.747| 2275|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321882.747| 2275|sipaccount.cpp :828 ] Creating transport
[1558321882.747| 2275|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321882.747| 2275|siptransport.cpp :82 ] SipTransport@0x7fffb8007cb0 {tr=0x7fffbc000f88 {rc=6}}
[1558321882.747| 2275|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.747| 2275|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2275) exited]
[1558321882.769| 2256|sipaccount.cpp :1905 ] IP address change detected for account 63bc8e5210fc211d (192.168.10.172:5060 --> 66.158.152.210:5060). Updating registration (using method 2)
[1558321882.769| 2256|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.770| 2256|sipaccount.cpp :1082 ] Contact overwritten
[1558321882.770| 2256|message_engine.cpp:198 ] [Account 63bc8e5210fc211d] couldn't load messages from /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321884.004| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321884.004| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffb8007cb0 {tr=0x7fffbc000f88 {rc=23}}
[1558321884.004| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321884.004| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[1558321884.005| 2267|message_engine.cpp:252 ] [Account 63bc8e5210fc211d] Couldn't save messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321884.005| 2267|message_engine.cpp:254 ] [Account 63bc8e5210fc211d] saved 0 messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages
[New Thread 0x7fffd234c700 (LWP 2278)]
[1558321884.009| 2278|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321884.009| 2278|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321884.009| 2278|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321884.009| 2278|sipaccount.cpp :828 ] Creating transport
[1558321884.009| 2278|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321884.009| 2278|siptransport.cpp :82 ] SipTransport@0x7fffb80012e0 {tr=0x7fffbc000f88 {rc=27}}
[1558321884.009| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321884.010| 2278|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2278) exited]
[1558321884.010| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321884.010| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffb80012e0 {tr=0x7fffbc000f88 {rc=31}}
[1558321884.010| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321884.010| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321884.010| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321884.010| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321884.010| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321884.010| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321884.010| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2279)]
[1558321884.011| 2279|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321884.011| 2279|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321884.011| 2279|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321884.011| 2279|sipaccount.cpp :828 ] Creating transport
[1558321884.011| 2279|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321884.011| 2279|siptransport.cpp :82 ] SipTransport@0x7fffb8007cb0 {tr=0x7fffbc000f88 {rc=31}}
[1558321884.011| 2279|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2279) exited]
[1558321884.098| 2256|message_engine.cpp:198 ] [Account 63bc8e5210fc211d] couldn't load messages from /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321931.700| 2207|message_engine.cpp:97 ] [message 14240881271831399598] Retry sending
[1558321931.700| 2267|message_engine.cpp:252 ] [Account 63bc8e5210fc211d] Couldn't save messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321931.700| 2267|message_engine.cpp:254 ] [Account 63bc8e5210fc211d] saved 1 messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages
dring: ../src/pj/os_core_unix.c:692: pj_thread_this: Assertion `!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."' failed.
Thread 2 "dring" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff2d60700 (LWP 2207)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all bt
Thread 17 (Thread 0x7fffd3fff700 (LWP 2267)):
#0 0x00007ffff5253062 in futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ffff7f87c40 <ring::ThreadPool::instance()::pool+192>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0,
mutex=0x7ffff7f87bf0 <ring::ThreadPool::instance()::pool+112>,
cond=0x7ffff7f87c18 <ring::ThreadPool::instance()::pool+152>) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7ffff7f87c18 <ring::ThreadPool::instance()::pool+152>,
mutex=0x7ffff7f87bf0 <ring::ThreadPool::instance()::pool+112>)
at pthread_cond_wait.c:655
#3 0x00007ffff4f7abac in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#4 0x00007ffff7c1b4eb in std::thread::_Impl<std::_Bind_simple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1} ()> >::_M_run() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#5 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#6 0x00007ffff524d019 in start_thread (arg=0x7fffd3fff700) at pthread_create.c:486
#7 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--
Thread 15 (Thread 0x7fffd2cdd700 (LWP 2264)):
#0 0x00007ffff489f9df in __GI___select (nfds=19, readfds=0x7fffd2cd8cd0, writefds=0x0,
exceptfds=0x7fffd2cd8c50, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff767c658 in RunMiniServer ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libupnp.so.6
#2 0x00007ffff766aeff in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#3 0x00007ffff524d019 in start_thread (arg=0x7fffd2cdd700) at pthread_create.c:486
#4 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 14 (Thread 0x7fffd366e700 (LWP 2263)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffd366a030, expected=0, futex_word=0x7ffff7697434 <gSendThreadPool+84>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffd366a030,
mutex=0x7ffff76973e0 <gSendThreadPool>, cond=0x7ffff7697408 <gSendThreadPool+40>)
at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7697408 <gSendThreadPool+40>,
mutex=0x7ffff76973e0 <gSendThreadPool>, abstime=0x7fffd366a030)
at pthread_cond_wait.c:667
--Type <RET> for more, q to quit, c to continue without paging--
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffd366e700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 12 (Thread 0x7fffd902a700 (LWP 2261)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffd9026030, expected=0,
futex_word=0x7ffff7696dd4 <gMiniServerThreadPool+84>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffd9026030,
mutex=0x7ffff7696d80 <gMiniServerThreadPool>,
cond=0x7ffff7696da8 <gMiniServerThreadPool+40>) at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7696da8 <gMiniServerThreadPool+40>,
mutex=0x7ffff7696d80 <gMiniServerThreadPool>, abstime=0x7fffd9026030)
at pthread_cond_wait.c:667
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffd902a700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--
Thread 11 (Thread 0x7fffd99bb700 (LWP 2260)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffd99b7030, expected=0, futex_word=0x7ffff7697090 <gRecvThreadPool+80>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffd99b7030,
mutex=0x7ffff7697040 <gRecvThreadPool>, cond=0x7ffff7697068 <gRecvThreadPool+40>)
at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7697068 <gRecvThreadPool+40>,
mutex=0x7ffff7697040 <gRecvThreadPool>, abstime=0x7fffd99b7030)
at pthread_cond_wait.c:667
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffd99bb700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 10 (Thread 0x7fffda34c700 (LWP 2259)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffda348030, expected=0, futex_word=0x7ffff7697090 <gRecvThreadPool+80>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffda348030,
mutex=0x7ffff7697040 <gRecvThreadPool>, cond=0x7ffff7697068 <gRecvThreadPool+40>)
--Type <RET> for more, q to quit, c to continue without paging--
at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7697068 <gRecvThreadPool+40>,
mutex=0x7ffff7697040 <gRecvThreadPool>, abstime=0x7fffda348030)
at pthread_cond_wait.c:667
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffda34c700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 8 (Thread 0x7fffdb66e700 (LWP 2257)):
#0 0x00007ffff5253062 in futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ffff7697330 <gTimerThread+80>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7ffff76972e0 <gTimerThread>,
cond=0x7ffff7697308 <gTimerThread+40>) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7ffff7697308 <gTimerThread+40>,
mutex=0x7ffff76972e0 <gTimerThread>) at pthread_cond_wait.c:655
#3 0x00007ffff766bcb0 in TimerThreadWorker ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff766aeff in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
--Type <RET> for more, q to quit, c to continue without paging--
#5 0x00007ffff524d019 in start_thread (arg=0x7fffdb66e700) at pthread_create.c:486
#6 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 7 (Thread 0x7fffdbfff700 (LWP 2256)):
#0 0x00007ffff489f9df in __GI___select (nfds=1024, readfds=0x7fffdbffad48,
writefds=0x7fffdbffab28, exceptfds=0x7fffdbffa908, timeout=0x7fffdbffa7c0)
at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff7eb8a18 in pj_sock_select ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#2 0x00007ffff7eb45c5 in pj_ioqueue_poll ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#3 0x00007ffff7e5923c in pjsip_endpt_handle_events2 ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#4 0x00007ffff7e592fd in pjsip_endpt_handle_events ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#5 0x00007ffff7c82b7f in std::thread::_Impl<std::_Bind_simple<ring::SIPVoIPLink::SIPVoIPLink()::{lambda()#1} ()> >::_M_run() ()
--Type <RET> for more, q to quit, c to continue without paging--
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#6 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#7 0x00007ffff524d019 in start_thread (arg=0x7fffdbfff700) at pthread_create.c:486
#8 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7ffff1a3e700 (LWP 2210)):
#0 0x00007ffff489d6a1 in __GI___poll (fds=0x7fffe8007380, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff7a33011 in poll_func ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#2 0x00007ffff7a24c91 in pa_mainloop_poll ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#3 0x00007ffff7a252ce in pa_mainloop_iterate ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#4 0x00007ffff7a25380 in pa_mainloop_run ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#5 0x00007ffff7a32f76 in thread ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#6 0x00007ffff79d0f88 in internal_thread_func ()
--Type <RET> for more, q to quit, c to continue without paging--
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/pulseaudio/libpulsecommon-12.2.so
#7 0x00007ffff524d019 in start_thread (arg=0x7ffff1a3e700) at pthread_create.c:486
#8 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7ffff23cf700 (LWP 2209)):
#0 0x00007ffff489f9df in __GI___select (nfds=7, readfds=0x7ffff23cafb0, writefds=0x0,
exceptfds=0x0, timeout=0x7ffff23caf60) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff7e2c001 in ring::video::VideoDeviceMonitorImpl::run() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#2 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#3 0x00007ffff524d019 in start_thread (arg=0x7ffff23cf700) at pthread_create.c:486
#4 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7ffff2d60700 (LWP 2207)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff47eaca1 in __GI_abort () at abort.c:79
#2 0x00007ffff47e2577 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion@entry=0x7ffff7f01610 "!\"Calling pjlib from unknown/external thread. --Type <RET> for more, q to quit, c to continue without paging--
You must \" \"register external threads with pj_thread_register() \" \"before calling any pjlib functions.\"", file=file@entry=0x7ffff7f01478 "../src/pj/os_core_unix.c",
line=line@entry=692,
function=function@entry=0x7ffff7f01838 <__PRETTY_FUNCTION__.5615> "pj_thread_this")
at assert.c:92
#3 0x00007ffff47e2622 in __GI___assert_fail (
assertion=0x7ffff7f01610 "!\"Calling pjlib from unknown/external thread. You must \" \"register external threads with pj_thread_register() \" \"before calling any pjlib functions.\"", file=0x7ffff7f01478 "../src/pj/os_core_unix.c", line=692,
function=0x7ffff7f01838 <__PRETTY_FUNCTION__.5615> "pj_thread_this") at assert.c:101
#4 0x00007ffff7eb5403 in pj_thread_this ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#5 0x00007ffff7eb5c29 in pj_mutex_lock ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#6 0x00007ffff7ebd02a in pj_lock_acquire ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#7 0x00007ffff7ebf967 in cpool_create_pool ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so--Type <RET> for more, q to quit, c to continue without paging--
.0
#8 0x00007ffff7ebedb2 in pj_pool_create ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#9 0x00007ffff7e590ca in pjsip_endpt_create_pool ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#10 0x00007ffff7e5fdd4 in pjsip_tx_data_create ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#11 0x00007ffff7e59a21 in pjsip_endpt_create_tdata ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#12 0x00007ffff7e5aa24 in pjsip_endpt_create_request ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#13 0x00007ffff7c6dcac in ring::SIPAccount::sendTextMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<c--Type <RET> for more, q to quit, c to continue without paging--
har, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, unsigned long) ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#14 0x00007ffff7dec1e7 in ring::im::MessageEngine::retrySend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#15 0x00007ffff7c51775 in ring::ScheduledExecutor::loop() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#16 0x00007ffff7c518d5 in std::thread::_Impl<std::_Bind_simple<ring::ScheduledExecutor::ScheduledExecutor()::{lambda()#1} ()> >::_M_run() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#17 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#18 0x00007ffff524d019 in start_thread (arg=0x7ffff2d60700) at pthread_create.c:486
#19 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7ffff2d6f5c0 (LWP 2205)):
--Type <RET> for more, q to quit, c to continue without paging--
#0 0x00007ffff489d6a1 in __GI___poll (fds=0x7fffffffcfa0, nfds=2, timeout=10000)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff7fb2834 in DBus::DefaultMainLoop::dispatch() ()
from /gnu/store/2m2niahhg7s1j2krrx8zr46jdgfw12qy-dbus-c++-0.9.0/lib/libdbus-c++-1.so.0
#2 0x00007ffff7fb34bb in DBus::BusDispatcher::enter() ()
from /gnu/store/2m2niahhg7s1j2krrx8zr46jdgfw12qy-dbus-c++-0.9.0/lib/libdbus-c++-1.so.0
#3 0x000000000040fd9d in DBusClient::event_loop() ()
#4 0x000000000040f498 in main ()
```Iteration 9Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/36device revokation: password check failure and crash2022-11-14T21:52:32ZHugo Lefeuvredevice revokation: password check failure and crash**Affects**: latest daemon master with opendht from the contribs
**How to reproduce**:
You will need an account A with non-empty password (let's say "123456789")
1. open GNOME client
2. go to account A's settings
3. try to revoke devi...**Affects**: latest daemon master with opendht from the contribs
**How to reproduce**:
You will need an account A with non-empty password (let's say "123456789")
1. open GNOME client
2. go to account A's settings
3. try to revoke device, password is asked
4. enter empty password
Expected: daemon detects bad password and GNOME client displays bad password dialog.
What happens: daemon fails to catch bad password & dht crashes.
**gdb stacktrace**:
```
[1533936396.816|15896|ringaccount.cpp :2119 ] Query for local certificate store: 4e9fcf8b3abab01b5bf17a974090a0c91f7c3f87: 1 found.
[Thread 0x7fffeaddf700 (LWP 15901) exited]
[Thread 0x7fffe8ddb700 (LWP 15905) exited]
[1533936402.917|15896|ringaccount.cpp :3292 ] [Account 9fba7138a1fc3f51] found 1 devices for c2383a4923f3f3ead1b9f725456e8ff9d69581a3
[1533936413.395|15913|ringaccount.cpp :926 ] [Account 9fba7138a1fc3f51] reading account archive
[1533936413.395|15913|fileutils.cpp :424 ] Reading archive from /home/hlefeuvre/.local/share/ring/9fba7138a1fc3f51/export.gz
[1533936414.505|15913|fileutils.cpp :441 ] Error decrypting archive: Can't decrypt data
[1533936414.505|15913|thread_pool.cpp :79 ] Exception running task: Can't decrypt data
Dropping packet with high delay: 0.826318
[1533936418.547|15913|ringaccount.cpp :926 ] [Account 9fba7138a1fc3f51] reading account archive
[1533936418.547|15913|fileutils.cpp :424 ] Reading archive from /home/hlefeuvre/.local/share/ring/9fba7138a1fc3f51/export.gz
[1533936418.547|15913|accountarchive.cpp:31 ] Loading account archive (10664 bytes)
[New Thread 0x7fffe8ddb700 (LWP 15932)]
[Thread 0x7fffe8ddb700 (LWP 15932) exited]
Thread 1 "dring" received signal SIGSEGV, Segmentation fault.
0x0000000000b08f94 in dht::crypto::Certificate::getExpiration() const ()
(gdb) bt
#0 0x0000000000b08f94 in dht::crypto::Certificate::getExpiration() const ()
#1 0x0000000000b0c6a2 in dht::crypto::RevocationList::sign(dht::crypto::PrivateKey const&, dht::crypto::Certificate const&, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#2 0x00000000006569a7 in dht::crypto::RevocationList::sign (this=0x6030003516b0, id=...) at /home/hlefeuvre/Development/ring-daemon/contrib/x86_64-linux-gnu/include/opendht/crypto.h:212
#3 0x000000000060eeba in ring::RingAccount::<lambda(const std::shared_ptr<dht::crypto::Certificate>&)>::operator()(const std::shared_ptr<dht::crypto::Certificate> &) (__closure=0x6080000958a0,
crt=std::shared_ptr (count 4, weak 0) 0x60800000fe30) at ringaccount.cpp:1123
#4 0x000000000063eda3 in std::_Function_handler<void(const std::shared_ptr<dht::crypto::Certificate>&), ring::RingAccount::revokeDevice(const string&, const string&)::<lambda(const std::shared_ptr<dht::crypto::Certificate>&)> >::_M_invoke(const std::_Any_data &, const std::shared_ptr<dht::crypto::Certificate> &) (__functor=..., __args#0=std::shared_ptr (count 4, weak 0) 0x60800000fe30)
at /usr/include/c++/5/functional:1871
#5 0x0000000000678909 in std::function<void (std::shared_ptr<dht::crypto::Certificate> const&)>::operator()(std::shared_ptr<dht::crypto::Certificate> const&) const (this=0x7fffffffcb80,
__args#0=std::shared_ptr (count 4, weak 0) 0x60800000fe30) at /usr/include/c++/5/functional:2267
#6 0x000000000062720f in ring::RingAccount::findCertificate(dht::Hash<20ul> const&, std::function<void (std::shared_ptr<dht::crypto::Certificate> const&)>&&) (this=0x623000007110, h=...,
cb=<unknown type in /home/hlefeuvre/Development/ring-daemon/bin/dring, CU 0x4b98e6, DIE 0x5f4616>) at ringaccount.cpp:2580
#7 0x000000000060f774 in ring::RingAccount::revokeDevice (this=0x623000007110, password="", device="25a30306bd68013858d55f9edad096c65f523048") at ringaccount.cpp:1133
#8 0x0000000000527061 in DRing::revokeDevice (accountID="9fba7138a1fc3f51", password="", deviceID="25a30306bd68013858d55f9edad096c65f523048") at configurationmanager.cpp:308
#9 0x00000000004d163b in DBusConfigurationManager::revokeDevice (this=0x61500001f980, accountID="9fba7138a1fc3f51", password="", device="25a30306bd68013858d55f9edad096c65f523048")
at dbusconfigurationmanager.cpp:93
#10 0x00000000004dcf7b in cx::ring::Ring::ConfigurationManager_adaptor::_revokeDevice_stub (this=0x61500001f980, call=...) at dbusconfigurationmanager.adaptor.h:1495
#11 0x00000000004fa932 in DBus::Callback<cx::ring::Ring::ConfigurationManager_adaptor, DBus::Message, DBus::CallMessage const&>::call (this=0x6030000249a0, param=...)
at /home/hlefeuvre/Development/ring-daemon/contrib/x86_64-linux-gnu/include/dbus-c++-1/dbus-c++/util.h:283
#12 0x0000000000505cff in DBus::Slot<DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const () at /usr/include/c++/5/ext/new_allocator.h:120
#13 0x0000000000504df2 in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) () at /usr/include/c++/5/ext/new_allocator.h:120
#14 0x000000000050d777 in DBus::ObjectAdaptor::handle_message(DBus::Message const&) () at /usr/include/c++/5/ext/new_allocator.h:120
#15 0x000000000050ccee in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) () at /usr/include/c++/5/ext/new_allocator.h:120
#16 0x00007ffff6c3f813 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#17 0x00007ffff6c30d94 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#18 0x00000000004fc812 in DBus::Connection::Private::do_dispatch() () at /usr/include/c++/5/ext/new_allocator.h:120
#19 0x00000000004ff779 in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) ()
at /usr/include/c++/5/ext/new_allocator.h:120
#20 0x00000000004ff577 in DBus::Dispatcher::dispatch_pending() () at /usr/include/c++/5/ext/new_allocator.h:120
#21 0x00000000005032ca in DBus::BusDispatcher::do_iteration() () at /usr/include/c++/5/ext/new_allocator.h:120
#22 0x0000000000502f78 in DBus::BusDispatcher::enter() () at /usr/include/c++/5/ext/new_allocator.h:120
#23 0x0000000000459fcf in DBusClient::event_loop (this=0x60600000a340) at dbusclient.cpp:250
#24 0x00000000004541d1 in main (argc=2, argv=0x7fffffffdc88) at main.cpp:236
```https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/9dtmf tones do not work2024-03-08T19:26:14ZJami Botdtmf tones do not workIssue generated from Tuleap's migration script.
**Originally submitted by: Stepan Salenikovich (ssalenik)**
<p>A user reported that sending dtmf tones (SIP or RTP) does not work.<br />
<br />
I think RTP tones are broken in the daem...Issue generated from Tuleap's migration script.
**Originally submitted by: Stepan Salenikovich (ssalenik)**
<p>A user reported that sending dtmf tones (SIP or RTP) does not work.<br />
<br />
I think RTP tones are broken in the daemon since a while ago. Its also possible that SIP tones work, but are not accepted in all cases on the other end?</p>
<p>Also the gnome UI is not very nice for sending them, so could also be an input issue.</p>SIP support - first iterationSébastien BlinSébastien Blin