] [FTP] file closed, rx 101 on 101
[1618325820.589|13013|p2p.cpp :352 ] Channel down for incoming transfer with id(10909450105909471284)
[1618325820.589|10975|ftp_server.cpp :66 ] [FTP] server closed
malloc(): unaligned tcache chunk detected
--Type <RET> for more, q to quit, c to continue without paging--
Thread 252 "dring" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc0ff9640 (LWP 13013)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1 0x00007ffff717b864 in __GI_abort () at abort.c:79
#2 0x00007ffff71de736 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ffff7303b9c "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3 0x00007ffff71e708c in malloc_printerr (
str=str@entry=0x7ffff73066d0 "malloc(): unaligned tcache chunk detected")
at malloc.c:5628
#4 0x00007ffff71ec42c in tcache_get (tc_idx=<optimized out>) at malloc.c:3103
#5 GI_libc_malloc (bytes=513) at malloc.c:3221
#6 0x00007ffff7559cac in operator new(unsigned long) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff75f37d5 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff75e9a23 in std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007ffff75f1aaa in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007ffff75e3ee4 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x00007ffff75e41cc in std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00005555559f5a5e in contextHeader (file=0x555556a0e3bf "ftp_server.cpp",
line=213) at logger.cpp:131
#13 0x00005555559f5ee8 in jami::Logger::vlog (level=7,
file=0x555556a0e3bf "ftp_server.cpp", line=213, linefeed=true,
format=0x5555569c725b "%s", ap=0x7fffc0ff59c0) at logger.cpp:277
#14 0x00005555559f5de5 in jami::Logger::log (level=7,
file=0x555556a0e3bf "ftp_server.cpp", line=213, linefeed=true,
format=0x5555569c725b "%s") at logger.cpp:226
#15 0x00005555557492a3 in jami::Logger::~Logger (this=0x7fffc0ff5b30,
__in_chrg=<optimized out>) at ./logger.h:109
#16 0x0000555555a346f5 in jami::FtpServer::handleHeader (this=0x7fff60009780,
key="Content-Length", value="101") at ftp_server.cpp:213
#17 0x0000555555a345cc in jami::FtpServer::parseLine (this=0x7fff60009780,
line="Content-Length: 101") at ftp_server.cpp:206
#18 0x0000555555a343d0 in jami::FtpServer::parseStream (this=0x7fff60009780,
buffer="Content-Length: 101\nDisplay-Name: profile.vcf\nOffset: 0\n\n")
at ftp_server.cpp:184
#19 0x0000555555a34141 in jami::FtpServer::write (this=0x7fff60009780,
buffer="Content-Length: 101\nDisplay-Name: profile.vcf\nOffset: 0\n\n")
at ftp_server.cpp:148
--Type <RET> for more, q to quit, c to continue without paging--
#20 0x0000555555bc11e5 in operator() (__closure=0x7fffc0ff6020,
buf=0x7fff10005560 "Content-Length: 101\nDisplay-Name: profile.vcf\nOffset: 0\n\nvcf", len=57) at channeled_transfers.cpp:81
#21 0x0000555555bc2097 in std::invoke_impl<long unsigned int, jami::ChanneledIncomingTransfer::ChanneledIncomingTransfer(const std::shared_ptr<jami::ChannelSocket>&, const std::shared_ptr<jami::FtpServer>&, jami::OnStateChangedCb&&)::<lambda(const uint8_t*, size_t)>&, unsigned char const*, long unsigned int>(std::invoke_other, struct {...} &) (__f=...) at /usr/include/c++/10/bits/invoke.h:60
#22 0x0000555555bc20fd in std::invoke_r<long int, jami::ChanneledIncomingTransfer::ChanneledIncomingTransfer(const std::shared_ptr<jami::ChannelSocket>&, const std::shared_ptr<jami::FtpServer>&, jami::OnStateChangedCb&&)::<lambda(const uint8_t*, size_t)>&, unsigned char const*, long unsigned int>(struct {...} &) (
fn=...) at /usr/include/c++/10/bits/invoke.h:113
#23 0x0000555555bc1acd in std::_Function_handler<long int(unsigned char const*, long unsigned int), jami::ChanneledIncomingTransfer::ChanneledIncomingTransfer(const std::shared_ptr<jami::ChannelSocket>&, const std::shared_ptr<jami::FtpServer>&, jami::OnStateChangedCb&&)::<lambda(const uint8_t*, size_t)> >::Minvoke(const std::_Any_data &, const unsigned char *&&, unsigned long &&) (
functor=...,
args#0=@0x7fffc0ff5f50: 0x7fff10005560 "Content-Length: 101\nDisplay-Name: profile.vcf\nOffset: 0\n\nvcf", __args#1=@0x7fffc0ff5f48: 57)
at /usr/include/c++/10/bits/std_function.h:291
#24 0x00005555558c2775 in std::function<long (unsigned char const*, unsigned lon--Type <RET> for more, q to quit, c to continue without paging--
g)>::operator()(unsigned char const*, unsigned long) const (
this=0x7fffc0ff6020,
args#0=0x7fff10005560 "Content-Length: 101\nDisplay-Name: profile.vcf\nOffset: 0\n\nvcf", args#1=57) at /usr/include/c++/10/bits/std_function.h:622
#25 0x00005555558bb4cf in jami::MultiplexedSocket::Impl::handleChannelPacket (
this=0x7ffefc06a960, channel=9901, pkt=...) at multiplexed_socket.cpp:320
#26 0x00005555558ba37f in jami::MultiplexedSocket::Impl::eventLoop (
this=0x7ffefc06a960) at multiplexed_socket.cpp:192
#27 0x00005555558bfbd4 in jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}::operator()() const (
__closure=0x7ffefc066fd8) at multiplexed_socket.cpp:50
#28 0x00005555558d7c30 in std::invoke_impl<void, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}>(std::invoke_other, jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}&&) (__f=...)
at /usr/include/c++/10/bits/invoke.h:60
#29 0x00005555558d7bd9 in std::invoke<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}>(jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std:--Type <RET> for more, q to quit, c to continue without paging--
:unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}&&) (fn=...) at /usr/include/c++/10/bits/invoke.h:95
#30 0x00005555558d7b7a in std::thread::_Invoker<std::tuple<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}> >::Minvoke<0ul>(std::_Index_tuple<0ul>) (this=0x7ffefc066fd8)
at /usr/include/c++/10/thread:264
#31 0x00005555558d7b0e in std::thread::_Invoker<std::tuple<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}> >::operator()() (this=0x7ffefc066fd8)
at /usr/include/c++/10/thread:271
#32 0x00005555558d7a5a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<jami::MultiplexedSocket::Impl::Impl(jami::MultiplexedSocket&, dht::Hash<20ul> const&, std::unique_ptr<jami::TlsSocketEndpoint, std::default_delete<jami::TlsSocketEndpoint> >)::{lambda()#1}> > >::Mrun() (this=0x7ffefc066fd0)
at /usr/include/c++/10/thread:215
#33 0x00007ffff7586694 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#34 0x00007ffff7be8450 in start_thread (arg=0x7fffc0ff9640)
at pthread_create.c:473
#35 0x00007ffff726cd53 in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)
(gdb)
(gdb)
`̀ `