Created
April 18, 2013 13:36
-
-
Save alco/5412735 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ go run test.go | |
Apr 18 16:28:23 MacBook-Pro-de-Alex.local a.out[58463] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection | |
Apr 18 16:28:23 MacBook-Pro-de-Alex.local a.out[58463] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. | |
Apr 18 16:28:23 MacBook-Pro-de-Alex.local a.out[58463] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection | |
Apr 18 16:28:23 MacBook-Pro-de-Alex.local a.out[58463] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection | |
2013-04-18 16:28:23.573 a.out[58463:1e03] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow on line 263' | |
*** First throw call stack: | |
( | |
0 CoreFoundation 0x00007fff9022cf56 __exceptionPreprocess + 198 | |
1 libobjc.A.dylib 0x00007fff88481d5e objc_exception_throw + 43 | |
2 CoreFoundation 0x00007fff9022cd8a +[NSException raise:format:arguments:] + 106 | |
3 CoreFoundation 0x00007fff9022cd14 +[NSException raise:format:] + 116 | |
4 AppKit 0x00007fff8e97616f _NSCreateWindowWithOpaqueShape2 + 755 | |
5 AppKit 0x00007fff8e8c46c5 -[NSWindow _commonAwake] + 1875 | |
6 AppKit 0x00007fff8e8c3360 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1871 | |
7 AppKit 0x00007fff8e8c23af -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1502 | |
8 AppKit 0x00007fff8e8c1d7f -[NSWindow initWithContentRect:styleMask:backing:defer:] + 47 | |
9 libSDL-1.2.0.dylib 0x00000000021bb8f6 -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] + 294 | |
10 libSDL-1.2.0.dylib 0x00000000021b9505 QZ_SetVideoMode + 2837 | |
11 libSDL-1.2.0.dylib 0x00000000021b0af5 SDL_SetVideoMode + 917 | |
12 a.out 0x000000000002c1d1 crosscall2 + 69646 | |
13 a.out 0x000000000001832b a.out + 95019 | |
) | |
terminate called throwing an exceptionSIGABRT: abort | |
pc: 0x7fff90047ce2 | |
goroutine 1 [syscall]: | |
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl._Cfunc_SDL_SetVideoMode(0x25800000320, 0x4000000000000018) | |
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl/_obj/_cgo_defun.c:458 +0x2f | |
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl.SetVideoMode(0x25800000320, 0x4000000000000018, 0xf800000000, 0xf8400630a0, 0x0, ...) | |
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl/_obj/_cgo_gotypes.go:1275 +0x4c | |
main.main() | |
command-line-arguments/_obj/test.cgo1.go:146 +0x65f | |
goroutine 2 [syscall]: | |
created by runtime.main | |
/usr/local/Cellar/go/1.0.3/src/pkg/runtime/proc.c:221 | |
goroutine 3 [sleep]: | |
time.Sleep(0x989680, 0xf84002d400) | |
/usr/local/Cellar/go/1.0.3/src/pkg/runtime/ztime_amd64.c:21 +0x49 | |
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl.pollEvents() | |
/Users/alco/home/goworkspace/src/github.com/0xe2-0x9a-0x9b/Go-SDL/sdl/event.go:59 +0x3cb | |
created by github.com/0xe2-0x9a-0x9b/Go-SDL/sdl.init·1 | |
/Users/alco/home/goworkspace/src/github.com/0xe2-0x9a-0x9b/Go-SDL/sdl/event.go:64 +0x1f | |
goroutine 4 [syscall]: | |
created by addtimer | |
/usr/local/Cellar/go/1.0.3/src/pkg/runtime/ztime_amd64.c:72 | |
rax 0x0 | |
rbx 0x6 | |
rcx 0xb0102718 | |
rdx 0x0 | |
rdi 0x1e03 | |
rsi 0x6 | |
rbp 0xb0102740 | |
rsp 0xb0102718 | |
r8 0x7fff79c2efb8 | |
r9 0xb01021a8 | |
r10 0x7fff90047d0a | |
r11 0xffffff80002dad60 | |
r12 0x10 | |
r13 0xb0103b48 | |
r14 0xb0104000 | |
r15 0xb0102890 | |
rip 0x7fff90047ce2 | |
rflags 0x246 | |
cs 0x7 | |
fs 0x0 | |
gs 0x0 | |
exit status 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment