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] Non-interactive Kakoune session crashes with 'double free or corruption' on a particular dataset/command sequence #5120

Closed
schragge opened this issue Mar 13, 2024 · 0 comments

Comments

@schragge
Copy link

schragge commented Mar 13, 2024

Version of Kakoune

v2023.08.05-248-g4101e181

Reproducer

When solving VimGolf challenge Changing around text with citations, using -ui dummy or -ui json

kak in -ui dummy -e 'exec Qm*nWd<a-l>d<a-d>n<a-c>\fo<c-n>{<c-r>"}<esc>Q8q:wq<ret>'

kak -f doesn't work on standard input aborting with the same error message

<in kak -f 'ggQm*nWd<a-l>d<a-d>n<a-c>\fo<c-n>{<c-r>"}<esc>Q8q'

Outcome

With -e the solution works as expected , but Kakoune spits out the message

double free or corruption (out)
Aborted

kak -f with input on stdin produces no output and aborts with the message above.

Introduced with dbe8528

Expectations

Produces expected output that matches the contents of out w/o error messages and ends successfully.

Additional information

Debian 12 (bookworm)

Probably related to #5122

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