[gambit-list] Too many open files with process

Marc Feeley feeley at iro.umontreal.ca
Sun Sep 11 21:56:53 EDT 2011


On 2011-09-11, at 4:55 PM, Adam King wrote:

> Still seems to hold on to a file handle somewhere :(  
> 
> Marc - is there any chance you could have a look - or try to replicate under OSX?  I've looked through _io.scm and at the ##open-process-generic prim, but it's still over my head.  I really would like to use Gambit for some scripting duties over all our game data (thousands of media files).  Thanks,
> 
>   Adam

I have reproduced the bug.  I haven't had time to find a fix, but my guess is that there are some calls to "close" missing in the function ___device_process_cleanup in lib/os_io.c .

Marc




More information about the Gambit-list mailing list