Segmentation fault during the first connection with JAMS (SSL)
During the first connection to Jami using a JAMS account, a segmentation fault occurs. However, after restarting Jami, the account is successfully registered and can be used.
Capture_vidéo_du_2025-02-05_16-18-18
Thread 14 "jami" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb4e006c0 (LWP 665642)]
Downloading source file /usr/src/openssl-3.0.13-0ubuntu3.4/build_shared/../ssl/s3_lib.c
0x00007fffe5facb20 in ssl_gensecret (s=0x7fff012ca810, pms=0x7fff003921d0 "x(״\203L,Ó\305|\0049\0062|H\262#\22722|\001\260\271{\276\030`\251;0", pmslen=32) at ../ssl/s3_lib.c:4771
warning: 4771 ../ssl/s3_lib.c: Aucun fichier ou dossier de ce nom
(gdb) bt
#0 0x00007fffe5facb20 in ssl_gensecret (s=0x7fff012ca810, pms=0x7fff003921d0 "x(״\203L,Ó\305|\0049\0062|H\262#\22722|\001\260\271{\276\030`\251;0", pmslen=32) at ../ssl/s3_lib.c:4771
#1 0x00007fffe5face4a in ssl_derive (s=s@entry=0x7fff012ca810, privkey=privkey@entry=0x7fff0178cfd0, pubkey=pubkey@entry=0x7fff014ff4f0, gensecret=gensecret@entry=1) at ../ssl/s3_lib.c:4829
#2 0x00007fffe5fe4fb8 in tls_parse_stoc_key_share (s=0x7fff012ca810, pkt=<optimized out>, context=<optimized out>, x=<optimized out>, chainidx=<optimized out>) at ../ssl/statem/extensions_clnt.c:1853
#3 0x00007fffe5fe028a in tls_parse_all_extensions (s=s@entry=0x7fff012ca810, context=context@entry=512, exts=0x7fff01a261d0, x=x@entry=0x0, chainidx=chainidx@entry=0, fin=fin@entry=1) at ../ssl/statem/extensions.c:753
#4 0x00007fffe5fee9ca in tls_process_server_hello (s=0x7fff012ca810, pkt=<optimized out>) at ../ssl/statem/statem_clnt.c:1657
#5 0x00007fffe5feb24e in read_state_machine (s=0x7fff012ca810) at ../ssl/statem/statem.c:647
#6 state_machine (s=0x7fff012ca810, server=0) at ../ssl/statem/statem.c:442
#7 0x00007ffff32b3334 in asio::ssl::detail::engine::perform(int (asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, std::error_code&, unsigned long*) () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#8 0x00007ffff32a366b in asio::ssl::detail::io_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::ssl::detail::handshake_op, dht::http::Connection::async_handshake(std::function<void (std::error_code const&)>)::{lambda(std::error_code const&)#1}>::operator()(std::error_code, unsigned long, int) () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#9 0x00007ffff32a621a in asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::ssl::detail::io_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::ssl::detail::handshake_op, dht::http::Connection::async_handshake(std::function<void (std::error_code const&)>)::{lambda(std::error_code const&)#1}>, asio::any_io_executor>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long) ()
at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#10 0x00007ffff2caee6e in asio::detail::scheduler::run(std::error_code&) [clone .isra.0] () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#11 0x00007ffff2caf1c7 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&)::{lambda()#1}> > >::_M_run() () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#12 0x00007ffff26ecdb4 in std::execute_native_thread_routine (__p=0x5555572d45b0) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:104
#13 0x00007ffff229ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#14 0x00007ffff2329c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 14 "jami" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb4e006c0 (LWP 679326)]
0x00007ffef8000140 in ?? ()
(gdb) bt
#0 0x00007ffef8000140 in ??? ()
#1 0x00007fffe5aee2a2 in BIO_ctrl (b=0x7ffef8f67fa0, cmd=cmd@entry=10, larg=larg@entry=0, parg=parg@entry=0x0) at ../crypto/bio/bio_lib.c:580
#2 0x00007fffe5aee816 in BIO_ctrl_pending (bio=<optimized out>) at ../crypto/bio/bio_lib.c:624
#3 0x00007ffff32b330f in asio::ssl::detail::engine::perform(int (asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, std::error_code&, unsigned long*) () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#4 0x00007ffff32a366b in asio::ssl::detail::io_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::ssl::detail::handshake_op, dht::http::Connection::async_handshake(std::function<void (std::error_code const&)>)::{lambda(std::error_code const&)#1}>::operator()(std::error_code, unsigned long, int) () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#5 0x00007ffff32a621a in asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::ssl::detail::io_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::ssl::detail::handshake_op, dht::http::Connection::async_handshake(std::function<void (std::error_code const&)>)::{lambda(std::error_code const&)#1}>, asio::any_io_executor>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long) ()
at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#6 0x00007ffff2caee6e in asio::detail::scheduler::run(std::error_code&) [clone .isra.0] () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#7 0x00007ffff2caf1c7 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&)::{lambda()#1}> > >::_M_run() () at /home/stagiaire/jami-client-qt-fix/daemon/src/.libs/libjami.so.0
#8 0x00007ffff26ecdb4 in std::execute_native_thread_routine (__p=0x5555572d4f30) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:104
#9 0x00007ffff229ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#10 0x00007ffff2329c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
[1738790310.213|43841|jamiaccount.cpp :1928] [Account 47611688a96bf75b] DHT status: IPv4 connecting; IPv6 connected
[1738790310.213|43841|jamiaccount.cpp :2414] [Account 47611688a96bf75b] Connected
[New Thread 0x7ffea60006c0 (LWP 699216)]
[1738790310.213|43841] [Account 47611688a96bf75b] Refresh cache for TURN server resolution
[New Thread 0x7ffe974006c0 (LWP 699217)]
[New Thread 0x7ffe956006c0 (LWP 699218)]
[1738790310.215|43841] [Account 47611688a96bf75b] Cache refreshed for TURN resolution
[1738790310.215|43841] Store DHT public IPv6 address: [2607:fad8:4:6:63c3:a1a6:d5ff:4f57]
[1738790310.215|43841|jamiaccount.cpp :1928] [Account 47611688a96bf75b] DHT status: IPv4 connected; IPv6 connected
[1738790310.236|23966] [connection:125] start https session with system CA
[1738790310.238|23837|manager.cpp :2736] Set account details for 47611688a96bf75b
[1738790310.238|23837|jamiaccount.cpp :2366] [Account 47611688a96bf75b] Unregistering account 0x7ffda804a0b0
[1738790310.238|23966] [connection:125] client certificate d20d5678b6d7320ea3d2394a1c72e5e78d2453ee
[1738790310.238|43841|jamiaccount.cpp :2369] [Account 47611688a96bf75b] DHT shutdown complete
[Thread 0x7fff27e006c0 (LWP 699201) exited]
[1738790310.239|23837|jamiaccount.cpp :2422] [Account 47611688a96bf75b] Disconnected
[Thread 0x7ffe5fe006c0 (LWP 699200) exited]
[Thread 0x7ffe974006c0 (LWP 699217) exited]
[Thread 0x7ffe956006c0 (LWP 699218) exited]
[1738790310.256|23966] Connection to 2607:5300:205:200::35a1 ready
[1738790310.256|23837|jamiaccount.cpp :1119] [Account 47611688a96bf75b] Loading account
[1738790310.257|23966] [Account 47611688a96bf75b] Cache refreshed for TURN resolution
[1738790310.257|23837|account_manager.cpp :118 ] Loading certificate from '/home/stagiaire/.local/share/jami/47611688a96bf75b/ring_device.crt' and key from '/home/stagiaire/.local/share/jami/47611688a96bf75b/ring_device.key' at "/home/stagiaire/.local/share/jami/47611688a96bf75b"
[1738790310.257|23966] [Account 47611688a96bf75b] Refresh cache for TURN server resolution
[1738790310.258|23837|account_manager.cpp :207 ] [Account 47611688a96bf75b] [Auth] checking device receipt for 0282699a1db25c214560339a026bb4fdb11ec4eb
[1738790310.258|23837|contact_list.cpp :240 ] [Contacts] Error loading contacts: Unable to read file: /home/stagiaire/.local/share/jami/47611688a96bf75b/contacts
[New Thread 0x7ffe956006c0 (LWP 699219)]
[1738790310.259|23837|contact_list.cpp :525 ] [Contacts] Found account device: stagiaire1-pc da3fdaf4c7a1298bf48669dd59d49475cf59c391b36a5dfa060c576221f1859e
[1738790310.259|23837|account_manager.cpp :255 ] [Account 47611688a96bf75b] [Auth] Device da3fdaf4c7a1298bf48669dd59d49475cf59c391b36a5dfa060c576221f1859e receipt checked successfully for user 0282699a1db25c214560339a026bb4fdb11ec4eb
[New Thread 0x7ffe974006c0 (LWP 699220)]
[1738790310.259|23837|jamiaccount.cpp :1256] [Account 47611688a96bf75b] Loaded account identity
[1738790310.260|23837] [http:request:174] end with error: Le logiciel a provoqué l'abandon de la connexion
[1738790310.260|23837|server_account_manager.cpp:566 ] [Auth] Got sync request callback with status code=0
[1738790310.260|23837] [http:request:175] end with error: Le logiciel a provoqué l'abandon de la connexion
[1738790310.260|23966] [Account 47611688a96bf75b] Cache refreshed for TURN resolution
[1738790310.262|23837|jamiaccount.cpp :898 ] Saved account config to "/home/stagiaire/.local/share/jami/47611688a96bf75b/config.yml"
[1738790310.263|23837|jamiaccount.cpp :1638] [Account 47611688a96bf75b] Starting account…
[1738790310.263|23837|jamiaccount.cpp :2419] [Account 47611688a96bf75b] Connecting…
[1738790310.263|23837|jamiaccount.cpp :1544] [Account 47611688a96bf75b] UPnP: attempting to map ports
[1738790310.263|23837] Attempt to find mapping for port 22861 [UDP]
[1738790310.263|23837] Mapping request for JAMI-UDP:22861 already added!
[1738790310.263|23964|jamiaccount.cpp :1834] [Account 47611688a96bf75b] Starting account…
[1738790310.264|23837|manager.cpp :2681] Set accounts order : 47611688a96bf75b/3a884dd216052293/6b5773e0636d1f12/4987699b99936765/f95da6d4c96eeb13/8e653a31c8491541/6fafdb2e7aa1bb59/9b4196c711929987/7666941a59c32108/5c4f2cd28a4eb48b/be0d51304640cf51/13640836ad0ddb0d/e0f552b785efe22c/0dec4f6c4bfc6702/a74a532bd2948859/213f3519b1f3b9af/1403eda0606591de/99620719acc5129f/addccf9f958f14ab/8b6c947027b75c42/19cd15a66d03def6/31e8f94de596b6e5/849bf1bffa3d55df/
[1738790310.264|23837|manager.cpp :1775] Saving configuration to XDG directory /home/stagiaire/.config/jami/dring.yml
[1738861184.412|34032] [http:request:377] end with error: Le logiciel a provoqué l'abandon de la connexion
[1738861184.412|34032|server_account_manager.cpp:566 ] [Auth] Got sync request callback with status code=0
[1738861184.412|34032] [http:request:378] end with error: Le logiciel a provoqué l'abandon de la connexion
=================================================================
==1148144==ERROR: AddressSanitizer: heap-use-after-free on address 0x52a0008fa208 at pc 0x77c1ff0fb303 bp 0x77c1afbfb9c0 sp 0x77c1afbfb168
WRITE of size 512 at 0x52a0008fa208 thread T13
[1738861184.421|34032|jamiaccount.cpp :898 ] Saved account config to "/home/stagiaire/.local/share/jami/a1c15c5c08d76912/config.yml"
[1738861184.422|34032|jamiaccount.cpp :1637] [Account a1c15c5c08d76912] Starting account…
[1738861184.422|34032|jamiaccount.cpp :2418] [Account a1c15c5c08d76912] Connecting…
[1738861184.422|34032|jamiaccount.cpp :1543] [Account a1c15c5c08d76912] UPnP: attempting to map ports
[1738861184.422|34032] Attempt to find mapping for port 22355 [UDP]
[1738861184.422|34032] Mapping request for JAMI-UDP:22355 already added!
[1738861184.422|34508|jamiaccount.cpp :1833] [Account a1c15c5c08d76912] Starting account…
[1738861184.425|34032|manager.cpp :2681] Set accounts order : a1c15c5c08d76912/13408b043427822d/ed10c7882c0a2e38/fe5d2e3f65531e56/6b57e5dec5267dd2/13640836ad0ddb0d/4987699b99936765/f95da6d4c96eeb13/8e653a31c8491541/6fafdb2e7aa1bb59/9b4196c711929987/7666941a59c32108/5c4f2cd28a4eb48b/be0d51304640cf51/e0f552b785efe22c/0dec4f6c4bfc6702/a74a532bd2948859/213f3519b1f3b9af/1403eda0606591de/99620719acc5129f/addccf9f958f14ab/8b6c947027b75c42/19cd15a66d03def6/31e8f94de596b6e5/849bf1bffa3d55df/
[1738861184.425|34032|manager.cpp :1775] Saving configuration to XDG directory /home/stagiaire/.config/jami/dring.yml
#0 0x77c1ff0fb302 in memcpy ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:115
#1 0x77c1f1f85cb9 (/lib/x86_64-linux-gnu/libssl.so.3+0x22cb9) (BuildId: 5308a023a33e723a67a8a09747c70b8b56278446)
#2 0x77c1f1f85d1d (/lib/x86_64-linux-gnu/libssl.so.3+0x22d1d) (BuildId: 5308a023a33e723a67a8a09747c70b8b56278446)
#3 0x77c1f1fd6f01 (/lib/x86_64-linux-gnu/libssl.so.3+0x73f01) (BuildId: 5308a023a33e723a67a8a09747c70b8b56278446)
#4 0x77c1f1fcc5e2 (/lib/x86_64-linux-gnu/libssl.so.3+0x695e2) (BuildId: 5308a023a33e723a67a8a09747c70b8b56278446)
#5 0x646905362423 in asio::ssl::detail::engine::perform(int (asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, std::error_code&, unsigned long*) (/home/stagiaire/Bureau/jami-client-qt/build/jami+0x2083423) (BuildId: e9ed15cd1ec246f7398423be72542312407e01c0)
#6 0x6469053527ca in asio::ssl::detail::io_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::ssl::detail::handshake_op, dht::http::Connection::async_handshake(std::function<void (std::error_code const&)>)::{lambda(std::error_code const&)#1}>::operator()(std::error_code, unsigned long, int) (/home/stagiaire/Bureau/jami-client-qt/build/jami+0x20737ca) (BuildId: e9ed15cd1ec246f7398423be72542312407e01c0)
#7 0x646905355379 in asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::ssl::detail::io_op<asio::basic_stream_socket<asio::ip::tcp, asio::any_io_executor>, asio::ssl::detail::handshake_op, dht::http::Connection::async_handshake(std::function<void (std::error_code const&)>)::{lambda(std::error_code const&)#1}>, asio::any_io_executor>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long) (/home/stagiaire/Bureau/jami-client-qt/build/jami+0x2076379) (BuildId: e9ed15cd1ec246f7398423be72542312407e01c0)
#8 0x6469046b6fae in asio::detail::scheduler_operation::complete(void*, std::error_code const&, unsigned long) /home/stagiaire/Bureau/jami-client-qt/daemon/contrib/x86_64-linux-gnu/include/asio/detail/scheduler_operation.hpp:39
#9 0x6469046bdba9 in asio::detail::scheduler::do_run_one(asio::detail::conditionally_enabled_mutex::scoped_lock&, asio::detail::scheduler_thread_info&, std::error_code const&) /home/stagiaire/Bureau/jami-client-qt/daemon/contrib/x86_64-linux-gnu/include/asio/detail/impl/scheduler.ipp:492
#10 0x6469046bd010 in asio::detail::scheduler::run(std::error_code&) /home/stagiaire/Bureau/jami-client-qt/daemon/contrib/x86_64-linux-gnu/include/asio/detail/impl/scheduler.ipp:209
#11 0x646904d6b729 in asio::io_context::run() /home/stagiaire/Bureau/jami-client-qt/daemon/contrib/x86_64-linux-gnu/include/asio/impl/io_context.ipp:63
#12 0x646904d2b104 in operator() /home/stagiaire/Bureau/jami-client-qt/daemon/src/manager.cpp:451
#13 0x646904d69b75 in __invoke_impl<void, jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&)::<lambda()> > /usr/include/c++/13/bits/invoke.h:61
#14 0x646904d69b38 in __invoke<jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&)::<lambda()> > /usr/include/c++/13/bits/invoke.h:96
#15 0x646904d69ae5 in _M_invoke<0> /usr/include/c++/13/bits/std_thread.h:292
#16 0x646904d69ab9 in operator() /usr/include/c++/13/bits/std_thread.h:299
#17 0x646904d69a9d in _M_run /usr/include/c++/13/bits/std_thread.h:244
#18 0x77c1f0eecdb3 (/lib/x86_64-linux-gnu/libstdc++.so.6+0xecdb3) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
#19 0x77c1ff05ea41 in asan_thread_start ../../../../src/libsanitizer/asan/asan_interceptors.cpp:234
#20 0x77c1efa9ca93 in start_thread nptl/pthread_create.c:447
#21 0x77c1efb29c3b in clone3 ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
0x52a0008fa208 is located 8 bytes inside of 21848-byte region [0x52a0008fa200,0x52a0008ff758)
freed by thread T0 here:
#0 0x77c1ff0fc4d8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52
#1 0x77c1f131b07c in BUF_MEM_free (/lib/x86_64-linux-gnu/libcrypto.so.3+0x11b07c) (BuildId: c503df82cf13681b2f81e1097e857e3fc50679b1)
#2 0x77c1f1f9fa27 in SSL_free (/lib/x86_64-linux-gnu/libssl.so.3+0x3ca27) (BuildId: 5308a023a33e723a67a8a09747c70b8b56278446)
#3 0x64690534d8d2 in dht::http::Connection::~Connection() (/home/stagiaire/Bureau/jami-client-qt/build/jami+0x206e8d2) (BuildId: e9ed15cd1ec246f7398423be72542312407e01c0)
previously allocated by thread T13 here:
#0 0x77c1ff0fd9c7 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x77c1f131b103 in BUF_MEM_grow (/lib/x86_64-linux-gnu/libcrypto.so.3+0x11b103) (BuildId: c503df82cf13681b2f81e1097e857e3fc50679b1)
#2 0x77c1f1fcc8e1 (/lib/x86_64-linux-gnu/libssl.so.3+0x698e1) (BuildId: 5308a023a33e723a67a8a09747c70b8b56278446)
#3 0x646905362423 in asio::ssl::detail::engine::perform(int (asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, std::error_code&, unsigned long*) (/home/stagiaire/Bureau/jami-client-qt/build/jami+0x2083423) (BuildId: e9ed15cd1ec246f7398423be72542312407e01c0)
Thread T13 created by T0 here:
#0 0x77c1ff0f51f9 in pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:245
#1 0x77c1f0eeceb0 in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) (/lib/x86_64-linux-gnu/libstdc++.so.6+0xeceb0) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
#2 0x646904d57ac4 in thread<jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&)::<lambda()> > /usr/include/c++/13/bits/std_thread.h:164
#3 0x646904d2ba29 in jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&) /home/stagiaire/Bureau/jami-client-qt/daemon/src/manager.cpp:448
#4 0x646904d6fffe in std::__detail::_MakeUniq<jami::Manager::ManagerPimpl>::__single_object std::make_unique<jami::Manager::ManagerPimpl, jami::Manager&>(jami::Manager&) /usr/include/c++/13/bits/unique_ptr.h:1070
#5 0x646904d302d7 in jami::Manager::Manager() /home/stagiaire/Bureau/jami-client-qt/daemon/src/manager.cpp:741
#6 0x646904d30027 in jami::Manager::instance() /home/stagiaire/Bureau/jami-client-qt/daemon/src/manager.cpp:714
#7 0x646904335af1 in libjami::init(libjami::InitFlag) /home/stagiaire/Bureau/jami-client-qt/daemon/src/ring_api.cpp:65
#8 0x646904325c8b in InstanceManagerInterface::InstanceManagerInterface(bool) /home/stagiaire/Bureau/jami-client-qt/src/libclient/qtwrapper/instancemanager.cpp:70
#9 0x6469041e17ff in InstanceManager::instance(bool) /home/stagiaire/Bureau/jami-client-qt/src/libclient/dbus/instancemanager.cpp:33
#10 0x6469040c48f2 in lrc::api::Lrc::Lrc(bool) /home/stagiaire/Bureau/jami-client-qt/src/libclient/lrc.cpp:77
#11 0x646903c68b6f in std::__detail::_MakeUniq<lrc::api::Lrc>::__single_object std::make_unique<lrc::api::Lrc, bool>(bool&&) /usr/include/c++/13/bits/unique_ptr.h:1070
#12 0x646903c67f4a in LRCInstance::LRCInstance(QString const&, ConnectivityMonitor*, bool, bool) /home/stagiaire/Bureau/jami-client-qt/src/app/lrcinstance.cpp:37
#13 0x646903aeb054 in MainApplication::initLrc(QString const&, ConnectivityMonitor*, bool, bool) /home/stagiaire/Bureau/jami-client-qt/src/app/mainapplication.cpp:311
#14 0x646903af618b in MainApplication::init() /home/stagiaire/Bureau/jami-client-qt/src/app/mainapplication.cpp:230
#15 0x646903a82142 in main /home/stagiaire/Bureau/jami-client-qt/src/app/main.cpp:141
#16 0x77c1efa2a1c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
#17 0x77c1efa2a28a in __libc_start_main_impl ../csu/libc-start.c:360
#18 0x6469039e6c14 in _start (/home/stagiaire/Bureau/jami-client-qt/build/jami+0x707c14) (BuildId: e9ed15cd1ec246f7398423be72542312407e01c0)
SUMMARY: AddressSanitizer: heap-use-after-free ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:115 in memcpy
Shadow bytes around the buggy address:
0x52a0008f9f80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x52a0008fa000: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x52a0008fa080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x52a0008fa100: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x52a0008fa180: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x52a0008fa200: fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x52a0008fa280: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x52a0008fa300: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x52a0008fa380: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x52a0008fa400: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x52a0008fa480: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
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
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
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
Left alloca redzone: ca
Right alloca redzone: cb
==1148144==ABORTING