[plt-scheme] Compiler bug?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Apr 16 14:49:23 EDT 2007

If I change net/url-structs.ss to:

(module url-structs mzscheme
  (require (lib "contract.ss")
           (lib "serialize.ss"))

  (define-serializable-struct url (scheme user host port
path-absolute? path query fragment))
  (define-serializable-struct path/param (path param))

  (provide/contract
   (struct url ([scheme (or/c false/c string?)]
                [user (or/c false/c string?)]
                [host (or/c false/c string?)]
                [port (or/c false/c number?)]
                [path-absolute? boolean?]
                [path (listof path/param?)]
                [query (listof (cons/c symbol? string?))]
                [fragment (or/c false/c string?)]))
   (struct path/param ([path (or/c string? (symbols 'up 'same))]
                       [param (listof string?)]))))

Then run `setup-plt', I get the error:

jay $ setup-plt
setup-plt: bootstrapping from source...
default-load-handler: cannot open input file:
"/Users/jay/Development/plt/src/plt/trunk/collects/syntax/moddep.ss"
(Too many open files; errno=24)

 === context ===
/Users/jay/Development/plt/src/plt/trunk/collects/setup/setup.ss:59:20: loop

~/Development/plt/src/plt/trunk/collects/net
jay $

And when I run `lsof | grep mzscheme' there are TONS of instances of
url-structs.ss open.

Jay

-- 
Jay McCarthy <jay.mccarthy at gmail.com>
http://jay.teammccarthy.org


Posted on the users mailing list.