-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
panic: runtime error: slice bounds out of range #47
Comments
Shouldn't happen, seems to only happen in the Solaris build. I suspect a runtime bug. |
I get also this error on linux:
Some info:
|
Fascinating! Doing what/when does it happen? |
(Not the same issue/backtrace as the original, but we might as well reuse the issue) |
Looks like at startup, when reading the index cache. So is it 100% reproducible? If so, it would be great if I could get that index cache file. It will contain the file names, metadata and hashes for all files in the repository so if that's data you'd rather not have me see I fully respect that. If you have multiple repositories, you can find the guilty one using this utility: https://nym.se/t/stpidx Run it as |
Oh, sorry... to late... I have done this: It was 100% reproducible. After deleting the index it works... But maybe it will fail over the same files, because the repro files/config i haven't touch. So it should index the same... |
Argh. :) If it does happen again, please save the files for posterity. |
I believe I have come across this, or a similar bug:
|
Your's is most likely two incompatible versions connecting. Check that all devices are either on 0.10 or 0.11. |
Indeed, that was the case. Thank you! :) Shouldn't Syncthing detect incompatible versions and ignore them, perhaps after spawning a warning, but keep working with other peers that have compatible ones, rather than crashing? |
It warns you when you upgrade. |
Holy issue necromancy, batman! :) |
The actual crash is fixed though, in v0.11. |
The text was updated successfully, but these errors were encountered: