[GHC] #3971: ghc-pkg list segfaults in ghc-6.12.1.20100330
GHC
cvs-ghc at haskell.org
Sat Apr 10 13:51:51 EDT 2010
#3971: ghc-pkg list segfaults in ghc-6.12.1.20100330
---------------------------+------------------------------------------------
Reporter: wkahl | Owner:
Type: bug | Status: new
Priority: normal | Component: Package system
Version: 6.12.1 RC1 | Keywords:
Os: Linux | Testcase:
Architecture: powerpc | Failure: None/Unknown
---------------------------+------------------------------------------------
Comment(by judahj):
OK, from what you've said I suspect something with the FFI. I've prepared
another test script that runs through all of the FFI interactions involved
in that line you mentioned (without any unsafePerformIO):
http://code.haskell.org/~judah/TerminfoTest2.hs
Please let me know the output; you can compile it with
{{{
ghc --make TerminfoTest2.hs -ffi -XEmptyDataDecls -XDeriveDataTypeable
-lncurses
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3971#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list