[racket] Places crashing DrRacket

From: Harry Spier (vasishtha.spier at gmail.com)
Date: Wed Mar 13 18:12:38 EDT 2013

Apologies again,

Section 18.13 guide explains this:
"
; Don't do this!
(define p (place ch (place-channel-get ch)))
 "

Harry Spier

On Wed, Mar 13, 2013 at 5:56 PM, Harry Spier <vasishtha.spier at gmail.com>wrote:

> Dear list members,
>
> This minimal code snippet crashes DrRacket.
> ----------------------
> #lang racket
> (define test-vector #(0 1 2 3 4 5 6 7 8 9))
> (define (test-function vectr) (apply + (vector->list (vector-map sqrt
> vectr))))
>
> (define place1
> (place ch (place-channel-put ch (test-function (place-channel-get ch)))))
> ------------------------------------
>
> When run in DrRacket (windows Vista Pentium dual core) it executes, the
> prompt appears in the interactions window and then about 5 or 10 seconds
> later I get a "program terminated .... ran out of memory" DrRacket popup
> window.
>
> Thanks,
> Harry Spier
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130313/4dcf28f6/attachment.html>

Posted on the users mailing list.