golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.

Home Page:https://github.com/vurtun/nuklear

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random crash on MacOS v10.15.2

AllenDang opened this issue · comments

I met a random crash on MacOS v10.15.2 with go version 1.13.5, with GLFW backend.

The crash log is:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xffffffffffffffff pc=0xffffffffffffffff]

runtime stack:
runtime.throw(0x41f709d, 0x2a)
	/usr/local/Cellar/go/1.13.5/libexec/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
	/usr/local/Cellar/go/1.13.5/libexec/src/runtime/signal_unix.go:378 +0x47c

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x41398f0, 0xc0000cbc78, 0xc000000180)
	/usr/local/Cellar/go/1.13.5/libexec/src/runtime/cgocall.go:128 +0x5b fp=0xc0000cbc48 sp=0xc0000cbc10 pc=0x40056bb
github.com/golang-ui/nuklear/nk._Cfunc_nk_group_begin(0x986a600, 0xc00001a100, 0x41, 0x0)
	_cgo_gotypes.go:4128 +0x4d fp=0xc0000cbc78 sp=0xc0000cbc48 pc=0x40e280d

It will happen after few minutes run. I tried to found out why, but cgo cannot provide enough information about where exactly the crash is happened so I put it here if anyone could give me a hint.