Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download fallito: -5 #89

Open
DavidParkin opened this issue Nov 5, 2017 · 1 comment
Open

download fallito: -5 #89

DavidParkin opened this issue Nov 5, 2017 · 1 comment

Comments

@DavidParkin
Copy link

DavidParkin commented Nov 5, 2017

[------------------------------------------########] 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.

  1. Can I supply more info?
  2. Any workarounds?
    The data is a Borg backup and the file is recently created, the last one written and appears to be incomplete.
@tomakkermans
Copy link

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, std::allocator > const, file_cache_row>, false, true>, std::__debug::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, file_cache_row, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, file_cache_row> > > > (mutable iterator);
state = past-the-end;
references sequence with type 'std::__debug::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, file_cache_row, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, file_cache_row> > >' @ 0x0x55974e994fd0
}
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants