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

fe_write() crashes on circular lists #19

Open
ooichu opened this issue Feb 1, 2023 · 0 comments
Open

fe_write() crashes on circular lists #19

ooichu opened this issue Feb 1, 2023 · 0 comments

Comments

@ooichu
Copy link

ooichu commented Feb 1, 2023

This problem can be solved by marking all pairs (just like garbage collection) before printing, and unmarking them afterwards. If marked object was found during printing, you should output something like .... But this will slow down fe_write() twice.

@ooichu ooichu changed the title fe_write() hangs on circular lists fe_write() hangs on circular lists Feb 4, 2023
@ooichu ooichu changed the title fe_write() hangs on circular lists fe_write() crashes on circular lists Feb 6, 2023
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

No branches or pull requests

1 participant