jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2019-05-27T14:01:33Zhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/53gnutls.patch doesn't apply cleanly2019-05-27T14:01:33Zszotsakignutls.patch doesn't apply cleanly8582866b00a93aa446ae50803ba7235efe757728 brought in support for PJSIP 2.8. Unfortunately, applying `gnutls.patch` is not possible on a freshly downloaded `pjproject-2.8.tar.bz2` file. The error message:
```
.../pjproject-2.8> patch -flp...8582866b00a93aa446ae50803ba7235efe757728 brought in support for PJSIP 2.8. Unfortunately, applying `gnutls.patch` is not possible on a freshly downloaded `pjproject-2.8.tar.bz2` file. The error message:
```
.../pjproject-2.8> patch -flp1 < gnutls.patch
patching file aconfigure
Hunk #1 FAILED at 644.
Hunk #2 succeeded at 1488 (offset 6 lines).
Hunk #3 FAILED at 7787.
Hunk #4 succeeded at 8267 with fuzz 2 (offset 296 lines).
2 out of 4 hunks FAILED -- saving rejects to file aconfigure.rej
patching file aconfigure.ac
Hunk #1 FAILED at 1533.
Hunk #2 succeeded at 1662 with fuzz 2 (offset 84 lines).
1 out of 2 hunks FAILED -- saving rejects to file aconfigure.ac.rej
patching file pjlib/build/Makefile
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file pjlib/build/Makefile.rej
patching file pjlib/include/pj/compat/os_auto.h.in
Hunk #1 succeeded at 222 with fuzz 2 (offset 3 lines).
patching file pjlib/include/pj/config.h
Hunk #1 FAILED at 888.
Hunk #2 succeeded at 921 with fuzz 1 (offset 25 lines).
1 out of 2 hunks FAILED -- saving rejects to file pjlib/include/pj/config.h.rej
patching file pjlib/include/pj/ssl_sock.h
Hunk #1 succeeded at 189 with fuzz 2 (offset 5 lines).
patching file pjlib/src/pj/ssl_sock_common.c
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file pjlib/src/pj/ssl_sock_common.c.rej
The next patch would create the file pjlib/src/pj/ssl_sock_gtls.c,
which already exists! Applying it anyway.
patching file pjlib/src/pj/ssl_sock_gtls.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file pjlib/src/pj/ssl_sock_gtls.c.rej
patching file pjlib/src/pj/ssl_sock_ossl.c
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file pjlib/src/pj/ssl_sock_ossl.c.rej
patching file pjmedia/src/pjmedia/transport_srtp.c
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file pjmedia/src/pjmedia/transport_srtp.c.rej
patching file pjmedia/src/pjmedia/transport_srtp_sdes.c
Hunk #2 FAILED at 126.
1 out of 2 hunks FAILED -- saving rejects to file pjmedia/src/pjmedia/transport_srtp_sdes.c.rej
```
The PJSIP directory is freshly unpacked and no patches were applied before.
System: openSUSE Tumbleweed.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/105Connectivity: TURN doesn't work for calls anymore2019-06-05T18:37:54ZSébastien BlinConnectivity: TURN doesn't work for calls anymore# Reproduce steps
Force the user to pass through a TURN server to make a call. This means:
+ No IPv6
+ No UPnP
+ Different networks
# Result
The call is blocking in the CONNECTING state
# Expected
The call should work# Reproduce steps
Force the user to pass through a TURN server to make a call. This means:
+ No IPv6
+ No UPnP
+ Different networks
# Result
The call is blocking in the CONNECTING state
# Expected
The call should workIteration 8Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/95Audio record is broken2019-06-10T14:32:02ZAdministratorAudio record is broken```
Thread 5 "dring" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5326700 (LWP 400)]
0x0000000000ba8952 in avcodec_is_open (s=s@entry=0x20) at libavcodec/utils.c:1873
1873 return !!s->internal;
Missing sep...```
Thread 5 "dring" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5326700 (LWP 400)]
0x0000000000ba8952 in avcodec_is_open (s=s@entry=0x20) at libavcodec/utils.c:1873
1873 return !!s->internal;
Missing separate debuginfos, use: dnf debuginfo-install alsa-lib-1.1.8-1.fc29.x86_64 bzip2-libs-1.0.6-28.fc29.x86_64 dbus-libs-1.12.12-1.fc29.x86_64 flac-libs-1.3.2-8.fc29.x86_64 gsm-1.0.18-3.fc29.x86_64 jsoncpp-1.8.4-5.fc29.x86_64 libICE-1.0.9-14.fc29.x86_64 libSM-1.2.3-1.fc29.x86_64 libX11-1.6.7-1.fc29.x86_64 libX11-xcb-1.6.7-1.fc29.x86_64 libXau-1.0.8-14.fc29.x86_64 libXext-1.3.3-10.fc29.x86_64 libXfixes-5.0.3-8.fc29.x86_64 libXtst-1.2.3-8.fc29.x86_64 libasyncns-0.8-15.fc29.x86_64 libatomic-8.3.1-2.fc29.x86_64 libblkid-2.32.1-1.fc29.x86_64 libcap-2.25-12.fc29.x86_64 libdrm-2.4.97-1.fc29.x86_64 libgcc-8.3.1-2.fc29.x86_64 libgcrypt-1.8.4-1.fc29.x86_64 libgpg-error-1.33-1.fc29.x86_64 libmount-2.32.1-1.fc29.x86_64 libogg-1.3.3-1.fc29.x86_64 libselinux-2.8-6.fc29.x86_64 libstdc++-8.3.1-2.fc29.x86_64 libuuid-2.32.1-1.fc29.x86_64 libva-2.4.0-2.fc29.x86_64 libvdpau-1.1.1-11.fc29.x86_64 libxcb-1.13.1-1.fc29.x86_64 lz4-libs-1.8.3-1.fc29.x86_64 nss-mdns-0.14.1-2.fc29.x86_64 opus-1.3-1.fc29.x86_64 pulseaudio-libs-12.2-1.fc29.x86_64 speex-1.2.0-2.fc29.x86_64 speexdsp-1.2-0.14.rc3.fc29.x86_64 sssd-client-2.0.0-5.fc29.x86_64 xz-libs-5.2.4-3.fc29.x86_64 yaml-cpp-0.6.1-4.fc29.x86_64 zlib-1.2.11-14.fc29.x86_64
(gdb) bt
#0 0x0000000000ba8952 in avcodec_is_open (s=s@entry=0x20) at libavcodec/utils.c:1873
#1 0x0000000000af7591 in avcodec_send_frame (avctx=0x20, frame=0x7fffc4004dc0) at libavcodec/encode.c:389
#2 0x0000000000681714 in jami::MediaEncoder::encode(AVFrame*, int) () at libavcodec/utils.c:1136
#3 0x0000000000687549 in jami::MediaRecorder::filterAndEncode(jami::MediaFilter*, int) () at libavcodec/utils.c:1136
#4 0x00000000006907ff in std::_Function_handler<void (), jami::MediaRecorder::startRecording()::{lambda()#1}>::_M_invoke(std::_Any_data const&) () at libavcodec/utils.c:1136
#5 0x00000000005e5b08 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() () at libavcodec/utils.c:1136
#6 0x00007ffff75ca9a3 in ?? () from /lib64/libstdc++.so.6
#7 0x00007ffff7bca58e in start_thread () from /lib64/libpthread.so.0
#8 0x00007ffff729d6a3 in clone () from /lib64/libc.so.6
```Iteration 9Philippe GorleyPhilippe Gorleyhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/111Daemon crashes upon attempting to send a SIP text message2019-06-10T14:32:57ZMaxim CournoyerDaemon crashes upon attempting to send a SIP text message### Reproducer
1. Configure SIP account (I used voip.ms with the Gnome client)
2. Attempt to send a text message to a phone number (XXXXXXXXXX).
3. Observe the assertion crash below:
```
Starting program: /gnu/store/5ly4xxm5rq6w7rbhlgm...### Reproducer
1. Configure SIP account (I used voip.ms with the Gnome client)
2. Attempt to send a text message to a phone number (XXXXXXXXXX).
3. Observe the assertion crash below:
```
Starting program: /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/ring/dring -cdp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libthread_db.so.1".
Jami Daemon 7.5.0, by Savoir-faire Linux 2004-2018
https://jami.net/
[Video support enabled]
[Detaching after fork from child process 2206]
[1558321843.073| 2205|account_factory.cpp:40 ] registered SIP account
[1558321843.073| 2205|account_factory.cpp:43 ] registered RING account
[1558321843.073| 2205|data_transfer.cpp :663 ] [XFER] facade created, pimpl @0x4bff90
[New Thread 0x7ffff2d60700 (LWP 2207)]
[1558321843.073| 2205|ringbufferpool.cpp:118 ] Ringbuffer created with id 'audiolayer_id'
[1558321843.192| 2205|video_device.h :129 ] Default video settings: 960x540, 30 FPS
[1558321843.192| 2205|video_device_monitor.cpp:197 ] Manager not initialized yet
[New Thread 0x7ffff23cf700 (LWP 2209)]
[1558321843.192| 2205|manager.cpp :639 ] Not initialized
[1558321843.193| 2205|manager.cpp :639 ] Not initialized
23:10:43.193 os_core_unix.c !pjlib 2.7.2 for POSIX initialized
[1558321843.193| 2205|manager.cpp :700 ] pjsip version 2.7.2 for x86_64-unknown-linux-gnu initialized
[1558321843.193| 2205|manager.cpp :703 ] GNU TLS version 3.6.5 initialized
[1558321843.193| 2205|ice_transport.cpp :189 ] [ice] added host stun server
[1558321843.193| 2205|ice_transport.cpp :189 ] [ice] added host stun server
[1558321843.193| 2205|manager.cpp :710 ] Configuration file path: /home/mcournoyer/.config/ring/dring.yml
[1558321843.193| 2205|manager.cpp :419 ] Could not open configuration file
[New Thread 0x7ffff1a3e700 (LWP 2210)]
[1558321843.195| 2205|pulselayer.cpp :136 ] Waiting....
[1558321843.196| 2210|pulselayer.cpp :136 ] Waiting....
[1558321843.196| 2210|pulselayer.cpp :136 ] Waiting....
[1558321843.196| 2210|pulselayer.cpp :140 ] Connection to PulseAudio server established
[1558321843.196| 2210|pulselayer.cpp :169 ] Updating PulseAudio sink list
[1558321843.196| 2210|pulselayer.cpp :185 ] Updating PulseAudio source list
[1558321843.196| 2210|pulselayer.cpp :201 ] Updating PulseAudio server infos
[New Thread 0x7fffed0ad700 (LWP 2211)]
[1558321843.199| 2210|pulselayer.cpp :592 ] PulseAudio server info:
Server name: pulseaudio
Server version: 12.2
Default Sink alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source alsa_input.pci-0000_00_1f.3.analog-stereo
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
[Thread 0x7fffed0ad700 (LWP 2211) exited]
[1558321851.729| 2205|system_codec_container.cpp:157 ] Encoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321851.729| 2205|system_codec_container.cpp:158 ] Decoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321851.729| 2205|sipvoiplink.cpp :511 ] Using SIP nameserver: 192.168.10.1
[1558321851.729| 2205|sipvoiplink.cpp :509 ] Error printing SIP nameserver: Unknown error -6
[1558321851.729| 2205|siptransport.cpp :201 ] SipTransportBroker@0x4bbd20
[New Thread 0x7fffdbfff700 (LWP 2255)]
[1558321851.730| 2205|sipvoiplink.cpp :605 ] SIPVoIPLink@0x4bc460
[1558321851.730| 2255|sip_utils.cpp :203 ] Registered thread 0x7fffdbfff4d0 (0x89D)
[1558321851.730| 2205|sipvoiplink.cpp :610 ] ~SIPVoIPLink@0x4bc460
[1558321851.730| 2205|siptransport.cpp :206 ] ~SipTransportBroker@0x4bbd20
[1558321851.730| 2205|siptransport.cpp :213 ] destroying SipTransportBroker@0x4bbd20
[1558321852.732| 2205|sipvoiplink.cpp :638 ] destroying SIPVoIPLink@0x4bc460
[Thread 0x7fffdbfff700 (LWP 2255) exited]
[1558321852.733| 2205|manager.cpp :2719 ] Adding account 63bc8e5210fc211d
[1558321852.733| 2205|system_codec_container.cpp:157 ] Encoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321852.733| 2205|system_codec_container.cpp:158 ] Decoders found: H264 VP8 MP4V-ES H263-1998 opus G722 speex speex speex PCMA PCMU
[1558321852.733| 2205|sipvoiplink.cpp :511 ] Using SIP nameserver: 192.168.10.1
[1558321852.733| 2205|sipvoiplink.cpp :509 ] Error printing SIP nameserver: Unknown error -6
[1558321852.733| 2205|siptransport.cpp :201 ] SipTransportBroker@0x4bbd20
[New Thread 0x7fffdbfff700 (LWP 2256)]
[1558321852.733| 2205|sipvoiplink.cpp :605 ] SIPVoIPLink@0x606380
[1558321852.733| 2256|sip_utils.cpp :203 ] Registered thread 0x7fffdbfff4d0 (0x89D)
[1558321852.733| 2205|upnp_context.cpp :169 ] UPnP: IPv6 support enabled, but we will use IPv4
[New Thread 0x7fffdb66e700 (LWP 2257)]
[New Thread 0x7fffdacdd700 (LWP 2258)]
[New Thread 0x7fffda34c700 (LWP 2259)]
[New Thread 0x7fffd99bb700 (LWP 2260)]
[New Thread 0x7fffd902a700 (LWP 2261)]
[New Thread 0x7fffd3fff700 (LWP 2262)]
[New Thread 0x7fffd366e700 (LWP 2263)]
[New Thread 0x7fffd2cdd700 (LWP 2264)]
[1558321852.785| 2205|upnp_context.cpp :180 ] UPnP: using IPv4
[1558321852.785| 2205|upnp_context.cpp :184 ] UPnP: initialiazed on 192.168.10.172:49152
[1558321853.590| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321853.590| 2205|sipaccount.cpp :597 ] No credentials set, inferring them...
[1558321853.590| 2205|sipaccount.cpp :716 ] doRegister
[1558321853.590| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2265)]
[1558321853.591| 2265|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321853.591| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321853.591| 2265|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321853.591| 2265|sipaccount.cpp :769 ] doRegister isIP2IP.
[1558321853.591| 2265|siptransport.cpp :362 ] Created UDP transport on default : 0.0.0.0:5060
[1558321853.591| 2265|siptransport.cpp :82 ] SipTransport@0x7fffbc0029d0 {tr=0x7fffbc000f88 {rc=2}}
[1558321853.591| 2265|message_engine.cpp:198 ] [Account 63bc8e5210fc211d] couldn't load messages from /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[Thread 0x7fffd234c700 (LWP 2265) exited]
[Thread 0x7fffdacdd700 (LWP 2258) exited]
[Thread 0x7fffd3fff700 (LWP 2262) exited]
[1558321867.075| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321867.075| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffbc0029d0 {tr=0x7fffbc000f88 {rc=2}}
[1558321867.075| 2205|sipaccount.cpp :716 ] doRegister
[1558321867.075| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd3fff700 (LWP 2267)]
[1558321867.075| 2267|message_engine.cpp:252 ] [Account 63bc8e5210fc211d] Couldn't save messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321867.075| 2267|message_engine.cpp:254 ] [Account 63bc8e5210fc211d] saved 0 messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages
[New Thread 0x7fffdacdd700 (LWP 2268)]
[1558321867.075| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321867.076| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321867.076| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321867.076| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321867.076| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321867.076| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[1558321867.076| 2268|sip_utils.cpp :203 ] Registered thread 0x7fffdacdd4d0 (0x89D)
[1558321867.076| 2268|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.077| 2268|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[New Thread 0x7fffd234c700 (LWP 2269)]
[Thread 0x7fffdacdd700 (LWP 2268) exited]
[1558321867.077| 2269|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321867.078| 2269|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.078| 2269|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[Thread 0x7fffd234c700 (LWP 2269) exited]
[1558321867.102| 2256|sipaccount.cpp :828 ] Creating transport
[1558321867.102| 2256|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321867.102| 2256|siptransport.cpp :82 ] SipTransport@0x7fffd40013c0 {tr=0x7fffbc000f88 {rc=2}}
[1558321867.128| 2256|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.128| 2256|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321867.177| 2256|sipaccount.cpp :1045 ] SIP registration failed, status=403 (Forbidden)
[1558321870.931| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321870.931| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffd40013c0 {tr=0x7fffbc000f88 {rc=7}}
[1558321870.931| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Registration structure is NULL
[1558321870.931| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321870.931| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2270)]
[1558321870.932| 2270|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321870.932| 2270|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.932| 2270|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321870.932| 2270|sipaccount.cpp :828 ] Creating transport
[1558321870.932| 2270|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321870.932| 2270|siptransport.cpp :82 ] SipTransport@0x7fffc0001060 {tr=0x7fffbc000f88 {rc=7}}
[1558321870.933| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321870.933| 2270|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.933| 2270|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.933| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321870.933| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0001060 {tr=0x7fffbc000f88 {rc=11}}
[1558321870.933| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321870.933| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321870.933| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321870.933| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321870.933| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321870.934| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321870.934| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2271)]
[Thread 0x7fffd234c700 (LWP 2270) exited]
[1558321870.934| 2271|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321870.934| 2271|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.934| 2271|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321870.934| 2271|sipaccount.cpp :828 ] Creating transport
[1558321870.934| 2271|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321870.934| 2271|siptransport.cpp :82 ] SipTransport@0x7fffc0007d70 {tr=0x7fffbc000f88 {rc=11}}
[1558321870.935| 2271|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321870.935| 2271|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2271) exited]
[1558321870.952| 2256|sipaccount.cpp :1045 ] SIP registration failed, status=403 (Forbidden)
[1558321877.084| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321877.084| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0007d70 {tr=0x7fffbc000f88 {rc=2}}
[1558321877.085| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Registration structure is NULL
[1558321877.085| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321877.085| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2272)]
[1558321877.085| 2272|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321877.085| 2272|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.085| 2272|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321877.085| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321877.085| 2272|sipaccount.cpp :828 ] Creating transport
[1558321877.085| 2272|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321877.085| 2272|siptransport.cpp :82 ] SipTransport@0x7fffc0001000 {tr=0x7fffbc000f88 {rc=2}}
[1558321877.085| 2272|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.085| 2272|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.085| 2205|sipaccount.cpp :302 ] Removing transport from account
[Thread 0x7fffd234c700 (LWP 2272) exited]
[1558321877.085| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0001000 {tr=0x7fffbc000f88 {rc=6}}
[1558321877.085| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321877.086| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321877.086| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321877.086| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321877.086| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321877.086| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321877.086| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2273)]
[1558321877.086| 2273|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321877.086| 2273|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.086| 2273|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321877.086| 2273|sipaccount.cpp :828 ] Creating transport
[1558321877.086| 2273|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321877.086| 2273|siptransport.cpp :82 ] SipTransport@0x7fffc0004bb0 {tr=0x7fffbc000f88 {rc=6}}
[1558321877.086| 2273|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321877.086| 2273|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2273) exited]
[1558321877.118| 2256|sipaccount.cpp :1045 ] SIP registration failed, status=403 (Forbidden)
[1558321882.739| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321882.739| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffc0004bb0 {tr=0x7fffbc000f88 {rc=2}}
[1558321882.740| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Registration structure is NULL
[1558321882.740| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321882.740| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2274)]
[1558321882.746| 2274|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321882.746| 2274|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.746| 2274|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321882.746| 2274|sipaccount.cpp :828 ] Creating transport
[1558321882.746| 2274|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321882.746| 2274|siptransport.cpp :82 ] SipTransport@0x7fffb8000f80 {tr=0x7fffbc000f88 {rc=2}}
[1558321882.746| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321882.746| 2274|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.746| 2274|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.746| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321882.746| 2205|siptransport.cpp :95 ] [Thread 0x7fffd234c700 (LWP 2274) exited]
~SipTransport@0x7fffb8000f80 {tr=0x7fffbc000f88 {rc=6}}
[1558321882.746| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321882.746| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321882.746| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321882.746| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321882.746| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321882.747| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321882.747| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2275)]
[1558321882.747| 2275|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321882.747| 2275|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.747| 2275|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321882.747| 2275|sipaccount.cpp :828 ] Creating transport
[1558321882.747| 2275|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321882.747| 2275|siptransport.cpp :82 ] SipTransport@0x7fffb8007cb0 {tr=0x7fffbc000f88 {rc=6}}
[1558321882.747| 2275|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.747| 2275|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2275) exited]
[1558321882.769| 2256|sipaccount.cpp :1905 ] IP address change detected for account 63bc8e5210fc211d (192.168.10.172:5060 --> 66.158.152.210:5060). Updating registration (using method 2)
[1558321882.769| 2256|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321882.770| 2256|sipaccount.cpp :1082 ] Contact overwritten
[1558321882.770| 2256|message_engine.cpp:198 ] [Account 63bc8e5210fc211d] couldn't load messages from /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321884.004| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321884.004| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffb8007cb0 {tr=0x7fffbc000f88 {rc=23}}
[1558321884.004| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321884.004| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[1558321884.005| 2267|message_engine.cpp:252 ] [Account 63bc8e5210fc211d] Couldn't save messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321884.005| 2267|message_engine.cpp:254 ] [Account 63bc8e5210fc211d] saved 0 messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages
[New Thread 0x7fffd234c700 (LWP 2278)]
[1558321884.009| 2278|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321884.009| 2278|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321884.009| 2278|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321884.009| 2278|sipaccount.cpp :828 ] Creating transport
[1558321884.009| 2278|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321884.009| 2278|siptransport.cpp :82 ] SipTransport@0x7fffb80012e0 {tr=0x7fffbc000f88 {rc=27}}
[1558321884.009| 2205|manager.cpp :2626 ] Set account details for 63bc8e5210fc211d
[1558321884.010| 2278|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2278) exited]
[1558321884.010| 2205|sipaccount.cpp :302 ] Removing transport from account
[1558321884.010| 2205|siptransport.cpp :95 ] ~SipTransport@0x7fffb80012e0 {tr=0x7fffbc000f88 {rc=31}}
[1558321884.010| 2205|sipaccount.cpp :1142 ] pjsip_regc_send failed with error 171001: Object is busy (PJSIP_EBUSY)
[1558321884.010| 2205|sipaccount.cpp :865 ] doUnregister VoipLinkException occurred: Unable to send request to unregister sip account
[1558321884.010| 2205|account.cpp :445 ] Couldn't find key "Account.keepAliveEnabled"
[1558321884.010| 2205|sipaccount.cpp :1709 ] Presence enabled for 63bc8e5210fc211d : false.
[1558321884.010| 2205|manager.cpp :1717 ] Saving Configuration to XDG directory /home/mcournoyer/.config/ring/dring.yml
[1558321884.010| 2205|sipaccount.cpp :716 ] doRegister montreal6.voip.ms
[1558321884.010| 2205|sipaccount.cpp :720 ] UPnP: waiting for IGD to register SIP account
[New Thread 0x7fffd234c700 (LWP 2279)]
[1558321884.011| 2279|sip_utils.cpp :203 ] Registered thread 0x7fffd234c4d0 (0x89D)
[1558321884.011| 2279|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[1558321884.011| 2279|sipvoiplink.cpp :1182 ] try to resolve 'montreal6.voip.ms' (port: 0)
[1558321884.011| 2279|sipaccount.cpp :828 ] Creating transport
[1558321884.011| 2279|siptransport.cpp :319 ] Recycling transport {UDP transport on default:5060}
[1558321884.011| 2279|siptransport.cpp :82 ] SipTransport@0x7fffb8007cb0 {tr=0x7fffbc000f88 {rc=31}}
[1558321884.011| 2279|upnp_context.cpp :288 ] UPnP: check for valid IGD timeout
[Thread 0x7fffd234c700 (LWP 2279) exited]
[1558321884.098| 2256|message_engine.cpp:198 ] [Account 63bc8e5210fc211d] couldn't load messages from /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321931.700| 2207|message_engine.cpp:97 ] [message 14240881271831399598] Retry sending
[1558321931.700| 2267|message_engine.cpp:252 ] [Account 63bc8e5210fc211d] Couldn't save messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages: basic_ios::clear
[1558321931.700| 2267|message_engine.cpp:254 ] [Account 63bc8e5210fc211d] saved 1 messages to /home/mcournoyer/.cache/ring/63bc8e5210fc211d/messages
dring: ../src/pj/os_core_unix.c:692: pj_thread_this: Assertion `!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."' failed.
Thread 2 "dring" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff2d60700 (LWP 2207)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all bt
Thread 17 (Thread 0x7fffd3fff700 (LWP 2267)):
#0 0x00007ffff5253062 in futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ffff7f87c40 <ring::ThreadPool::instance()::pool+192>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0,
mutex=0x7ffff7f87bf0 <ring::ThreadPool::instance()::pool+112>,
cond=0x7ffff7f87c18 <ring::ThreadPool::instance()::pool+152>) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7ffff7f87c18 <ring::ThreadPool::instance()::pool+152>,
mutex=0x7ffff7f87bf0 <ring::ThreadPool::instance()::pool+112>)
at pthread_cond_wait.c:655
#3 0x00007ffff4f7abac in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#4 0x00007ffff7c1b4eb in std::thread::_Impl<std::_Bind_simple<ring::ThreadPool::run(std::function<void ()>&&)::{lambda()#1} ()> >::_M_run() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#5 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#6 0x00007ffff524d019 in start_thread (arg=0x7fffd3fff700) at pthread_create.c:486
#7 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--
Thread 15 (Thread 0x7fffd2cdd700 (LWP 2264)):
#0 0x00007ffff489f9df in __GI___select (nfds=19, readfds=0x7fffd2cd8cd0, writefds=0x0,
exceptfds=0x7fffd2cd8c50, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff767c658 in RunMiniServer ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libupnp.so.6
#2 0x00007ffff766aeff in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#3 0x00007ffff524d019 in start_thread (arg=0x7fffd2cdd700) at pthread_create.c:486
#4 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 14 (Thread 0x7fffd366e700 (LWP 2263)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffd366a030, expected=0, futex_word=0x7ffff7697434 <gSendThreadPool+84>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffd366a030,
mutex=0x7ffff76973e0 <gSendThreadPool>, cond=0x7ffff7697408 <gSendThreadPool+40>)
at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7697408 <gSendThreadPool+40>,
mutex=0x7ffff76973e0 <gSendThreadPool>, abstime=0x7fffd366a030)
at pthread_cond_wait.c:667
--Type <RET> for more, q to quit, c to continue without paging--
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffd366e700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 12 (Thread 0x7fffd902a700 (LWP 2261)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffd9026030, expected=0,
futex_word=0x7ffff7696dd4 <gMiniServerThreadPool+84>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffd9026030,
mutex=0x7ffff7696d80 <gMiniServerThreadPool>,
cond=0x7ffff7696da8 <gMiniServerThreadPool+40>) at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7696da8 <gMiniServerThreadPool+40>,
mutex=0x7ffff7696d80 <gMiniServerThreadPool>, abstime=0x7fffd9026030)
at pthread_cond_wait.c:667
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffd902a700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--
Thread 11 (Thread 0x7fffd99bb700 (LWP 2260)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffd99b7030, expected=0, futex_word=0x7ffff7697090 <gRecvThreadPool+80>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffd99b7030,
mutex=0x7ffff7697040 <gRecvThreadPool>, cond=0x7ffff7697068 <gRecvThreadPool+40>)
at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7697068 <gRecvThreadPool+40>,
mutex=0x7ffff7697040 <gRecvThreadPool>, abstime=0x7fffd99b7030)
at pthread_cond_wait.c:667
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffd99bb700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 10 (Thread 0x7fffda34c700 (LWP 2259)):
#0 0x00007ffff52533d6 in futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7fffda348030, expected=0, futex_word=0x7ffff7697090 <gRecvThreadPool+80>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffda348030,
mutex=0x7ffff7697040 <gRecvThreadPool>, cond=0x7ffff7697068 <gRecvThreadPool+40>)
--Type <RET> for more, q to quit, c to continue without paging--
at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0x7ffff7697068 <gRecvThreadPool+40>,
mutex=0x7ffff7697040 <gRecvThreadPool>, abstime=0x7fffda348030)
at pthread_cond_wait.c:667
#3 0x00007ffff766abf7 in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff524d019 in start_thread (arg=0x7fffda34c700) at pthread_create.c:486
#5 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 8 (Thread 0x7fffdb66e700 (LWP 2257)):
#0 0x00007ffff5253062 in futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ffff7697330 <gTimerThread+80>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7ffff76972e0 <gTimerThread>,
cond=0x7ffff7697308 <gTimerThread+40>) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7ffff7697308 <gTimerThread+40>,
mutex=0x7ffff76972e0 <gTimerThread>) at pthread_cond_wait.c:655
#3 0x00007ffff766bcb0 in TimerThreadWorker ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
#4 0x00007ffff766aeff in WorkerThread ()
from /gnu/store/jw6z4zzsa4jn56pfxiw6g5l6xryaphxm-libupnp-1.6.25/lib/libthreadutil.so.6
--Type <RET> for more, q to quit, c to continue without paging--
#5 0x00007ffff524d019 in start_thread (arg=0x7fffdb66e700) at pthread_create.c:486
#6 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 7 (Thread 0x7fffdbfff700 (LWP 2256)):
#0 0x00007ffff489f9df in __GI___select (nfds=1024, readfds=0x7fffdbffad48,
writefds=0x7fffdbffab28, exceptfds=0x7fffdbffa908, timeout=0x7fffdbffa7c0)
at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff7eb8a18 in pj_sock_select ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#2 0x00007ffff7eb45c5 in pj_ioqueue_poll ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#3 0x00007ffff7e5923c in pjsip_endpt_handle_events2 ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#4 0x00007ffff7e592fd in pjsip_endpt_handle_events ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#5 0x00007ffff7c82b7f in std::thread::_Impl<std::_Bind_simple<ring::SIPVoIPLink::SIPVoIPLink()::{lambda()#1} ()> >::_M_run() ()
--Type <RET> for more, q to quit, c to continue without paging--
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#6 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#7 0x00007ffff524d019 in start_thread (arg=0x7fffdbfff700) at pthread_create.c:486
#8 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7ffff1a3e700 (LWP 2210)):
#0 0x00007ffff489d6a1 in __GI___poll (fds=0x7fffe8007380, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff7a33011 in poll_func ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#2 0x00007ffff7a24c91 in pa_mainloop_poll ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#3 0x00007ffff7a252ce in pa_mainloop_iterate ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#4 0x00007ffff7a25380 in pa_mainloop_run ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#5 0x00007ffff7a32f76 in thread ()
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/libpulse.so.0
#6 0x00007ffff79d0f88 in internal_thread_func ()
--Type <RET> for more, q to quit, c to continue without paging--
from /gnu/store/s795jav4270x940spl48a885nhw4axnx-pulseaudio-12.2/lib/pulseaudio/libpulsecommon-12.2.so
#7 0x00007ffff524d019 in start_thread (arg=0x7ffff1a3e700) at pthread_create.c:486
#8 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7ffff23cf700 (LWP 2209)):
#0 0x00007ffff489f9df in __GI___select (nfds=7, readfds=0x7ffff23cafb0, writefds=0x0,
exceptfds=0x0, timeout=0x7ffff23caf60) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00007ffff7e2c001 in ring::video::VideoDeviceMonitorImpl::run() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#2 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#3 0x00007ffff524d019 in start_thread (arg=0x7ffff23cf700) at pthread_create.c:486
#4 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7ffff2d60700 (LWP 2207)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff47eaca1 in __GI_abort () at abort.c:79
#2 0x00007ffff47e2577 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion@entry=0x7ffff7f01610 "!\"Calling pjlib from unknown/external thread. --Type <RET> for more, q to quit, c to continue without paging--
You must \" \"register external threads with pj_thread_register() \" \"before calling any pjlib functions.\"", file=file@entry=0x7ffff7f01478 "../src/pj/os_core_unix.c",
line=line@entry=692,
function=function@entry=0x7ffff7f01838 <__PRETTY_FUNCTION__.5615> "pj_thread_this")
at assert.c:92
#3 0x00007ffff47e2622 in __GI___assert_fail (
assertion=0x7ffff7f01610 "!\"Calling pjlib from unknown/external thread. You must \" \"register external threads with pj_thread_register() \" \"before calling any pjlib functions.\"", file=0x7ffff7f01478 "../src/pj/os_core_unix.c", line=692,
function=0x7ffff7f01838 <__PRETTY_FUNCTION__.5615> "pj_thread_this") at assert.c:101
#4 0x00007ffff7eb5403 in pj_thread_this ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#5 0x00007ffff7eb5c29 in pj_mutex_lock ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#6 0x00007ffff7ebd02a in pj_lock_acquire ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#7 0x00007ffff7ebf967 in cpool_create_pool ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so--Type <RET> for more, q to quit, c to continue without paging--
.0
#8 0x00007ffff7ebedb2 in pj_pool_create ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#9 0x00007ffff7e590ca in pjsip_endpt_create_pool ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#10 0x00007ffff7e5fdd4 in pjsip_tx_data_create ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#11 0x00007ffff7e59a21 in pjsip_endpt_create_tdata ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#12 0x00007ffff7e5aa24 in pjsip_endpt_create_request ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#13 0x00007ffff7c6dcac in ring::SIPAccount::sendTextMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<c--Type <RET> for more, q to quit, c to continue without paging--
har, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, unsigned long) ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#14 0x00007ffff7dec1e7 in ring::im::MessageEngine::retrySend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#15 0x00007ffff7c51775 in ring::ScheduledExecutor::loop() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#16 0x00007ffff7c518d5 in std::thread::_Impl<std::_Bind_simple<ring::ScheduledExecutor::ScheduledExecutor()::{lambda()#1} ()> >::_M_run() ()
from /gnu/store/5ly4xxm5rq6w7rbhlgma17h4bb1gfmn1-libring-20190319.4.a16a99f/lib/libring.so.0
#17 0x00007ffff4f7faf0 in execute_native_thread_routine ()
from /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libstdc++.so.6
#18 0x00007ffff524d019 in start_thread (arg=0x7ffff2d60700) at pthread_create.c:486
#19 0x00007ffff48a792f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7ffff2d6f5c0 (LWP 2205)):
--Type <RET> for more, q to quit, c to continue without paging--
#0 0x00007ffff489d6a1 in __GI___poll (fds=0x7fffffffcfa0, nfds=2, timeout=10000)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff7fb2834 in DBus::DefaultMainLoop::dispatch() ()
from /gnu/store/2m2niahhg7s1j2krrx8zr46jdgfw12qy-dbus-c++-0.9.0/lib/libdbus-c++-1.so.0
#2 0x00007ffff7fb34bb in DBus::BusDispatcher::enter() ()
from /gnu/store/2m2niahhg7s1j2krrx8zr46jdgfw12qy-dbus-c++-0.9.0/lib/libdbus-c++-1.so.0
#3 0x000000000040fd9d in DBusClient::event_loop() ()
#4 0x000000000040f498 in main ()
```Iteration 9Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/60Remove account's data securely2019-07-01T20:52:13ZVladimir StoiakinRemove account's data securelySeems like ring-daemon doesn't clear account's files before deletion from a filesystem. It can be dangerous, because allows to recover them from a hard drive. I think these files should be rewritten with zeros before deletion.Seems like ring-daemon doesn't clear account's files before deletion from a filesystem. It can be dangerous, because allows to recover them from a hard drive. I think these files should be rewritten with zeros before deletion.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/122ipv4<->ipv6 (no TURN) call hang2019-07-02T20:03:49ZMohamed Fenjiroipv4<->ipv6 (no TURN) call hanghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/107UPnP: IGD discovery doesn't work when using WiFi + Ethernet2019-07-08T17:50:15ZSébastien BlinUPnP: IGD discovery doesn't work when using WiFi + EthernetHow to reproduce:
1. Add a log for `UPNP_DISCOVERY_SEARCH_RESULT` (`upnp_context.cpp:951`)
2. Using only WiFi (UPnP available), launch the daemon, the log is printed
3. Using WiFi + Eth, launch the daemon, the log is not be printed.How to reproduce:
1. Add a log for `UPNP_DISCOVERY_SEARCH_RESULT` (`upnp_context.cpp:951`)
2. Using only WiFi (UPnP available), launch the daemon, the log is printed
3. Using WiFi + Eth, launch the daemon, the log is not be printed.Iteration 10Eden AbitbolEden Abitbolhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/103Calls negotiate TCP + UDP and use TCP if the negotiation succeed.2019-07-17T13:36:59ZSébastien BlinCalls negotiate TCP + UDP and use TCP if the negotiation succeed.Iteration 10Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/121ipv4<->ipv4 (no TURN) call hang (connecting)2019-07-17T13:37:22ZSébastien Blinipv4<->ipv4 (no TURN) call hang (connecting)Iteration 10Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/123Fix DTMF (win + multiple bips on some calls + stay focused)2019-07-17T19:40:53ZSébastien BlinFix DTMF (win + multiple bips on some calls + stay focused)Iteration 10Ming Rui ZhangMing Rui Zhanghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/71Invalid contact state for second trust request2019-07-26T13:55:51ZSébastien BlinInvalid contact state for second trust request# Reproduce steps
+ receive trust request
+ Accept trust request
+ Remove conversation
+ Re-receive trust request
+ discardFromPending() return false, because the contact is not a pending one.
# Expected result
+ When receiving a new ...# Reproduce steps
+ receive trust request
+ Accept trust request
+ Remove conversation
+ Re-receive trust request
+ discardFromPending() return false, because the contact is not a pending one.
# Expected result
+ When receiving a new message from a discarded contact, it should be considered as a pending contact and `discardFromPending` should work as expectedhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/106the daemon gets stuck at "UPnP: checking new device of type IGD", can't send ...2019-08-06T20:39:49ZJan Wielkiewiczthe daemon gets stuck at "UPnP: checking new device of type IGD", can't send and receive messagesMost messages I sent or I should receive are getting lost. When I restart the daemon, a few messages that were idle before, are delivered properly, the same thing for messages I didn't receive.
I ran the daemon with -pcd options and the ...Most messages I sent or I should receive are getting lost. When I restart the daemon, a few messages that were idle before, are delivered properly, the same thing for messages I didn't receive.
I ran the daemon with -pcd options and the last thing the daemon logs is
`[1557509876.038| 9550|upnp_context.cpp :763 ] UPnP: checking new device of type IGD: *router name*`
Don't get me wrong, it doesn't freeze or crash, it just gets stuck writing this. Don't know what's the problem, but recent update seems to cause that (ring_20190503.2.1975a1d.tar.gz 2019-05-08).
My system is Devuan GNU/Linux ASCII.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/127p2p file transfer: there is no public ip in ICE msg2019-08-12T13:53:00ZSébastien Blinp2p file transfer: there is no public ip in ICE msgall is in the title, the public ip is missing, so the negotiation via TURN doesn't work during the ICE negotiation (only when fallbacking)all is in the title, the public ip is missing, so the negotiation via TURN doesn't work during the ICE negotiation (only when fallbacking)Iteration 12Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/132Hangup takes a lot of time2019-08-12T21:18:35ZKateryna KostiukHangup takes a lot of time3 secs to close a call, should be less than 1 sec3 secs to close a call, should be less than 1 secSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/108ICE session not closed at the end of a call2019-08-12T21:20:29ZSébastien BlinICE session not closed at the end of a call# Reproduce step
1. Run `SIPLOGLEVEL=5 ./bin/dring -pcd`
2. Do a call
3. Hangup (or the peer hang up)
4. Wait ~ 30 secs
# Current result
Keep alive are still transmitted, this is bad for the battery IMO
# Expected
Transport should b...# Reproduce step
1. Run `SIPLOGLEVEL=5 ./bin/dring -pcd`
2. Do a call
3. Hangup (or the peer hang up)
4. Wait ~ 30 secs
# Current result
Keep alive are still transmitted, this is bad for the battery IMO
# Expected
Transport should be stoppedSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/92Incoming SIP calls fail2019-08-15T13:53:25ZFrançois Naggar-TremblayIncoming SIP calls failUsing linphone accountsUsing linphone accountsMing Rui ZhangMing Rui Zhanghttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/131Clamp CRF to acceptable values2019-08-19T18:36:52ZPhilippe GorleyClamp CRF to acceptable valuesWith the new recorder settings hitting master soon-ish, the CRF may be widly out of range depending on the recordQuality setting. It should be forced to minimum when bitrate is too high and to maximum if bitrate is too low. Off the top o...With the new recorder settings hitting master soon-ish, the CRF may be widly out of range depending on the recordQuality setting. It should be forced to minimum when bitrate is too high and to maximum if bitrate is too low. Off the top of my head, we could clamp the CRF between 15 and 50.
Or we could clamp the bitrate according to the min/max value in media_codec.hPierre LespagnolPierre Lespagnolhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/128Multi device regression: file transfer doesn't work for all devices2019-08-29T14:44:19ZSébastien BlinMulti device regression: file transfer doesn't work for all devicesOnly file transfer seems a bit broken. Calls and text messages are ok.
# Reproduce step
Device A with account X, Device B,C with account Y
X send a file to Y, sometimes only one device (eg B) is receiving the file, the second can star...Only file transfer seems a bit broken. Calls and text messages are ok.
# Reproduce step
Device A with account X, Device B,C with account Y
X send a file to Y, sometimes only one device (eg B) is receiving the file, the second can start a ICE negotiation, but never receives the headers of the file.Iteration 14Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/134Call can cut after 30 secs if bad transport selected2019-08-29T14:44:20ZSébastien BlinCall can cut after 30 secs if bad transport selectedIf we see the following logs at the start of a call:
```
[1565812513.241| 1648|instant_messaging.cpp:184 ] pjsip_dlg_send_request failed: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
```
The call will cut after 30 secs because...If we see the following logs at the start of a call:
```
[1565812513.241| 1648|instant_messaging.cpp:184 ] pjsip_dlg_send_request failed: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
```
The call will cut after 30 secs because the SIP message is not sent.
A bad ip is resolved in sip_resolve.c. Currently digging.Iteration 14Sébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/140ios (lte) -> android, sometimes there is a 30 seconds delay during media nego...2019-08-29T14:44:21ZSébastien Blinios (lte) -> android, sometimes there is a 30 seconds delay during media negotiationMakes the call unusable.Makes the call unusable.Iteration 14Sébastien BlinSébastien Blin