Open a buffer with the wrap highlighter enabled: add-highlighter /global wrap
Fill the buffer with enough lines to extend beyond the height of the window, and then scroll down so that you will have room to scroll up half a page or so. With your cursor near the bottom of the window, enter insert mode, and begin typing something that causes an autocomplete box to appear. While still in insert mode, scroll up until the bottom of the window fully passes over the autocomplete box. At the moment you scroll across the top line of the box, kakoune will crash due to a SIGSEGV.
I am scrolling in insert mode with a scroll wheel and trackpad. As far as I'm aware, there is no way to scroll with keys directly in insert mode. The issue does not occur if doing the scrolling via a <a-;> command.
Outcome
I don't know much about C compilation - I can build Kakoune from source, but trying to build with make debug=yes is giving me an error that's a bit beyond me. The output I get when Kakoune crashes is very messy, and I think this is easy enough to reproduce that someone looking into it can easily get the information they need - but please let me know if more info would be helpful.
Version of Kakoune
v2023.08.05-189-g7fca2042
Reproducer
Open a buffer with the wrap highlighter enabled:
add-highlighter /global wrap
Fill the buffer with enough lines to extend beyond the height of the window, and then scroll down so that you will have room to scroll up half a page or so. With your cursor near the bottom of the window, enter insert mode, and begin typing something that causes an autocomplete box to appear. While still in insert mode, scroll up until the bottom of the window fully passes over the autocomplete box. At the moment you scroll across the top line of the box, kakoune will crash due to a
SIGSEGV
.I am scrolling in insert mode with a scroll wheel and trackpad. As far as I'm aware, there is no way to scroll with keys directly in insert mode. The issue does not occur if doing the scrolling via a
<a-;>
command.Outcome
I don't know much about C compilation - I can build Kakoune from source, but trying to build with
make debug=yes
is giving me an error that's a bit beyond me. The output I get when Kakoune crashes is very messy, and I think this is easy enough to reproduce that someone looking into it can easily get the information they need - but please let me know if more info would be helpful.Expectations
No response
Additional information
macOS 14.3.1, tested in Terminal and Kitty