Opened 7 years ago
Closed 6 years ago
#1426 closed defect (worksforme)
test-finalizers may break in interpreted mode when importing posix
Reported by: | sjamaan | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | major | Milestone: | 5.1 |
Component: | core libraries | Version: | 5.0.0 |
Keywords: | gc, finalizers | Cc: | |
Estimated difficulty: | insane |
Description
I've seen the final assertion in tests/test-finalizers.scm
fail under CHICKEN 5 when you add (import (chicken posix))
to the top.
It fails because n
has value 0
at the end instead of the expected 1
, which means the bump
procedure (which is registered as a finalizer on the string constant) wasn't run.
I haven't been able to reproduce this consistently, so this may also affect CHICKEN 4.
Change History (4)
comment:1 Changed 7 years ago by
Owner: | changed from sjamaan to felix winkelmann |
---|---|
Status: | new → assigned |
comment:2 Changed 7 years ago by
comment:3 Changed 7 years ago by
Milestone: | 5.0 → 5.1 |
---|
comment:4 Changed 6 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Let's ignore this for now. It might've been accidentally fixed or not, but if we can't reproduce it it makes no sense to keep this ticket open. We may re-open it later. I've added a comment to the test so we can find the ticket again.
I can not reproduce this. I tried changing the nursery size, but nothing happens.
If someone can, try replacing the final constant string with something dynamically generated (say,
(make-string 100)
). Does the error still occur?