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
GC_realloc / GC_register_finalizer_ignore_self abort due to mmap(PROT_NONE) #334
Comments
@ivmai We've been tackling this issue for a few days and I'm testing your suggestions, sadly I can't quickly verify a simple sysctl change as we are running on docker and it's quite tricky to play with those settings there. Do you know when we should have a release with this in? can we close a pre-release (just to get a tar) for master and this patch inside so we can test if it works? Thanks! :) |
Please use snapshot of https://github.com/wangp/bdwgc/tree/unmap-limit |
@ivmai 🎉 seems like it's working, no more crashes wohoo! |
Duplicates #324 (solved) |
Environment: Arch, 5.8.13-arch1-1, x86_64
We are experiencing some crashes on malloc and register_finalizer_ignore_self.
The
GC_register_finalizer_ignore_self
trace we got is without debug information.Crash on GC_register_finalizer_ignore_self
When the GC is compiled with -g3 we reached the following trace.
Crash on GC_realloc
Both of them have in common the
mmap(PROT_NONE) failed
part.What other information should I provide to diagnose these crashes further? Is there a workaround to try out?
I don't have a reproducible short example to reproduce them so far.
The text was updated successfully, but these errors were encountered: