[racket-dev] error with futures and the compiler

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Sep 20 17:27:09 EDT 2011

The attached program works fine, and if compiled, it works fine with
small inputs:

[samth at punge] r tst.rkt 40 > /dev/null
[samth at punge] r tst.rkt 4000 > /dev/null
[samth at punge] raco make tst.rkt
[samth at punge] r tst.rkt 40 > /dev/null

But with big inputs, when compiled, it fails:

[samth at punge] r tst.rkt 4000 > /dev/null
compiled/tst_rkt.zo::6943: read (compiled): ill-formed code
[../../../racket/gc2/../src/read.c:4751]

 === context ===
raise called (with non-exception value) by exception handler: #f;
original exception raised: compiled/tst_rkt.zo::6943: read (compiled):
ill-formed code [../../../racket/gc2/../src/read.c:4751]
internal error: failure during atomic
Aborted
-- 
sam th
samth at ccs.neu.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst.rkt
Type: application/octet-stream
Size: 1960 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110920/fda9e7c9/attachment.obj>

Posted on the dev mailing list.