jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2023-12-27T18:01:47Zhttps://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/778Split daemon into two components (jami-daemon: Jami-related component ; dhtne...2023-07-31T12:47:28ZThomas BallasiSplit daemon into two components (jami-daemon: Jami-related component ; dhtnet: universally usable network system using the dht)An interesting task to do is to have the components used in jami-daemon to create connectivity between two peers extracted from these sources into an independent library.
The goal is to create a new repository altogether for dhtnet.
He...An interesting task to do is to have the components used in jami-daemon to create connectivity between two peers extracted from these sources into an independent library.
The goal is to create a new repository altogether for dhtnet.
Here is a rundown of the sub-tasks:
- [X] [[22745](https://review.jami.net/c/jami-daemon/+/22745)] Initial split of the code-base (without removing cross-dependencies)
- [ ] [[WIP (22885)](https://review.jami.net/c/jami-daemon/+/22885), [In Review (23020)](https://review.jami.net/c/jami-daemon/+/23020)] Minimize the use of cross-dependencies across the code-base
- [ ] Define an API for dhtnet
- [ ] Remove the last bits of unnecessary dependencies (may require to rewrite some parts of the code)
- [ ] Push dhtnet to its proper repository and have Jami use ithttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/776iOS wake up when receiving a clone request2023-06-13T12:38:46ZSébastien BliniOS wake up when receiving a clone request# Scenario
+ Alice (iOS) send a trust request to Bob
+ Alice goes in background mode
+ Bob accepts some minutes after that, while Alice is in background
# Expected result
The clone should work, alice should wake up
# Current result
...# Scenario
+ Alice (iOS) send a trust request to Bob
+ Alice goes in background mode
+ Bob accepts some minutes after that, while Alice is in background
# Expected result
The clone should work, alice should wake up
# Current result
Stay syncing, cause the extension doesn't start the daemonSébastien BlinKateryna KostiukSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/775Unit test - some deadlock2022-10-17T18:16:18ZSébastien BlinUnit test - some deadlockSeems to be in sendSIPMessage while removing an accountSeems to be in sendSIPMessage while removing an accountSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/774Dependency issue: missing libfmt.so.8 on Manjaro Linux.2022-10-12T20:29:42ZsulivanShuDependency issue: missing libfmt.so.8 on Manjaro Linux.Manjaro Linux has updated the fmt package to version 9. However, Jami remains dependent on version 8. An error results when launching Jami:
`jami-qt: error while loading shared libraries: libfmt.so.8: cannot open shared object file: No ...Manjaro Linux has updated the fmt package to version 9. However, Jami remains dependent on version 8. An error results when launching Jami:
`jami-qt: error while loading shared libraries: libfmt.so.8: cannot open shared object file: No such file or directory`
Linux manjaro 5.19.11-3-MANJARO-ARM # 1 SMP PREEMPT Sun Sep 25 15:08:54 UTC 2022 aarch64 GNU/LinuxLinux manjaro 5.19.11-3-MANJARO-ARM # 1 SMP PREEMPT Sun Sep 25 15:08:54 UTC 2022 aarch64 GNU/Linuxhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/773Use python3 instead of python2022-10-14T07:46:56ZlinsuiUse python3 instead of pythonIn https://git.jami.net/savoirfairelinux/jami-daemon/-/blob/master/bin/jni/make-swig.sh `python` is used to run python3. This requires python-is-python3 installed but it's not always there.In https://git.jami.net/savoirfairelinux/jami-daemon/-/blob/master/bin/jni/make-swig.sh `python` is used to run python3. This requires python-is-python3 installed but it's not always there.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/855Issue if you add an unkown contact by sending text messages - Can't decline a...2024-02-19T16:14:56ZElysIssue if you add an unkown contact by sending text messages - Can't decline a contact request (same contact multiple times in contact list?) Multi-Device issue?using newest version of Jami Windows 10 and Android
just Windows 10 (="username1"): enable "Allow calls from unknown peers" AND "Allow incoming files from unknown contacts"
Steps to reproduce:
1. Windows 10: Remove (NOT block) a contac...using newest version of Jami Windows 10 and Android
just Windows 10 (="username1"): enable "Allow calls from unknown peers" AND "Allow incoming files from unknown contacts"
Steps to reproduce:
1. Windows 10: Remove (NOT block) a contact ("username2") from your contact list; Android keep the Windows 10 user ("username1") in the contact list
1. Android: Write a text message (Android -> Windows 10)
1. Windows 10: You get an invitation
1. Windows 10: Accept the invitation
1. Windows 10: You get an error message "An error occurred while fetching this repository"
1. Windows 10: You only view an invitation but the contact ("username2") won't move to the contact list
1. Windows 10: You have to delete the contact
Now exit Jami (Windows 10) and enter Jami again
Another option: Starting from step 5 mentioned above
1. Windows 10: Now instead of a username you get the identifier of the contact; you accept the contact request
1. Windows 10: You (also) get an error message "An error occurred while fetching this repository"
1. Now exit Jami (just Windows 10)
1. Windows 10: enter Jami again; you get the message "Waiting until [identifier] connects to synchronize the conversation." but after a few seconds still "An error occurred while fetching this repository"
1. Windows 10: Now remove the contact ("username2") it does NOT work
1. Just Windows 10: Exit Jami and enter Jami again: Contact ("username2") is still in the contact list; If you try to remove the contact again it's still not possible
You have to **block** (not delete!) the contact to get rid of it in the contact list
As soon as you unblock the contact you get the **same contact twice** in the contact list: One contact will show just "Swarm created", the other (same) contact will still show "An error occurred while fetching this repository"; If you make a call Android -> Windows 10 the second same contact will receive the call
However - now you can remove the contact and it will be goneSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/772camera left active upon when leaving rendez-vous point while sharing screen2023-09-29T09:45:19ZMaxim Cournoyercamera left active upon when leaving rendez-vous point while sharing screenjami version (both local and remote: 20220825.0828.c10f01f
Steps to reproduce:
1. connect to a rendez-vous point in video mode (e.g.: to rdv-test-internal-01)
2. start sharing screen (it won't work; another bug?)
3. leave conference ("e...jami version (both local and remote: 20220825.0828.c10f01f
Steps to reproduce:
1. connect to a rendez-vous point in video mode (e.g.: to rdv-test-internal-01)
2. start sharing screen (it won't work; another bug?)
3. leave conference ("end call" button)
4. notice the camera remains active (if your camera has some LED indicator)
If you try to join the conference again, the camera cannot be turned on. To make the camera usable again, Jami must be restarted.
Leaving a conference should always clean after itself, closing the camera, microphone, etc.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/771ut_conference, sporadic crashes in testParticipantAddRmSecondVideo2023-03-31T15:55:27ZSébastien Blinut_conference, sporadic crashes in testParticipantAddRmSecondVideoOn current master (b7dd425660c420466d951f09e3c67e9d5f9eec90), sometimes:
# Stack
```
[1665072641.413|34936|sdp.cpp :606 ] Processing received offer for [Call ID 4153440945198650] with 2 media
malloc_consolidate(): unali...On current master (b7dd425660c420466d951f09e3c67e9d5f9eec90), sometimes:
# Stack
```
[1665072641.413|34936|sdp.cpp :606 ] Processing received offer for [Call ID 4153440945198650] with 2 media
malloc_consolidate(): unaligned fastbin chunk detected
Thread 1 "ut_conference" received signal SIGABRT, Aborted.
0x00007ffff668ec4c in __pthread_kill_implementation () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install alsa-lib-1.2.7.2-1.fc36.x86_64 bzip2-libs-1.0.8-11.fc36.x86_64 cppunit-1.15.1-6.fc36.x86_64 dbus-libs-1.14.0-1.fc36.x86_64 expat-2.4.7-1.fc36.x86_64 flac-libs-1.3.4-1.fc36.x86_64 glibc-2.35-17.fc36.x86_64 gmp-6.2.1-2.fc36.x86_64 gnutls-3.7.7-1.fc36.x86_64 gsm-1.0.19-7.fc36.x86_64 jsoncpp-1.9.5-2.fc36.x86_64 lame-libs-3.100-12.fc36.x86_64 libX11-1.7.3.1-2.fc36.x86_64 libXau-1.0.9-8.fc36.x86_64 libXext-1.3.4-8.fc36.x86_64 libXfixes-6.0.0-3.fc36.x86_64 libargon2-20171227-9.fc36.x86_64 libasyncns-0.8-22.fc36.x86_64 libcap-2.48-4.fc36.x86_64 libdrm-2.4.110-1.fc36.x86_64 libgcc-12.2.1-2.fc36.x86_64 libgcrypt-1.10.1-3.fc36.x86_64 libgpg-error-1.45-1.fc36.x86_64 libidn2-2.3.3-1.fc36.x86_64 libogg-1.3.5-3.fc36.x86_64 libsndfile-1.1.0-4.fc36.x86_64 libstdc++-12.2.1-2.fc36.x86_64 libtasn1-4.18.0-2.fc36.x86_64 libunistring-1.0-1.fc36.x86_64 libuuid-2.38-1.fc36.x86_64 libva-2.14.0-1.fc36.x86_64 libvdpau-1.5-10.fc36.x86_64 libvorbis-1.3.7-5.fc36.x86_64 libxcb-1.13.1-9.fc36.x86_64 libzstd-1.5.2-2.fc36.x86_64 lz4-libs-1.9.3-4.fc36.x86_64 mpg123-libs-1.30.1-1.fc36.x86_64 nettle-3.8-1.fc36.x86_64 nss-mdns-0.15.1-5.fc36.x86_64 nvidia-driver-cuda-libs-515.76-1.fc36.x86_64 openssl-libs-3.0.5-1.fc36.x86_64 opus-1.3.1-10.fc36.x86_64 p11-kit-0.24.1-2.fc36.x86_64 pulseaudio-libs-15.0-5.fc36.x86_64 speex-1.2.0-10.fc36.x86_64 speexdsp-1.2.1-1.fc36.x86_64 systemd-libs-250.8-1.fc36.x86_64 x264-libs-0.163-6.20210613git5db6aa6.fc36.x86_64 xz-libs-5.2.5-9.fc36.x86_64 yaml-cpp-0.6.3-6.fc36.x86_64 zlib-1.2.11-33.fc36.x86_64
(gdb) bt
#0 0x00007ffff668ec4c in __pthread_kill_implementation () from /lib64/libc.so.6
#1 0x00007ffff663e9c6 in raise () from /lib64/libc.so.6
#2 0x00007ffff66287f4 in abort () from /lib64/libc.so.6
#3 0x00007ffff6682d9e in __libc_message () from /lib64/libc.so.6
#4 0x00007ffff669895c in malloc_printerr () from /lib64/libc.so.6
#5 0x00007ffff669aa8c in _int_free () from /lib64/libc.so.6
#6 0x00007ffff669d103 in free () from /lib64/libc.so.6
#7 0x000000000063b90c in jami::MediaDescription::~MediaDescription (this=0x7fff300212f8, __in_chrg=<optimized out>)
at /home/amarok/Projects/jami/daemon/src/media/media_codec.h:274
#8 0x0000000000906636 in jami::RtpSession::~RtpSession (this=0x7fff300210c0, __in_chrg=<optimized out>)
at ./media/rtp_session.h:51
#9 0x0000000000910ce3 in jami::video::VideoRtpSession::~VideoRtpSession (this=0x7fff300210c0,
__in_chrg=<optimized out>) at ./media/video/video_rtp_session.cpp:79
#10 0x00000000006a8c3a in std::_Destroy<jami::video::VideoRtpSession> (__pointer=0x7fff300210c0)
at /usr/include/c++/12/bits/stl_construct.h:151
#11 0x00000000006a8bde in std::allocator_traits<std::allocator<void> >::destroy<jami::video::VideoRtpSession> (
__p=0x7fff300210c0) at /usr/include/c++/12/bits/alloc_traits.h:648
#12 0x00000000006a8941 in std::_Sp_counted_ptr_inplace<jami::video::VideoRtpSession, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x7fff300210b0) at /usr/include/c++/12/bits/shared_ptr_base.h:613
#13 0x000000000049f957 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release_last_use (
this=0x7fff300210b0) at /usr/include/c++/12/bits/shared_ptr_base.h:175
#14 0x000000000049d212 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release_last_use_cold (
this=0x7fff300210b0) at /usr/include/c++/12/bits/shared_ptr_base.h:199
#15 0x000000000049a9db in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7fff300210b0)
at /usr/include/c++/12/bits/shared_ptr_base.h:353
#16 0x000000000049d269 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x1eb9b38,
__in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr_base.h:1071
#17 0x00000000004cf40a in std::__shared_ptr<jami::RtpSession, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (
this=0x1eb9b30, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr_base.h:1524
#18 0x00000000004e3ef6 in std::shared_ptr<jami::RtpSession>::~shared_ptr (this=0x1eb9b30, __in_chrg=<optimized out>)
at /usr/include/c++/12/bits/shared_ptr.h:175
#19 0x00000000004e3f11 in std::_Destroy<std::shared_ptr<jami::RtpSession> > (__pointer=0x1eb9b30)
at /usr/include/c++/12/bits/stl_construct.h:151
#20 0x00000000004e17a1 in std::_Destroy_aux<false>::__destroy<std::shared_ptr<jami::RtpSession>*> (
__first=0x1eb9b30, __last=0x1eb9b40) at /usr/include/c++/12/bits/stl_construct.h:163
#21 0x00000000004ddade in std::_Destroy<std::shared_ptr<jami::RtpSession>*> (__first=0x1eb9b20, __last=0x1eb9b40)
at /usr/include/c++/12/bits/stl_construct.h:196
#22 0x00000000004d8169 in std::_Destroy<std::shared_ptr<jami::RtpSession>*, std::shared_ptr<jami::RtpSession> > (
__first=0x1eb9b20, __last=0x1eb9b40) at /usr/include/c++/12/bits/alloc_traits.h:850
#23 0x00000000004d2823 in std::vector<std::shared_ptr<jami::RtpSession>, std::allocator<std::shared_ptr<jami::RtpSession> > >::~vector (this=0x7fffffffc3b0, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/stl_vector.h:730
#24 0x000000000068fa7f in jami::SIPCall::exitConference (this=0x1cb4670) at ./sip/sipcall.cpp:3061
#25 0x00000000004be2bb in jami::Conference::removeParticipant (this=0x1d2f140, participant_id="6158319920365303")
at conference.cpp:884
#26 0x00000000004fa526 in jami::Manager::removeParticipant (this=0x1a6d6e0 <jami::Manager::instance()::instance>,
call=...) at manager.cpp:1545
#27 0x00000000004f7c22 in jami::Manager::hangupCall (this=0x1a6d6e0 <jami::Manager::instance()::instance>,
callId="6158319920365303") at manager.cpp:1105
#28 0x00000000004f9424 in jami::Manager::ManagerPimpl::hangupConference (this=0x1cb7760, conference=...)
at manager.cpp:1370
#29 0x00000000004f7dc4 in jami::Manager::hangupConference (this=0x1a6d6e0 <jami::Manager::instance()::instance>,
accountId="15d9d069807f7c0d", confId="") at manager.cpp:1127
#30 0x00000000004849ff in jami::test::ConferenceTest::hangupConference (this=0x1cb37b0) at call/conference.cpp:311
#31 0x00000000004939b9 in jami::test::ConferenceTest::testParticipantAddRmSecondVideo (this=0x1cb37b0)
at call/conference.cpp:881
--Type <RET> for more, q to quit, c to continue without paging--
#32 0x00000000004ab82d in std::__invoke_impl<void, void (jami::test::ConferenceTest::*&)(), jami::test::ConferenceTest*&> (
__f=@0x1cd08e0: (void (jami::test::ConferenceTest::*)(jami::test::ConferenceTest * const)) 0x4930d6 <jami::test::ConferenceTest::testParticipantAddRmSecondVideo()>, __t=@0x1cd08f0: 0x1cb37b0) at /usr/include/c++/12/bits/invoke.h:74
#33 0x00000000004aad83 in std::__invoke<void (jami::test::ConferenceTest::*&)(), jami::test::ConferenceTest*&> (
__fn=@0x1cd08e0: (void (jami::test::ConferenceTest::*)(jami::test::ConferenceTest * const)) 0x4930d6 <jami::test::ConferenceTest::testParticipantAddRmSecondVideo()>) at /usr/include/c++/12/bits/invoke.h:96
#34 0x00000000004a9f4e in std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x1cd08e0, __args=...) at /usr/include/c++/12/functional:484
#35 0x00000000004a8942 in std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()>::operator()<, void>() (this=0x1cd08e0) at /usr/include/c++/12/functional:567
#36 0x00000000004a7218 in std::__invoke_impl<void, std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()>&>(std::__invoke_other, std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()>&)
(__f=...) at /usr/include/c++/12/bits/invoke.h:61
#37 0x00000000004a563e in std::__invoke_r<void, std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()>&>(std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()>&) (__fn=...)
at /usr/include/c++/12/bits/invoke.h:111
#38 0x00000000004a3127 in std::_Function_handler<void (), std::_Bind<void (jami::test::ConferenceTest::*(jami::test::ConferenceTest*))()> >::_M_invoke(std::_Any_data const&) (__functor=...)
at /usr/include/c++/12/bits/std_function.h:290
#39 0x000000000049dbb4 in std::function<void ()>::operator()() const (this=0x1cb0990)
at /usr/include/c++/12/bits/std_function.h:591
#40 0x00000000004acc14 in CppUnit::TestCaller<jami::test::ConferenceTest>::runTest (this=0x1cb0950)
at /usr/include/cppunit/TestCaller.h:175
#41 0x00007ffff7f7ea66 in CppUnit::TestCaseMethodFunctor::operator()() const () from /lib64/libcppunit-1.15.so.1
#42 0x00007ffff7f7e9b3 in CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) () from /lib64/libcppunit-1.15.so.1
#43 0x00007ffff7f77a23 in CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&)
() from /lib64/libcppunit-1.15.so.1
#44 0x00007ffff7f8041a in CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /lib64/libcppunit-1.15.so.1
#45 0x00007ffff7f88dba in CppUnit::TestCase::run(CppUnit::TestResult*) () from /lib64/libcppunit-1.15.so.1
#46 0x00007ffff7f7edad in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) ()
from /lib64/libcppunit-1.15.so.1
#47 0x00007ffff7f7ebdb in CppUnit::TestComposite::run(CppUnit::TestResult*) () from /lib64/libcppunit-1.15.so.1
#48 0x00007ffff7f7edad in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) ()
from /lib64/libcppunit-1.15.so.1
#49 0x00007ffff7f7ebdb in CppUnit::TestComposite::run(CppUnit::TestResult*) () from /lib64/libcppunit-1.15.so.1
#50 0x00007ffff7f7f716 in CppUnit::TestResult::runTest(CppUnit::Test*) () from /lib64/libcppunit-1.15.so.1
#51 0x00007ffff7f86143 in CppUnit::TestRunner::run(CppUnit::TestResult&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /lib64/libcppunit-1.15.so.1
#52 0x00007ffff7f912c4 in CppUnit::TextTestRunner::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, bool) () from /lib64/libcppunit-1.15.so.1
#53 0x0000000000493e9b in main () at call/conference.cpp:889
```Backloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/770audio 1:1 calls: open camera, other side opens camera too2022-10-20T15:38:11ZAline Gondim Santosaudio 1:1 calls: open camera, other side opens camera tooAlice calls bob audio only;
Bob answers;
Alice (or Bob) opens camera;
Result:
Bob (or Alice) camera opens too.
Expected:
Bob (or Alice) camera should keep closed.Alice calls bob audio only;
Bob answers;
Alice (or Bob) opens camera;
Result:
Bob (or Alice) camera opens too.
Expected:
Bob (or Alice) camera should keep closed.Aline Gondim SantosAline Gondim Santoshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/769conference: calls between accounts in same device2022-10-06T14:31:51ZAline Gondim Santosconference: calls between accounts in same deviceSame device: alice (rdv) + bob (non rdv)
Results:
Bob calls alice and has no video.
+ Possible crash during the call when switching between the accounts (reproducible on Aline's Linux, Andreas could not reproduce on his Windows):
```...Same device: alice (rdv) + bob (non rdv)
Results:
Bob calls alice and has no video.
+ Possible crash during the call when switching between the accounts (reproducible on Aline's Linux, Andreas could not reproduce on his Windows):
```
Thread 33 "jami-qt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff517fa640 (LWP 109770)]
std::__uniq_ptr_impl<jami::IceSocket, std::default_delete<jami::IceSocket> >::_M_ptr (this=0x88) at /usr/include/c++/10/bits/unique_ptr.h:173
173 pointer _M_ptr() const { return std::get<0>(_M_t); }
(gdb) bt
#0 std::__uniq_ptr_impl<jami::IceSocket, std::default_delete<jami::IceSocket> >::_M_ptr() const (this=0x88) at /usr/include/c++/10/bits/unique_ptr.h:173
#1 0x00007fffe9478e02 in std::unique_ptr<jami::IceSocket, std::default_delete<jami::IceSocket> >::get() const (this=0x88) at /usr/include/c++/10/bits/unique_ptr.h:422
#2 0x00007fffe9478562 in std::unique_ptr<jami::IceSocket, std::default_delete<jami::IceSocket> >::operator bool() const (this=0x88)
at /usr/include/c++/10/bits/unique_ptr.h:436
#3 0x00007fffe94758ac in jami::SocketPair::createIOContext(unsigned short) (this=0x0, mtu=1232) at media/socket_pair.cpp:372
#4 0x00007fffe956f430 in jami::video::VideoReceiveThread::addIOContext(jami::SocketPair&) (this=0x7ffedc0c6570, socketPair=...)
at ./media/video/video_receive_thread.cpp:189
#5 0x00007fffe95732db in jami::video::VideoRtpSession::startReceiver() (this=0x7ffd989ab1e0) at ./media/video/video_rtp_session.cpp:255
#6 0x00007fffe95746b1 in jami::video::VideoRtpSession::setMuted(bool, jami::RtpSession::Direction)
(this=0x7ffd989ab1e0, mute=false, dir=jami::RtpSession::Direction::RECV) at ./media/video/video_rtp_session.cpp:426
#7 0x00007fffe95cb47d in jami::SIPCall::updateRemoteMedia() (this=0x7ffd9801b950) at ./sip/sipcall.cpp:2276
#8 0x00007fffe95cd25a in operator()() const (__closure=0x7ffd9899c0a0) at ./sip/sipcall.cpp:2637
#9 0x00007fffe95d3dcc in operator()() (this=0x7ffd9899c0a0) at ./manager.h:903
#10 0x00007fffe95da206 in std::__invoke_impl<void, jami::runOnMainThread<jami::SIPCall::onMediaNegotiationComplete()::<lambda()> >::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/10/bits/invoke.h:60
#11 0x00007fffe95d8f90 in std::__invoke_r<void, jami::runOnMainThread<jami::SIPCall::onMediaNegotiationComplete()::<lambda()> >::<lambda()>&>(struct {...} &)
(__fn=...) at /usr/include/c++/10/bits/invoke.h:110
#12 0x00007fffe95d740f in std::_Function_handler<void(), jami::runOnMainThread<jami::SIPCall::onMediaNegotiationComplete()::<lambda()> >::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/10/bits/std_function.h:291
#13 0x00007fffe935c53e in std::function<void ()>::operator()() const (this=0x7ffd98992aa0) at /usr/include/c++/10/bits/std_function.h:622
#14 0x00007fffe9425998 in jami::ScheduledExecutor::loop() (this=0x55555675f790) at scheduled_executor.cpp:145
#15 0x00007fffe9424c81 in operator()() const (__closure=0x555556762658) at scheduled_executor.cpp:35
```
Expected:
Bob should have his camera on.Aline Gondim SantosAline Gondim Santoshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/768[swarm] conversation cannot be sync'd: Abort fetching repository, the fetch i...2023-01-10T15:25:14ZMaxim Cournoyer[swarm] conversation cannot be sync'd: Abort fetching repository, the fetch is too bigHi,
After updating Jami to 20220825.0828.c10f01f, there's a conversation info banner mentioning "An error occurred while fetching this repository".
Looking at the logs, the more exact error seems to be: "Abort fetching repository, the ...Hi,
After updating Jami to 20220825.0828.c10f01f, there's a conversation info banner mentioning "An error occurred while fetching this repository".
Looking at the logs, the more exact error seems to be: "Abort fetching repository, the fetch is too big":
```
Sep 19 10:45:23 localhost jami: Could not fetch remote repository for conversation b7ca6ad7bbf02d554160da6382f3f17b30082dc8: indexer progress callback returned -1
Sep 19 10:45:23 localhost jami: [Account 80852682ccb25a32] Could not fetch new commit from 536ba4cf048057f6fa01d8eafa7b65d7bdde470320af6e5c026cf2dc59a0355f for b7ca6ad7bbf02d554160da6382f3f17b30082dc8, other peer may be disconnected
Sep 19 10:45:23 localhost jami: [Account 80852682ccb25a32] Relaunch sync with 536ba4cf048057f6fa01d8eafa7b65d7bdde470320af6e5c026cf2dc59a0355f for b7ca6ad7bbf02d554160da6382f3f17b30082dc8
```
`grep jami /var/log/messages | tail -n200 > jami.log` attached.
[jami.log](/uploads/83aa19a73cefe19744742aa614172189/jami.log)Sébastien BlinSébastien Blin2023-01-18https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/767[regression] jamid segfault on specific series of D-Bus API actions2022-09-26T03:23:57ZMaxim Cournoyer[regression] jamid segfault on specific series of D-Bus API actionsThis appears to be a regression introduced with the latest release, 20220825.0828.c10f01f.
It was found while running the `jami-provisioning` test from GNU Guix, which aims to cover that the `jami-service-type` works as expected (see: h...This appears to be a regression introduced with the latest release, 20220825.0828.c10f01f.
It was found while running the `jami-provisioning` test from GNU Guix, which aims to cover that the `jami-service-type` works as expected (see: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/tests/telephony.scm#n305).
The following steps are making use of the Guix System Jami service available actions, but should reproduce using any D-Bus client.
1. herd status jami -> pid is X
1. herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f
1. herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199
1. herd enable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199 ->
herd: exception caught while executing 'enable-account' on service 'jami':
dbus "method failed with error" "org.freedesktop.DBus.Error.NoReply" ("Message recipient disconnected from message bus without replying")
1. herd status jami -> pid is Y (respawned)
Backtrace of the segfault (sorry, no symbols):
```
Thread 25 "jamid" received signal SIGSEGV, Segmentation fault.
0x00007f7f1422a82c in ?? () from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
(gdb) bt
#0 0x00007f7f1422a82c in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#1 0x00007f7f1422ac1a in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#2 0x00007f7f1422832c in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#3 0x00007f7f14215df3 in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#4 0x00007f7f1418d161 in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#5 0x00007f7f141be6c8 in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#6 0x00007f7f141b4fe0 in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#7 0x00007f7f141ae876 in ?? ()
from target:/gnu/store/5b7bd0n5xg766zq4dgr0xi44akhvvn35-libjami-20220825.0828.c10f01f/lib/libring.so.0
#8 0x00007f7f13264e61 in ?? ()
from target:/gnu/store/vrfk0sb70vp76lyp3rlp0wmp47fmzpma-opendht-2.4.10/lib/libopendht.so.2
#9 0x00007f7f10392bf0 in ?? ()
from target:/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libstdc++.so.6
#10 0x00007f7f105d9d7e in ?? ()
from target:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0
#11 0x00007f7f10086eff in clone ()
from target:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6
```https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/766non-registered Account.username gets regenerated each time the account is dis...2023-01-30T14:54:04ZMaxim Cournoyernon-registered Account.username gets regenerated each time the account is disabled/re-enabledHi,
I've stumbled on this strange behavior playing with the Guix System Jami service, which interacts with `jamid` via its D-Bus interface:
```
# herd list-accounts jami
The following Jami accounts are available:
- cbdf1e811005a9da53...Hi,
I've stumbled on this strange behavior playing with the Guix System Jami service, which interacts with `jamid` via its D-Bus interface:
```
# herd list-accounts jami
The following Jami accounts are available:
- cbdf1e811005a9da53d73d0eaaa6a1c5f9b23321 ()
# herd disable-account jami cbdf1e811005a9da53d73d0eaaa6a1c5f9b23321
# herd list-accounts jami
The following Jami accounts are available:
- cbdf1e811005a9da53d73d0eaaa6a1c5f9b23321 () [disabled]
herd enable-account jami cbdf1e811005a9da53d73d0eaaa6a1c5f9b23321
# let some time pass
# herd list-accounts jami
The following Jami accounts are available:
- f3cb93f1aac048e8284d271ae5a2950dc60318af ()
```
We can see that the above account username changed (the ID corresponds to the `Account.username` entry). I can't think of a reason why this should be; it is unintuitive and complicate things. In my opinion, the Account.username should not change.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/765ios-specific ffmpeg patch applied erroneously on gnu/linux?2023-05-19T13:19:39ZMaxim Cournoyerios-specific ffmpeg patch applied erroneously on gnu/linux?Hi,
https://git.jami.net/savoirfairelinux/jami-daemon/-/blob/master/contrib/src/ffmpeg/rules.mak#L368 applies what looks like an ios-specific patch (at least by its name) on any platform -- should there be a conditional, or is it good ...Hi,
https://git.jami.net/savoirfairelinux/jami-daemon/-/blob/master/contrib/src/ffmpeg/rules.mak#L368 applies what looks like an ios-specific patch (at least by its name) on any platform -- should there be a conditional, or is it good on all platforms? If the later, I'd strip 'ios' from the file name, to avoid confusion.
Thanks!https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/764Sporadic crash in ConnectionManager2022-10-01T10:12:41ZSébastien BlinSporadic crash in ConnectionManager```
[New Thread 0x7fffa67fc640 (LWP 2962014)]
Thread 74 "ut_conversation" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff527fc640 (LWP 2960732)]
0x0000000000ad98cb in pj_grp_lock_acquire ()
(gdb) bt
#0 0x000000...```
[New Thread 0x7fffa67fc640 (LWP 2962014)]
Thread 74 "ut_conversation" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff527fc640 (LWP 2960732)]
0x0000000000ad98cb in pj_grp_lock_acquire ()
(gdb) bt
#0 0x0000000000ad98cb in pj_grp_lock_acquire ()
#1 0x000000000059edfd in jami::IceLock::lock (this=0x7fff527f8c58) at ice_transport.cpp:92
#2 0x000000000059edc3 in jami::IceLock::IceLock (this=0x7fff527f8c58, strans=0x0) at ice_transport.cpp:87
#3 0x00000000005975ff in jami::IceTransport::isStarted (this=0x7fff4c16c180) at ice_transport.cpp:1173
#4 0x0000000000598370 in jami::IceTransport::stop (this=0x7fff4c16c180) at ice_transport.cpp:1354
#5 0x0000000000a0f0c2 in jami::ConnectionManager::Impl::removeUnusedConnections (this=0x7fffd81108d0, deviceId=...) at jamidht/connectionmanager.cpp:83
#6 0x0000000000a0f442 in jami::ConnectionManager::Impl::shutdown (this=0x7fffd81108d0) at jamidht/connectionmanager.cpp:109
#7 0x00000000009ff484 in jami::ConnectionManager::~ConnectionManager (this=0x7fffd80c90e0, __in_chrg=<optimized out>) at jamidht/connectionmanager.cpp:1038
#8 0x00000000007c9060 in std::default_delete<jami::ConnectionManager>::operator() (this=0x1d2fcd0, __ptr=0x7fffd80c90e0) at /usr/include/c++/12/bits/unique_ptr.h:95
#9 0x00000000007bce44 in std::unique_ptr<jami::ConnectionManager, std::default_delete<jami::ConnectionManager> >::~unique_ptr (this=0x1d2fcd0, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:396
#10 0x00000000007fd1be in std::_Destroy<std::unique_ptr<jami::ConnectionManager, std::default_delete<jami::ConnectionManager> > > (__pointer=0x1d2fcd0) at /usr/include/c++/12/bits/stl_construct.h:151
#11 0x00000000007fceac in std::allocator_traits<std::allocator<void> >::destroy<std::unique_ptr<jami::ConnectionManager, std::default_delete<jami::ConnectionManager> > > (__p=0x1d2fcd0) at /usr/include/c++/12/bits/alloc_traits.h:648
#12 0x00000000007fc641 in std::_Sp_counted_ptr_inplace<std::unique_ptr<jami::ConnectionManager, std::default_delete<jami::ConnectionManager> >, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x1d2fcc0)
at /usr/include/c++/12/bits/shared_ptr_base.h:613
#13 0x0000000000484521 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x1d2fcc0) at /usr/include/c++/12/bits/shared_ptr_base.h:346
#14 0x000000000048544b in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x1d2ac48, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr_base.h:1071
#15 0x00000000007b8cfe in std::__shared_ptr<std::unique_ptr<jami::ConnectionManager, std::default_delete<jami::ConnectionManager> >, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x1d2ac40, __in_chrg=<optimized out>)
at /usr/include/c++/12/bits/shared_ptr_base.h:1524
#16 0x00000000007b8d1a in std::shared_ptr<std::unique_ptr<jami::ConnectionManager, std::default_delete<jami::ConnectionManager> > >::~shared_ptr (this=0x1d2ac40, __in_chrg=<optimized out>) at /usr/include/c++/12/bits/shared_ptr.h:175
#17 0x0000000000771096 in ~<lambda>(void) (this=0x1d2ac40, __in_chrg=<optimized out>) at jamidht/jamiaccount.cpp:359
#18 0x00000000007a8185 in std::_Function_base::_Base_manager<jami::JamiAccount::shutdownConnections()::<lambda()> >::_M_destroy(std::_Any_data &, std::false_type) (__victim=...) at /usr/include/c++/12/bits/std_function.h:175
#19 0x000000000079e5a3 in std::_Function_base::_Base_manager<jami::JamiAccount::shutdownConnections()::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation) (__dest=..., __source=...,
__op=std::__destroy_functor) at /usr/include/c++/12/bits/std_function.h:203
#20 0x0000000000798712 in std::_Function_handler<void(), jami::JamiAccount::shutdownConnections()::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation) (__dest=..., __source=...,
__op=std::__destroy_functor) at /usr/include/c++/12/bits/std_function.h:282
#21 0x0000000000b17766 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() ()
#22 0x00007ffff6adbb03 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#23 0x00007ffff668ce2d in start_thread () from /lib64/libc.so.6
#24 0x00007ffff67121b0 in clone3 () from /lib64/libc.so.6
(gdb)
```Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/763Crash in peer_connection2022-12-29T16:39:16ZSébastien BlinCrash in peer_connection# Scenario
none
# Backtrace
```
2022-09-07 12:22:02.789 15614-27109 libc pid-15614 A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1 in tid 27109 (Thread-18027), pid 15614 (cx.ring)
2022-09-07 ...# Scenario
none
# Backtrace
```
2022-09-07 12:22:02.789 15614-27109 libc pid-15614 A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1 in tid 27109 (Thread-18027), pid 15614 (cx.ring)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A Cmdline: cx.ring
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A pid: 15614, tid: 27109, name: Thread-18027 >>> cx.ring <<<
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #00 pc 0000000000d22e0c /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (jami::IceTransport::cancelOperations()+24)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #01 pc 0000000001315500 /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (jami::TlsSocketEndpoint::shutdown()+248)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #02 pc 0000000001362f04 /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (jami::MultiplexedSocket::Impl::shutdown()+224)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #03 pc 0000000001355d6c /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (jami::MultiplexedSocket::Impl::eventLoop()+424)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #04 pc 000000000136f354 /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()::operator()() const+32)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #05 pc 000000000136f2e8 /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (decltype(std::__ndk1::forward<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(fp)()) std::__ndk1::__invoke<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()&&)+24)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #06 pc 000000000136f288 /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (void std::__ndk1::__thread_execute<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>&, std::__ndk1::__tuple_indices<>)+32)
2022-09-07 12:22:05.876 28069-28069 DEBUG pid-28069 A #07 pc 000000000136efe4 /data/app/~~9yX6U37i7cjLkuy_wJtYDA==/cx.ring-wsPGQcNLaDnoFvMbixm3GQ==/base.apk (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()> >(void*)+108)
2022-09-07 14:03:44.847 24432-25046 libc pid-24432 A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1 in tid 25046 (Thread-1785), pid 24432 (cx.ring)
2022-09-07 14:03:46.509 3653-3653 DEBUG pid-3653 A Cmdline: cx.ring
2022-09-07 14:03:46.509 3653-3653 DEBUG pid-3653 A pid: 24432, tid: 25046, name: Thread-1785 >>> cx.ring <<<
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #00 pc 0000000000d22e0c /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::IceTransport::cancelOperations()+24)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #01 pc 0000000001315500 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::TlsSocketEndpoint::shutdown()+248)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #02 pc 0000000001362f04 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::MultiplexedSocket::Impl::shutdown()+224)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #03 pc 0000000001355d6c /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::MultiplexedSocket::Impl::eventLoop()+424)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #04 pc 000000000136f354 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()::operator()() const+32)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #05 pc 000000000136f2e8 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (decltype(std::__ndk1::forward<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(fp)()) std::__ndk1::__invoke<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()&&)+24)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #06 pc 000000000136f288 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (void std::__ndk1::__thread_execute<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>&, std::__ndk1::__tuple_indices<>)+32)
2022-09-07 14:03:46.510 3653-3653 DEBUG pid-3653 A #07 pc 000000000136efe4 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()> >(void*)+108)
2022-09-07 15:32:11.382 15670-16051 libc pid-15670 A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1 in tid 16051 (Thread-1842), pid 15670 (cx.ring)
2022-09-07 15:32:13.956 16804-16804 DEBUG pid-16804 A Cmdline: cx.ring
2022-09-07 15:32:13.956 16804-16804 DEBUG pid-16804 A pid: 15670, tid: 16051, name: Thread-1842 >>> cx.ring <<<
2022-09-07 15:32:13.956 16804-16804 DEBUG pid-16804 A #00 pc 0000000000d22e0c /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::IceTransport::cancelOperations()+24)
2022-09-07 15:32:13.956 16804-16804 DEBUG pid-16804 A #01 pc 0000000001315500 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::TlsSocketEndpoint::shutdown()+248)
2022-09-07 15:32:13.956 16804-16804 DEBUG pid-16804 A #02 pc 0000000001362f04 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::MultiplexedSocket::Impl::shutdown()+224)
2022-09-07 15:32:13.957 16804-16804 DEBUG pid-16804 A #03 pc 0000000001355d6c /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::MultiplexedSocket::Impl::eventLoop()+424)
2022-09-07 15:32:13.957 16804-16804 DEBUG pid-16804 A #04 pc 000000000136f354 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()::operator()() const+32)
2022-09-07 15:32:13.957 16804-16804 DEBUG pid-16804 A #05 pc 000000000136f2e8 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (decltype(std::__ndk1::forward<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(fp)()) std::__ndk1::__invoke<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()&&)+24)
2022-09-07 15:32:13.957 16804-16804 DEBUG pid-16804 A #06 pc 000000000136f288 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (void std::__ndk1::__thread_execute<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>(std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()>&, std::__ndk1::__tuple_indices<>)+32)
2022-09-07 15:32:13.957 16804-16804 DEBUG pid-16804 A #07 pc 000000000136efe4 /data/app/~~Qzk32LlX3MAo9qvSgI4-MA==/cx.ring-SQuHwUPNcoDHjI4QX82a5A==/base.apk (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<32ul> const&, std::__ndk1::unique_ptr<jami::TlsSocketEndpoint, std::__ndk1::default_delete<jami::TlsSocketEndpoint> >)::'lambda'()> >(void*)+108)
--------- beginning of system
2022-09-08 14:08:26.791 1909-2023 VerityUtils system_server E Failed to measure fs-verity, errno 1: /data/app/~~bKV2Ot0nhEgxaOviWOzvjg==/cx.ring-0sSYbhKeLYc2d7DZ__s6Ig==/base.apk
2022-09-08 14:08:28.106 1909-2023 VerityUtils system_server E Failed to measure fs-verity, errno 1: /data/app/~~bKV2Ot0nhEgxaOviWOzvjg==/cx.ring-0sSYbhKeLYc2d7DZ__s6Ig==/base.apk
```Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/762Recorder: auto record does not take video in video calls2023-03-23T15:26:50ZAline Gondim SantosRecorder: auto record does not take video in video callsCurrent behaviour:
* Enable automatic recording;
* Make a video call;
* Saved file contains audio only.
Expected:
* Saved file contains audio and video data.Current behaviour:
* Enable automatic recording;
* Make a video call;
* Saved file contains audio only.
Expected:
* Saved file contains audio and video data.Aline Gondim SantosAline Gondim Santoshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/761Audio crash in pulse2022-11-03T14:50:17ZSébastien BlinAudio crash in pulseScenario: none provided
Since: probably last changes (seems a recent crash and test-recorder get some crashes too)
```
New Thread 0x7fff41feb640 (LWP 971442)]
[New Thread 0x7fff387d8640 (LWP 971443)]
[Thread 0x7fff41feb640 (LWP 971442)...Scenario: none provided
Since: probably last changes (seems a recent crash and test-recorder get some crashes too)
```
New Thread 0x7fff41feb640 (LWP 971442)]
[New Thread 0x7fff387d8640 (LWP 971443)]
[Thread 0x7fff41feb640 (LWP 971442) exited]
[Thread 0x7fff2f7c6640 (LWP 971342) exited]
[1662562478.697|57330|audio_frame_resizer.cpp :117 ] Audio resizer error: Invalid argument
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to add audio to frame resizer
Thread 21 "threaded-ml" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc67fc640 (LWP 909298)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140736523650624) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736523650624) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140736523650624) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140736523650624, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007ffff60ad476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff60937f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff6355bfe in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff636128c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff63612f7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff6361558 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007ffff6adef7a in jami::AudioFrameResizer::enqueue (this=0x7fffac2bba28, frame=...)
at ./media/audio/audio_frame_resizer.cpp:118
#10 0x00007ffff6b11a28 in jami::AudioProcessor::enqueue (this=0x7fffac2bba20, frameResizer=..., buf=...)
at ./media/audio/audio-processing/audio_processor.h:181
#11 0x00007ffff6b116ec in jami::AudioProcessor::putPlayback (this=0x7fffac2bba20,
buf=std::shared_ptr<DRing::AudioFrame> (use count 2, weak count 0) = {...})
at ./media/audio/audio-processing/audio_processor.h:61
#12 0x00007ffff6afc22a in jami::AudioLayer::getToPlay (this=0x55555576eea0, format=..., writableSamples=1288)
at ./media/audio/audiolayer.cpp:307
#13 0x00007ffff6b1c2d4 in jami::PulseLayer::writeToSpeaker (this=0x55555576eea0)
at media/audio/pulseaudio/pulselayer.cpp:503
#14 0x00007ffff6b2ba64 in std::__invoke_impl<void, void (jami::PulseLayer::*&)(), jami::PulseLayer*&> (
__f=@0x7fff80011790: (void (jami::PulseLayer::*)(jami::PulseLayer * const)) 0x7ffff6b1c140 <jami::PulseLayer::writeToSpeaker()>, __t=@0x7fff800117a0: 0x55555576eea0) at /usr/include/c++/11/bits/invoke.h:74
#15 0x00007ffff6b29a4f in std::__invoke<void (jami::PulseLayer::*&)(), jami::PulseLayer*&> (
__fn=@0x7fff80011790: (void (jami::PulseLayer::*)(jami::PulseLayer * const)) 0x7ffff6b1c140 <jami::PulseLayer::writeToSpeaker()>) at /usr/include/c++/11/bits/invoke.h:96
#16 0x00007ffff6b27885 in std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()>::__call<void, unsigned long&&, 0ul>(std::tuple<unsigned long&&>&&, std::_Index_tuple<0ul>) (this=0x7fff80011790, __args=...)
at /usr/include/c++/11/functional:420
#17 0x00007ffff6b25cee in std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()>::operator()<unsigned long, void>(unsigned long&&) (this=0x7fff80011790) at /usr/include/c++/11/functional:503
#18 0x00007ffff6b2487b in std::__invoke_impl<void, std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()>&, unsigned long>(std::__invoke_other, std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()>&, unsigned long&&) (
__f=...) at /usr/include/c++/11/bits/invoke.h:61
#19 0x00007ffff6b22e71 in std::__invoke_r<void, std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()>&, unsigned long>(std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()>&, unsigned long&&) (__fn=...)
at /usr/include/c++/11/bits/invoke.h:111
#20 0x00007ffff6b2139c in std::_Function_handler<void (unsigned long), std::_Bind<void (jami::PulseLayer::*(jami::PulseLayer*))()> >::_M_invoke(std::_Any_data const&, unsigned long&&) (__functor=..., __args#0=@0x7fffc67f8d10: 5152)
at /usr/include/c++/11/bits/std_function.h:290
#21 0x00007ffff6ad9efb in std::function<void (unsigned long)>::operator()(unsigned long) const (
this=0x7fff8003ba70, __args#0=5152) at /usr/include/c++/11/bits/std_function.h:590
#22 0x00007ffff6ad8f93 in operator() (__closure=0x0, bytes=5152, userdata=0x7fff8003ba50)
at media/audio/pulseaudio/audiostream.cpp:96
#23 0x00007ffff6ad8fc7 in _FUN () at media/audio/pulseaudio/audiostream.cpp:97
--Type <RET> for more, q to quit, c to continue without paging--
#24 0x00007ffff5ea54be in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#25 0x00007ffff4a00540 in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#26 0x00007ffff5e8a083 in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#27 0x00007ffff4a05487 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#28 0x00007ffff4a061d8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#29 0x00007ffff4a0659a in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#30 0x00007ffff4a0a73a in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#31 0x00007ffff5e9da73 in pa_mainloop_dispatch () from /lib/x86_64-linux-gnu/libpulse.so.0
#32 0x00007ffff5e9e0ca in pa_mainloop_iterate () from /lib/x86_64-linux-gnu/libpulse.so.0
#33 0x00007ffff5e9e170 in pa_mainloop_run () from /lib/x86_64-linux-gnu/libpulse.so.0
#34 0x00007ffff5eae37d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#35 0x00007ffff4a18cb3 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#36 0x00007ffff60ffb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#37 0x00007ffff6191a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
```Aline Gondim SantosEzra PierceAline Gondim Santoshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/760Blocking contact does not break TLS connection2022-12-27T21:01:45ZOlivier DionBlocking contact does not break TLS connection