g3n / g3nd

G3N Game Engine Demo
BSD 2-Clause "Simplified" License
281 stars 31 forks source link

Crash after idle on Windows #19

Closed SMerrony closed 5 years ago

SMerrony commented 6 years ago

I had the demo running for a while, when I either moused over it, or clicked on it it crashed.

Here is the log/traceback... $ ./g3nd 07:12:05.107360:I:G3ND:OpenGL version: 3.3.0 07:12:05.115358:I:G3ND:G3N Demo v0.5 starting 07:12:05.116359:I:G3ND:Using data directory:C:\Users\steve\go\src\github.com\g3n\g3nd\data 07:12:05.342506:I:G3ND:OpenAL Community version: 1.1 ALSOFT 1.18.2 07:12:05.342704:I:G3ND:Xiph.Org libVorbis 1.3.5 fatal error: startm: m has p

runtime stack: runtime.throw(0x81924f, 0xf) C:/Go/src/runtime/panic.go:616 +0x88 runtime.startm(0x0, 0x406fd01) C:/Go/src/runtime/proc.go:2009 +0x1ea runtime.wakep() C:/Go/src/runtime/proc.go:2083 +0x4f runtime.resetspinning() C:/Go/src/runtime/proc.go:2454 +0x7f runtime.schedule() C:/Go/src/runtime/proc.go:2548 +0x133 runtime.park_m(0xc04202c600) C:/Go/src/runtime/proc.go:2604 +0xcb runtime.mcall(0x0) C:/Go/src/runtime/asm_amd64.s:351 +0x5e

goroutine 1 [runnable, locked to thread]: github.com/go-gl/glfw/v3.2/glfw._Cfunc_glfwPollEvents() _cgo_gotypes.go:1150 +0x48 github.com/go-gl/glfw/v3.2/glfw.PollEvents() C:/Users/steve/go/src/github.com/go-gl/glfw/v3.2/glfw/window.go:771 +0x27 github.com/g3n/engine/window.(glfwManager).PollEvents(0xc0420ac3c0) C:/Users/steve/go/src/github.com/g3n/engine/window/glfw.go:127 +0x27 github.com/g3n/engine/util/application.(Application).Run(0xc04205c640, 0x0, 0x0) C:/Users/steve/go/src/github.com/g3n/engine/util/application/application.go:477 +0x2ec main.main() C:/Users/steve/go/src/github.com/g3n/g3nd/main.go:28 +0x54 AL lib: (EE) alc_cleanup: 1 device not closed