Open DavidParkin opened 7 years ago
Similar error here, with this terminal output: (.....) topen riuscito download fallito: -20 /usr/include/c++/7/debug/safe_iterator.h:283: Error: attempt to dereference a past-the-end iterator.
Objects involved in the operation:
iterator "this" @ 0x0x7fe9150248b0 {
type = gnu_debug::_Safe_iterator<std::detail::_Node_iterator<std::pair<std::cxx11::basic_string<char, std::char_traits
[------------------------------------------########] 2 MB, 0 KB/s, available_b/size 0/2284826 0/2284826 download fallito: -5
Thread 2 "MegaFuse" hit Breakpoint 5, MegaFuseApp::transfer_failed (this=0x818a220, td=0x0, filename=..., e=API_EFAILED) at src/MegaFuseApp.cpp:266 266 it->second.status = file_cache_row::INVALID; gdb$ p filename $7 = (std::cxx11::string &) @0x81aa2a8: {static npos = 0xffffffff, _M_dataplus = {<std::allocator> = {< gnu_cxx::new_allocator> = {}, }, _M_p = 0x81aa2b0 "4821"}, _M_string_length = 0x4, {_M_local_buf = "4821\000g\000\000\000\000\000\000\000\000\000", _M_allocated_capacity = 0x31323834}}
gdb$ p filename.c_str()
$8 = 0x81aa2b0 "4821"
I guess from the printfs that you are aware of problems in this area but I couldn't find an issue.
Finally ends
Error: attempt to dereference a past-the-end iterator.