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
assertion failure in default garbage collector after bad call to set-cdr! #686
Comments
Following the last set of changes made on 16 January 2015, the bug described That set of changes altered To resolve this issue, we'll probably have to work with a version ranging from v0.97 |
This looks like a bug in the IAssassin code generator. From
So the code shown above is creating a corrupt tagged pointer in
The tag test starts at 0016. The |
The hypothesis presented in my comment above is confirmed. The bug remains
Changing the It doesn't fully eliminate the bug, however, because the bug is actually in the So the bug isn't fixed yet, but I now know what's going on. |
Fixed in 8d35e47 |
This bug occurs in IAssassin versions on both Linux and MacOSX, but I have
not been able to reproduce it in Petit Larceny.
In v0.97 and the most recent development version of v0.98b1, the following
input produces an assertion failure in the default garbage collector:
The output looks like this, and is 6221 lines long including the error messages
written to standard error:
The output for v0.97 is almost exactly the same, but replaces the last "
2 3 4
"and error message with this uninformative line:
Omitting the bogus call to
set-cdr!
, I am unable to reproduce the problem.It looks to me as though the exception code for
set-cdr!
, possibly incollaboration with the debugger, may be corrupting the heap.
The text was updated successfully, but these errors were encountered: