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

hx crash #8418

Closed
waalge opened this issue Sep 29, 2023 · 5 comments
Closed

hx crash #8418

waalge opened this issue Sep 29, 2023 · 5 comments
Labels
C-bug Category: This is a bug S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.

Comments

@waalge
Copy link

waalge commented Sep 29, 2023

Summary

console looked like this:

$hx flake.nix
thread 'main' panicked at 'byte_slice(): Byte range does not align with char boundaries: range 227..233', /build/helix-23.05-vendor.tar.gz/ropey/src/slice.rs:703:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Reproduction Steps

Had helix running fine. Was doing some editting fine. And then it crashed as I was typing

Helix log

I cannot see any log output from today.

Platform

nixos

Terminal Emulator

alacritty

Helix Version

helix 23.05 (7f5940b)

@waalge waalge added the C-bug Category: This is a bug label Sep 29, 2023
@woojiq
Copy link
Contributor

woojiq commented Sep 29, 2023

Try on the master branch. There have been many bug fixes since may.

@pascalkuthe
Copy link
Member

also without a reproduction case this is not actionable. panic like this could be caused by many many different things. Please provide a reproduction case or this is not actionable.

@pascalkuthe pascalkuthe added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Sep 29, 2023
@waalge
Copy link
Author

waalge commented Sep 29, 2023

Regarding reproducibility, I was just editing a file. I have re-opened the file and can edit it, and it hasn't crashed. Is there anyway to establish which action caused this?

Given that the version of helix is out-of-date, we can leave the suggested fix as "bump version".
If it persists i'll open a new issue.

@waalge waalge closed this as completed Sep 29, 2023
@gabydd
Copy link
Member

gabydd commented Sep 29, 2023

I believe this was probably fixed by #7621, if you had a shell script string in the file it would make sense

@waalge
Copy link
Author

waalge commented Sep 29, 2023

Thanks - yeah, this does look like a duplicate. Apologies. I tried searching the whole error. Too specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

No branches or pull requests

4 participants