[0m[22;36m[1704830557.679|50239|conversationrepository.cpp:1837] [0mNew message added with id: 8969b1ccec564c9e0c88473a038b08625b28e172
[0m[22;36m[1704830557.679|50239|conversation_module.cpp :1036] [0m[Conversation ac9928fee1acc66a4b9062739d142cfda6a346a7] Not yet bootstraped, save notification
[0m[22;36m[1704830557.679|50179|message_engine.cpp :119 ] [0m[message 1256209504572392] Retry sending
[0m[22;36m[1704830557.679|50179|message_engine.cpp :173 ] [0m[message 1256209504572392] Message sent: failure
[0m[22;36m[1704830557.680|50197|message_engine.cpp :345 ] [0m[Account ea96722368bb14d0] saved 0 messages to /foo/.cache/jami/ea96722368bb14d0/messages
[0m[22;36m[1704830557.680|50179|message_engine.cpp :212 ] [0m[message 1256209504572392] Status changed to IDLE
[0m[22;36m[1704830557.680|50179|jamiaccount.cpp :3637] [0m[Account ea96722368bb14d0] Request SIP connection to peer b47dc0fb54631f8f51e452fa7c67f65358d946fa on device 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819
[0m[22;36m[1704830557.680|50179|jamiaccount.cpp :3663] [0m[Account ea96722368bb14d0] Ask 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819 for a new SIP channel
[0m[22;36m[1704830557.680|50205] [0m[device 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819] Peer already connected. Add a new channel
[0m[22;36m[1704830557.680|50444|jamiaccount.cpp :1971] [0m[01;33m[Account 2cd107f66e3b0299] New channel asked with name sip
[0m[22;36m[1704830557.681|50444|channeled_transport.cpp :48 ] [0mChanneledSIPTransport@0x625000726100 {tr=0x625000726170}
[0m[22;36m[1704830557.681|50444|siptransport.cpp :80 ] [0mSipTransport@0x6110008a4fd0 tr=0x625000726170 rc=1
[0m[22;36m[1704830557.681|50444|jamiaccount.cpp :3900] [0m[01;33m[Account 2cd107f66e3b0299] New SIP channel opened with d60fd665eff822b5bfd0171f9bbcdb0fc44b7d2d751a1a89a76cb33693722675
[0m[22;36m[1704830557.681|51088|channeled_transport.cpp :48 ] [0mChanneledSIPTransport@0x6250085ef900 {tr=0x6250085ef970}
[0m[22;36m[1704830557.681|51088|siptransport.cpp :80 ] [0mSipTransport@0x61100097a590 tr=0x6250085ef970 rc=1
[0m[22;36m[1704830557.681|51088|jamiaccount.cpp :3900] [0m[01;33m[Account ea96722368bb14d0] New SIP channel opened with 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819
[0m[22;36m[1704830557.681|51088|message_engine.cpp :119 ] [0m[message 1256209504572392] Retry sending
[0m[22;36m[1704830557.681|50239|conversation.cpp :2258] [0m[Conversation (1:1) b47dc0fb54631f8f51e452fa7c67f65358d946fa][SwarmManager 0x61e00040e090] Bootstrap with 3 devices
[0m[22;36m[1704830557.681|50198] [0m[device 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819] Peer already connected. Add a new channel
[0m[22;36m[1704830557.681|51088|sip_utils.cpp :221 ] [0mAdd header to SIP message: "User-Agent: Jami Daemon 15.1.0-3c3370a6f1-dirty (linux)"
[0m[22;36m[1704830557.681|50447|conversation_module.cpp :539 ] [0m[Account ea96722368bb14d0] fetch commits from b47dc0fb54631f8f51e452fa7c67f65358d946fa, for ac9928fee1acc66a4b9062739d142cfda6a346a7, commit
[0m[22;36m[1704830557.682|50448|jamiaccount.cpp :1971] [0m[01;33m[Account 2cd107f66e3b0299] New channel asked with name data-transfer://ac9928fee1acc66a4b9062739d142cfda6a346a7/profile/b47dc0fb54631f8f51e452fa7c67f65358d946fa.vcf
[0m[22;36m[1704830557.682|50177|common.cpp :105 ] [0mRemoving 3 accounts...
[0m[22;36m[1704830557.682|51087|sipaccountbase.cpp :283 ] [0mText message received from e8db50fffb757b1c5e6ff2593c0657185400fa4d, 1 part(s)
[0m[22;36m[1704830557.682|50179|message_engine.cpp :173 ] [0m[message 1256209504572392] Message sent: success
[0m[22;36m[1704830557.682|50177|jamiaccount.cpp :289 ] [0m[Account 2cd107f66e3b0299] Shutdown connections
[0m[22;36m[1704830557.682|50310|conversation_module.cpp :539 ] [0m[Account 2cd107f66e3b0299] fetch commits from e8db50fffb757b1c5e6ff2593c0657185400fa4d, for ac9928fee1acc66a4b9062739d142cfda6a346a7, commit 8969b1ccec564c9e0c88473a038b08625b28e172
[0m[22;36m[1704830557.682|50179|message_engine.cpp :190 ] [0m[message 1256209504572392] Status changed to SENT
[0m=================================================================
[22;36m[1704830557.682|51087] [0m[22;31m[TLS] fatal error in recv: The TLS connection was non-properly terminated.
[0m[22;36m[1704830557.682|50445|channeled_transport.cpp :186 ] [0m[01;33m[SIPS] process disconnect event
[0m[22;36m[1704830557.682|51085] [0m[TLS] shutdown
[0m==115713==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030002db080 at pc 0x7f8c1e6bf490 bp 0x7f8bf35cfef0 sp 0x7f8bf35cf698
[22;36m[1704830557.682|50445|siptransport.cpp :210 ] [0mpjsip transport@0x625000726170 TLS to 172.17.0.7 -> DISCONNECTED
[0m[22;36m[1704830557.682|50206|message_engine.cpp :345 ] [0m[Account ea96722368bb14d0] saved 0 messages to /foo/.cache/jami/ea96722368bb14d0/messages
[0m[22;36m[1704830557.683|50201] [0m[device 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819] Peer already connected. Add a new channel
[0mREAD of size 16 at 0x6030002db080 thread T271
[22;36m[1704830557.683|51088] [0m[TLS] eof
[0m[22;36m[1704830557.683|50179|siptransport.cpp :101 ] [0m[22;36m[22;36m~SipTransport@0x6110008a4fd0 tr=0x625000726170 rc=1
[0m[1704830557.683|51086] [0m[TLS] shutdown
[0m[1704830557.683|51084] [0m[22;31m[ice:0x629000956200] rx: channel is closed
[0m[22;36m[1704830557.683|50443|swarm_manager.cpp :353 ] [0m[01;33m[SwarmManager 0x61e00040e090] Bootstrap: all connections failed
[0m[22;36m[1704830557.683|51084] [0m[22;31m[ice:0x629000956200] rx: channel is closed
[0m[22;36m[1704830557.683|50444|conversation.cpp :2288] [0m[Conversation (1:1) b47dc0fb54631f8f51e452fa7c67f65358d946fa][SwarmManager 0x61e00040e090] Fallback in 18 seconds
[0m[22;36m[1704830557.683|50310|conversationrepository.cpp:2063] [0mCouldn't init revwalker for conversation ac9928fee1acc66a4b9062739d142cfda6a346a7
[0m[22;36m[1704830557.685|51088|channeled_transport.cpp :186 ] [0m[01;33m[SIPS] process disconnect event
[0m[22;36m[1704830557.685|51088|siptransport.cpp :210 ] [0mpjsip transport@0x6250085ef970 TLS to 172.17.0.7 -> DISCONNECTED
[0m[22;36m[1704830557.685|50179|siptransport.cpp :101 ] [0m~SipTransport@0x61100097a590 tr=0x6250085ef970 rc=4
[0m[22;36m[1704830557.685|51072] [0mStore DHT public IPv4 address: 208.88.110.46
[0m[22;36m[1704830557.686|51072] [0mStore DHT public IPv6 address: [2607:fad8:4:6:b62e:99ff:feff:2fe7]
[0m[22;36m[1704830557.686|50177|gitserver.cpp :491 ] [0mGitServer destroyed
[0m[22;36m[1704830557.686|51072] [0m[ice:0x629000069200] Creating IceTransport session for ""
[0m[22;36m[1704830557.686|50177|jamiaccount.cpp :2319] [0m[01;33m[Account 2cd107f66e3b0299] unregistering account 0x62200070f910
[0m[22;36m[1704830557.686|51072] [0m[ice:0x629000069200] Initializing the session - comp count 1 - as a slave
[0m[22;36m[1704830557.686|51072] [0m[ice:0x629000069200] Add srflx reflexive candidates [172.17.0.7:9 : 208.88.110.46:9] for comp 1
[0m[22;36m[1704830557.686|51072] [0madded turn server '51.222.138.120', port 3478
[0m[22;36m[1704830557.694|51080|archive_account_manager.cpp:523 ] [0mBuilding device sync from 293be3fbd98c4b6d4db2f6291a8639f0a6b75d1e95d6b1b8d543e95618945819
[0m[22;36m[1704830557.694|51080] [0m[device d60fd665eff822b5bfd0171f9bbcdb0fc44b7d2d751a1a89a76cb33693722675] Answer to connection request: put encrypted failed
[0m[22;36m[1704830557.694|51080|jamiaccount.cpp :2322] [0m[01;33m[Account 2cd107f66e3b0299] dht shutdown complete
[0m #0 0x7f8c1e6bf48f in __interceptor_memcpy ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:790
#1 0x7f8c1d93e965 (/lib/x86_64-linux-gnu/libstdc++.so.6+0x169965)
#2 0x7f8c1d942059 in std::filesystem::__cxx11::path::_List::_List(std::filesystem::__cxx11::path::_List const&) (/lib/x86_64-linux-gnu/libstdc++.so.6+0x16d059)
#3 0x558a91e41a08 in std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path const&) /usr/include/c++/9/bits/fs_path.h:175
#4 0x558a91e41ab4 in std::filesystem::__cxx11::operator/(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&) /usr/include/c++/9/bits/fs_path.h:449
#5 0x558a92a68f4e in jami::TransferChannelHandler::onReady(std::shared_ptr<dht::crypto::Certificate> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<dhtnet::ChannelSocket>) jamidht/transfer_channel_handler.cpp:162
#6 0x558a927ba5df in operator() jamidht/jamiaccount.cpp:2072
#7 0x558a9284db79 in _M_invoke /usr/include/c++/9/bits/std_function.h:300
#8 0x558a93525ddc in std::_Function_handler<void (dht::Hash<32ul> const&, std::shared_ptr<dhtnet::ChannelSocket> const&), dhtnet::ConnectionManager::Impl::addNewMultiplexedSocket(std::weak_ptr<dhtnet::DeviceInfo> const&, dht::Hash<32ul> const&, unsigned long const&, std::shared_ptr<dhtnet::ConnectionInfo> const&)::{lambda(dht::Hash<32ul> const&, std::shared_ptr<dhtnet::ChannelSocket> const&)#1}>::_M_invoke(std::_Any_data const&, dht::Hash<32ul> const&, std::shared_ptr<dhtnet::ChannelSocket> const&) (/foo/test/unitTest/ut_conversation+0x4641ddc)
#9 0x558a93561f68 in dhtnet::MultiplexedSocket::Impl::onRequest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short) (/foo/test/unitTest/ut_conversation+0x467df68)
#10 0x558a93562547 in std::_Function_handler<void (), dhtnet::MultiplexedSocket::Impl::handleControlPacket(std::vector<unsigned char, std::allocator<unsigned char> >&&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (/foo/test/unitTest/ut_conversation+0x467e547)
#11 0x558a93686c26 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<dht::ThreadPool::run(std::function<void ()>&&)::{lambda()#1}> > >::_M_run() (/foo/test/unitTest/ut_conversation+0x47a2c26)
#12 0x7f8c1d8abdf3 (/lib/x86_64-linux-gnu/libstdc++.so.6+0xd6df3)
#13 0x7f8c1dfc5608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8608)
#14 0x7f8c1d598352 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f352)
0x6030002db080 is located 0 bytes inside of 17-byte region [0x6030002db080,0x6030002db091)
freed by thread T0 here:
#0 0x7f8c1e734c65 in operator delete(void*, unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:177
#1 0x7f8c1d93eaa2 in std::filesystem::__cxx11::path::_List::_Impl_deleter::operator()(std::filesystem::__cxx11::path::_List::_Impl*) const (/lib/x86_64-linux-gnu/libstdc++.so.6+0x169aa2)
previously allocated by thread T2 here:
#0 0x7f8c1e733587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
#1 0x7f8c1d93e87c (/lib/x86_64-linux-gnu/libstdc++.so.6+0x16987c)
Thread T271 created by T265 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
Thread T265 created by T256 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
Thread T256 created by T130 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
Thread T130 created by T128 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
#2 0x7f8c0407d777 (<unknown module>)
Thread T128 created by T125 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
Thread T125 created by T33 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
Thread T33 created by T2 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
#2 0x558a942b5003 in _IO_stdin_used (/foo/test/unitTest/ut_conversation+0x53d1003)
Thread T2 created by T0 here:
#0 0x7f8c1e65e815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
#1 0x7f8c1d8ac0c9 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+0xd70c9)
#2 0x558a92281059 in jami::ScheduledExecutor::ScheduledExecutor(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /foo/src/scheduled_executor.cpp:36
#3 0x558a9209b362 in jami::Manager::ManagerPimpl::ManagerPimpl(jami::Manager&) /foo/src/manager.cpp:455
#4 0x558a921208cf in std::_MakeUniq<jami::Manager::ManagerPimpl>::__single_object std::make_unique<jami::Manager::ManagerPimpl, jami::Manager&>(jami::Manager&) (/foo/test/unitTest/ut_conversation+0x323c8cf)
#5 0x558a920a3275 in jami::Manager::Manager() /foo/src/manager.cpp:754
#6 0x558a920a2e59 in jami::Manager::instance() /foo/src/manager.cpp:727
#7 0x558a9227b3ec in libjami::init(libjami::InitFlag) /foo/src/ring_api.cpp:69
#8 0x558a91e4ffc1 in jami::test::ConversationTest::setUp() conversation/conversation.cpp:223
#9 0x558a920706e3 in CppUnit::TestCaller<jami::test::ConversationTest>::setUp() /usr/include/cppunit/TestCaller.h:180
#10 0x7f8c1e606614 in CppUnit::TestCaseMethodFunctor::operator()() const (/lib/x86_64-linux-gnu/libcppunit-1.15.so.1+0x24614)
#11 0x60b0000005bf (<unknown module>)
SUMMARY: AddressSanitizer: heap-use-after-free ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:790 in __interceptor_memcpy
Shadow bytes around the buggy address:
0x0c06800535c0: fa fa fd fd fd fd fa fa fd fd fd fd fa fa fd fd
0x0c06800535d0: fd fa fa fa fd fd fd fa fa fa fa fa fa fa fa fa
0x0c06800535e0: fd fd fd fa fa fa fd fd fd fd fa fa fd fd fd fa
0x0c06800535f0: fa fa fd fd fd fd fa fa fd fd fd fa fa fa fd fd
0x0c0680053600: fd fa fa fa fd fd fd fd fa fa fd fd fd fa fa fa
=>0x0c0680053610:[fd]fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa
0x0c0680053620: fa fa fd fd fd fd fa fa fd fd fd fa fa fa fd fd
0x0c0680053630: fd fd fa fa fd fd fd fd fa fa fa fa fa fa fa fa
0x0c0680053640: fd fd fd fd fa fa fd fd fd fd fa fa fd fd fd fd
0x0c0680053650: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd
0x0c0680053660: fd fd fa fa fd fd fd fa fa fa fd fd fd fd 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
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
Shadow gap: cc
==115713==ABORTING