Hi,
I finally found and solved the problem. The problem was in a small
library I wrote which handles threads. When a thread executed its
error handler, it started to kill (with throwTo) all other threads in
the group he belongs to. Unfortunately all other threads started their
error handlers too
Hi
I am writing a network server in haskell. Lately I seem to have
introduced a new bug. On Linux, when a client closes the connection to
the server, the server dumps core. On Windows, the error message there
is way different from the core dump on Linux. It says:
application.exe: config.xml:
On 1/8/07, Stefan Aeschbacher [EMAIL PROTECTED] wrote:
There are many things i do not understand. Why the different behaviour
on Linux and Windows? Shouldn't an exception be thrown on Linux
instead of a core dump? I don't use any unsafePerformIO or foreign
calls. Why the changed path? I never
2007/1/8, Kirsten Chevalier [EMAIL PROTECTED]:
On 1/8/07, Stefan Aeschbacher [EMAIL PROTECTED] wrote:
There are many things i do not understand. Why the different behaviour
on Linux and Windows? Shouldn't an exception be thrown on Linux
instead of a core dump? I don't use any unsafePerformIO
Hi Stefan,
I am writing a network server in haskell. Lately I seem to have
introduced a new bug. On Linux, when a client closes the connection to
the server, the server dumps core.
Are you using any calls to system? Any libraries which may do funky stuff?
application.exe: config.xml:
Hi
2007/1/8, Neil Mitchell [EMAIL PROTECTED]:
Hi Stefan,
I am writing a network server in haskell. Lately I seem to have
introduced a new bug. On Linux, when a client closes the connection to
the server, the server dumps core.
Are you using any calls to system? Any libraries which may do
It would probably be helpful if you were to post the code you have and
explain what part isn't working. There's a function:
readFile :: FilePath - IO String
(FilePath is just a String)
which reads a file. This should be what you need to solve this
exercise...
- Hal
--
Hal Daume III
Hallo,
I have the following problem:
my program asks the user for a command, when the command is executed a
new command is asked (this is no problem ; an example is in the HUgs
distribution namely Main.hs in the Prolog example.
However one of the commands is: read filename
i.e. read a file and