Skip to content

Instantly share code, notes, and snippets.

@schell
Created July 1, 2017 21:24
Show Gist options
  • Save schell/2078358df142b5faad90a4c501b0b260 to your computer and use it in GitHub Desktop.
Save schell/2078358df142b5faad90a4c501b0b260 to your computer and use it in GitHub Desktop.
opengl crash
λupdate
λ2017-07-01 14:24:07.809 ghc[72296:17632659] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'nextEventMatchingMask should only be called from the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffa3ae12cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb88ec48d objc_exception_throw + 48
2 AppKit 0x00007fffa1ccde82 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 4480
3 libSDL2-2.0.0.dylib 0x0000000114df652c Cocoa_PumpEvents + 247
4 libSDL2-2.0.0.dylib 0x0000000114d942b8 SDL_PumpEvents_REAL + 23
5 libSDL2-2.0.0.dylib 0x0000000114d94320 SDL_WaitEventTimeout_REAL + 57
6 libHSsdl2-2.2.0-AtqINIQwRt16sI3ojT5xyW-ghc8.0.2.dylib 0x000000011449fb95 c92Dx_info + 117
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment