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

Helix needs fix #5834

Closed
elintendo opened this issue Feb 5, 2023 · 2 comments
Closed

Helix needs fix #5834

elintendo opened this issue Feb 5, 2023 · 2 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

@elintendo
Copy link

Summary

I was typing usual, boring text in Helix, suddenly the app closed and I was in terminal. The text was not saved. The same issue also happened once while ago.

Reproduction Steps

I created file with hx hypr.sh and typed bash script in there. Then Helix crashed and I was in kitty again.

The error was:
thread 'main' panicked at 'Position 49 is out of range for changeset len 1!', helix-core/src/transaction.rs:397:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Helix log

2023-02-05T12:59:46.072 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:00:50.602 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:01:07.217 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:01:16.187 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:01:16.188 helix_view::editor [ERROR] Failed to initialize the LSP for source.css { cannot find binary path }
2023-02-05T13:09:22.557 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:12:41.346 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:12:56.635 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:13:01.924 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:15:29.451 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)
2023-02-05T13:15:29.453 helix_view::editor [ERROR] Failed to initialize the LSP for source.bash { cannot find binary path }
2023-02-05T13:20:28.217 helix_term::application [WARN] failed to load theme dracula_at_night - No such file or directory (os error 2)

Platform

Linux, Arch

Terminal Emulator

kitty 0.27.0-1

Helix Version

helix 22.12 (7e191f5)

@elintendo elintendo added the C-bug Category: This is a bug label Feb 5, 2023
@pascalkuthe
Copy link
Member

I created file with hx hypr.sh and typed bash script in there. Then Helix crashed and I was in kitty again.

This is not a reproduction case. What exactly caused the issue depends on what exactly you did. Meaning what text did you type, did you paste anything, ... You also didn't provide a backtrace (RUST_BACKTRACE=1 ) which would atleast give some hints at what is going wrong.

This sounds like it might be a duplicate of #5733 and therefore would already be fixed in current master by #5790. I would suggest that you rebuild from the master branch and try again. If you encounter thiss crash with master you can post a backtrace or reproduction case here

@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 Feb 5, 2023
@pascalkuthe
Copy link
Member

closing as this is likely fixed by #5790 and no reproduction case was provided on request.

If you are still having issues feel free to open a new issue

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

2 participants