"unhandled string" error after specific sequence of printing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Critical
|
Abdulaziz Ghuloum |
Bug Description
Ikarus does this every time, but only if the same sequence of expressions is done, and only if I let the print-outs go for at least a second before ^C interrupting them.
[d@eep:~]-> ikarus
Ikarus Scheme version 0.0.3+ (revision 1713, build 2008-12-09)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (define v (make-vector #e1e5))
> v
#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[...]
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ^C
> (car v)
Unhandled exception
Condition components:
1. &assertion
2. &who: car
3. &message: "argument does not have required pair structure"
4. &irritants: (#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[...]
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ^C
> (car v)
Unhandled exception
Condition components:
1. &assertion
2. &who: car
3. &message: "argument does not have required pair structure"
4. &irritants: (#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[...]
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ^C
> v
unhandled string 0x00000000b6d611c6 with fst=0x000000006
[d@eep:~]->
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
I can't reproduce this.
There was a bug in the GC that I fixed a few revs back.
I know you're using rev 1713, but, is it possible that
you installed a new boot file and did not install and
update the ikarus executable?
The GC bug had exactly the same symptoms you describe,
and I did trigger it with (make-vector 1000000) every
time. I did track a bug in the gc, fixed it, and the
symptoms did go away. There might be another close by
but I need to get to it.
Aziz,,,