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

Segfaults in surface test #106

Closed
Rubo3 opened this issue Mar 5, 2022 · 1 comment · Fixed by #107
Closed

Segfaults in surface test #106

Rubo3 opened this issue Mar 5, 2022 · 1 comment · Fixed by #107
Labels

Comments

@Rubo3
Copy link
Contributor

Rubo3 commented Mar 5, 2022

When I run the test surface in release mode, it always segfaults, sometimes with malloc_consolidate(): unaligned fastbin chunk detected, or free(): double free detected in tcache 2. While in debug mode I also get corrupted double-linked list, munmap_chunk(): invalid pointer, free(): invalid pointer, double free or corruption (!prev) or malloc(): unsorted double linked list corrupted.

@jpbruyere
Copy link
Owner

That's an easy bug to find. Do you want me to correct it, or do I let you find it, that's in tests/surface.c

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

Successfully merging a pull request may close this issue.

2 participants