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

Downgrade RemoteVstPlugin build back to C++17 #7624

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

sakertooth
Copy link
Contributor

For some reason, upgrading RemoteVstPlugin to build in C++20 causes a malloc regression when loading them from a project. I wonder if there is a better fix.

Fatal glibc error: malloc.c:2599 (sysmalloc): assertion failed: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_to p) && ((unsigned long) old_end & (pagesize - 1)) == 0)

Copy link
Member

@messmerd messmerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't know how using C++20 could have caused the bug, but I've confirmed that this change fixes the assertion failure in my local builds and I can now load some VSTs that were previously crashing.

@sakertooth
Copy link
Contributor Author

My guess is that it just isn't ready yet. Maybe we should wait, I'm not really sure either though.

@sakertooth sakertooth merged commit 248b6b9 into LMMS:master Dec 18, 2024
11 checks passed
@sakertooth sakertooth deleted the vst-regression-cpp20 branch December 18, 2024 21:20
regulus79 pushed a commit to regulus79/lmms that referenced this pull request Dec 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants