[GHC] #13730: Running GLUT code in GHCi yields NSInternalInconsistencyException
GHC
ghc-devs at haskell.org
Tue May 23 15:22:02 UTC 2017
#13730: Running GLUT code in GHCi yields NSInternalInconsistencyException
--------------------------------+----------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 8.0.2
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: GHCi crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
--------------------------------+----------------------------------------
Comment (by RyanGlScott):
svenpanne, you are correct that this used to work. I just tried this
program with GHC 7.10.3 and 8.0.1, and it worked successfully. The only
issue was this it gave me this warning:
{{{
$ ~/Software/ghc-8.0.1/bin/ghci HsGLUT.o GLUT2.hs
GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /Users/rscott/.ghci
[1 of 1] Compiling Main ( GLUT2.hs, interpreted )
Ok, modules loaded: Main.
λ> main
2017-05-23 08:20:34.277 ghc[59156:853268] WARNING: nextEventMatchingMask
should only be called from the Main Thread! This will throw an exception
in the future.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13730#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list