[ ghc-Bugs-792761 ] rts_getBool: not a Bool
SourceForge.net
noreply at sourceforge.net
Wed Oct 1 05:31:08 EDT 2003
Bugs item #792761, was opened at 2003-08-21 20:46
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=792761&group_id=8032
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Simon Marlow (simonmar)
Summary: rts_getBool: not a Bool
Initial Comment:
On ghc 5.04.1 on redhat 7.x I have a C program which
calls Haskell thorugh the FFI. It compiles and runs
correctly. However on ghc 5.04.3 with Mandrake 9.0 (ie
gcc 3.2) the same program fails with
main: fatal error: rts_getBool: not a Bool
All my functions return Bool to signify failure or success.
If I replace them by Int, then the program works again
on Mandrake.
To contact me, sengan `dot` baring-gould `at` ia
`period` nsc `full-stop` com
----------------------------------------------------------------------
>Comment By: Simon Marlow (simonmar)
Date: 2003-10-01 09:31
Message:
Logged In: YES
user_id=48280
I've fixed one possible cause of this bug, so I'm closing it
for now.
The original submitter says he has worked around it for now,
but will possibly get back to it and provide a test case in
the future, in which case we can re-open the bug.
----------------------------------------------------------------------
Comment By: Simon Marlow (simonmar)
Date: 2003-09-10 14:34
Message:
Logged In: YES
user_id=48280
Can you provide us with some code that reproduces the problem?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2003-08-28 17:01
Message:
Logged In: NO
I'm running ghc. FWIW my email address changed to amd `dot` com
----------------------------------------------------------------------
Comment By: Simon Marlow (simonmar)
Date: 2003-08-26 12:07
Message:
Logged In: YES
user_id=48280
Are you running the program in GHCi, or plan GHC?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=792761&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list