-
Notifications
You must be signed in to change notification settings - Fork 26
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
Futures (and other runtime structures) get corrupted during runtime #48
Comments
The below code snippet contains cyclic dependency on purpose. The mem allocated for the stream would be reclaimed when
|
Can you be more specific? What other structures? What happens if you replace pony_alloc with malloc for the structures? |
I've seen it for sure with the structures for streams (i.e. |
I think this is no longer a problem (similar reasoning as #91, plus |
See #47 for an example of this bug in action. During debugging, I have seen the address being used for a future reused for a stream link (
struct scons
) before they were used, leading me to suspect the garbage collector. Maybe adding tracing functionality to futures and stream links (and any other runtime structures) is enough (although we also need a proper root set).The text was updated successfully, but these errors were encountered: