[plt-scheme] sandbox + scheme/enter

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Feb 21 14:43:53 EST 2008

This is a bug in `enter!' in 3.99.0.13, which I've fixed in SVN.

Thanks,
Matthew

At Thu, 21 Feb 2008 20:37:57 +0100, Tom Schouten wrote:
> hello again,
> 
> in mzscheme from
> http://pre.plt-scheme.org/installers/plt-3.99.0.13-bin-i386-linux-ubuntu.sh
> trying to combine scheme/enter with sandbox i ran into the following problem:
> 
> /tmp/entertest.ss contains:
> 
>   #lang scheme/base
>   (require scheme/sandbox)
> 
> which gives the following error when loaded with enter!:
> 
> tom at zzz:~$ mzscheme
> Welcome to MzScheme v3.99.0.13 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
> > (enter! (file "/tmp/entertest.ss"))
>  [loading /tmp/entertest.ss]
>  [loading /usr/local/plt-
> 3.99.0.13/collects/scheme/base/lang/compiled/reader_ss.zo]
>  [loading /usr/local/plt-3.99.0.13/collects/syntax/compiled/module-
> reader_ss.zo]
>  [loading /usr/local/plt-3.99.0.13/collects/scheme/compiled/sandbox_ss.zo]
>  [loading /usr/local/plt-3.99.0.13/collects/syntax/compiled/moddep_ss.zo]
>  [loading /usr/local/plt-3.99.0.13/collects/scheme/gui/compiled/dynamic_ss.zo]
> module-path-index-resolve: expects argument of type <module-path-index>; given 
> (0 
> #<module-path-index> #<module-path-index>)
> 
>  === context ===
> /usr/local/plt-3.99.0.13/collects/scheme/enter.ss:88:4: loop
> /usr/local/plt-3.99.0.13/collects/scheme/enter.ss:88:4: loop
> /usr/local/plt-3.99.0.13/collects/scheme/private/misc.ss:63:7
> 
> 
> i ran into a similar error when trying to use enter! inside an evaluator 
> made with make-evaluator from (lib "sandbox.ss")
> 
> cheers,
> tom
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.