-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
reproducible panic in core (transaction.rs) on multicursor newline insert #12662
Comments
Ok, so I originally found this on |
Does this maybe have something to do with #12510 ? |
Bisected. 1e6fe00 is the culprit. Also this is a |
|
It does panic in 25.01.1 in debug and results in incorrect edits in release (cursors collapse when they shouldn't). |
Oh alright, was thinking of a different issue |
But what's strange is the commit you pointed out is exactly the same one that caused caused panics earlier for a bug which was fixed in 25.01.1 when you inserted newlines |
Summary
Typing in a key sequence that ends in multicursor newline insert leads to reproducible panic in core (transaction.rs) on assertion failure.
Reproduction Steps
I tried this :
./target/debug/hx
Key sequence:
iba a a<ESC>%sa<CR>di<CR>
Insert
ba a a
, select everything%
, select alla
s (s
), delete (d
), insert newlines (i
+ <CR>).asciinema recording.
Helix log
stderr
helix.log
Platform
Linux
Terminal Emulator
kitty 0.38.1 created by Kovid Goyal
Installation Method
source
Helix Version
25.01.1-39-g9088f8a5
The text was updated successfully, but these errors were encountered: