Re: ANNOUNCE: GHC 6.10.4 Release Candidate 1

2009-07-14 Thread Gregory Wright
Good rc1 build on OS X 10.5.7 (Leopard/intel). Couldn't run the 6.10.3 testsuite all the way through. Failed with things like = getGroupEntryForName(normal) cd ../../../libraries/unix/tests

Re: ghci debugger: showing function argumetns when stopped at its definition

2009-07-14 Thread Simon Marlow
Peter Hercek wrote: Simon Marlow wrote: On 10/07/2009 15:31, Peter Hercek wrote: Hi, It would be cool if ghci debugger could grab not only the free variables in the selected expression but in one case a bit more. The case is when we stop at a function definition the first time (when just

HPC gives spurious results if sources are compiled with -cpp

2009-07-14 Thread Dominic Steinitz
Trac doesn't seem to work for us so I'm sending this bug report by email. ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1 ghc.exe -fhpc -cpp --make CommonHPC.hs -o CommonHPC commonHPC hpc markup CommonHPC --fun-entry-count This gives no entry counts for fact in

Re: Using the ghc-api to run more than one instance of ghc simultaneously

2009-07-14 Thread Daniel Gorín
On Jul 13, 2009, at 10:53 PM, Marc Weber wrote: Yes, it is a known limitation. It ought to be documented somewhere. There are two problems: 1. GHC is not thread-safe. [...] 2. There is only one RTS linker with a single symbol table. [...] Are there already bug tracker items for these

buildFdSets: file descriptor out of range

2009-07-14 Thread 山本和彦
Hello, If this is not a right place to ask this question, please tell me another place to ask. I'm developing a mail server with GHC 6.10.3 on Linux. The server is running well at the beginning. But after several hours, it receives an error, buildFdSets: file descriptor out of range. Please

Re: buildFdSets: file descriptor out of range

2009-07-14 Thread Brandon S. Allbery KF8NH
On Jul 14, 2009, at 21:48 , Kazu Yamamoto (山本和彦) wrote: running well at the beginning. But after several hours, it receives an error, buildFdSets: file descriptor out of range. I believe the runtime uses select(), which has a hard limit (enforced by the kernel) that the maximum file

Re: buildFdSets: file descriptor out of range

2009-07-14 Thread 山本和彦
I believe the runtime uses select(), which has a hard limit (enforced by the kernel) that the maximum file descriptor id be 1023. (select() uses bitmasks and there is a limit on the size of a bitmask; see FD_SETSIZE.) I understand. Thank you. Reduce this to 1024, otherwise the runtime will