symbols incorrectly GC'ed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
High
|
Abdulaziz Ghuloum |
Bug Description
I'm not sure whether this is a bug in Ikarus, or the xitomatl srfi's or lack of my understanding of R6RS libraries, but I encountered this strange behavior (sorry for the non-minimal example, but the code beyond the SRFIs is basically just aliasing 2 of this SRFIs under a different name, and one providing a naive implementation of define-values):
~$ mkdir bug-p && cd bug-p
~/bug-p$ mkdir xitomatl && cd xitomatl
~/bug-p/xitomatl$ bzr branch lp:~ikarus-libraries-team/ikarus-libraries/srfi
[...]
~/bug-p$ wget http://
~/bug-p$ tar -xzf spells-
~/bug-p$ cat problem.sps
(import (spells define-values) (spells char-set) (spells strings))
~/bug-p$ ikarus --r6rs-script problem.sps # Note this doesn't give any error message
~/bug-p$ cd ..
~$ export IKARUS_
~$ ikarus --r6rs-script bug-p/problem.sps # I'd expect this to behave in exactly the same way as above, but:
Unhandled exception:
Condition components:
1. &who: check-substring
2. &message: "unbound identifier"
3. &undefined
4. &trace: #<syntax check-substring
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
With 32-bit revision 1719, I get something different:
[d@eep:~/bug-p]-> ikarus --r6rs-script problem.sps start+end start+end> LIBRARY_ PATH=`pwd` /bug-p start+end start+end>
Unhandled exception:
Condition components:
1. &who: let-string-
2. &message: "unbound identifier"
3. &undefined
4. &trace: #<syntax let-string-
[d@eep:~/bug-p]-> cd ../
[d@eep:~]-> export IKARUS_
[d@eep:~]-> ikarus --r6rs-script bug-p/problem.sps
Unhandled exception:
Condition components:
1. &who: let-string-
2. &message: "unbound identifier"
3. &undefined
4. &trace: #<syntax let-string-
[d@eep:~]->
I haven't investigated the SRFIs yet.