#5386: GHCi crashes with SIGFPE when using double-conversion package
---------------------------------+------------------------------------------
Reporter: bos | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.0.4 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: GHCi crash
---------------------------------+------------------------------------------
Changes (by hgolden):
* cc: howard_b_golden@… (added)
Comment:
Replying to [comment:1 bos]:
> This is all a roundabout way of saying that the crash seems to be due to
GHCi not calling initializers.
bos, does this work properly when compiled by ghc with a suitable main?
I'm trying to figure out whether ghci should call the initializers or if
that task belongs to some other part of the ABI. When a C++ function has a
C interface, it seems (naively) to me that it should handle its own
initialization since the caller shouldn't need to know that the C
interface is wrapping a C++ function. I guess I better study how this is
supposed to work.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5386#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs