flathub / net.jami.Jami

https://flathub.org/apps/details/net.jami.Jami
GNU General Public License v3.0
7 stars 7 forks source link

Enabling encrypted SIP causes Jami-daemon to crash #12

Closed ntninja closed 7 months ago

ntninja commented 4 years ago

Enabling “encrypted negotiation” in the settings of a SIP account will cause jami-daemon to crash with the error message:

[1577318177.807|    7|sipaccount.cpp    :787  ] TLS is enabled for account …
[1577318177.807|    7|sipaccount.cpp    :1207 ] Using 0 ciphers
/usr/include/c++/9.2.0/bits/stl_vector.h:1120: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::front() [with _Tp = pj_ssl_cipher; _Alloc = std::allocator<pj_ssl_cipher>; std::vector<_Tp, _Alloc>::reference = pj_ssl_cipher&]: Assertion '__builtin_expect(!this->empty(), true)' failed.

I suspect that there is a problem with how PJProject is linked with its TLS backend (should be OpenSSL). Until this is resolved only insecure SIP communication is possible with this build of Jami. (RingDHT connections are not affected!)