
#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 svenpanne): Even the warning when using GHCi 7.10.3/8.0.1 looks a bit scary: Some GLUT code doesn't seem to be running in the main OS thread, although the example code doesn't involve any multithreading. GHCi shouldn't do these secret thread migrations: Apart from GLUT and OpenGL there are surely a lot of other libraries/frameworks out there which don't like such a thing... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13730#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler