Skip to content

Instantly share code, notes, and snippets.

@copiesofcopies
Created September 23, 2014 03:08
Show Gist options
  • Save copiesofcopies/a8056b54e4c341d83c01 to your computer and use it in GitHub Desktop.
Save copiesofcopies/a8056b54e4c341d83c01 to your computer and use it in GitHub Desktop.
$ ui-test
(ui-test:14399): Gdk-ERROR **: The program 'ui-test' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
(Details: serial 1590 error_code 16 request_code 139 (RENDER) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
SIGTRAP: trace trap
PC=0xb6d52fbe
signal arrived during cgo execution
goroutine 16 [syscall]:
runtime.cgocallbackg()
/usr/lib/go/src/pkg/runtime/cgocall.c:244 +0x4d fp=0x86164f18 sp=0x86164f10
runtime.cgocallback_gofunc(0x8052d1e, 0x804f340, 0x86164f64)
/usr/lib/go/src/pkg/runtime/asm_386.s:705 +0x5a fp=0x86164f28 sp=0x86164f18
runtime.asmcgocall(0x804f340, 0x86164f64)
/usr/lib/go/src/pkg/runtime/asm_386.s:614 +0x29 fp=0x86164f2c sp=0x86164f28
runtime.cgocall(0x804f340, 0x86164f64)
/usr/lib/go/src/pkg/runtime/cgocall.c:143 +0x10e fp=0x86164f58 sp=0x86164f2c
github.com/andlabs/ui._Cfunc_gtk_main(0x807769f)
github.com/andlabs/ui/_obj/_cgo_defun.c:684 +0x37 fp=0x86164f64 sp=0x86164f58
github.com/andlabs/ui.uimsgloop()
/usr/share/go/src/pkg/github.com/andlabs/ui/uitask_unix.go:31 +0x21 fp=0x86164f68 sp=0x86164f64
github.com/andlabs/ui.Go(0x0, 0x0)
/usr/lib/go/src/pkg/github.com/andlabs/ui/uitask.go:22 +0x6f fp=0x86164f7c sp=0x86164f68
main.main()
/home/aaronw/personal/development/go/src/github.com/copiesofcopies/ui-test/main.go:48 +0x3a fp=0x86164f9c sp=0x86164f7c
runtime.main()
/usr/lib/go/src/pkg/runtime/proc.c:247 +0x11e fp=0x86164fd0 sp=0x86164f9c
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445 fp=0x86164fd4 sp=0x86164fd0
created by _rt0_go
/usr/lib/go/src/pkg/runtime/asm_386.s:101 +0x102
goroutine 19 [finalizer wait]:
runtime.park(0x8061510, 0x81ab758, 0x81a1129)
/usr/lib/go/src/pkg/runtime/proc.c:1369 +0x94
runtime.parkunlock(0x81ab758, 0x81a1129)
/usr/lib/go/src/pkg/runtime/proc.c:1385 +0x3f
runfinq()
/usr/lib/go/src/pkg/runtime/mgc0.c:2644 +0xc5
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445
goroutine 17 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445
goroutine 23 [syscall]:
github.com/andlabs/ui._Cfunc_gtk_widget_show_all(0x89d88b0)
github.com/andlabs/ui/_obj/_cgo_defun.c:1044 +0x37
github.com/andlabs/ui.(*window).Show(0x96398480)
/usr/share/go/src/pkg/github.com/andlabs/ui/window_unix.go:65 +0x30
main.newWindow()
/home/aaronw/personal/development/go/src/github.com/copiesofcopies/ui-test/main.go:43 +0x185
created by main.func·001
/home/aaronw/personal/development/go/src/github.com/copiesofcopies/ui-test/main.go:14 +0x28
goroutine 21 [chan receive]:
github.com/andlabs/ui.uiissueloop()
/usr/lib/go/src/pkg/github.com/andlabs/ui/uitask.go:59 +0x4d
created by github.com/andlabs/ui.Go
/usr/lib/go/src/pkg/github.com/andlabs/ui/uitask.go:21 +0x68
eax 0x0
ebx 0xb6e28000
ecx 0xb6e28000
edx 0x0
edi 0x2
esi 0x2
ebp 0x4
esp 0xbfe93ec0
eip 0xb6d52fbe
eflags 0x200246
cs 0x73
fs 0x0
gs 0x33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment