#5841: seg fault in ghci but not ghc when using chart-gtk code
--------------------------+-------------------------------------------------
Reporter: carter | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords:
Os: MacOS X | Architecture: x86_64 (amd64)
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: 5816 |
--------------------------+-------------------------------------------------
I don't know if this is os x lion specific,
but when running (attached .hs file) after compiling with (attached .txt)
directions,
the program compiled with ghc to a binary will work when set to generate
either a pdf or a x11 window. In contrast, the same program when run via
ghci and set to render to an x11 window, it segfaults. The ghci run when
set to output to pdf works fine though. So I think the problem (perhaps,
but perhaps not) might be with how the gtk package uses the ffi when run
via ghci vs ghc? (so perhaps is a static vs dynamic linking issue).
it does seem like this might in some way related to another linking bug on
mac
http://hackage.haskell.org/trac/ghc/ticket/5816#comment:4
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5841>
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