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

[BUG][CRASH] #5236

Open
thoughtpatterns opened this issue Sep 18, 2024 · 0 comments
Open

[BUG][CRASH] #5236

thoughtpatterns opened this issue Sep 18, 2024 · 0 comments

Comments

@thoughtpatterns
Copy link

thoughtpatterns commented Sep 18, 2024

Version of Kakoune

v2024.05.18

Reproducer

The editor crashed after executing the following command about 10 times, specifically when it encountered a newline:

exec "<esc><c-s>;<a-?> +[^ ]+<ret><a-;><H><a-d>2<c-o><i>"

The command was executed without kak-lsp on, in a kakrc file.

Outcome

/usr/include/c++/13.2.1/bits/stl_vector.h:1125: constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = Kakoune::SelectionList; _Alloc = Kakoune::Allocator<Kakoune::SelectionList, Kakoune::MemoryDomain::Selections>; reference = Kakoune::SelectionList&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

Expectations

No response

Additional information

This occurred on Alpine Linux edge, on a release version of Kakoune. I'm using foot --server as my terminal currently. I can attempt to obtain more debug information soon, including reproducing it (which I have only been able to do once so far).

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

No branches or pull requests

1 participant