[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-users
Subject:    [racket] Strange error 5.1.0.2 define-runtime-path
From:       tewk () cs ! utah ! edu (Kevin Tew)
Date:       2011-02-24 17:46:03
Message-ID: 4D66995B.9000101 () cs ! utah ! edu
[Download RAW message or body]

On 02/23/2011 01:23 PM, Eduardo Bellani wrote:
> I was going to experiment with places for parallelism and I have
> compiled from source to support it. Then I've encountered a very strange
> bug that does not happen with 5.1
Did you compile 5.1 with places also?
>
> ;;test.rkt
> #lang racket
> (require "def.rkt")
>
> (displayln dyn-def)
>
> ;;def.rkt
> #lang racket
> (require racket/runtime-path)
> (provide dyn-def)
> (define-runtime-path dyn-def "logs/")
>
>
> Running the test.rkt module it sometimes shows this error, with no
> indication of its source:
>
> make-vector: expected argument of type<non-negative exact integer>;
> given 693450754.
>
> The number varies, and the error happens usually after 5~10 runs.
>
>
> I have compiled the latest git version like this
>
> mkdir racket-places
> cd racket-places
> ../src/configure --enable-places --prefix=/usr/racket-5.1.0.2-with-places
> make
> sudo make install
>
>
> I end up with version 5.1.0.2--2011-02-05(-/f) [3m].
>
>
> Any ideas?
Can you reproduce it on 5.1.0.2 with places disabled?

I wasn't able to reproduce the behavior above with places enabled, in 
the short time I tried.


Kevin



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic