jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2023-09-29T10:00:22Zhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/483SIP account: app freezes when finishing call2023-09-29T10:00:22ZKateryna KostiukSIP account: app freezes when finishing callBacklogMohamed ChibaniMohamed Chibanihttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/480Validate Beta Swarm windows2021-07-16T18:09:48ZSébastien BlinValidate Beta Swarm windowsSwarm-chatGuillaume HellerGuillaume Hellerhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/471UPnP - Make port ranges configurable2021-12-29T19:05:09ZMohamed ChibaniUPnP - Make port ranges configurableThe port ranges (TCP and UDP) used by upnp to port mapping allocation must be configurable (currently they are hard-coded).
A new API must be added to allow a user to set the ranges for both UDP and TCP ports. If not set, default values ...The port ranges (TCP and UDP) used by upnp to port mapping allocation must be configurable (currently they are hard-coded).
A new API must be added to allow a user to set the ranges for both UDP and TCP ports. If not set, default values be used.
Might be related to https://git.jami.net/savoirfairelinux/ring-daemon/-/issues/417Backloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/461Audio artifacts (doesn't appear to be related to packet loss)2023-02-06T20:57:53ZPierre LespagnolAudio artifacts (doesn't appear to be related to packet loss)Backloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/452Swarm check cancelFile compat + generator (same id?)2021-06-12T11:39:06ZSébastien BlinSwarm check cancelFile compat + generator (same id?)Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/448[To test]Swarm: weird clone failure on sync2021-03-02T15:48:36ZSébastien Blin[To test]Swarm: weird clone failure on sync```
gheller@pc-gheller:~/.local/share/jami/457c1d61f7710c64/conversations/7ac13b2d77f9ed337618db340a9d1cb0f9f2a2cd$ git log
commit 401c9afc98aa2d4deebe6b989749169c96c6e0e1 (HEAD -> main, origin/main, origin/HEAD)
Author: 698fe6e10ae1f472...```
gheller@pc-gheller:~/.local/share/jami/457c1d61f7710c64/conversations/7ac13b2d77f9ed337618db340a9d1cb0f9f2a2cd$ git log
commit 401c9afc98aa2d4deebe6b989749169c96c6e0e1 (HEAD -> main, origin/main, origin/HEAD)
Author: 698fe6e10ae1f4722dabe32ad5e885a464085db5 <698fe6e10ae1f4722dabe32ad5e885a464085db5>
Date: Thu Feb 18 21:12:42 2021 +0000
{"body":"\u2728","type":"text/plain"}
commit 92092c07f827171c289e60a44e9bf7e7c93242b9
Author: 7c38177a10d618bc30f93f0284d82d6ef246c459 <7c38177a10d618bc30f93f0284d82d6ef246c459>
Date: Thu Feb 18 21:11:59 2021 +0000
{"displayName":"img_20210218_161153_411016185718028660.jpg","sha3sum":"b7d5c6e752a4b29537dae244f429f38446ab4f2d34b09ed477a9428dcad9e8bf4decc5213d409d0b140d95d5a58517b718f56c6ed0691cdcc4e32b01b18f5d8a","tid":"8783314023060598","totalSize":"5024115","type":"application/data-transfer+json"}
commit 9687b46bee5159e19690ea7b7db07533fc5a9c57
Author: 7c38177a10d618bc30f93f0284d82d6ef246c459 <7c38177a10d618bc30f93f0284d82d6ef246c459>
Date: Thu Feb 18 21:11:42 2021 +0000
{"body":"Non je re\u00e7ois que sur Android","type":"text/plain"}
error: Could not read 095ced7a8debd31058c1dc68099809b64a9fb5bf
fatal: Failed to traverse parents of commit b6f09dc7e13f3c791b7e226890717100af38a282
```Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/446Recorder: concat recording if for same call but with switch inputs?2023-03-23T15:27:00ZSébastien BlinRecorder: concat recording if for same call but with switch inputs?# Scenario
+ Alice starts to record a call
+ Alice switch her input
+ Alice stop the record
# Current result
+ 2 recording are saved
# Expected
+ Only one recording with both video mixed?# Scenario
+ Alice starts to record a call
+ Alice switch her input
+ Alice stop the record
# Current result
+ 2 recording are saved
# Expected
+ Only one recording with both video mixed?BacklogAline Gondim SantosAline Gondim Santoshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/444ASAN crash in video pipeline2021-07-09T20:48:25ZSébastien BlinASAN crash in video pipelinevia irc
```
[1613570498.245|27869|manager.cpp :1683 ] [call:4730700885720014] Remove local audio
[1613570498.246|27869|ringbufferpool.cpp:263 ] Unbind call 4730700885720014 from all bound calls
[1613570498.246|27869|audiostream.c...via irc
```
[1613570498.245|27869|manager.cpp :1683 ] [call:4730700885720014] Remove local audio
[1613570498.246|27869|ringbufferpool.cpp:263 ] Unbind call 4730700885720014 from all bound calls
[1613570498.246|27869|audiostream.cpp :147 ] Destroying stream with device alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel
[1613570498.246|27869|sipcall.cpp :444 ] [call:4730700885720014] Terminate SIP session
[1613570498.251|27869|sip_utils.cpp :210 ] Add header to SIP message: "User-Agent: Jami Daemon 9.9.0 (linux)"
[1613570498.254|27869|sipcall.cpp :1298 ] [call:4730700885720014] stopping all medias
AddressSanitizer:DEADLYSIGNAL
=================================================================
==27869==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000038 (pc 0x5644c790eadf bp 0x7fffa6e501f0 sp 0x7fffa6e50170 T0)
==27869==The signal is caused by a READ memory access.
==27869==Hint: address points to the zero page.
Dropped 54 packets with high delay
Dropped 28 packets with high delay
Dropped 62 packets with high delay
[1613570514.887|27870|upnp_context.cpp :506 ] Protocol status [PUPNP] has valid IGD(s) YES
[1613570514.889|27870|upnp_context.cpp :541 ] Mapping status [TCP] - overall 4: 4 open (4 ready + 0 in use), 0 pending, 0 in-progress, 0 failed
[1613570514.891|27870|upnp_context.cpp :541 ] Mapping status [UDP] - overall 9: 9 open (8 ready + 1 in use), 0 pending, 0 in-progress, 0 failed
#0 0x5644c790eade in jami::MediaDecoder::getStream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const daemon/src/media/media_decoder.cpp:731
#1 0x5644c7ae1eaf in jami::video::VideoReceiveThread::getInfo() const daemon/src/media/video/video_receive_thread.cpp:265
#2 0x5644c7a1cd82 in jami::video::VideoRtpSession::deinitRecorder(std::shared_ptr<jami::MediaRecorder>&) daemon/src/media/video/video_rtp_session.cpp:672
#3 0x5644c78d036f in jami::SIPCall::stopAllMedia() daemon/src/sip/sipcall.cpp:1300
#4 0x5644c78d05fb in jami::SIPCall::hangup(int) daemon/src/sip/sipcall.cpp:564
#5 0x5644c78678d5 in jami::Manager::hangupCall(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) daemon/src/manager.cpp:1063
#6 0x5644c7825d57 in DBusCallManager::hangUp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) daemon/bin/dbus/dbuscallmanager.cpp:56
#7 0x5644c7825d57 in cx::ring::Ring::CallManager_adaptor::_hangUp_stub(DBus::CallMessage const&) daemon/bin/dbus/dbuscallmanager.adaptor.h:863
#8 0x5644c7822ada in DBus::Callback<cx::ring::Ring::CallManager_adaptor, DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const daemon/contrib/x86_64-linux-gnu/include/dbus-c++-1/dbus-c++/util.h:283
#9 0x5644c7847274 in DBus::Slot<DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const ../include/dbus-c++/util.h:252
#10 0x5644c7847274 in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) daemon/contrib/native/dbus-cpp/src/interface.cpp:64
#11 0x5644c784ee04 in DBus::ObjectAdaptor::handle_message(DBus::Message const&) daemon/contrib/native/dbus-cpp/src/object.cpp:220
#12 0x5644c784c6e5 in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) daemon/contrib/native/dbus-cpp/src/object.cpp:92
#13 0x7fbac08b4bac (/lib/x86_64-linux-gnu/libdbus-1.so.3+0x26bac)
#14 0x7fbac08a5713 in dbus_connection_dispatch (/lib/x86_64-linux-gnu/libdbus-1.so.3+0x17713)
#15 0x5644c7842aaf in DBus::Connection::Private::do_dispatch() daemon/contrib/native/dbus-cpp/src/connection.cpp:132
#16 0x5644c7844b59 in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) daemon/contrib/native/dbus-cpp/src/dispatcher.cpp:236
#17 0x5644c7844c5c in DBus::Dispatcher::dispatch_pending() daemon/contrib/native/dbus-cpp/src/dispatcher.cpp:198
#18 0x5644c784612e in DBus::BusDispatcher::do_iteration() daemon/contrib/native/dbus-cpp/src/eventloop-integration.cpp:147
#19 0x5644c784612e in DBus::BusDispatcher::enter() daemon/contrib/native/dbus-cpp/src/eventloop-integration.cpp:99
#20 0x5644c77f9c8e in DBusClient::event_loop() daemon/bin/dbus/dbusclient.cpp:272
#21 0x5644c77ec76e in main daemon/bin/main.cpp:222
#22 0x7fbabf28c09a in __libc_start_main ../csu/libc-start.c:308
#23 0x5644c77f9479 (/usr/lib/ring/dring+0x158479)
```Backloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/439Conference: Show remote recording indication for non-host in a conference2021-12-29T19:11:48ZSébastien BlinConference: Show remote recording indication for non-host in a conference# Scenario
+ Start a conf A(host),B,C
+ B start to record
# Current result
only A,B have the remote recording indication
# Expected
C show the remote recording# Scenario
+ Start a conf A(host),B,C
+ B start to record
# Current result
only A,B have the remote recording indication
# Expected
C show the remote recordingBackloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/437[To test]Swarm: Still some "could not fetch commit..."2021-03-02T15:48:33ZSébastien Blin[To test]Swarm: Still some "could not fetch commit..."Sometimes, when android sends a message, the message is not received by the other peer, with "could not fetch commit..". This needs some investigation. all messages should pass directlySometimes, when android sends a message, the message is not received by the other peer, with "could not fetch commit..". This needs some investigation. all messages should pass directlySwarm-chatSébastien BlinSébastien Blin2021-03-03https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/434UPNP/NAT-PMP - Enable NAT-PMP on Android2023-09-29T09:59:34ZMohamed ChibaniUPNP/NAT-PMP - Enable NAT-PMP on AndroidBackloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/432UPNP/ICE/TCP - ICE/TCP connection using relay should be reset if a UPNP/NAT-P...2021-12-29T19:21:54ZMohamed ChibaniUPNP/ICE/TCP - ICE/TCP connection using relay should be reset if a UPNP/NAT-PMP is availableBackloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/430macOs/Daemon - Account can not re-register to DHT using the same port2021-12-29T20:34:12ZSébastien BlinmacOs/Daemon - Account can not re-register to DHT using the same portOn macOs, registering the account to the DHT sometimes fail with "Address already in use".
The client/system seems to fail to close the DHT socket, or does not close it fast enough.On macOs, registering the account to the DHT sometimes fail with "Address already in use".
The client/system seems to fail to close the DHT socket, or does not close it fast enough.Backloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/428Re-work network congestion detection2023-02-06T20:57:50ZPierre LespagnolRe-work network congestion detectionIn some cases the congestion detection is not efficient, increase the sensibility of the algorithm will help to detect more congestions.In some cases the congestion detection is not efficient, increase the sensibility of the algorithm will help to detect more congestions.BacklogPierre LespagnolPierre Lespagnolhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/424ICE/PJNATH - Use a single STUN config to add multiple SRFLX candidates2021-12-29T20:35:28ZMohamed ChibaniICE/PJNATH - Use a single STUN config to add multiple SRFLX candidatesBackloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/417UPNP - Change port allocation/mapping policy for media (RTP/RTCP ports)2021-12-29T20:36:35ZMohamed ChibaniUPNP - Change port allocation/mapping policy for media (RTP/RTCP ports)RTP and RTCP port numbers are determined using port ranges from user configuration. The ranges are configured per media type (audio and video). The current behavior has few issues such:
- The configuration is limited to 2 streams: one au...RTP and RTCP port numbers are determined using port ranges from user configuration. The ranges are configured per media type (audio and video). The current behavior has few issues such:
- The configuration is limited to 2 streams: one audio stream and one video stream.
- Pre-defined port numbers will conflict with UPNP port mappings.
The required changes are as follows:
- Remove the restriction of media stream count to 2 streams.
- Do not use pre-defined port when requesting UPNP ports.
- Configuration of media port ranges should not be necessary anymore.Backloghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/391Replay Conversation: fix block when destroying + fetch while join2021-02-26T16:37:52ZSébastien BlinReplay Conversation: fix block when destroying + fetch while joinSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/387Swarm: prune branch after fetch & validation2021-02-26T16:37:27ZSébastien BlinSwarm: prune branch after fetch & validationSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/381Swarm: add getConversationsInfo() with title + avatar + mode2021-04-21T19:13:20ZSébastien BlinSwarm: add getConversationsInfo() with title + avatar + mode# Done
+ Store title/subtitle/avatar into /profile.vcf
+ add commit type application/profile-update
+ Merge conflicts solver. Force merge profile with higher commit
+ add getConversationsInfos/setconversationInfos
+ Add details in conve...# Done
+ Store title/subtitle/avatar into /profile.vcf
+ add commit type application/profile-update
+ Merge conflicts solver. Force merge profile with higher commit
+ add getConversationsInfos/setconversationInfos
+ Add details in conversationsRequests()
+ Commit verification, verify that only profile.vcf is modified
+ Tests: check add profile, merge with conflicts, , check request in addContact & addConversationMember, only admin can update, no bad file, validateAdminUpdates
+ Check that only admin updates
+ Add docs
+ Clean TODOsSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/377Swarm: POC - detected problems2021-01-04T18:39:27ZSébastien BlinSwarm: POC - detected problems+ Fast messaging: multiple channels got the same name. For example:
```
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1...+ Fast messaging: multiple channels got the same name. For example:
```
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name file://10367978848762943917
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
```
Should be unique, there is no reason to get so much time the same channel
+ Sometimes pull seems blocked, to investigate
+ Fast messaging: some clone failures:
```
[1608828673.275|33053|connectionmanager.cpp:387 ] Peer already connected. Add a new channel
[1608828673.392|41548|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828673.392|39557|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828673.393|38932|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828673.393|37630|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828675.393|41548|conversationrepository.cpp:2041 ] Could not fetch remote repository for conversation 30fc5d556dd299d2cdc16fa7d621925a30ffa809: early EOF
[1608828675.393|41548|jamiaccount.cpp :4393 ] [Account 681cc7e42523b44d] Could not fetch new commit from 48c2bec426adc0a604f771df7ba324a7730facf3 for 30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828676.393|38939|conversationrepository.cpp:2041 ] Could not fetch remote repository for conversation 30fc5d556dd299d2cdc16fa7d621925a30ffa809: invalid response
[1608828676.393|38939|jamiaccount.cpp :4393 ] [Account 681cc7e42523b44d] Could not fetch new commit from 48c2bec426adc0a604f771df7ba324a7730facf3 for 30fc5d556dd299d2cdc16fa7d621925a30ffa809
```
This early EOF should not be there. To investigateSwarm-chatSébastien BlinSébastien Blin