[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1426: test-finalizers may break in interpreted mode
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1426: test-finalizers may break in interpreted mode when importing posix |
Date: |
Tue, 21 Nov 2017 10:55:25 -0000 |
#1426: test-finalizers may break in interpreted mode when importing posix
----------------------------+--------------------------------
Reporter: sjamaan | Owner: sjamaan
Type: defect | Status: new
Priority: major | Milestone: 5.0
Component: core libraries | Version: 5.0
Keywords: gc, finalizers | Estimated difficulty: insane
----------------------------+--------------------------------
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.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1426>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1426: test-finalizers may break in interpreted mode when importing posix,
Chicken Trac <=