jami-daemon issues
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues
2019-08-29T14:44:21Z
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/140
ios (lte) -> android, sometimes there is a 30 seconds delay during media nego...
2019-08-29T14:44:21Z
Sébastien Blin
ios (lte) -> android, sometimes there is a 30 seconds delay during media negotiation
Makes the call unusable.
Makes the call unusable.
Iteration 14
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/134
Call can cut after 30 secs if bad transport selected
2019-08-29T14:44:20Z
Sébastien Blin
Call can cut after 30 secs if bad transport selected
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...
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 14
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/127
p2p file transfer: there is no public ip in ICE msg
2019-08-12T13:53:00Z
Sébastien Blin
p2p file transfer: there is no public ip in ICE msg
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)
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 12
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/121
ipv4<->ipv4 (no TURN) call hang (connecting)
2019-07-17T13:37:22Z
Sébastien Blin
ipv4<->ipv4 (no TURN) call hang (connecting)
Iteration 10
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/120
calls: multi-device doesn't seem to work
2020-09-30T21:37:08Z
Mohamed Fenjiro
calls: multi-device doesn't seem to work
Scenario:
Call from account1 (one device) to account2 (two devices). Place a call. Accept one device of account2, the call is kept as pending on the other clients.
Use case:
Once the call is accepted on one of the device, the call sho...
Scenario:
Call from account1 (one device) to account2 (two devices). Place a call. Accept one device of account2, the call is kept as pending on the other clients.
Use case:
Once the call is accepted on one of the device, the call should go in CURRENT and close on the others (device of Acc1 and 2nd device of Acc2).
Iteration 9
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/111
Daemon crashes upon attempting to send a SIP text message
2019-06-10T14:32:57Z
Maxim Cournoyer
Daemon 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 9
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/108
ICE session not closed at the end of a call
2019-08-12T21:20:29Z
Sébastien Blin
ICE 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 stopped
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/95
Audio record is broken
2019-06-10T14:32:02Z
Administrator
Audio 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 9
Philippe Gorley
Philippe Gorley
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/92
Incoming SIP calls fail
2019-08-15T13:53:25Z
François Naggar-Tremblay
Incoming SIP calls fail
Using linphone accounts
Using linphone accounts
Ming Rui Zhang
Ming Rui Zhang
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/76
Mute is broken since some patches on Linux.
2019-01-11T18:45:50Z
Sébastien Blin
Mute is broken since some patches on Linux.
I still don't know since when :)
I still don't know since when :)
Philippe Gorley
Philippe Gorley
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/67
Messages fails when flooding
2018-11-28T20:30:43Z
Sébastien Blin
Messages 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 sent
Adrien Béraud
Adrien Béraud
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/66
connectivity issues leading to unstable file transfer
2020-09-30T19:33:15Z
Hugo Lefeuvre
connectivity issues leading to unstable file transfer
The file transfer feature is quite unreliable on my devices/network, around 1/3 of attempted file transfers fail.
Devices: Android (WiFi + 4G), GNOME client (Ethernet)
I have investigated the issue, and many of these failures seem to b...
The file transfer feature is quite unreliable on my devices/network, around 1/3 of attempted file transfers fail.
Devices: Android (WiFi + 4G), GNOME client (Ethernet)
I have investigated the issue, and many of these failures seem to be due to connectivity issues at unfavorable moments.
**First scenario:**
1. A sends rx DHT request to B
2. B receives rx DHT request and replies with a list of addresses on the DHT
3. A does not receive the answer in time and timeouts
Typical logs:
```
[1542546917.185|27153|p2p.cpp :526 ] [Account b9243250525b44cb] [CNX] rx DHT request from 8004386f1052cae68e543ebb87992612f218ded6
[1542546917.186|27153|ringaccount.cpp :2438 ] Found peer device: 8004386f1052cae68e543ebb87992612f218ded6 account:3c2a2fae84be1713e6d68d39360
faa7441220c00 CA:310d17e467cfb06ee20e2ddc0e75ebee0ba55640
[1542546917.187|27153|sip_utils.cpp :203 ] Registered thread 0x7f7cd12ac158 (0x69A0)
[1542546917.187| 7535|sip_utils.cpp :203 ] Registered thread 0x7f7cb77fd158 (0x69A0)
[1542546917.187|27153|turn_transport.cpp:357 ] Connecting to TURN 51.254.39.157:3478
[1542546917.187|27153|turn_transport.cpp:357 ] Connecting to TURN 51.254.39.157:3478
[1542546917.187| 7536|sip_utils.cpp :203 ] Registered thread 0x7f7cb6ffc158 (0x69A0)
[1542546917.210| 7536|turn_transport.cpp:214 ] TURN server disconnected (Deallocated)
[1542546917.212| 7535|turn_transport.cpp:211 ] TURN server ready, peer relay address: 51.254.39.157:28253
[1542546917.218|27153|p2p.cpp :558 ] [Account b9243250525b44cb] [CNX] authorized peer connection from 141.x.x.x
[1542546917.218|27153|p2p.cpp :582 ] [Account b9243250525b44cb] [CNX] connection accepted, DHT reply to 8004386f1052cae68e543ebb8799
2612f218ded6
[1542546920.329|27857|ringaccount.cpp :2051 ] [Account b9243250525b44cb] Dht status : IPv4 connected; IPv6 connecting
[1542546920.336|27857|ringaccount.cpp :2051 ] [Account b9243250525b44cb] Dht status : IPv4 connected; IPv6 connected
[1542546921.933|27149|siptransport.cpp :223 ] pjsip transport@0x7f7c8800bfb0 DTLS to 100.124.24.241 -> DESTROY
[1542546921.933|27149|siptransport.cpp :249 ] unmap pjsip transport@0x7f7c8800bfb0 {SipTransport@(nil)}
[1542546921.933|27149|sips_transport_ice.cpp:214 ] SipsIceTransport@0x7f7c8800bf40: destroying
[1542546921.933|27149|sips_transport_ice.cpp:256 ] ~SipIceTransport@0x7f7c8800bf40 {tr=0x7f7c8800bfb0}
[1542546921.934|27149|sips_transport_ice.cpp:277 ] ~SipIceTransport@0x7f7c8800bf40 {tr=0x7f7c8800bfb0} bye
```
Nothing comes after that. Peer seems to time out.
The SIP logs are not are not always present and might be unrelated, but I didn't remove them just in case.
The `IPv4 connected; IPv6 connecting` lines mean changes in IPv6 connectivity right ?
Sébastien Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/65
Account archive seems to not contains contacts anymore
2019-01-27T15:01:35Z
Sébastien Blin
Account 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 Blin
Sébastien Blin
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/56
Enhance failure messages
2022-11-26T22:44:58Z
Sébastien Blin
Enhance failure messages
When a user send a message to a contact, the status of this message can change to "failed". The major problem here, is, (as discussed in https://git.ring.cx/savoirfairelinux/ring-project/issues/517) it's totally unclear for the user why ...
When a user send a message to a contact, the status of this message can change to "failed". The major problem here, is, (as discussed in https://git.ring.cx/savoirfairelinux/ring-project/issues/517) it's totally unclear for the user why the message failed.
The failed status MUST be re-designed to explain what is wrong for the user.
Is it a network issue? A confirmation timeout? Because no devices is detected? etc.
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/52
restclient.cpp:59:16: error: 'pollEvents' is not a member of 'DRing'
2021-12-07T18:13:27Z
szotsaki
restclient.cpp:59:16: error: 'pollEvents' is not a member of 'DRing'
I get compilation error when trying to compile today's ring-daemon snapshot (only ring-daemon, in a separate container):
```
[ 197s] restclient.cpp: In member function 'int RestClient::event_loop()':
[ 197s] restclient.cpp:59:16: erro...
I get compilation error when trying to compile today's ring-daemon snapshot (only ring-daemon, in a separate container):
```
[ 197s] restclient.cpp: In member function 'int RestClient::event_loop()':
[ 197s] restclient.cpp:59:16: error: 'pollEvents' is not a member of 'DRing'
[ 197s] DRing::pollEvents();
[ 197s] ^~~~~~~~~~
[ 198s] make[3]: *** [Makefile:547: libclient_rest_la-restclient.lo] Error 1
[ 198s] make[3]: *** Waiting for unfinished jobs....
```
Command line switches:
```
%configure --with-alsa \
--with-pulse \
--with-jack \
--with-dbus \
--enable-video \
--with-sdes \
--with-speex \
--with-speexdsp \
--with-opus \
--with-upnp \
--with-natpmp \
--enable-ipv6 \
--enable-accel \
--enable-ringns \
--without-nodejs \
--with-restcpp \
--without-portaudio \
--disable-static
```
Adrien Béraud
Adrien Béraud
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/48
missing call to callFailure in timeout case
2022-11-14T21:52:32Z
Hugo Lefeuvre
missing call to callFailure in timeout case
Introduced in 9a12c78a.
In the case where call timeout is reached, the daemon calls hangup(486), terminating the call. However this hangup call is not followed by any kind of callFailure() call meaning that the tone and media states in ...
Introduced in 9a12c78a.
In the case where call timeout is reached, the daemon calls hangup(486), terminating the call. However this hangup call is not followed by any kind of callFailure() call meaning that the tone and media states in the manager will not be reinitialized. As a consequence the daemon will continue to ring even if the call has ended.
Should be fixed asap.
Hugo Lefeuvre
Hugo Lefeuvre
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/45
heap-use-after-free in PulseLayer::getCaptureDeviceList
2022-11-14T21:52:32Z
Hugo Lefeuvre
heap-use-after-free in PulseLayer::getCaptureDeviceList
**Affects:** latest ring daemon master
PulseLayer::getCaptureDeviceList seems to be affected by a race condition and resulting heap-use-after-free (media/audio/pulseaudio/pulselayer.cpp:242).
**Logs with ASan crash report:**
```
fe38c...
**Affects:** latest ring daemon master
PulseLayer::getCaptureDeviceList seems to be affected by a race condition and resulting heap-use-after-free (media/audio/pulseaudio/pulselayer.cpp:242).
**Logs with ASan crash report:**
```
fe38c3ef98edd87ace33efb3183230194f8fba88
[1536090351.878| 6964|ringaccount.cpp :2591 ] Can't set certificate status for existing contacts 3c2a2fae84be1713e6d68d39360faa7441220c00
[1536090351.882| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.903| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.912| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.922| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.931| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.942| 6964|namedirectory.cpp :66 ] Can't parse URI:
[1536090351.942| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.945| 6964|namedirectory.cpp :66 ] Can't parse URI:
[1536090351.950| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.961| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.968| 6964|manager.cpp :2414 ] Audio manager chosen already in use. No changes made.
[1536090351.968| 6964|configurationmanager.cpp:621 ] Get audio plugin default
[1536090351.970| 6964|pulselayer.cpp :153 ] Waiting....
[1536090351.970| 7013|pulselayer.cpp :153 ] Waiting....
[1536090351.970| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090351.970| 7013|pulselayer.cpp :153 ] Waiting....
[1536090351.971| 7013|pulselayer.cpp :157 ] Connection to PulseAudio server established
[1536090351.971| 7013|pulselayer.cpp :186 ] Updating PulseAudio sink list
[1536090351.971| 7013|pulselayer.cpp :202 ] Updating PulseAudio source list
[1536090351.971| 7013|pulselayer.cpp :218 ] Updating PulseAudio server infos
[1536090351.971| 6964|manager.cpp :2164 ] No audio layer created, possibly built without audio support
=================================================================
==6964==ERROR: AddressSanitizer: heap-use-after-free on address 0x61800001f188 at pc 0x0000008cd866 bp 0x7fff07e3e190 sp 0x7fff07e3e180
READ of size 8 at 0x61800001f188 thread T0
[1536090351.972| 7013|pulselayer.cpp :635 ] PulseAudio server info:
Server name: pulseaudio
Server version: 8.0
Default Sink alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source alsa_input.usb-046d_HD_Pro_Webcam_C920_8A8B667F-02.analog-stereo
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
[1536090352.012| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.020| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.029| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.039| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
#0 0x8cd865 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_length(unsigned long) /usr/include/c++/5/bits/basic_string.h:131
#1 0x8cd865 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_set_length(unsigned long) /usr/include/c++/5/bits/basic_string.h:164
#2 0x8cd865 in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) /usr/include/c++/5/bits/basic_string.tcc:236
#3 0x8cd865 in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char*>(char*, char*, std::__false_type) /usr/include/c++/5/bits/basic_string.h:195
#4 0x8cd865 in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*) /usr/include/c++/5/bits/basic_string.h:214
#5 0x8cd865 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/basic_string.h:400
#6 0x8cd865 in void __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::construct<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/ext/new_allocator.h:120
#7 0x8cd865 in void std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::construct<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::allocator<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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/alloc_traits.h:530
#8 0x8cd865 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::emplace_back<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/vector.tcc:96
#9 0x8cd865 in ring::PulseLayer::getCaptureDeviceList[abi:cxx11]() const /home/hlefeuvre/Development/ring-daemon/src/media/audio/pulseaudio/pulselayer.cpp:242
[1536090352.048| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.057| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.067| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.076| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.086| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.094| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
[1536090352.102| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
#10 0x6fd2ea in ring::Manager::getAudioInputDeviceList[abi:cxx11]() /home/hlefeuvre/Development/ring-daemon/src/manager.cpp:2223
[1536090352.114| 6985|certstore.cpp :75 ] CertificateStore: loaded 12 local certificates.
#11 0x50acb7 in DRing::getAudioInputDeviceList[abi:cxx11]() /home/hlefeuvre/Development/ring-daemon/src/client/configurationmanager.cpp:578
#12 0x4bf03f in DBusConfigurationManager::getAudioInputDeviceList[abi:cxx11]() /home/hlefeuvre/Development/ring-daemon/bin/dbus/dbusconfigurationmanager.cpp:265
#13 0x4bf03f in cx::ring::Ring::ConfigurationManager_adaptor::_getAudioInputDeviceList_stub(DBus::CallMessage const&) /home/hlefeuvre/Development/ring-daemon/bin/dbus/dbusconfigurationmanager.adaptor.h:1993
#14 0x4b0cb4 in DBus::Callback<cx::ring::Ring::ConfigurationManager_adaptor, DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const /home/hlefeuvre/Development/ring-daemon/contrib/x86_64-linux-gnu/include/dbus-c++-1/dbus-c++/util.h:283
#15 0x4e39ee in DBus::Slot<DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4e39ee)
#16 0x4e280f in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4e280f)
#17 0x4ecf1a in DBus::ObjectAdaptor::handle_message(DBus::Message const&) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4ecf1a)
#18 0x4ec491 in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4ec491)
#19 0x7fb37e9cc812 (/lib/x86_64-linux-gnu/libdbus-1.so.3+0x21812)
#20 0x7fb37e9bdd93 in dbus_connection_dispatch (/lib/x86_64-linux-gnu/libdbus-1.so.3+0x12d93)
#21 0x4d97b1 in DBus::Connection::Private::do_dispatch() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4d97b1)
#22 0x4dd080 in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4dd080)
#23 0x4dce7e in DBus::Dispatcher::dispatch_pending() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4dce7e)
#24 0x4e0c0d in DBus::BusDispatcher::do_iteration() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4e0c0d)
#25 0x4e08bb in DBus::BusDispatcher::enter() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x4e08bb)
#26 0x4590a2 in DBusClient::event_loop() /home/hlefeuvre/Development/ring-daemon/bin/dbus/dbusclient.cpp:250
#27 0x45131f in main /home/hlefeuvre/Development/ring-daemon/bin/main.cpp:236
#28 0x7fb37a84482f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#29 0x457f18 in _start (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x457f18)
0x61800001f188 is located 264 bytes inside of 896-byte region [0x61800001f080,0x61800001f400)
freed by thread T34 (threaded-ml) here:
#0 0x7fb37ec90b2a in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99b2a)
#1 0x8d5953 in __gnu_cxx::new_allocator<ring::PaDeviceInfos>::deallocate(ring::PaDeviceInfos*, unsigned long) /usr/include/c++/5/ext/new_allocator.h:110
#2 0x8d5953 in std::allocator_traits<std::allocator<ring::PaDeviceInfos> >::deallocate(std::allocator<ring::PaDeviceInfos>&, ring::PaDeviceInfos*, unsigned long) /usr/include/c++/5/bits/alloc_traits.h:517
#3 0x8d5953 in std::_Vector_base<ring::PaDeviceInfos, std::allocator<ring::PaDeviceInfos> >::_M_deallocate(ring::PaDeviceInfos*, unsigned long) /usr/include/c++/5/bits/stl_vector.h:178
#4 0x8d5953 in void std::vector<ring::PaDeviceInfos, std::allocator<ring::PaDeviceInfos> >::_M_emplace_back_aux<ring::PaDeviceInfos>(ring::PaDeviceInfos&&) /usr/include/c++/5/bits/vector.tcc:438
previously allocated by thread T34 (threaded-ml) here:
#0 0x7fb37ec90532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x8d4e1b in __gnu_cxx::new_allocator<ring::PaDeviceInfos>::allocate(unsigned long, void const*) /usr/include/c++/5/ext/new_allocator.h:104
#2 0x8d4e1b in std::allocator_traits<std::allocator<ring::PaDeviceInfos> >::allocate(std::allocator<ring::PaDeviceInfos>&, unsigned long) /usr/include/c++/5/bits/alloc_traits.h:491
#3 0x8d4e1b in std::_Vector_base<ring::PaDeviceInfos, std::allocator<ring::PaDeviceInfos> >::_M_allocate(unsigned long) /usr/include/c++/5/bits/stl_vector.h:170
#4 0x8d4e1b in void std::vector<ring::PaDeviceInfos, std::allocator<ring::PaDeviceInfos> >::_M_emplace_back_aux<ring::PaDeviceInfos>(ring::PaDeviceInfos&&) /usr/include/c++/5/bits/vector.tcc:412
#5 0x15aed8f (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x15aed8f)
Thread T34 (threaded-ml) created by T0 here:
#0 0x7fb37ec2d253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
#1 0x7fb37a1e984c in pa_thread_new (/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so+0x4f84c)
SUMMARY: AddressSanitizer: heap-use-after-free /usr/include/c++/5/bits/basic_string.h:131 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_length(unsigned long)
Shadow bytes around the buggy address:
0x0c307fffbde0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c307fffbdf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c307fffbe00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c307fffbe10: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c307fffbe20: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x0c307fffbe30: fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c307fffbe40: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c307fffbe50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c307fffbe60: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c307fffbe70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c307fffbe80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
==6964==ABORTING
```
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/36
device revokation: password check failure and crash
2022-11-14T21:52:32Z
Hugo Lefeuvre
device revokation: password check failure and crash
**Affects**: latest daemon master with opendht from the contribs
**How to reproduce**:
You will need an account A with non-empty password (let's say "123456789")
1. open GNOME client
2. go to account A's settings
3. try to revoke devi...
**Affects**: latest daemon master with opendht from the contribs
**How to reproduce**:
You will need an account A with non-empty password (let's say "123456789")
1. open GNOME client
2. go to account A's settings
3. try to revoke device, password is asked
4. enter empty password
Expected: daemon detects bad password and GNOME client displays bad password dialog.
What happens: daemon fails to catch bad password & dht crashes.
**gdb stacktrace**:
```
[1533936396.816|15896|ringaccount.cpp :2119 ] Query for local certificate store: 4e9fcf8b3abab01b5bf17a974090a0c91f7c3f87: 1 found.
[Thread 0x7fffeaddf700 (LWP 15901) exited]
[Thread 0x7fffe8ddb700 (LWP 15905) exited]
[1533936402.917|15896|ringaccount.cpp :3292 ] [Account 9fba7138a1fc3f51] found 1 devices for c2383a4923f3f3ead1b9f725456e8ff9d69581a3
[1533936413.395|15913|ringaccount.cpp :926 ] [Account 9fba7138a1fc3f51] reading account archive
[1533936413.395|15913|fileutils.cpp :424 ] Reading archive from /home/hlefeuvre/.local/share/ring/9fba7138a1fc3f51/export.gz
[1533936414.505|15913|fileutils.cpp :441 ] Error decrypting archive: Can't decrypt data
[1533936414.505|15913|thread_pool.cpp :79 ] Exception running task: Can't decrypt data
Dropping packet with high delay: 0.826318
[1533936418.547|15913|ringaccount.cpp :926 ] [Account 9fba7138a1fc3f51] reading account archive
[1533936418.547|15913|fileutils.cpp :424 ] Reading archive from /home/hlefeuvre/.local/share/ring/9fba7138a1fc3f51/export.gz
[1533936418.547|15913|accountarchive.cpp:31 ] Loading account archive (10664 bytes)
[New Thread 0x7fffe8ddb700 (LWP 15932)]
[Thread 0x7fffe8ddb700 (LWP 15932) exited]
Thread 1 "dring" received signal SIGSEGV, Segmentation fault.
0x0000000000b08f94 in dht::crypto::Certificate::getExpiration() const ()
(gdb) bt
#0 0x0000000000b08f94 in dht::crypto::Certificate::getExpiration() const ()
#1 0x0000000000b0c6a2 in dht::crypto::RevocationList::sign(dht::crypto::PrivateKey const&, dht::crypto::Certificate const&, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#2 0x00000000006569a7 in dht::crypto::RevocationList::sign (this=0x6030003516b0, id=...) at /home/hlefeuvre/Development/ring-daemon/contrib/x86_64-linux-gnu/include/opendht/crypto.h:212
#3 0x000000000060eeba in ring::RingAccount::<lambda(const std::shared_ptr<dht::crypto::Certificate>&)>::operator()(const std::shared_ptr<dht::crypto::Certificate> &) (__closure=0x6080000958a0,
crt=std::shared_ptr (count 4, weak 0) 0x60800000fe30) at ringaccount.cpp:1123
#4 0x000000000063eda3 in std::_Function_handler<void(const std::shared_ptr<dht::crypto::Certificate>&), ring::RingAccount::revokeDevice(const string&, const string&)::<lambda(const std::shared_ptr<dht::crypto::Certificate>&)> >::_M_invoke(const std::_Any_data &, const std::shared_ptr<dht::crypto::Certificate> &) (__functor=..., __args#0=std::shared_ptr (count 4, weak 0) 0x60800000fe30)
at /usr/include/c++/5/functional:1871
#5 0x0000000000678909 in std::function<void (std::shared_ptr<dht::crypto::Certificate> const&)>::operator()(std::shared_ptr<dht::crypto::Certificate> const&) const (this=0x7fffffffcb80,
__args#0=std::shared_ptr (count 4, weak 0) 0x60800000fe30) at /usr/include/c++/5/functional:2267
#6 0x000000000062720f in ring::RingAccount::findCertificate(dht::Hash<20ul> const&, std::function<void (std::shared_ptr<dht::crypto::Certificate> const&)>&&) (this=0x623000007110, h=...,
cb=<unknown type in /home/hlefeuvre/Development/ring-daemon/bin/dring, CU 0x4b98e6, DIE 0x5f4616>) at ringaccount.cpp:2580
#7 0x000000000060f774 in ring::RingAccount::revokeDevice (this=0x623000007110, password="", device="25a30306bd68013858d55f9edad096c65f523048") at ringaccount.cpp:1133
#8 0x0000000000527061 in DRing::revokeDevice (accountID="9fba7138a1fc3f51", password="", deviceID="25a30306bd68013858d55f9edad096c65f523048") at configurationmanager.cpp:308
#9 0x00000000004d163b in DBusConfigurationManager::revokeDevice (this=0x61500001f980, accountID="9fba7138a1fc3f51", password="", device="25a30306bd68013858d55f9edad096c65f523048")
at dbusconfigurationmanager.cpp:93
#10 0x00000000004dcf7b in cx::ring::Ring::ConfigurationManager_adaptor::_revokeDevice_stub (this=0x61500001f980, call=...) at dbusconfigurationmanager.adaptor.h:1495
#11 0x00000000004fa932 in DBus::Callback<cx::ring::Ring::ConfigurationManager_adaptor, DBus::Message, DBus::CallMessage const&>::call (this=0x6030000249a0, param=...)
at /home/hlefeuvre/Development/ring-daemon/contrib/x86_64-linux-gnu/include/dbus-c++-1/dbus-c++/util.h:283
#12 0x0000000000505cff in DBus::Slot<DBus::Message, DBus::CallMessage const&>::call(DBus::CallMessage const&) const () at /usr/include/c++/5/ext/new_allocator.h:120
#13 0x0000000000504df2 in DBus::InterfaceAdaptor::dispatch_method(DBus::CallMessage const&) () at /usr/include/c++/5/ext/new_allocator.h:120
#14 0x000000000050d777 in DBus::ObjectAdaptor::handle_message(DBus::Message const&) () at /usr/include/c++/5/ext/new_allocator.h:120
#15 0x000000000050ccee in DBus::ObjectAdaptor::Private::message_function_stub(DBusConnection*, DBusMessage*, void*) () at /usr/include/c++/5/ext/new_allocator.h:120
#16 0x00007ffff6c3f813 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#17 0x00007ffff6c30d94 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#18 0x00000000004fc812 in DBus::Connection::Private::do_dispatch() () at /usr/include/c++/5/ext/new_allocator.h:120
#19 0x00000000004ff779 in DBus::Dispatcher::dispatch_pending(std::__cxx11::list<DBus::Connection::Private*, std::allocator<DBus::Connection::Private*> >&) ()
at /usr/include/c++/5/ext/new_allocator.h:120
#20 0x00000000004ff577 in DBus::Dispatcher::dispatch_pending() () at /usr/include/c++/5/ext/new_allocator.h:120
#21 0x00000000005032ca in DBus::BusDispatcher::do_iteration() () at /usr/include/c++/5/ext/new_allocator.h:120
#22 0x0000000000502f78 in DBus::BusDispatcher::enter() () at /usr/include/c++/5/ext/new_allocator.h:120
#23 0x0000000000459fcf in DBusClient::event_loop (this=0x60600000a340) at dbusclient.cpp:250
#24 0x00000000004541d1 in main (argc=2, argv=0x7fffffffdc88) at main.cpp:236
```
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/35
heap-use-after-free during exit when video preview is running
2022-11-14T21:52:32Z
Hugo Lefeuvre
heap-use-after-free during exit when video preview is running
**Affects**: latest daemon master
**How to reproduce**:
1. open GNOME client
2. go to settings and then media settings
3. make sure preview runs
4. quit app using "quit" function
The daemon crashes.
I can't reproduce it with `-pcd` bu...
**Affects**: latest daemon master
**How to reproduce**:
1. open GNOME client
2. go to settings and then media settings
3. make sure preview runs
4. quit app using "quit" function
The daemon crashes.
I can't reproduce it with `-pcd` but `-cd` does crash.
**ASan and gdb stacktrace**:
```
=================================================================
==478==ERROR: AddressSanitizer: heap-use-after-free on address 0x608000105fd0 at pc 0x7ffff6ee1676 bp 0x7fffd46c4400 sp 0x7fffd46c3ba8
READ of size 11 at 0x608000105fd0 thread T49
#0 0x7ffff6ee1675 in memcmp (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x77675)
#1 0x7ffff34a1277 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x121277)
#2 0x475a8a in bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/basic_string.h:4989
#3 0x462a60 in std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /usr/include/c++/5/bits/stl_function.h:387
#4 0x4c413b in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/stl_tree.h:1628
#5 0x4c3694 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/stl_tree.h:1091
#6 0x4c2f62 in 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/include/c++/5/bits/stl_map.h:916
#7 0x521844 in 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/include/c++/5/bits/stl_map.h:499
#8 0x7da690 in ring::Smartools::setResolution(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) /home/hlefeuvre/Development/ring-daemon/src/smartools.cpp:100
#9 0x9853a9 in ring::video::SinkClient::update(ring::video::Observable<std::shared_ptr<ring::VideoFrame> >*, std::shared_ptr<ring::VideoFrame> const&) /home/hlefeuvre/Development/ring-daemon/src/media/video/sinkclient.cpp:337
#10 0x71570e in ring::video::Observable<std::shared_ptr<ring::VideoFrame> >::notify(std::shared_ptr<ring::VideoFrame>) /home/hlefeuvre/Development/ring-daemon/src/media/video/video_base.h:97
#11 0x71345c in ring::video::VideoGenerator::publishFrame() /home/hlefeuvre/Development/ring-daemon/src/media/video/video_base.cpp:50
#12 0x72c859 in ring::video::VideoInput::captureFrame() /home/hlefeuvre/Development/ring-daemon/src/media/video/video_input.cpp:249
#13 0x72bf6d in ring::video::VideoInput::process() /home/hlefeuvre/Development/ring-daemon/src/media/video/video_input.cpp:162
#14 0x734c5d in void std::_Mem_fn_base<void (ring::video::VideoInput::*)(), true>::operator()<, void>(ring::video::VideoInput*) const /usr/include/c++/5/functional:600
#15 0x733c34 in void std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) /usr/include/c++/5/functional:1074
#16 0x732d86 in void std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)>::operator()<, void>() /usr/include/c++/5/functional:1133
#17 0x731e1e in std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)> >::_M_invoke(std::_Any_data const&) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x731e1e)
#18 0x4638a3 in std::function<void ()>::operator()() const /usr/include/c++/5/functional:2267
#19 0x7b0ee3 in ring::ThreadLoop::mainloop(std::thread::id&, std::function<bool ()>, std::function<void ()>, std::function<void ()>) /home/hlefeuvre/Development/ring-daemon/src/threadloop.cpp:38
#20 0x7b4b3f in void std::_Mem_fn_base<void (ring::ThreadLoop::*)(std::thread::id&, std::function<bool ()>, std::function<void ()>, std::function<void ()>), true>::operator()<std::reference_wrapper<std::thread::id>, std::function<bool ()>, std::function<void ()>, std::function<void ()>, void>(ring::ThreadLoop*, std::reference_wrapper<std::thread::id>&&, std::function<bool ()>&&, std::function<void ()>&&, std::function<void ()>&&) const (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b4b3f)
#21 0x7b4874 in void std::_Bind_simple<std::_Mem_fn<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_invoke<0ul, 1ul, 2ul, 3ul, 4ul>(std::_Index_tuple<0ul, 1ul, 2ul, 3ul, 4ul>) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b4874)
#22 0x7b45d9 in std::_Bind_simple<std::_Mem_fn<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 ()>)>::operator()() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b45d9)
#23 0x7b4569 in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<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() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b4569)
#24 0x7ffff3438c7f (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xb8c7f)
#25 0x7ffff49196b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
#26 0x7ffff2b9e41c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
0x608000105fd0 is located 48 bytes inside of 96-byte region [0x608000105fa0,0x608000106000)
freed by thread T0 here:
#0 0x7ffff6f03b2a in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99b2a)
#1 0x4bc9f7 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::deallocate(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, unsigned long) /usr/include/c++/5/ext/new_allocator.h:110
#2 0x4bc938 in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::deallocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, unsigned long) /usr/include/c++/5/bits/alloc_traits.h:517
#3 0x4bc87e in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_put_node(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*) /usr/include/c++/5/bits/stl_tree.h:495
#4 0x4bc719 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_drop_node(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*) /usr/include/c++/5/bits/stl_tree.h:562
#5 0x4bc3fb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*) /usr/include/c++/5/bits/stl_tree.h:1614
#6 0x4bc203 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~_Rb_tree() /usr/include/c++/5/bits/stl_tree.h:858
#7 0x4bbd35 in 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~map() /usr/include/c++/5/bits/stl_map.h:96
#8 0x7d9ddf in ring::Smartools::~Smartools() /home/hlefeuvre/Development/ring-daemon/src/smartools.cpp:42
#9 0x7ffff2ad0ff7 (/lib/x86_64-linux-gnu/libc.so.6+0x39ff7)
previously allocated by thread T49 here:
#0 0x7ffff6f03532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x4c4cc9 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/include/c++/5/ext/new_allocator.h:104
#2 0x4c4a5b in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/include/c++/5/bits/alloc_traits.h:491
#3 0x4c41c0 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/include/c++/5/bits/stl_tree.h:491
#4 0x5226b8 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&>&&, std::tuple<>&&) /usr/include/c++/5/bits/stl_tree.h:545
#5 0x5221e7 in std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&>&&, std::tuple<>&&) /usr/include/c++/5/bits/stl_tree.h:2170
#6 0x521951 in 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/include/c++/5/bits/stl_map.h:502
#7 0x7da730 in ring::Smartools::setResolution(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) /home/hlefeuvre/Development/ring-daemon/src/smartools.cpp:101
#8 0x9853a9 in ring::video::SinkClient::update(ring::video::Observable<std::shared_ptr<ring::VideoFrame> >*, std::shared_ptr<ring::VideoFrame> const&) /home/hlefeuvre/Development/ring-daemon/src/media/video/sinkclient.cpp:337
#9 0x71570e in ring::video::Observable<std::shared_ptr<ring::VideoFrame> >::notify(std::shared_ptr<ring::VideoFrame>) /home/hlefeuvre/Development/ring-daemon/src/media/video/video_base.h:97
#10 0x71345c in ring::video::VideoGenerator::publishFrame() /home/hlefeuvre/Development/ring-daemon/src/media/video/video_base.cpp:50
#11 0x72c859 in ring::video::VideoInput::captureFrame() /home/hlefeuvre/Development/ring-daemon/src/media/video/video_input.cpp:249
#12 0x72bf6d in ring::video::VideoInput::process() /home/hlefeuvre/Development/ring-daemon/src/media/video/video_input.cpp:162
#13 0x734c5d in void std::_Mem_fn_base<void (ring::video::VideoInput::*)(), true>::operator()<, void>(ring::video::VideoInput*) const /usr/include/c++/5/functional:600
#14 0x733c34 in void std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) /usr/include/c++/5/functional:1074
#15 0x732d86 in void std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)>::operator()<, void>() /usr/include/c++/5/functional:1133
#16 0x731e1e in std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)> >::_M_invoke(std::_Any_data const&) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x731e1e)
#17 0x4638a3 in std::function<void ()>::operator()() const /usr/include/c++/5/functional:2267
#18 0x7b0ee3 in ring::ThreadLoop::mainloop(std::thread::id&, std::function<bool ()>, std::function<void ()>, std::function<void ()>) /home/hlefeuvre/Development/ring-daemon/src/threadloop.cpp:38
#19 0x7b4b3f in void std::_Mem_fn_base<void (ring::ThreadLoop::*)(std::thread::id&, std::function<bool ()>, std::function<void ()>, std::function<void ()>), true>::operator()<std::reference_wrapper<std::thread::id>, std::function<bool ()>, std::function<void ()>, std::function<void ()>, void>(ring::ThreadLoop*, std::reference_wrapper<std::thread::id>&&, std::function<bool ()>&&, std::function<void ()>&&, std::function<void ()>&&) const (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b4b3f)
#20 0x7b4874 in void std::_Bind_simple<std::_Mem_fn<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_invoke<0ul, 1ul, 2ul, 3ul, 4ul>(std::_Index_tuple<0ul, 1ul, 2ul, 3ul, 4ul>) (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b4874)
#21 0x7b45d9 in std::_Bind_simple<std::_Mem_fn<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 ()>)>::operator()() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b45d9)
#22 0x7b4569 in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<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() (/home/hlefeuvre/Development/ring-daemon/bin/dring+0x7b4569)
#23 0x7ffff3438c7f (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xb8c7f)
Thread T49 created by T0 here:
#0 0x7ffff6ea0253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
#1 0x7ffff3438dc2 in std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>, void (*)()) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xb8dc2)
SUMMARY: AddressSanitizer: heap-use-after-free ??:0 memcmp
Shadow bytes around the buggy address:
0x0c1080018ba0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1080018bb0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1080018bc0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1080018bd0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
0x0c1080018be0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c1080018bf0: fa fa fa fa fd fd fd fd fd fd[fd]fd fd fd fd fd
0x0c1080018c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c1080018c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c1080018c20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c1080018c30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c1080018c40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
==478==ABORTING
Thread 50 "dring" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd46c8700 (LWP 601)]
0x00007ffff2acc428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff2acc428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff2ace02a in __GI_abort () at abort.c:89
#2 0x00007ffff6f17d99 in ?? () from /usr/lib/x86_64-linux-gnu/libasan.so.2
#3 0x00007ffff6f0a769 in ?? () from /usr/lib/x86_64-linux-gnu/libasan.so.2
#4 0x00007ffff6f0f5a2 in ?? () from /usr/lib/x86_64-linux-gnu/libasan.so.2
#5 0x00007ffff6f096e6 in __asan_report_error () from /usr/lib/x86_64-linux-gnu/libasan.so.2
#6 0x00007ffff6ee1691 in memcmp () from /usr/lib/x86_64-linux-gnu/libasan.so.2
#7 0x00007ffff34a1278 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x0000000000475a8b in std::operator< <char, std::char_traits<char>, std::allocator<char> > (__lhs="local height", __rhs="local width") at /usr/include/c++/5/bits/basic_string.h:4989
#9 0x0000000000462a61 in std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator() (this=0x1f41100 <ring::Smartools::getInstance()::instance_>,
__x="local height", __y="local width") at /usr/include/c++/5/bits/stl_function.h:387
#10 0x00000000004c413c in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_lower_bound (this=0x1f41100 <ring::Smartools::getInstance()::instance_>, __x=0x608000105fa0, __y=0x1f41108 <ring::Smartools::getInstance()::instance_+8>, __k="local width")
at /usr/include/c++/5/bits/stl_tree.h:1628
#11 0x00000000004c3695 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::lower_bound
(this=0x1f41100 <ring::Smartools::getInstance()::instance_>, __k="local width") at /usr/include/c++/5/bits/stl_tree.h:1091
#12 0x00000000004c2f63 in 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::lower_bound (this=0x1f41100 <ring::Smartools::getInstance()::instance_>, __x="local width")
at /usr/include/c++/5/bits/stl_map.h:916
#13 0x0000000000521845 in 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<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) (
this=0x1f41100 <ring::Smartools::getInstance()::instance_>, __k=<unknown type in /home/hlefeuvre/Development/ring-daemon/bin/dring, CU 0x19c75c, DIE 0x1b821d>)
at /usr/include/c++/5/bits/stl_map.h:499
#14 0x00000000007da691 in ring::Smartools::setResolution (this=0x1f41100 <ring::Smartools::getInstance()::instance_>, id="local", width=1280, height=720) at smartools.cpp:100
#15 0x00000000009853aa in ring::video::SinkClient::update (this=0x60f000044c00, frame_p=std::shared_ptr (count 2, weak 0) 0x607000120050) at sinkclient.cpp:337
#16 0x000000000071570f in ring::video::Observable<std::shared_ptr<ring::VideoFrame> >::notify (this=0x617000056010, data=std::shared_ptr (count 2, weak 0) 0x607000120050) at video_base.h:97
#17 0x000000000071345d in ring::video::VideoGenerator::publishFrame (this=0x617000056010) at video_base.cpp:50
#18 0x000000000072c85a in ring::video::VideoInput::captureFrame (this=0x617000056010) at video_input.cpp:249
#19 0x000000000072bf6e in ring::video::VideoInput::process (this=0x617000056010) at video_input.cpp:162
#20 0x0000000000734c5e in std::_Mem_fn_base<void (ring::video::VideoInput::*)(), true>::operator()<, void>(ring::video::VideoInput*) const (this=0x6030008d4150, __object=0x617000056010)
at /usr/include/c++/5/functional:600
#21 0x0000000000733c35 in std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x6030008d4150,
__args=<unknown type in /home/hlefeuvre/Development/ring-daemon/bin/dring, CU 0x75e7bf, DIE 0x79c8c4>) at /usr/include/c++/5/functional:1074
#22 0x0000000000732d87 in std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)>::operator()<, void>() (this=0x6030008d4150) at /usr/include/c++/5/functional:1133
#23 0x0000000000731e1f in std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (ring::video::VideoInput::*)()> (ring::video::VideoInput*)> >::_M_invoke(std::_Any_data const&) (__functor=...)
at /usr/include/c++/5/functional:1871
```
This is CWE-416 but security implications are negligible IMO.
Hugo Lefeuvre
Hugo Lefeuvre
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/26
New Ring users from different timezone can't chat
2022-11-14T21:52:31Z
Jami Bot
New Ring users from different timezone can't chat
Issue generated from Tuleap's migration script.
**Originally submitted by: Emmanuel Lepage Vallee (elv13)**
A detailed description of the bug. Use following fields for description field:
\* Environment:
2 users from 2 timezones ...
Issue generated from Tuleap's migration script.
**Originally submitted by: Emmanuel Lepage Vallee (elv13)**
A detailed description of the bug. Use following fields for description field:
\* Environment:
2 users from 2 timezones
\* Reproduce steps:
1) create 1 ring account in Canada
2) create 1 ring account in France (or fake the timezone)
3) Try to send a chat message
\* Expected result:
1) Being able to chat
\* Actual result:
One of the peer will reject the other with a GNUTLS\_CERT\_NOT\_ACTIVATED error.
Hugo Lefeuvre
Hugo Lefeuvre