PROTECTED]]
Sent: Tuesday, February 13, 2001 4:10 PM
To: Simon Marlow
Subject: RE: Segmentation fault in program
I believe I'm passing the correct __init_Foo unless
I'm confused. Attached is the code.
My ultimate goal here is to be able to pass streams of
data from a C program to a Haskel
The problem is indeed that the wrong __init_Foo is being passed to
startupHaskell.
No, that's not it. I've been able to repro this with __init_ConvertProxy
too - did you test it? (This is with 4.08.1 on a Win2k box.)
--sigbjorn
___
The problem is indeed that the wrong __init_Foo is being passed to
startupHaskell.
No, that's not it. I've been able to repro this with
__init_ConvertProxy
too - did you test it? (This is with 4.08.1 on a Win2k box.)
Yes, I did, and was able to demonstrate a crash which went away when
01 19:21
Subject: Re: Segmentation fault in program
After making the changes suggested below and updating
the GHC driver script to fix the -no-hs-main bug, my
program will successfully complete when processing a
small amount of data. When processing larger amounts
of data, however, it will crash with a
"T.J. Brown" [EMAIL PROTECTED] writes:
I'm trying to write a program (in C) that calls a
function that is implemented in Haskell.
...
The problem I'm seeing is that depending
on the size of the buffer, the program segmentation
faults. I don't see any obvious reason that this is
happening