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

Heap corruption & crash with -Tterm #47

Closed
paravoid opened this issue Jan 7, 2021 · 0 comments
Closed

Heap corruption & crash with -Tterm #47

paravoid opened this issue Jan 7, 2021 · 0 comments

Comments

@paravoid
Copy link
Contributor

paravoid commented Jan 7, 2021

With current master (0.7.7):

$ cat /tmp/repro.md
# NAME

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
$ ./lowdown -Tterm /tmp/repro.md
free(): corrupted unsorted chunks
Aborted

git bisect shows fb44bef (Make -Tterm output aware of UTF-8 characters when computing column width.) as the first bad commit.

valgrind is showing a bunch of errors in the same codepaths, and none with the commit above reverted. Happy to provide the valgrind output, if that helps.

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

No branches or pull requests

1 participant