jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2018-11-28T20:30:43Zhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/67Messages fails when flooding2018-11-28T20:30:43ZSébastien BlinMessages fails when flooding# How to reproduce
In a conversation, send quickly a lot of messages. After some messages, the messages are not sent and fails immediately.
# Expected result
All messages should be sent# How to reproduce
In a conversation, send quickly a lot of messages. After some messages, the messages are not sent and fails immediately.
# Expected result
All messages should be sentAdrien BéraudAdrien Béraudhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/59API: get Video Renderer2018-12-07T19:49:54ZSébastien BlinAPI: get Video RendererThe daemon is available as a daemon, so it should work without any client.
When a daemon is launched and in call and then, a client is launched, there is no way to retrieve the current Video Renderer to show to the user.
A new API in V...The daemon is available as a daemon, so it should work without any client.
When a daemon is launched and in call and then, a client is launched, there is no way to retrieve the current Video Renderer to show to the user.
A new API in VideoManager like:
```
std::string getShmPath(const std::string callId);
```
will be appreciated.Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/70dumb presence API2018-12-17T18:35:27ZSébastien Blindumb presence API`PresenceManager::instance().getSubscriptions` returns a `VectorMapStringString`.
This function has the following description:
```
List of hashes map with the following key-value pairs:
* Buddy: URI of the conta...`PresenceManager::instance().getSubscriptions` returns a `VectorMapStringString`.
This function has the following description:
```
List of hashes map with the following key-value pairs:
* Buddy: URI of the contact
* Status: "Online" or "Offline"
* LineStatus: String
```
So we should have something like:
```
[{
"Buddy": "ringid1",
"Status": "Online",
"LineStatus": "",
},
{
"Buddy": "ringid2",
"Status": "Online",
"LineStatus": "",
}]
```
But instead, we have:
```
[{
"ringid1": "",
"Online": "",
},
{
"ringid2": "",
"Online": "",
}]
```
This is just ugly as hell.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/77purple window on Macos High Sierra2019-01-08T16:13:52Zhellopurple window on Macos High SierraHi, getting a purple debugging window around my main window.
How can i get rid of it ?![Capture_d_écran_2019-01-08_à_11.50.26](/uploads/0913502c21899dae6cdbe9bcb74cf8b8/Capture_d_écran_2019-01-08_à_11.50.26.png)Hi, getting a purple debugging window around my main window.
How can i get rid of it ?![Capture_d_écran_2019-01-08_à_11.50.26](/uploads/0913502c21899dae6cdbe9bcb74cf8b8/Capture_d_écran_2019-01-08_à_11.50.26.png)https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/76Mute is broken since some patches on Linux.2019-01-11T18:45:50ZSébastien BlinMute is broken since some patches on Linux.I still don't know since when :)I still don't know since when :)Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/55No signal for hardware decoding activated/deactivated2019-01-22T16:30:40ZSébastien BlinNo signal for hardware decoding activated/deactivatedAll is in the title. We can't know when the "hardware decoding" is changed when two clients are running.All is in the title. We can't know when the "hardware decoding" is changed when two clients are running.Philippe GorleyPhilippe Gorleyhttps://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/78Audio/Voice call between ([GNOME] and [iOS]) or ([Android] and [iOS]) (didn't...2019-01-29T17:18:50ZovariAudio/Voice call between ([GNOME] and [iOS]) or ([Android] and [iOS]) (didn't test video call)[GNOME]<br>
Linux Mint 19.1 Cinnamon 64-bit<br>
Jami "Live Free or Die" built on 2019-01-06 04:06:13 UTC
[iOS]<br>
iPhone 6s<br>
Jami updated just before the call
1. [GNOME] make an audio/voice call to [iOS]
2. [iOS] answers call
3. [i...[GNOME]<br>
Linux Mint 19.1 Cinnamon 64-bit<br>
Jami "Live Free or Die" built on 2019-01-06 04:06:13 UTC
[iOS]<br>
iPhone 6s<br>
Jami updated just before the call
1. [GNOME] make an audio/voice call to [iOS]
2. [iOS] answers call
3. [iOS] can hear [GNOME]; unfortunately [GNOME] can not hear [iOS]
While in the call, the [GNOME] has 3 Sound Applications open:
* `Unknown`<br>
* `Ring Daemon`<br>
* `Ring Daemon`<br>
![image](/uploads/4a72d15a437e226af672a7e01f46cab1/image.png)
When the call is ended, [GNOME] has no Sound Applications open:<br>
![image](/uploads/fd7487cafe39cb2d86c04a3f2e48d915/image.png)
Should these be fixed:
1. Rename `Unknown` to an appropriate name, perhaps `Jami` if that is what it is
2. Only have one `Ring Daemon`
3. Able to hear a call on [GNOME]
What do you think?
Thank youhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/75Read codec settings from config file2019-02-05T15:30:27ZPhilippe GorleyRead codec settings from config file- Configuration file should have a section for each encoder
- Separate sections for different encoders of same codec (ex: h264_vaapi and libx264) ?
- Each item is a key value pair that is sent to the encoder context's AVDictionary
- ...- Configuration file should have a section for each encoder
- Separate sections for different encoders of same codec (ex: h264_vaapi and libx264) ?
- Each item is a key value pair that is sent to the encoder context's AVDictionary
- AVCodecContext members should be set directly (ex: profile, level, bit_rate)Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/80Call From Windows 10 To Gnome Causes Linux DRing to Crash.2019-03-21T18:22:36ZvindicatorrCall From Windows 10 To Gnome Causes Linux DRing to Crash.```
Process 27034 (WebKitWebProces) of user 1000 dumped core.
Stack trace of thread 27034:
#...```
Process 27034 (WebKitWebProces) of user 1000 dumped core.
Stack trace of thread 27034:
#0 0x00007f27631fcced n/a (libwebkit2gtk-4.0.so.37)
#1 0x00007f27631ff052 n/a (libwebkit2gtk-4.0.so.37)
#2 0x00007f2764060388 n/a (libwebkit2gtk-4.0.so.37)
#3 0x00007f27631ff00e n/a (libwebkit2gtk-4.0.so.37)
#4 0x00007f276428c19b n/a (libwebkit2gtk-4.0.so.37)
#5 0x00007f276428f632 n/a (libwebkit2gtk-4.0.so.37)
#6 0x00007f2763efea5f n/a (libwebkit2gtk-4.0.so.37)
#7 0x00007f2763f0a43f n/a (libwebkit2gtk-4.0.so.37)
#8 0x00007f2763a7bc05 n/a (libwebkit2gtk-4.0.so.37)
#9 0x00007f2763aa4b8a n/a (libwebkit2gtk-4.0.so.37)
#10 0x00007f27632b3c41 n/a (libwebkit2gtk-4.0.so.37)
#11 0x00007f2760f419fc _ZNK3JSC12PropertySlot12customGetterEPNS_9ExecStateENS_12PropertyNameE (libjavascriptcoregtk-4.0.so.18)
#12 0x00007f2760c89749 n/a (libjavascriptcoregtk-4.0.so.18)
#13 0x00007f2760c72760 n/a (libjavascriptcoregtk-4.0.so.18)
#14 0x00007f2760c762a5 n/a (libjavascriptcoregtk-4.0.so.18)
#15 0x00007f2760c762a5 n/a (libjavascriptcoregtk-4.0.so.18)
#16 0x00007f2760c76300 n/a (libjavascriptcoregtk-4.0.so.18)
#17 0x00007f2760c6f885 n/a (libjavascriptcoregtk-4.0.so.18)
#18 0x00007f2760bd58b7 _ZN3JSC11Interpreter14executeProgramERKNS_10SourceCodeEPNS_9ExecStateEPNS_8JSObjectE (libjavascriptcoregtk-4.0.so.18)
#19 0x00007f2760de5b06 _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE (libjavascriptcoregtk-4.0.so.18)
#20 0x00007f2760de5cbb _ZN3JSC16profiledEvaluateEPNS_9ExecStateENS_15ProfilingReasonERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE (libjavascriptcoregtk-4.0.so.18)
#21 0x00007f2763893ab8 n/a (libwebkit2gtk-4.0.so.37)
#22 0x00007f27638a20f0 n/a (libwebkit2gtk-4.0.so.37)
#23 0x00007f27631b0a40 n/a (libwebkit2gtk-4.0.so.37)
#24 0x00007f27631b0d7d n/a (libwebkit2gtk-4.0.so.37)
#25 0x00007f2762d7cba4 n/a (libwebkit2gtk-4.0.so.37)
#26 0x00007f2762d76e65 n/a (libwebkit2gtk-4.0.so.37)
#27 0x00007f2762e135b8 n/a (libwebkit2gtk-4.0.so.37)
#28 0x00007f2763056477 n/a (libwebkit2gtk-4.0.so.37)
#29 0x00007f2762e0e86f n/a (libwebkit2gtk-4.0.so.37)
#30 0x00007f2762e0f2cd n/a (libwebkit2gtk-4.0.so.37)
#31 0x00007f27610f92ad _ZN3WTF7RunLoop11performWorkEv (libjavascriptcoregtk-4.0.so.18)
#32 0x00007f276112f24a n/a (libjavascriptcoregtk-4.0.so.18)
#33 0x00007f276172b8d1 g_main_context_dispatch (libglib-2.0.so.0)
#34 0x00007f276172d5e9 n/a (libglib-2.0.so.0)
#35 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#36 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#37 0x00007f27631e144b n/a (libwebkit2gtk-4.0.so.37)
#38 0x00007f27624bc223 __libc_start_main (libc.so.6)
#39 0x000055d06fcd385e _start (WebKitWebProcess)
Stack trace of thread 27041:
#0 0x00007f275ffd0e5b pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f276113f7ba _ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18)
#2 0x00007f276113f96a _ZN7bmalloc9Scavenger16threadEntryPointEPS0_ (libjavascriptcoregtk-4.0.so.18)
#3 0x00007f275e444063 execute_native_thread_routine (libstdc++.so.6)
#4 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#5 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27060:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172d62e g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f276172d682 n/a (libglib-2.0.so.0)
#4 0x00007f276170867b n/a (libglib-2.0.so.0)
#5 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#6 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27042:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27043:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27044:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27098:
#0 0x00007f275ffd0afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f26d91f5be4 n/a (i965_dri.so)
#2 0x00007f26d91f5908 n/a (i965_dri.so)
#3 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#4 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27047:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27096:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 28292:
#0 0x00007f275ffd0e5b pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f276112e76c _ZN3WTF15ThreadCondition9timedWaitERNS_5MutexENS_8WallTimeE (libjavascriptcoregtk-4.0.so.18)
#2 0x00007f27610f6525 _ZN3WTF10ParkingLot21parkConditionallyImplEPKvRKNS_12ScopedLambdaIFbvEEERKNS3_IFvvEEERKNS_24TimeWithDynamicClockTypeE (libjavascriptcoregtk-4.0.so.18)
#3 0x00007f27610de062 n/a (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27062:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f2761893cb8 n/a (libgio-2.0.so.0)
#4 0x00007f276170867b n/a (libglib-2.0.so.0)
#5 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#6 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 28312:
#0 0x00007f275ffd0e5b pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f276112e76c _ZN3WTF15ThreadCondition9timedWaitERNS_5MutexENS_8WallTimeE (libjavascriptcoregtk-4.0.so.18)
#2 0x00007f27610f6525 _ZN3WTF10ParkingLot21parkConditionallyImplEPKvRKNS_12ScopedLambdaIFbvEEERKNS3_IFvvEEERKNS_24TimeWithDynamicClockTypeE (libjavascriptcoregtk-4.0.so.18)
#3 0x00007f27610de062 n/a (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 28313:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
Stack trace of thread 27057:
#0 0x00007f2762588c21 __poll (libc.so.6)
#1 0x00007f276172d540 n/a (libglib-2.0.so.0)
#2 0x00007f276172e5c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f276112fd92 _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
#4 0x00007f27610faa90 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
#5 0x00007f276112ddda n/a (libjavascriptcoregtk-4.0.so.18)
#6 0x00007f275ffcaa9d start_thread (libpthread.so.0)
#7 0x00007f2762593b23 __clone (libc.so.6)
```
Latest git built within the past 1-2 hours of this post.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/81Support video device rotation2019-03-27T14:50:53ZAdrien BéraudSupport video device rotation* Allow clients to report video capture device orientation
* Send orientation information to the peer during a call using SIP messages
* Transmit orientation information with the video stream
* Apply rotation to respect video orientation...* Allow clients to report video capture device orientation
* Send orientation information to the peer during a call using SIP messages
* Transmit orientation information with the video stream
* Apply rotation to respect video orientation at relevant places in the daemon or clientIteration 3Denys VidalDenys Vidalhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/82Messages: don't fail imediately if peer is not online2019-03-27T14:51:56ZAdrien BéraudMessages: don't fail imediately if peer is not onlineIf peer is not online when trying to send a message, retry when the peer goes online, up to a few weeks.
Allow users to cancel a pending sending message.If peer is not online when trying to send a message, retry when the peer goes online, up to a few weeks.
Allow users to cancel a pending sending message.Iteration 3Adrien BéraudAdrien Béraudhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/94SIP Account incorrectly shows as online when it isn't2019-04-16T12:11:10ZovariSIP Account incorrectly shows as online when it isn'tSIP-account shows as online (green dot) even when an account has not be setup. Can the green dot please indicate when the SIP-account is actually connected to the SIP-server? Please see image below.
![image](/uploads/af6a28b65d78b97f80c...SIP-account shows as online (green dot) even when an account has not be setup. Can the green dot please indicate when the SIP-account is actually connected to the SIP-server? Please see image below.
![image](/uploads/af6a28b65d78b97f80c9c2e0284c44a9/image.png)
What do you think?
Thank youhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/89add peer discovery enable option per account2019-04-25T19:42:29ZAdrien Béraudadd peer discovery enable option per accountIteration 5Adrien BéraudAdrien Béraud2019-04-12https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/61File transfer without TURN server2019-05-02T18:21:58ZSébastien BlinFile transfer without TURN serverFor now, and because ICE doesn't supports TCP in pjsip, the file transfer has to pass through a TURN server. This is not perfect.
A better way to do that after https://git.ring.cx/savoirfairelinux/ring-project/issues/486 is to negotiate...For now, and because ICE doesn't supports TCP in pjsip, the file transfer has to pass through a TURN server. This is not perfect.
A better way to do that after https://git.ring.cx/savoirfairelinux/ring-project/issues/486 is to negotiate a TCP connection directly between the sender and receivers.Swarm-chathttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/84No sound/pulseaudio failure on GNU/Linux [Debian 9]2019-05-03T19:13:38ZMaxim CournoyerNo sound/pulseaudio failure on GNU/Linux [Debian 9]Callee version/OS: 20190319.4.a16a99f~dfsg1-1 (installed from Jami's Debian repository) on Debian 9 (stretch).
Caller version/OS Latest from F-Droid: 20190103, on Android 6.
The Gnome client running on a Debian 9 machine doesn't have s...Callee version/OS: 20190319.4.a16a99f~dfsg1-1 (installed from Jami's Debian repository) on Debian 9 (stretch).
Caller version/OS Latest from F-Droid: 20190103, on Android 6.
The Gnome client running on a Debian 9 machine doesn't have sound as the code attempting to register a stream with Pulseaudio (dring) seems to fail:
```
[1553964608.522| 6052|audiolayer.cpp :57 ] Hardware audio format available : {s16, 2 channels, 44100Hz}
[1553964608.522| 6052|manager.cpp :2544 ] Audio format changed: {s16, 1 channels, 16000Hz} -> {s16, 2 channels, 44100Hz}
[1553964608.653| 6052|audiostream.cpp :48 ] Playback: trying to create stream with device alsa_output.pci-0000_00_06.1.analog-stereo (44100Hz, 2 channels)
[1553964608.653| 6052|audiostream.cpp :48 ] Ringtone: trying to create stream with device alsa_output.pci-0000_00_06.1.analog-stereo (44100Hz, 2 channels)
[1553964608.654| 6052|audiostream.cpp :48 ] Capture: trying to create stream with device alsa_input.usb-046d_HD_Pro_Webcam_C920_2BF231AF-02.analog-stereo (44100Hz, 2 channels)
[1553964608.695| 6052|media_decoder.cpp :127 ] Trying to open device /usr/share/ring/ringtones/default.wav with format , pixel format , size 0x0, rate 0.000000
[1553964608.695| 6052|media_decoder.cpp :144 ] Using format
[1553964608.695| 6052|media_decoder.cpp :188 ] Finding audio stream info
[1553964608.701| 6052|accel.cpp :165 ] Not using hardware accelerated decoding
[1553964608.702| 6052|media_decoder.cpp :241 ] Decoding audio using PCM signed 16-bit little-endian (pcm_s16le)
[1553964608.804| 6052|sipvoiplink.cpp :1107 ] [INVITE:0x7f1a54064cf8] RX SIP method 6 (MESSAGE)
[1553964608.925| 5981|pulselayer.cpp :172 ] Connection terminated
[1553964608.925| 5981|audiostream.cpp :148 ] Stream failure: Connection terminated
[1553964608.926| 5981|audiostream.cpp :148 ] Stream failure: Connection terminated
[1553964608.926| 5981|audiostream.cpp :148 ] Stream failure: Connection terminated
```
For the full `dring -cdp` log, see: [pulseaudio-crash.log](/uploads/3e6bae5359a1a185abc945188e932b0d/pulseaudio-crash.log)https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/86ICE over TCP - support UPnP2019-05-08T20:50:44ZSébastien BlinICE over TCP - support UPnPIteration 6Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/57Crash when calling between linux and android2019-05-16T17:56:30ZSébastien BlinCrash when calling between linux and androidBoth side:
```
Thread 254 "lt-dring" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe3fff700 (LWP 7966)]
schedule_entry (future_time=0x7fffe3ffac10, entry=0x7fff3002cd40, ht=0x7fff1c0396d8) at ../src/pj/timer.c:...Both side:
```
Thread 254 "lt-dring" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe3fff700 (LWP 7966)]
schedule_entry (future_time=0x7fffe3ffac10, entry=0x7fff3002cd40, ht=0x7fff1c0396d8) at ../src/pj/timer.c:313
313 entry->_timer_id = pop_freelist(ht);
(gdb) bt
#0 schedule_entry (future_time=0x7fffe3ffac10, entry=0x7fff3002cd40, ht=0x7fff1c0396d8) at ../src/pj/timer.c:313
#1 schedule_w_grp_lock (grp_lock=0x7fff1c044628, id_val=id_val@entry=1, set_id=1, delay=0x7fffe3ffac70, delay@entry=0x7fff3002cd40, entry=0x7fff3002cd40, entry@entry=0x1, ht=0x7fff1c0396d8, ht@entry=0x7fffe3ffac10) at ../src/pj/timer.c:515
#2 pj_timer_heap_schedule_w_grp_lock (ht=ht@entry=0x7fff1c0396d8, entry=entry@entry=0x7fff3002cd40, delay=delay@entry=0x7fffe3ffac70, id_val=id_val@entry=1, grp_lock=0x7fff1c044628) at ../src/pj/timer.c:568
#3 0x00007ffff6caddf6 in start_periodic_check (te=0x7fff3002cd40, th=0x7fff1c0396d8) at ../src/pjnath/ice_session.c:2094
#4 periodic_timer (th=0x7fff1c0396d8, te=0x7fff3002cd40) at ../src/pjnath/ice_session.c:2167
#5 0x00007ffff6ce183a in pj_timer_heap_poll (ht=0x7fff1c0396d8, next_delay=0x7fffe3ffad40) at ../src/pj/timer.c:646
#6 0x00007ffff6ac329a in ring::IceTransport::Impl::handleEvents(unsigned int) () at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff6ac34be in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::IceTransport::Impl::Impl(char const*, int, bool, ring::IceTransportOptions const&)::{lambda()#4}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#8 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#9 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
```
```
(gdb) bt
#0 schedule_entry (future_time=0x7fff20ff4c10, entry=0x7fff6001f540, ht=0x7fff3c010c28) at ../src/pj/timer.c:313
#1 schedule_w_grp_lock (grp_lock=0x7fff3c01bb78, id_val=id_val@entry=1, set_id=1, delay=0x7fff20ff4c70,
delay@entry=0x7fff6001f540, entry=0x7fff6001f540, entry@entry=0x1, ht=0x7fff3c010c28, ht@entry=0x7fff20ff4c10)
at ../src/pj/timer.c:515
#2 pj_timer_heap_schedule_w_grp_lock (ht=ht@entry=0x7fff3c010c28, entry=entry@entry=0x7fff6001f540,
delay=delay@entry=0x7fff20ff4c70, id_val=id_val@entry=1, grp_lock=0x7fff3c01bb78) at ../src/pj/timer.c:568
#3 0x00007ffff6caddf6 in start_periodic_check (te=0x7fff6001f540, th=0x7fff3c010c28)
at ../src/pjnath/ice_session.c:2094
#4 periodic_timer (th=0x7fff3c010c28, te=0x7fff6001f540) at ../src/pjnath/ice_session.c:2167
#5 0x00007ffff6ce183a in pj_timer_heap_poll (ht=0x7fff3c010c28, next_delay=0x7fff20ff4d40)
at ../src/pj/timer.c:646
#6 0x00007ffff6ac329a in ring::IceTransport::Impl::handleEvents(unsigned int) ()
at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff6ac34be in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::IceTransport::Impl::Impl(char const*, int, bool, ring::IceTransportOptions const&)::{lambda()#4}> > >::_M_run() ()
at ../src/pjnath/ice_session.c:1457
#8 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#9 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
(gdb) thread apply all bt
Thread 214 (Thread 0x7fff20ff9700 (LWP 21967)):
#0 schedule_entry (future_time=0x7fff20ff4c10, entry=0x7fff6001f540, ht=0x7fff3c010c28) at ../src/pj/timer.c:313
#1 schedule_w_grp_lock (grp_lock=0x7fff3c01bb78, id_val=id_val@entry=1, set_id=1, delay=0x7fff20ff4c70,
delay@entry=0x7fff6001f540, entry=0x7fff6001f540, entry@entry=0x1, ht=0x7fff3c010c28, ht@entry=0x7fff20ff4c10)
at ../src/pj/timer.c:515
#2 pj_timer_heap_schedule_w_grp_lock (ht=ht@entry=0x7fff3c010c28, entry=entry@entry=0x7fff6001f540,
delay=delay@entry=0x7fff20ff4c70, id_val=id_val@entry=1, grp_lock=0x7fff3c01bb78) at ../src/pj/timer.c:568
#3 0x00007ffff6caddf6 in start_periodic_check (te=0x7fff6001f540, th=0x7fff3c010c28)
at ../src/pjnath/ice_session.c:2094
#4 periodic_timer (th=0x7fff3c010c28, te=0x7fff6001f540) at ../src/pjnath/ice_session.c:2167
#5 0x00007ffff6ce183a in pj_timer_heap_poll (ht=0x7fff3c010c28, next_delay=0x7fff20ff4d40)
at ../src/pj/timer.c:646
#6 0x00007ffff6ac329a in ring::IceTransport::Impl::handleEvents(unsigned int) ()
at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff6ac34be in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::IceTransport::Impl::Impl(char const*, int, bool, ring::IceTransportOptions const&)::{lambda()#4}> > >::_M_run() ()
at ../src/pjnath/ice_session.c:1457
#8 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#9 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 213 (Thread 0x7fff0ffff700 (LWP 21966)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6ba4b90 in ring::tls::TlsSession::TlsSessionImpl::handleStateEstablished(ring::tls::TlsSessionState) [clone .constprop.380] () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6ba4fb5 in ring::tls::TlsSession::TlsSessionImpl::process() () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6abe9dd in ring::ThreadLoop::mainloop(std::thread::id&, std::function<bool ()>, std::function<void ()>, std::function<void ()>) () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff6abf34a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (ring::ThreadLoop::*)(std::thread::id&, std::function<bool ()>, std::function<void ()>, std::function<void ()>), ring::ThreadLoop*, std::reference_wrapper<std::thread::id>, std::function<bool ()>, std::function<void ()>, std::function<void ()> > > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#6 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#7 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#8 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 212 (Thread 0x7ffe78fc9700 (LWP 21965)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff6aec65f in ring::ScheduledExecutor::loop() () at ../src/pjnath/ice_session.c:1457
#2 0x00007ffff6aec829 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ScheduledExecutor::ScheduledExecutor()::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 211 (Thread 0x7ffe7dfd3700 (LWP 21964)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6aec5c9 in ring::ScheduledExecutor::loop() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6aec829 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ScheduledExecutor::ScheduledExecutor()::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#5 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#6 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 210 (Thread 0x7ffe797ca700 (LWP 21963)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff6cd26a8 in pj_sock_select (n=n@entry=1024, readfds=readfds@entry=0x7ffe797c5690,
writefds=writefds@entry=0x7ffe797c58b0, exceptfds=exceptfds@entry=0x7ffe797c5ad0,
timeout=timeout@entry=0x7ffe797c5d40) at ../src/pj/sock_select.c:110
#2 0x00007ffff6ccf6a3 in pj_ioqueue_poll (ioqueue=0x7fff98141708, timeout=0x7ffe797c5d40)
at ../src/pj/ioqueue_select.c:976
#3 0x00007ffff6ac32f1 in ring::IceTransport::Impl::handleEvents(unsigned int) ()
at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6ac34be in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::IceTransport::Impl::Impl(char const*, int, bool, ring::IceTransportOptions const&)::{lambda()#4}> > >::_M_run() ()
at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#6 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#7 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 206 (Thread 0x7ffe777c6700 (LWP 21831)):
#0 0x00007ffff0c503e9 in poll () from /lib64/libc.so.6
#1 0x00007ffff5fede35 in poll_func () from /lib64/libpulse.so.0
#2 0x00007ffff5fdf418 in pa_mainloop_poll () from /lib64/libpulse.so.0
#3 0x00007ffff5fdfa62 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#4 0x00007ffff5fdfb10 in pa_mainloop_run () from /lib64/libpulse.so.0
#5 0x00007ffff5fedd7d in thread () from /lib64/libpulse.so.0
#6 0x00007ffff06969ac in internal_thread_func () from /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#7 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#8 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 69 (Thread 0x7fff50ff9700 (LWP 21690)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
---Type <return> to continue, or q <return> to quit---
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 66 (Thread 0x7fff527fc700 (LWP 21687)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 63 (Thread 0x7fff53fff700 (LWP 21684)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 60 (Thread 0x7fff65ffb700 (LWP 21681)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 57 (Thread 0x7fff677fe700 (LWP 21678)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 54 (Thread 0x7fff797fa700 (LWP 21675)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 47 (Thread 0x7fff7b7fe700 (LWP 21656)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff50f0b64 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::DhtRunner::run(dht::SockAddr const&, dht::SockAddr const&, dht::DhtRunner::Config)::{lambda()#1}> > >::_M_run() () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 46 (Thread 0x7fffacff9700 (LWP 21655)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff50ef05e in dht::DhtRunner::startNetwork(dht::SockAddr, dht::SockAddr)::{lambda()#1}::operator()() const [clone .isra.625] () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 43 (Thread 0x7fff7bfff700 (LWP 21652)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff50f0b64 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::DhtRunner::run(dht::SockAddr const&, dht::SockAddr const&, dht::DhtRunner::Config)::{lambda()#1}> > >::_M_run() () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 42 (Thread 0x7fffa7fff700 (LWP 21651)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff50ef05e in dht::DhtRunner::startNetwork(dht::SockAddr, dht::SockAddr)::{lambda()#1}::operator()() const [clone .isra.625] () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 39 (Thread 0x7fffa4ff9700 (LWP 21648)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1 0x00007ffff50f0b64 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::DhtRunner::run(dht::SockAddr const&, dht::SockAddr const&, dht::DhtRunner::Config)::{lambda()#1}> > >::_M_run() () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 38 (Thread 0x7fffad7fa700 (LWP 21647)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff50ef05e in dht::DhtRunner::startNetwork(dht::SockAddr, dht::SockAddr)::{lambda()#1}::operator()() const [clone .isra.625] () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 35 (Thread 0x7fffa57fa700 (LWP 21644)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff50f0b64 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::DhtRunner::run(dht::SockAddr const&, dht::SockAddr const&, dht::DhtRunner::Config)::{lambda()#1}> > >::_M_run() () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 34 (Thread 0x7fffa5ffb700 (LWP 21643)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff50ef05e in dht::DhtRunner::startNetwork(dht::SockAddr, dht::SockAddr)::{lambda()#1}::operator()() const [clone .isra.625] () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 31 (Thread 0x7fffa6ffd700 (LWP 21640)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff50f0b64 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::DhtRunner::run(dht::SockAddr const&, dht::SockAddr const&, dht::DhtRunner::Config)::{lambda()#1}> > >::_M_run() () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 30 (Thread 0x7fffa77fe700 (LWP 21639)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff50ef05e in dht::DhtRunner::startNetwork(dht::SockAddr, dht::SockAddr)::{lambda()#1}::operator()() const [clone .isra.625] () from /lib64/libopendht.so.1
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 25 (Thread 0x7fffae7fc700 (LWP 21634)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 23 (Thread 0x7fffaf7fe700 (LWP 21632)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6abf935 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 20 (Thread 0x7fffcd7fa700 (LWP 21629)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6c0970b in ring::DhtPeerConnector::Impl::eventLoop() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6c10a5c in std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void> >::_M_invoke(std::_Any_data const&) () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6add8bb in std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff345cea7 in __pthread_once_slow () from /lib64/libpthread.so.0
#6 0x00007ffff6c0de31 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::__future_base::_Async_state_impl<std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void>::_Async_state_impl(std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#8 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#9 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 19 (Thread 0x7fffcdffb700 (LWP 21628)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
---Type <return> to continue, or q <return> to quit---
#2 0x00007ffff6c0970b in ring::DhtPeerConnector::Impl::eventLoop() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6c10a5c in std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void> >::_M_invoke(std::_Any_data const&) () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6add8bb in std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff345cea7 in __pthread_once_slow () from /lib64/libpthread.so.0
#6 0x00007ffff6c0de31 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::__future_base::_Async_state_impl<std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void>::_Async_state_impl(std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#8 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#9 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 18 (Thread 0x7fffce7fc700 (LWP 21627)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6c0970b in ring::DhtPeerConnector::Impl::eventLoop() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6c10a5c in std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void> >::_M_invoke(std::_Any_data const&) () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6add8bb in std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff345cea7 in __pthread_once_slow () from /lib64/libpthread.so.0
#6 0x00007ffff6c0de31 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::__future_base::_Async_state_impl<std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void>::_Async_state_impl(std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#8 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#9 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 17 (Thread 0x7fffceffd700 (LWP 21626)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6c0970b in ring::DhtPeerConnector::Impl::eventLoop() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6c10a5c in std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void> >::_M_invoke(std::_Any_data const&) () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6add8bb in std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff345cea7 in __pthread_once_slow () from /lib64/libpthread.so.0
#6 0x00007ffff6c0de31 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::__future_base::_Async_state_impl<std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void>::_Async_state_impl(std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#8 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#9 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 15 (Thread 0x7fffcffff700 (LWP 21624)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff5918470 in WorkerThread () from /lib64/libthreadutil.so.6
#2 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#3 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 14 (Thread 0x7fffe0ff9700 (LWP 21623)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff5918470 in WorkerThread () from /lib64/libthreadutil.so.6
#2 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#3 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 13 (Thread 0x7fffe17fa700 (LWP 21622)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff5918470 in WorkerThread () from /lib64/libthreadutil.so.6
#2 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#3 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 12 (Thread 0x7fffe1ffb700 (LWP 21621)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff5b27a8b in RunMiniServer () from /lib64/libupnp.so.6
#2 0x00007ffff5918779 in WorkerThread () from /lib64/libthreadutil.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 9 (Thread 0x7fffe37fe700 (LWP 21618)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff5918470 in WorkerThread () from /lib64/libthreadutil.so.6
#2 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#3 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 7 (Thread 0x7fffe8d62700 (LWP 21616)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff591960e in TimerThreadWorker () from /lib64/libthreadutil.so.6
---Type <return> to continue, or q <return> to quit---
#2 0x00007ffff5918779 in WorkerThread () from /lib64/libthreadutil.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fffe9563700 (LWP 21615)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff6bba91b in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::upnp::UPnPContext::UPnPContext()::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fffe9d64700 (LWP 21614)):
#0 0x00007ffff345b51c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff1585290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /lib64/libstdc++.so.6
#2 0x00007ffff6c0970b in ring::DhtPeerConnector::Impl::eventLoop() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff6c10a5c in std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void> >::_M_invoke(std::_Any_data const&) () at ../src/pjnath/ice_session.c:1457
#4 0x00007ffff6add8bb in std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff345cea7 in __pthread_once_slow () from /lib64/libpthread.so.0
#6 0x00007ffff6c0de31 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::__future_base::_Async_state_impl<std::thread::_Invoker<std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}> >, void>::_Async_state_impl(std::tuple<ring::DhtPeerConnector::Impl::Impl(ring::RingAccount&)::{lambda()#1}>&&)::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#7 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#8 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#9 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fffea565700 (LWP 21613)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff6cd26a8 in pj_sock_select (n=n@entry=1024, readfds=readfds@entry=0x7fffea560660,
writefds=writefds@entry=0x7fffea560880, exceptfds=exceptfds@entry=0x7fffea560aa0,
timeout=timeout@entry=0x7fffea560d00) at ../src/pj/sock_select.c:110
#2 0x00007ffff6ccf6a3 in pj_ioqueue_poll (ioqueue=0x709c10, timeout=timeout@entry=0x7fffea560d00)
at ../src/pj/ioqueue_select.c:976
#3 0x00007ffff6c8cd64 in pjsip_endpt_handle_events2 (endpt=0x6feea8, max_timeout=0x7fffea560d40, p_count=0x0)
at ../src/pjsip/sip_endpoint.c:744
#4 0x00007ffff6b1b64a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::SIPVoIPLink::SIPVoIPLink()::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#5 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#6 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#7 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fffeb382700 (LWP 21612)):
#0 0x00007ffff0c527c7 in select () from /lib64/libc.so.6
#1 0x00007ffff6c6c27a in ring::video::VideoDeviceMonitorImpl::run() () at ../src/pjnath/ice_session.c:1457
#2 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#3 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fffebb83700 (LWP 21611)):
#0 0x00007ffff345b86a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007ffff6aec65f in ring::ScheduledExecutor::loop() () at ../src/pjnath/ice_session.c:1457
#2 0x00007ffff6aec829 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ring::ScheduledExecutor::ScheduledExecutor()::{lambda()#1}> > >::_M_run() () at ../src/pjnath/ice_session.c:1457
#3 0x00007ffff158b523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
#4 0x00007ffff3455594 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff0c5ae6f in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7ffff7fa0880 (LWP 21607)):
#0 0x00007ffff0c503e9 in poll () from /lib64/libc.so.6
#1 0x000000000044dbf3 in DBus::DefaultMainLoop::dispatch() ()
#2 0x000000000044e8db in DBus::BusDispatcher::enter() ()
#3 0x00000000004126ef in DBusClient::event_loop() ()
#4 0x0000000000411bf9 in main ()
```https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/102PJProject: upstream RFC60622019-05-22T19:08:52ZSébastien BlinPJProject: upstream RFC6062Iteration 7Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/74Use DTLS1.3 instead DTLS1.22019-05-27T14:00:32ZSébastien BlinUse DTLS1.3 instead DTLS1.2Will be possible after the bump to gnutls 3.6.5 (https://git.ring.cx/savoirfairelinux/ring-daemon/issues/73)Will be possible after the bump to gnutls 3.6.5 (https://git.ring.cx/savoirfairelinux/ring-daemon/issues/73)