Skip to content
New issue

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

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

Already on GitHub? # to your account

Position out of range for changeset #4841

Closed
Jomy10 opened this issue Nov 21, 2022 · 2 comments · Fixed by #4733
Closed

Position out of range for changeset #4841

Jomy10 opened this issue Nov 21, 2022 · 2 comments · Fixed by #4733
Labels
A-helix-term Area: Helix term improvements 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

@Jomy10
Copy link
Contributor

Jomy10 commented Nov 21, 2022

Summary

I got an error saying thread 'main' panicked at 'Position 23374 is out of range for changeset len 23317!', helix-core/src/transaction.rs:397:13 while navigating in Helix.

Reproduction Steps

Helix suddenly stopped while navigating in code.

Helix log

~/.cache/helix/helix.log
2022-11-21T19:01:35.384 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 166.191677ms" }
2022-11-21T19:03:44.156 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 146.466293ms" }
2022-11-21T19:05:04.030 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 122.840763ms" }
2022-11-21T19:11:44.549 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 439.784075ms" }
2022-11-21T19:12:24.009 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 247.880529ms" }
2022-11-21T19:18:35.406 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 199.625805ms" }
2022-11-21T19:27:25.534 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 423.679246ms" }
2022-11-21T19:27:25.941 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "overly long loop turn: 222.533239ms" }

Platform

macOS

Terminal Emulator

iTerm2

Helix Version

helix 22.08.1 (8bebd6dd)

@Jomy10 Jomy10 added the C-bug Category: This is a bug label Nov 21, 2022
@the-mikedavis
Copy link
Member

8bebd6dd isn't part of the tree: is this a custom build? Can you reproduce this on master?

@Jomy10
Copy link
Contributor Author

Jomy10 commented Nov 21, 2022

I thought I was at the last commit. I'll report back if I experience the error again.

@kirawi kirawi added A-helix-term Area: Helix term improvements S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 22, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-helix-term Area: Helix term improvements 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

Successfully merging a pull request may close this issue.

3 participants