-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
memory allocation during {.global.} init breaks GC #17085
Comments
v1.2.6 also affected |
this bug was closed but https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/13586/logs/89 logs shows:
|
This is a Boehm GC specific problem and not a bug. We can disable the test for --gc:boehm. |
… a warning causing CI to fail with mismatched output
… a warning causing CI to fail with mismatched output
I can't reproduce the original bug report (tried 1.2.6 and 1.4.2, on both osx and linux via docker @arnetheduck what system were you using? |
… a warning causing CI to fail with mismatched output
linux/fedora - add a |
…t is expected and we don't care (nim-lang#17487)
this is because globals are registered to the global variable table after
init
is run, meaning that any memory allocated while initializing globals will be collected by the gcThe text was updated successfully, but these errors were encountered: