Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Windows version crashes opening a file #9

Closed
wheineman opened this issue May 28, 2021 · 6 comments
Closed

Windows version crashes opening a file #9

wheineman opened this issue May 28, 2021 · 6 comments

Comments

@wheineman
Copy link

Cargo built version v0.10.6 crashes when opening a file, either from the command line or with the open command:
thread '' panicked at 'index out of bounds: the len is 0 but the index is 0', C:\Users\whein.cargo\registry\src\github.com-1ecc6299db9ec823\pepper-0.10.6\src\buffer.rs:364:10

@vamolessa
Copy link
Owner

What were the file contents?
You can reproduce it just by invoking pepper filename.ext with default configs?
Does this happen with any file or just one specifically?
Did you built from source? If so, could you try building from master's current HEAD b1657c5?

@wheineman
Copy link
Author

wheineman commented May 28, 2021 via email

@vamolessa
Copy link
Owner

Did it work using a newer commit? I really could not reproduce your issue.
I develop it on windows and use pepper as my main editor but this crash never happened to me.
If you have any further clue, please let me know

@wheineman
Copy link
Author

wheineman commented May 29, 2021 via email

@wheineman
Copy link
Author

wheineman commented May 29, 2021 via email

@vamolessa
Copy link
Owner

Ah, that's good to hear! Thanks for following up!
Gonna close this then

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

No branches or pull requests

2 participants