XYZ crashes on Windows on user input
In this case, padding. CGO error:
Exception 0xc0000005 0x0 0x104 0x7ffafd558a3e PC=0x7ffafd558a3e signal arrived during external code execution
The same issue can occur while full-screening the window. Another potentially related crash that can happen in the same circumstances:
panic: vulkan error: vulkan error: device lost (-4) on C:/Users/korei/vgpu/vgpu/errors.go:23 (0x7ff732d013fe)
NewError: pc, _, _, ok := runtime.Caller(0)
These crashes might be related to why apps keep crashing on mobile.
Basically, any time there are external events like window size or inspect editor changes while some task is happening (like animation), it panics. It seems like there needs to be a safety check somewhere.
This crash never seems to happen on macOS, only on Windows. It was crashing a lot less before, then it was crashing a lot more, and now it crashing less again, but not as infrequently as before. This is the full crash message:
Exception 0xc0000005 0x0 0x104 0x7ffe13678a3e
PC=0x7ffe13678a3e
signal arrived during external code execution
runtime.cgocall(0x7ff69d050290, 0xc0005b8df0)
C:/Program Files/Go/src/runtime/cgocall.go:158 +0x4a fp=0xc0005b8dc8 sp=0xc0005b8d90 pc=0x7ff69c5e4eaa
github.com/goki/vulkan._Cfunc_callVkCmdDrawIndexed(0x1f168f156c0, 0x6, 0x1, 0x0, 0x0, 0x0)
_cgo_gotypes.go:7788 +0x52 fp=0xc0005b8df0 sp=0xc0005b8dc8 pc=0x7ff69c9796d2
github.com/goki/vulkan.CmdDrawIndexed.func1(0x1f168f156c0, 0x68fb8940?, 0x1f1?, 0x9d458580?, 0x7ff6?, 0x22d1c01?)
C:/Users/korei/goki/vulkan/vulkan.go:1043 +0x85 fp=0xc0005b8e38 sp=0xc0005b8df0 pc=0x7ff69c9b1025
github.com/goki/vulkan.CmdDrawIndexed(0x1f168f156c0, 0x68fb8940?, 0x1f1?, 0x3b362c0?, 0xc0?, 0x4?)
C:/Users/korei/goki/vulkan/vulkan.go:1043 +0x1e fp=0xc0005b8e68 sp=0xc0005b8e38 pc=0x7ff69c9b0f3e
github.com/goki/vgpu/vgpu.(*Pipeline).DrawVertex(0xc000484800, 0x5?, 0x1f168f30140?)
C:/Users/korei/goki/vgpu/vgpu/pipeline.go:426 +0x325 fp=0xc0005b8f38 sp=0xc0005b8e68 pc=0x7ff69c9f2f45
github.com/goki/vgpu/vgpu.(*Pipeline).BindDrawVertex(0xc000484800, 0xc003137590?, 0x7ff69d6052c0?)
C:/Users/korei/goki/vgpu/vgpu/pipeline.go:439 +0x4b fp=0xc0005b8f70 sp=0xc0005b8f38 pc=0x7ff69c9f300b
github.com/goki/vgpu/vphong.(*Phong).RenderTexture(0xc0042d8940)
C:/Users/korei/goki/vgpu/vphong/texture.go:200 +0x1b2 fp=0xc0005b8fd0 sp=0xc0005b8f70 pc=0x7ff69cbef112
github.com/goki/vgpu/vphong.(*Phong).Render(0xc0042d8940)
C:/Users/korei/goki/vgpu/vphong/vphong.go:118 +0x93 fp=0xc0005b9000 sp=0xc0005b8fd0 pc=0x7ff69cbef4d3
github.com/goki/gi/gi3d.(*Solid).Render3D(0xc003485200, 0xc0042d8000)
C:/Users/korei/goki/gi/gi3d/solid.go:209 +0xfe fp=0xc0005b9030 sp=0xc0005b9000 pc=0x7ff69cfc799e
github.com/goki/gi/gi3d.(*Scene).Render3D(0xc0042d8000, 0x0)
C:/Users/korei/goki/gi/gi3d/render.go:392 +0x416 fp=0xc0005b9258 sp=0xc0005b9030 pc=0x7ff69cfbd7d6
github.com/goki/gi/gi3d.(*Scene).RenderImpl(0xc0042d8000, 0x0?)
C:/Users/korei/goki/gi/gi3d/render.go:301 +0x74 fp=0xc0005b9280 sp=0xc0005b9258 pc=0x7ff69cfbd214
github.com/goki/gi/gi3d.(*Scene).Render(0xc0042d8000)
C:/Users/korei/goki/gi/gi3d/render.go:264 +0x205 fp=0xc0005b95a0 sp=0xc0005b9280 pc=0x7ff69cfbcee5
github.com/goki/gi/gi3d.(*Scene).Render2D(0xc0042d8000)
C:/Users/korei/goki/gi/gi3d/scene.go:403 +0x9b fp=0xc0005b95f8 sp=0xc0005b95a0 pc=0x7ff69cfbf61b
github.com/goki/gi/gi.(*Layout).Render2DChildren(0xc00361f800?)
C:/Users/korei/goki/gi/gi/layout.go:605 +0x9b fp=0xc0005b9640 sp=0xc0005b95f8 pc=0x7ff69cc1ed3b
github.com/goki/gi/gi.(*Layout).Render2D(0xc00361f800)
C:/Users/korei/goki/gi/gi/layout.go:1299 +0x10a fp=0xc0005b9678 sp=0xc0005b9640 pc=0x7ff69cc21f6a
github.com/goki/gi/gi.(*Layout).Render2DChildren(0xc00361f100?)
C:/Users/korei/goki/gi/gi/layout.go:605 +0x9b fp=0xc0005b96c0 sp=0xc0005b9678 pc=0x7ff69cc1ed3b
github.com/goki/gi/gi.(*Layout).Render2D(0xc00361f100)
C:/Users/korei/goki/gi/gi/layout.go:1299 +0x10a fp=0xc0005b96f8 sp=0xc0005b96c0 pc=0x7ff69cc21f6a
github.com/goki/gi/gi.(*Layout).Render2DChildren(0xc00361dc00?)
C:/Users/korei/goki/gi/gi/layout.go:605 +0x9b fp=0xc0005b9740 sp=0xc0005b96f8 pc=0x7ff69cc1ed3b
github.com/goki/gi/gi.(*Frame).Render2D(0xc00361dc00)
C:/Users/korei/goki/gi/gi/frame.go:153 +0xfc fp=0xc0005b9778 sp=0xc0005b9740 pc=0x7ff69cc158fc
github.com/goki/gi/gi.(*Layout).Render2DChildren(0xc00361c700?)
C:/Users/korei/goki/gi/gi/layout.go:605 +0x9b fp=0xc0005b97c0 sp=0xc0005b9778 pc=0x7ff69cc1ed3b
github.com/goki/gi/gi.(*Layout).Render2D(0xc00361c700)
C:/Users/korei/goki/gi/gi/layout.go:1299 +0x10a fp=0xc0005b97f8 sp=0xc0005b97c0 pc=0x7ff69cc21f6a
github.com/goki/gi/gi.(*Node2DBase).Render2DChildren(0xc003fd2000?)
C:/Users/korei/goki/gi/gi/node2d.go:901 +0x76 fp=0xc0005b9830 sp=0xc0005b97f8 pc=0x7ff69cc32d36
github.com/goki/gi/gi.(*Viewport2D).Render2D(0xc003fd2000)
C:/Users/korei/goki/gi/gi/viewport.go:705 +0x51 fp=0xc0005b9848 sp=0xc0005b9830 pc=0x7ff69cc5c6d1
github.com/goki/gi/gi.(*Node2DBase).Render2DTree(0xc003fd2000?)
C:/Users/korei/goki/gi/gi/node2d.go:862 +0x67 fp=0xc0005b9878 sp=0xc0005b9848 pc=0x7ff69cc329c7
github.com/goki/gi/gi.(*Node2DBase).FullRender2DTree(0xc003fd2000)
C:/Users/korei/goki/gi/gi/node2d.go:725 +0x5d fp=0xc0005b98a0 sp=0xc0005b9878 pc=0x7ff69cc31ddd
github.com/goki/gi/gi.(*Viewport2D).FullRender2DTree(0xc003fd2000?)
C:/Users/korei/goki/gi/gi/viewport.go:625 +0xd4 fp=0xc0005b9900 sp=0xc0005b98a0 pc=0x7ff69cc5be54
github.com/goki/gi/gi.(*Viewport2D).UpdateNodes(0xc003fd2000)
C:/Users/korei/goki/gi/gi/viewport.go:899 +0x537 fp=0xc0005b99a8 sp=0xc0005b9900 pc=0x7ff69cc5dc57
github.com/goki/gi/gi.(*Viewport2D).SetNeedsFullRender(0xc003fd2000?)
C:/Users/korei/goki/gi/gi/viewport.go:859 +0x77 fp=0xc0005b99d0 sp=0xc0005b99a8 pc=0x7ff69cc5d4d7
github.com/goki/gi/gi.(*Window).FullReRender(0xc0004b9900)
C:/Users/korei/goki/gi/gi/window.go:1055 +0x9c fp=0xc0005b9a28 sp=0xc0005b99d0 pc=0x7ff69cc6a1bc
github.com/goki/gi/gi.(*Window).Resized(0xc0004b9900, {0x7ff600000004?, 0xe?})
C:/Users/korei/goki/gi/gi/window.go:829 +0x3f2 fp=0xc0005b9b18 sp=0xc0005b9a28 pc=0x7ff69cc68bb2
github.com/goki/gi/gi.(*Window).HiPriorityEvents(0xc0004b9900, {0x7ff69eff1b28?, 0xc000b00f20?})
C:/Users/korei/goki/gi/gi/window.go:1862 +0x706 fp=0xc0005b9bc0 sp=0xc0005b9b18 pc=0x7ff69cc6fbe6
github.com/goki/gi/gi.(*Window).ProcessEvent(0xc0004b9900, {0x7ff69eff1b28, 0xc000b00f20})
C:/Users/korei/goki/gi/gi/window.go:1693 +0x578 fp=0xc0005b9cc8 sp=0xc0005b9bc0 pc=0x7ff69cc6e9d8
github.com/goki/gi/gi.(*Window).EventLoop(0xc0004b9900)
C:/Users/korei/goki/gi/gi/window.go:1631 +0x33 fp=0xc0005b9d20 sp=0xc0005b9cc8 pc=0x7ff69cc6e2b3
github.com/goki/gi/gi.(*Window).StartEventLoop(0xc000b58500?)
C:/Users/korei/goki/gi/gi/window.go:995 +0x57 fp=0xc0005b9d38 sp=0xc0005b9d20 pc=0x7ff69cc69d37
main.mainrun()
C:/Users/korei/goki/gi/examples/gi3d/gi3d.go:415 +0x2c05 fp=0xc0005b9fb0 sp=0xc0005b9d38 pc=0x7ff69d04f6e5
github.com/goki/gi/gimain.Main.func1({0xc00047ffa6?, 0xc00047ffb8?})
C:/Users/korei/goki/gi/gimain/gimain.go:32 +0x1b fp=0xc0005b9fc0 sp=0xc0005b9fb0 pc=0x7ff69d04c47b
github.com/goki/gi/oswin/driver/vkos.Main.func1()
C:/Users/korei/goki/gi/oswin/driver/vkos/app.go:78 +0x2e fp=0xc0005b9fe0 sp=0xc0005b9fc0 pc=0x7ff69cfec3ce
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0005b9fe8 sp=0xc0005b9fe0 pc=0x7ff69c64ade1
created by github.com/goki/gi/oswin/driver/vkos.Main
C:/Users/korei/goki/gi/oswin/driver/vkos/app.go:77 +0x85
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x7ff69d068bf0, 0xc00009fe98)
C:/Program Files/Go/src/runtime/cgocall.go:158 +0x4a fp=0xc00009fe70 sp=0xc00009fe38 pc=0x7ff69c5e4eaa
github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwWaitEventsTimeout(0x3fc999999999999a)
_cgo_gotypes.go:2513 +0x52 fp=0xc00009fe98 sp=0xc00009fe70 pc=0x7ff69c9c2652
github.com/go-gl/glfw/v3.3/glfw.WaitEventsTimeout(0xc00009ff00?)
C:/Users/korei/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:1009 +0x1e fp=0xc00009feb0 sp=0xc00009fe98 pc=0x7ff69c9cbcfe
github.com/goki/gi/oswin/driver/vkos.(*appImpl).mainLoop(0x7ff69d37fa00)
C:/Users/korei/goki/gi/oswin/driver/vkos/app.go:164 +0x12c fp=0xc00009ff30 sp=0xc00009feb0 pc=0x7ff69cfec9ac
github.com/goki/gi/oswin/driver/vkos.Main(0x7ff69d068fe0?)
C:/Users/korei/goki/gi/oswin/driver/vkos/app.go:81 +0x91 fp=0xc00009ff48 sp=0xc00009ff30 pc=0x7ff69cfec491
github.com/goki/gi/oswin/driver.driverMain(...)
C:/Users/korei/goki/gi/oswin/driver/driver_vkos.go:20
github.com/goki/gi/oswin/driver.Main(...)
C:/Users/korei/goki/gi/oswin/driver/driver.go:27
github.com/goki/gi/gimain.Main(0x7ff69ee73c20?)
C:/Users/korei/goki/gi/gimain/gimain.go:31 +0x57 fp=0xc00009ff68 sp=0xc00009ff48 pc=0x7ff69d04c437
main.main()
C:/Users/korei/goki/gi/examples/gi3d/gi3d.go:26 +0x25 fp=0xc00009ff80 sp=0xc00009ff68 pc=0x7ff69d04c5a5
runtime.main()
C:/Program Files/Go/src/runtime/proc.go:250 +0x1fe fp=0xc00009ffe0 sp=0xc00009ff80 pc=0x7ff69c61ddbe
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00009ffe8 sp=0xc00009ffe0 pc=0x7ff69c64ade1
goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000081fb0 sp=0xc000081f90 pc=0x7ff69c61e156
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:369
runtime.forcegchelper()
C:/Program Files/Go/src/runtime/proc.go:302 +0xb1 fp=0xc000081fe0 sp=0xc000081fb0 pc=0x7ff69c61dff1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000081fe8 sp=0xc000081fe0 pc=0x7ff69c64ade1
created by runtime.init.6
C:/Program Files/Go/src/runtime/proc.go:290 +0x25
goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000083f90 sp=0xc000083f70 pc=0x7ff69c61e156
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
C:/Program Files/Go/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc000083fc8 sp=0xc000083f90 pc=0x7ff69c606d57
runtime.gcenable.func1()
C:/Program Files/Go/src/runtime/mgc.go:178 +0x26 fp=0xc000083fe0 sp=0xc000083fc8 pc=0x7ff69c5fb8a6
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000083fe8 sp=0xc000083fe0 pc=0x7ff69c64ade1
created by runtime.gcenable
C:/Program Files/Go/src/runtime/mgc.go:178 +0x6b
goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc000030150?, 0x7ff69efe0f40?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000093f70 sp=0xc000093f50 pc=0x7ff69c61e156
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x7ff69f9ab5a0)
C:/Program Files/Go/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc000093fa0 sp=0xc000093f70 pc=0x7ff69c604d93
runtime.bgscavenge(0x0?)
C:/Program Files/Go/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc000093fc8 sp=0xc000093fa0 pc=0x7ff69c6053a5
runtime.gcenable.func2()
C:/Program Files/Go/src/runtime/mgc.go:179 +0x26 fp=0xc000093fe0 sp=0xc000093fc8 pc=0x7ff69c5fb846
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000093fe8 sp=0xc000093fe0 pc=0x7ff69c64ade1
created by runtime.gcenable
C:/Program Files/Go/src/runtime/mgc.go:179 +0xaa
goroutine 5 [finalizer wait]:
runtime.gopark(0x0?, 0xc003504ec0?, 0x0?, 0xe0?, 0x1000000010?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000085e28 sp=0xc000085e08 pc=0x7ff69c61e156
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:369
runtime.runfinq()
C:/Program Files/Go/src/runtime/mfinal.go:180 +0x10f fp=0xc000085fe0 sp=0xc000085e28 pc=0x7ff69c5fa9af
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x7ff69c64ade1
created by runtime.createfing
C:/Program Files/Go/src/runtime/mfinal.go:157 +0x45
goroutine 6 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000095f50 sp=0xc000095f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000095fe0 sp=0xc000095f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000095fe8 sp=0xc000095fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 7 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc00008ff50 sp=0xc00008ff30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc00008ffe0 sp=0xc00008ff50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 18 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x1?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc00010df50 sp=0xc00010df30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc00010dfe0 sp=0xc00010df50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00010dfe8 sp=0xc00010dfe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 19 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0x84?, 0xec?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc00010ff50 sp=0xc00010ff30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc00010ffe0 sp=0xc00010ff50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00010ffe8 sp=0xc00010ffe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 34 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0x84?, 0xec?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000109f50 sp=0xc000109f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000109fe0 sp=0xc000109f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000109fe8 sp=0xc000109fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 8 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x1?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000091f50 sp=0xc000091f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000091fe0 sp=0xc000091f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000091fe8 sp=0xc000091fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 9 [GC worker (idle)]:
runtime.gopark(0x7ff69fa03ea0?, 0x1?, 0xe4?, 0x33?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000475f50 sp=0xc000475f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000475fe0 sp=0xc000475f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000475fe8 sp=0xc000475fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 35 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc00010bf50 sp=0xc00010bf30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc00010bfe0 sp=0xc00010bf50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00010bfe8 sp=0xc00010bfe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 36 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x1?, 0x10?, 0x86?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000471f50 sp=0xc000471f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000471fe0 sp=0xc000471f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000471fe8 sp=0xc000471fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 20 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0x84?, 0xec?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000117f50 sp=0xc000117f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000117fe0 sp=0xc000117f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000117fe8 sp=0xc000117fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 37 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000473f50 sp=0xc000473f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000473fe0 sp=0xc000473f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000473fe8 sp=0xc000473fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 21 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0xc0000369a0?, 0x18?, 0x14?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000119f50 sp=0xc000119f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000119fe0 sp=0xc000119f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000119fe8 sp=0xc000119fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 38 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x1?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000113f50 sp=0xc000113f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000113fe0 sp=0xc000113f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000113fe8 sp=0xc000113fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 10 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x3?, 0xd8?, 0xde?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000477f50 sp=0xc000477f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000477fe0 sp=0xc000477f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000477fe8 sp=0xc000477fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 11 [GC worker (idle)]:
runtime.gopark(0x7ff69fa03ea0?, 0x1?, 0xbc?, 0x12?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc00047df50 sp=0xc00047df30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc00047dfe0 sp=0xc00047df50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00047dfe8 sp=0xc00047dfe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 39 [GC worker (idle)]:
runtime.gopark(0x377b918d00ac4?, 0x1?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000115f50 sp=0xc000115f30 pc=0x7ff69c61e156
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000115fe0 sp=0xc000115f50 pc=0x7ff69c5fdab1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000115fe8 sp=0xc000115fe0 pc=0x7ff69c64ade1
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25
goroutine 40 [select]:
runtime.gopark(0xc00047ff88?, 0x3?, 0xc0?, 0x56?, 0xc00047ff62?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc00047fde8 sp=0xc00047fdc8 pc=0x7ff69c61e156
runtime.selectgo(0xc00047ff88, 0xc00047ff5c, 0xc000085f70?, 0x0, 0xc0000000a0?, 0x1)
C:/Program Files/Go/src/runtime/select.go:328 +0x7dc fp=0xc00047ff28 sp=0xc00047fde8 pc=0x7ff69c62dadc
github.com/goki/gi/oswin/driver/vkos.(*windowImpl).winLoop(0xc000cc4000)
C:/Users/korei/goki/gi/oswin/driver/vkos/window.go:163 +0xb2 fp=0xc00047ffc8 sp=0xc00047ff28 pc=0x7ff69cff24f2
github.com/goki/gi/oswin/driver/vkos.(*appImpl).NewWindow.func4()
C:/Users/korei/goki/gi/oswin/driver/vkos/app.go:281 +0x26 fp=0xc00047ffe0 sp=0xc00047ffc8 pc=0x7ff69cfed9e6
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00047ffe8 sp=0xc00047ffe0 pc=0x7ff69c64ade1
created by github.com/goki/gi/oswin/driver/vkos.(*appImpl).NewWindow
C:/Users/korei/goki/gi/oswin/driver/vkos/app.go:281 +0xa18
goroutine 22 [chan receive]:
runtime.gopark(0xc0034f8000?, 0x0?, 0x3e?, 0x10?, 0x4?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc004ba5ed0 sp=0xc004ba5eb0 pc=0x7ff69c61e156
runtime.chanrecv(0xc000c745a0, 0x0, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x49b fp=0xc004ba5f60 sp=0xc004ba5ed0 pc=0x7ff69c5e7f7b
runtime.chanrecv1(0xc0025df880?, 0xc004ba106d?)
C:/Program Files/Go/src/runtime/chan.go:442 +0x18 fp=0xc004ba5f88 sp=0xc004ba5f60 pc=0x7ff69c5e7ab8
main.(*Anim).Animate(0xc000b58500)
C:/Users/korei/goki/gi/examples/gi3d/gi3d.go:109 +0x45 fp=0xc004ba5fc8 sp=0xc004ba5f88 pc=0x7ff69d04c925
main.(*Anim).Start.func1()
C:/Users/korei/goki/gi/examples/gi3d/gi3d.go:79 +0x26 fp=0xc004ba5fe0 sp=0xc004ba5fc8 pc=0x7ff69d04c6e6
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc004ba5fe8 sp=0xc004ba5fe0 pc=0x7ff69c64ade1
created by main.(*Anim).Start
C:/Users/korei/goki/gi/examples/gi3d/gi3d.go:79 +0xc5
rax 0x0
rbx 0x1f168f58bf0
rcx 0x0
rdi 0x0
rsi 0x4000000000000
rbp 0x39331ffbe0
rsp 0x39331ffa30
r8 0x0
r9 0x1f168f58e80
r10 0x1f168ec5990
r11 0x1
r12 0x1f168f20500
r13 0x0
r14 0x0
r15 0x1f168f592d0
rip 0x7ffe13678a3e
rflags 0x10256
cs 0x33
fs 0x53
gs 0x2b
vgpu.Debug info; there doesn't seem to be a bad surface error:
Set: -2
Role: Vertex
Var: 0: Pos Float32Vec2[4] (size: 8) Vals: 1
Role: Index
Var: 1: Index Uint16[6] (size: 2) Vals: 1
Set: -1
Role: Push
Var: 0: Mtxs Struct (size: 128) Vals: 0
Set: 0
Role: TextureRole
Var: 0: Tex ImageRGBA32 (size: 4) Vals: 16
Set: -2
Role: Vertex
Var: 0: Pos Float32Vec3 (size: 12) Vals: 27
Var: 1: Norm Float32Vec3 (size: 12) Vals: 27
Var: 2: Tex Float32Vec2 (size: 8) Vals: 27
Var: 3: Color Float32Vec4 (size: 16) Vals: 27
Role: Index
Var: 4: Index Uint32 (size: 4) Vals: 27
Set: -1
Role: Push
Var: 0: PushU Struct (size: 128) Vals: 1
Set: 0
Role: Uniform
Var: 0: Mtxs Struct (size: 128) Vals: 1
Set: 1
Role: Uniform
Var: 0: NLights Struct (size: 16) Vals: 1
Set: 2
Role: Uniform
Var: 0: AmbLights Struct[8] (size: 16) Vals: 1
Var: 1: DirLights Struct[8] (size: 32) Vals: 1
Var: 2: PointLights Struct[8] (size: 48) Vals: 1
Var: 3: SpotLights Struct[8] (size: 64) Vals: 1
Set: 3
Role: TextureRole
Var: 0: Tex ImageRGBA32 (size: 4) Vals: 3
Set: -2
Role: Vertex
Var: 0: Pos Float32Vec3 (size: 12) Vals: 27
Var: 1: Norm Float32Vec3 (size: 12) Vals: 27
Var: 2: Tex Float32Vec2 (size: 8) Vals: 27
Var: 3: Color Float32Vec4 (size: 16) Vals: 27
Role: Index
Var: 4: Index Uint32 (size: 4) Vals: 27
Set: -1
Role: Push
Var: 0: PushU Struct (size: 128) Vals: 1
Set: 0
Role: Uniform
Var: 0: Mtxs Struct (size: 128) Vals: 1
Set: 1
Role: Uniform
Var: 0: NLights Struct (size: 16) Vals: 1
Set: 2
Role: Uniform
Var: 0: AmbLights Struct[8] (size: 16) Vals: 1
Var: 1: DirLights Struct[8] (size: 32) Vals: 1
Var: 2: PointLights Struct[8] (size: 48) Vals: 1
Var: 3: SpotLights Struct[8] (size: 64) Vals: 1
Set: 3
Role: TextureRole
Var: 0: Tex ImageRGBA32 (size: 4) Vals: 3
Exception 0xc0000005 0x0 0x104 0x7ffe05bf8a3e
PC=0x7ffe05bf8a3e
signal arrived during external code execution
This issue is still occurring, but only when dragging on the 3d scene (not when doing nothing or programmatically animating it).
This definitely still happens reliably.
This definitely still happens reliably.
how to input? dragging on the 3d scene is working.
As I mentioned earlier when I was debugging on your computer, it doesn't seem to crash on your computer, only on mine, which is weird.
Oh my gad
---Original--- From: @.> Date: Sat, Feb 24, 2024 12:18 PM To: @.>; Cc: @.@.>; Subject: Re: [cogentcore/core] XYZ crashes on Windows on user input (Issue#536)
As I mentioned earlier when I was debugging on your computer, it doesn't seem to crash on your computer, only on mine, which is weird.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I seem to have the same problem, when I run xyz.go, if I click somewhere in the middle part of the 3D model, it causes the program to exit abnormally!
The red arrow points to an area where clicking will cause the program to exit abnormally. Sometimes the error message is the same as yours, sometimes it will be a message like this:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0x7ff79b2fec17]
goroutine 1 [running, locked to thread]:
cogentcore.org/core/xyz/io/obj.(*Decoder).SetFileFS(0xc0044361a0, {0x7ff79c02f520?, 0xc004439230?}, {0xc0042be0d2, 0x15})
D:/ProgramData/go/pkg/mod/cogentcore.org/[email protected]/xyz/io/obj/obj.go:96 +0x1b7
cogentcore.org/core/xyz.DecodeFileFS({0x7ff79c02f520, 0xc004439230}, {0xc0042be0d2, 0x15})
D:/ProgramData/go/pkg/mod/cogentcore.org/[email protected]/xyz/io.go:94 +0x235
cogentcore.org/core/xyz.(*Scene).OpenNewObjFS(0xc000317000, {0x7ff79c02f520?, 0xc004439230?}, {0xc0042be0d2, 0x15}, {0x7ff79c046508, 0xc004446000})
D:/ProgramData/go/pkg/mod/cogentcore.org/[email protected]/xyz/io.go:177 +0x52
cogentcore.org/core/xyz.(*Scene).OpenNewObj(0xc000317000?, {0x7ff79b62754a?, 0xc00062bdb8?}, {0x7ff79c046508, 0xc004446000})
D:/ProgramData/go/pkg/mod/cogentcore.org/[email protected]/xyz/io.go:167 +0x65
myapp/xyz_viewer.Xyz()
D:/_Project/goProject/cogentCoreProject/demo/xyz_viewer/xyz_viewer.go:50 +0x205
main.main()
D:/_Project/goProject/cogentCoreProject/demo/mian.go:23 +0x2a
core run failed: failed to run ".\Demo : exit status 2"
I did not realize that it mainly crashes when you click in the middle of the window; that information will help me when I work on fixing this soon, thank you.
I just got a similar crash on macOS running axon/examples/ra25 and closing the winodw with Command+W:
Running on GPU: Apple M1 Max: id=235013103 idx=0
libc++abi: Pure virtual function called!
SIGABRT: abort
PC=0x180d560dc m=15 sigcode=0
signal arrived during cgo execution
goroutine 3478 gp=0x14026874c40 m=15 mp=0x1403e2fc008 [syscall]:
runtime.cgocall(0x10307682c, 0x140268b14b8)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocall.go:157 +0x44 fp=0x140268b1480 sp=0x140268b1440 pc=0x1022aa4c4
github.com/goki/vulkan._Cfunc_callVkAllocateCommandBuffers(0x15b0c1018, 0x157f21590, 0x14036a7bd40)
_cgo_gotypes.go:7364 +0x34 fp=0x140268b14b0 sp=0x140268b1480 pc=0x1026b5844
github.com/goki/vulkan.AllocateCommandBuffers.func1(0x15b0c1018, 0x157f21590, 0x14036a7bd40)
/Users/kaioreilly/go/pkg/mod/github.com/goki/[email protected]/vulkan.go:870 +0x8c fp=0x140268b14f0 sp=0x140268b14b0 pc=0x1026e556c
github.com/goki/vulkan.AllocateCommandBuffers(0x15b0c1018, 0x1403e2fc008?, {0x14036a7bd40, 0x1, 0x1})
/Users/kaioreilly/go/pkg/mod/github.com/goki/[email protected]/vulkan.go:870 +0x48 fp=0x140268b1520 sp=0x140268b14f0 pc=0x1026e5498
cogentcore.org/core/vgpu.(*CmdPool).NewBuffer(0x14022fb5838, 0x14022fb5820)
/Users/kaioreilly/cogent/core/vgpu/cmds.go:51 +0x84 fp=0x140268b15a0 sp=0x140268b1520 pc=0x1027038c4
cogentcore.org/core/vgpu.(*System).NewCmdBuff(0x14022fb5808, {0x10309cb77, 0x9})
/Users/kaioreilly/cogent/core/vgpu/system.go:227 +0x3c fp=0x140268b15e0 sp=0x140268b15a0 pc=0x10271d84c
github.com/emer/axon/v2/axon.(*GPU).RunCyclesCmd(0x140003acab0)
/Users/kaioreilly/emer/axon/axon/gpu.go:1252 +0xa4 fp=0x140268b16e0 sp=0x140268b15e0 pc=0x103002694
github.com/emer/axon/v2/axon.(*GPU).RunCycles(0x140003acab0)
/Users/kaioreilly/emer/axon/axon/gpu.go:1230 +0x28 fp=0x140268b1820 sp=0x140268b16e0 pc=0x103002508
github.com/emer/axon/v2/axon.(*GPU).RunCycle(0x140268b1888?)
/Users/kaioreilly/emer/axon/axon/gpu.go:1160 +0x58 fp=0x140268b1840 sp=0x140268b1820 pc=0x103001f28
github.com/emer/axon/v2/axon.(*Network).Cycle(0x14000305758?, 0x140000b34a0?)
/Users/kaioreilly/emer/axon/axon/network.go:107 +0x28c fp=0x140268b18b0 sp=0x140268b1840 pc=0x10302452c
github.com/emer/axon/v2/axon.LooperSimCycleAndLearn.func1()
/Users/kaioreilly/emer/axon/axon/looper.go:76 +0x94 fp=0x140268b18f0 sp=0x140268b18b0 pc=0x1030232a4
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x1400051ba40, 0x3)
/Users/kaioreilly/emer/emergent/looper/manager.go:296 +0x620 fp=0x140268b1a90 sp=0x140268b18f0 pc=0x102d3f0e0
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x1400051ba40, 0x2)
/Users/kaioreilly/emer/emergent/looper/manager.go:292 +0x3dc fp=0x140268b1c30 sp=0x140268b1a90 pc=0x102d3ee9c
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x1400051ba40, 0x1)
/Users/kaioreilly/emer/emergent/looper/manager.go:292 +0x3dc fp=0x140268b1dd0 sp=0x140268b1c30 pc=0x102d3ee9c
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x1400051ba40, 0x0)
/Users/kaioreilly/emer/emergent/looper/manager.go:292 +0x3dc fp=0x140268b1f70 sp=0x140268b1dd0 pc=0x102d3ee9c
github.com/emer/emergent/v2/looper.(*Manager).Cont(...)
/Users/kaioreilly/emer/emergent/looper/manager.go:234
github.com/emer/emergent/v2/looper.(*Manager).Run(0x1400051ba40, 0x21be4040?)
/Users/kaioreilly/emer/emergent/looper/manager.go:217 +0x68 fp=0x140268b1fa0 sp=0x140268b1f70 pc=0x102d3e948
github.com/emer/emergent/v2/egui.(*GUI).AddLooperCtrl.func3.1()
/Users/kaioreilly/emer/emergent/egui/loopctrl.go:40 +0x2c fp=0x140268b1fd0 sp=0x140268b1fa0 pc=0x102fd1a9c
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140268b1fd0 sp=0x140268b1fd0 pc=0x102316c04
created by github.com/emer/emergent/v2/egui.(*GUI).AddLooperCtrl.func3 in goroutine 124
/Users/kaioreilly/emer/emergent/egui/loopctrl.go:39 +0xa8
goroutine 1 gp=0x140000021c0 m=0 mp=0x105ac38e0 [syscall, locked to thread]:
runtime.cgocall(0x10308c19c, 0x140043f7e18)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocall.go:157 +0x44 fp=0x140043f7de0 sp=0x140043f7da0 pc=0x1022aa4c4
github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwWaitEvents()
_cgo_gotypes.go:2455 +0x30 fp=0x140043f7e10 sp=0x140043f7de0 pc=0x1026f4060
github.com/go-gl/glfw/v3.3/glfw.WaitEvents()
/Users/kaioreilly/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:949 +0x1c fp=0x140043f7e40 sp=0x140043f7e10 pc=0x1026fc54c
cogentcore.org/core/goosi/driver/desktop.(*App).MainLoop(0x105ac1c40)
/Users/kaioreilly/cogent/core/goosi/driver/desktop/app.go:73 +0x10c fp=0x140043f7ec0 sp=0x140043f7e40 pc=0x1027352fc
cogentcore.org/core/gi.Wait()
/Users/kaioreilly/cogent/core/gi/renderwin.go:41 +0x58 fp=0x140043f7ef0 sp=0x140043f7ec0 pc=0x1027c63c8
cogentcore.org/core/gi.(*Stage).Wait(...)
/Users/kaioreilly/cogent/core/gi/stage.go:301
main.(*Sim).RunGUI(0x14000305008)
/Users/kaioreilly/emer/axon/examples/ra25/ra25.go:726 +0x50 fp=0x140043f7f10 sp=0x140043f7ef0 pc=0x103075e00
main.main()
/Users/kaioreilly/emer/axon/examples/ra25/ra25.go:44 +0x44 fp=0x140043f7f40 sp=0x140043f7f10 pc=0x103070d74
runtime.main()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:271 +0x28c fp=0x140043f7fd0 sp=0x140043f7f40 pc=0x1022e15ac
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140043f7fd0 sp=0x140043f7fd0 pc=0x102316c04
goroutine 18 gp=0x14000104380 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000072790 sp=0x14000072770 pc=0x1022e19d8
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.forcegchelper()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:326 +0xb8 fp=0x140000727d0 sp=0x14000072790 pc=0x1022e1868
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000727d0 sp=0x140000727d0 pc=0x102316c04
created by runtime.init.6 in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:314 +0x24
goroutine 19 gp=0x14000104540 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000072f60 sp=0x14000072f40 pc=0x1022e19d8
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.bgsweep(0x14000112000)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcsweep.go:318 +0x108 fp=0x14000072fb0 sp=0x14000072f60 pc=0x1022cc7f8
runtime.gcenable.gowrap1()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:203 +0x28 fp=0x14000072fd0 sp=0x14000072fb0 pc=0x1022c09b8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000072fd0 sp=0x14000072fd0 pc=0x102316c04
created by runtime.gcenable in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:203 +0x6c
goroutine 20 gp=0x14000104700 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x104684118?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000073760 sp=0x14000073740 pc=0x1022e19d8
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x105ac1a00)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000073790 sp=0x14000073760 pc=0x1022ca18c
runtime.bgscavenge(0x14000112000)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcscavenge.go:658 +0xac fp=0x140000737b0 sp=0x14000073790 pc=0x1022ca74c
runtime.gcenable.gowrap2()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:204 +0x28 fp=0x140000737d0 sp=0x140000737b0 pc=0x1022c0958
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000737d0 sp=0x140000737d0 pc=0x102316c04
created by runtime.gcenable in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:204 +0xac
goroutine 34 gp=0x14000184700 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x14041903b00?, 0x80?, 0xc1?, 0x1000000010?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000088d80 sp=0x14000088d60 pc=0x1022e19d8
runtime.runfinq()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mfinal.go:194 +0x108 fp=0x14000088fd0 sp=0x14000088d80 pc=0x1022bfa88
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000088fd0 sp=0x14000088fd0 pc=0x102316c04
created by runtime.createfing in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mfinal.go:164 +0x80
goroutine 35 gp=0x14000184a80 m=nil [GC worker (idle)]:
runtime.gopark(0x67b7940f761?, 0x3?, 0xd?, 0xb6?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004f2730 sp=0x140004f2710 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004f27d0 sp=0x140004f2730 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004f27d0 sp=0x140004f27d0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 50 gp=0x14000500000 m=nil [GC worker (idle)]:
runtime.gopark(0x67b793e451d?, 0x1?, 0x65?, 0x4?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004ee730 sp=0x140004ee710 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004ee7d0 sp=0x140004ee730 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004ee7d0 sp=0x140004ee7d0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 51 gp=0x140005001c0 m=nil [GC worker (idle)]:
runtime.gopark(0x67b793ea095?, 0x3?, 0x2?, 0x5a?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004eef30 sp=0x140004eef10 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004eefd0 sp=0x140004eef30 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004eefd0 sp=0x140004eefd0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 36 gp=0x14000184c40 m=nil [GC worker (idle)]:
runtime.gopark(0x105b2f040?, 0x1?, 0xda?, 0x48?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004f2f30 sp=0x140004f2f10 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004f2fd0 sp=0x140004f2f30 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004f2fd0 sp=0x140004f2fd0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 52 gp=0x14000500380 m=nil [GC worker (idle)]:
runtime.gopark(0x67b793e4570?, 0x1?, 0x2c?, 0x45?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004ef730 sp=0x140004ef710 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004ef7d0 sp=0x140004ef730 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004ef7d0 sp=0x140004ef7d0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 37 gp=0x14000184e00 m=nil [GC worker (idle)]:
runtime.gopark(0x67b7940f255?, 0x3?, 0x5d?, 0x23?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004f3730 sp=0x140004f3710 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004f37d0 sp=0x140004f3730 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004f37d0 sp=0x140004f37d0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 53 gp=0x14000500540 m=nil [GC worker (idle)]:
runtime.gopark(0x105b2f040?, 0x1?, 0x32?, 0x32?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004eff30 sp=0x140004eff10 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004effd0 sp=0x140004eff30 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004effd0 sp=0x140004effd0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 38 gp=0x14000184fc0 m=nil [GC worker (idle)]:
runtime.gopark(0x67b7940fd13?, 0x3?, 0x39?, 0x30?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004f3f30 sp=0x140004f3f10 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004f3fd0 sp=0x140004f3f30 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004f3fd0 sp=0x140004f3fd0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 54 gp=0x14000500700 m=nil [GC worker (idle)]:
runtime.gopark(0x67b7940fcea?, 0x3?, 0xa6?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004f0730 sp=0x140004f0710 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004f07d0 sp=0x140004f0730 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004f07d0 sp=0x140004f07d0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 39 gp=0x14000185180 m=nil [GC worker (idle)]:
runtime.gopark(0x67b7940f449?, 0x3?, 0xc0?, 0xce?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x140004f4730 sp=0x140004f4710 pc=0x1022e19d8
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140004f47d0 sp=0x140004f4730 pc=0x1022c2aa8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004f47d0 sp=0x140004f47d0 pc=0x102316c04
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 125 gp=0x1402226ac40 m=nil [runnable]:
runtime.cgocall(0x103077634, 0x14022263538)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocall.go:157 +0x44 fp=0x140222634f0 sp=0x140222634b0 pc=0x1022aa4c4
github.com/goki/vulkan._Cfunc_callVkDestroyDescriptorSetLayout(0x15b0c1018, 0x15b99b080, 0x0)
_cgo_gotypes.go:8707 +0x30 fp=0x14022263530 sp=0x140222634f0 pc=0x1026b7e90
github.com/goki/vulkan.DestroyDescriptorSetLayout.func1(0x15b0c1018, 0x15b99b080, 0x0)
/Users/kaioreilly/go/pkg/mod/github.com/goki/[email protected]/vulkan.go:725 +0x94 fp=0x14022263570 sp=0x14022263530 pc=0x1026e43f4
github.com/goki/vulkan.DestroyDescriptorSetLayout(0x15b0c1018, 0x15b99b080, 0x140222635c8?)
/Users/kaioreilly/go/pkg/mod/github.com/goki/[email protected]/vulkan.go:725 +0x2c fp=0x140222635a0 sp=0x14022263570 pc=0x1026e432c
cogentcore.org/core/vgpu.(*VarSet).DestroyLayout(...)
/Users/kaioreilly/cogent/core/vgpu/varset.go:178
cogentcore.org/core/vgpu.(*VarSet).Destroy(...)
/Users/kaioreilly/cogent/core/vgpu/varset.go:173
cogentcore.org/core/vgpu.(*Vars).Destroy(0x14022fb58c0, 0x15b0c1018)
/Users/kaioreilly/cogent/core/vgpu/vars.go:69 +0xa4 fp=0x14022263630 sp=0x140222635a0 pc=0x102721ff4
cogentcore.org/core/vgpu.(*Memory).Destroy(0x14022fb5890, 0x15b0c1018)
/Users/kaioreilly/cogent/core/vgpu/memory.go:91 +0x38 fp=0x14022263660 sp=0x14022263630 pc=0x102712178
cogentcore.org/core/vgpu.(*System).Destroy(0x14022fb5808)
/Users/kaioreilly/cogent/core/vgpu/system.go:124 +0x24c fp=0x14022263700 sp=0x14022263660 pc=0x10271cb4c
github.com/emer/axon/v2/axon.(*GPU).Destroy(...)
/Users/kaioreilly/emer/axon/axon/gpu.go:226
main.(*Sim).ConfigGUI.func2()
/Users/kaioreilly/emer/axon/examples/ra25/ra25.go:718 +0x30 fp=0x14022263720 sp=0x14022263700 pc=0x1030758f0
cogentcore.org/core/goosi/driver/base.(*AppMulti[...]).QuitClean(0x104987c40)
/Users/kaioreilly/cogent/core/goosi/driver/base/app_multi.go:118 +0x48 fp=0x14022263760 sp=0x14022263720 pc=0x10273eb18
cogentcore.org/core/goosi/driver/desktop.(*App).QuitClean(0x0?)
<autogenerated>:1 +0x30 fp=0x14022263780 sp=0x14022263760 pc=0x102740f50
cogentcore.org/core/goosi/driver/base.(*App).Quit(...)
/Users/kaioreilly/cogent/core/goosi/driver/base/app.go:168
cogentcore.org/core/goosi/driver/desktop.(*App).Quit(0x105ac1c40)
<autogenerated>:1 +0x48 fp=0x140222637a0 sp=0x14022263780 pc=0x102740eb8
cogentcore.org/core/gi.Wait.func2()
/Users/kaioreilly/cogent/core/gi/renderwin.go:39 +0x58 fp=0x140222637d0 sp=0x140222637a0 pc=0x1027fcd68
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140222637d0 sp=0x140222637d0 pc=0x102316c04
created by cogentcore.org/core/gi.Wait in goroutine 1
/Users/kaioreilly/cogent/core/gi/renderwin.go:36 +0x40
r0 0x0
r1 0x0
r2 0x0
r3 0x0
r4 0x180d49dec
r5 0x174ecedd0
r6 0x21
r7 0x14036a7bd40
r8 0x72379bc0d147be19
r9 0x72379bc1a5ab4e19
r10 0x200
r11 0x174ece900
r12 0x28080d00
r13 0x68480d00
r14 0xffffffff
r15 0x0
r16 0x148
r17 0x1e05df340
r18 0x0
r19 0x6
r20 0x174ecf000
r21 0x5a9b
r22 0x174ecf0e0
r23 0x15c85b548
r24 0x15c85b5d0
r25 0x1
r26 0x15c85b5a0
r27 0x830
r28 0x15c85b5b0
r29 0x174eced40
lr 0x180d8dcc0
sp 0x174eced20
pc 0x180d560dc
fault 0x180d560dc
In fact, axon seems to reliably crash when it is closed while running:
Running on GPU: Apple M1 Max: id=235013103 idx=0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1049ffc2c]
goroutine 20 [running]:
cogentcore.org/core/vgpu.(*Val).Bytes(...)
/Users/kaioreilly/cogent/core/vgpu/vals.go:152
cogentcore.org/core/vgpu.(*Val).CopyToBytes(0x14023058960, 0x140002ec658)
/Users/kaioreilly/cogent/core/vgpu/vals.go:203 +0xac
github.com/emer/axon/v2/axon.(*GPU).CopyContextFmStaging(0x140001e90b0)
/Users/kaioreilly/emer/axon/axon/gpu.go:785 +0x80
github.com/emer/axon/v2/axon.(*GPU).CopyLayerStateFmStaging(0x140001e90b0)
/Users/kaioreilly/emer/axon/axon/gpu.go:974 +0x20
github.com/emer/axon/v2/axon.(*GPU).RunCycles(0x140001e90b0)
/Users/kaioreilly/emer/axon/axon/gpu.go:1236 +0x94
github.com/emer/axon/v2/axon.(*GPU).RunCycle(0x1402e2b7888?)
/Users/kaioreilly/emer/axon/axon/gpu.go:1160 +0x58
github.com/emer/axon/v2/axon.(*Network).Cycle(0x140002ec758?, 0x140001314d0?)
/Users/kaioreilly/emer/axon/axon/network.go:107 +0x28c
github.com/emer/axon/v2/axon.LooperSimCycleAndLearn.func1()
/Users/kaioreilly/emer/axon/axon/looper.go:76 +0x94
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x140004ef360, 0x3)
/Users/kaioreilly/emer/emergent/looper/manager.go:296 +0x620
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x140004ef360, 0x2)
/Users/kaioreilly/emer/emergent/looper/manager.go:292 +0x3dc
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x140004ef360, 0x1)
/Users/kaioreilly/emer/emergent/looper/manager.go:292 +0x3dc
github.com/emer/emergent/v2/looper.(*Manager).runLevel(0x140004ef360, 0x0)
/Users/kaioreilly/emer/emergent/looper/manager.go:292 +0x3dc
github.com/emer/emergent/v2/looper.(*Manager).Cont(...)
/Users/kaioreilly/emer/emergent/looper/manager.go:234
github.com/emer/emergent/v2/looper.(*Manager).Run(0x140004ef360, 0x45f6c04?)
/Users/kaioreilly/emer/emergent/looper/manager.go:217 +0x68
github.com/emer/emergent/v2/egui.(*GUI).AddLooperCtrl.func3.1()
/Users/kaioreilly/emer/emergent/egui/loopctrl.go:40 +0x2c
created by github.com/emer/emergent/v2/egui.(*GUI).AddLooperCtrl.func3 in goroutine 131
/Users/kaioreilly/emer/emergent/egui/loopctrl.go:39 +0xa8
Another one, this time in xyz itself, though likely due to a poorly configured Update in another goroutine:
[mvk-error] VK_NOT_READY: Command buffer cannot accept commands before vkBeginCommandBuffer() is called.
SIGSEGV: segmentation violation
PC=0x10776ed18 m=5 sigcode=2 addr=0x195a
signal arrived during cgo execution
goroutine 14 gp=0x14000584e00 m=5 mp=0x14000100008 [syscall]:
runtime.cgocall(0x103afd5b8, 0x14012fc2c88)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocall.go:157 +0x44 fp=0x14012fc2c40 sp=0x14012fc2c00 pc=0x102ddfe64
github.com/goki/vulkan._Cfunc_callVkQueueSubmit(0x12772c7a8, 0x1, 0x1277a46e0, 0x11782ca80)
_cgo_gotypes.go:9688 +0x34 fp=0x14012fc2c80 sp=0x14012fc2c40 pc=0x1031efbd4
github.com/goki/vulkan.QueueSubmit.func1(0x12772c7a8, 0x1, 0x1277a46e0, 0x11782ca80)
/Users/kaioreilly/go/pkg/mod/github.com/goki/[email protected]/vulkan.go:176 +0xa0 fp=0x14012fc2cd0 sp=0x14012fc2c80 pc=0x103217260
github.com/goki/vulkan.QueueSubmit(0x12772c7a8, 0x1, {0x14012fc2e28, 0x1, 0x1?}, 0x11782ca80)
/Users/kaioreilly/go/pkg/mod/github.com/goki/[email protected]/vulkan.go:176 +0x64 fp=0x14012fc2de0 sp=0x14012fc2cd0 pc=0x103217014
cogentcore.org/core/vgpu.(*RenderFrame).SubmitRender(0x14008d53560, 0x11782d3d8)
/Users/kaioreilly/cogent/core/vgpu/renderframe.go:180 +0xf0 fp=0x14012fc2ed0 sp=0x14012fc2de0 pc=0x10324ff30
cogentcore.org/core/xyz.(*Scene).RenderImpl(0x1400014a008)
/Users/kaioreilly/cogent/core/xyz/render.go:436 +0x3f0 fp=0x14012fc3040 sp=0x14012fc2ed0 pc=0x103762770
cogentcore.org/core/xyz.(*Scene).Render(0x1400014a008)
/Users/kaioreilly/cogent/core/xyz/render.go:348 +0x15c fp=0x14012fc3360 sp=0x14012fc3040 pc=0x10376234c
cogentcore.org/core/xyz.(*Scene).DoUpdate(0x1400014a008)
/Users/kaioreilly/cogent/core/xyz/render.go:47 +0x50 fp=0x14012fc33d0 sp=0x14012fc3360 pc=0x103760c60
cogentcore.org/core/xyzv.(*Scene).Render3D(0x14000678a88)
/Users/kaioreilly/cogent/core/xyzv/scene.go:161 +0xbc fp=0x14012fc3400 sp=0x14012fc33d0 pc=0x10378025c
cogentcore.org/core/xyzv.(*Scene).Render(0x14000678a88)
/Users/kaioreilly/cogent/core/xyzv/scene.go:166 +0x30 fp=0x14012fc3420 sp=0x14012fc3400 pc=0x103780300
github.com/emer/emergent/v2/netview.(*Scene).Render(0x14000678a88?)
<autogenerated>:1 +0x28 fp=0x14012fc3440 sp=0x14012fc3420 pc=0x103ac6b38
cogentcore.org/core/gi.(*Layout).RenderChildren.func1(0x1052d6ae0?, {0x1052ea668?, 0x14000678a88?}, 0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:162 +0x2c fp=0x14012fc3460 sp=0x14012fc3440 pc=0x10333357c
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x1052b9eb0?, 0x1052a7130)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc34c0 sp=0x14012fc3460 pc=0x10332d6c4
cogentcore.org/core/gi.(*Layout).RenderChildren(0x14000674008?)
/Users/kaioreilly/cogent/core/gi/layout.go:161 +0x50 fp=0x14012fc34e0 sp=0x14012fc34c0 pc=0x1032ef760
cogentcore.org/core/gi.(*Layout).Render(0x14000674008)
/Users/kaioreilly/cogent/core/gi/layout.go:169 +0x30 fp=0x14012fc3500 sp=0x14012fc34e0 pc=0x1032ef7b0
cogentcore.org/core/gi.(*Layout).RenderChildren.func1(0x1052d1b70?, {0x1052e7338?, 0x14000674008?}, 0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:162 +0x2c fp=0x14012fc3520 sp=0x14012fc3500 pc=0x10333357c
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x1052b9eb0?, 0x1052a7130)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc3580 sp=0x14012fc3520 pc=0x10332d6c4
cogentcore.org/core/gi.(*Layout).RenderChildren(0x140002dec88?)
/Users/kaioreilly/cogent/core/gi/layout.go:161 +0x50 fp=0x14012fc35a0 sp=0x14012fc3580 pc=0x1032ef760
cogentcore.org/core/gi.(*Layout).Render(0x140002dec88)
/Users/kaioreilly/cogent/core/gi/layout.go:169 +0x30 fp=0x14012fc35c0 sp=0x14012fc35a0 pc=0x1032ef7b0
github.com/emer/emergent/v2/netview.(*NetView).Render(0x140002dec88?)
<autogenerated>:1 +0x28 fp=0x14012fc35e0 sp=0x14012fc35c0 pc=0x103abdbc8
cogentcore.org/core/gi.(*Layout).RenderChildren.func1(0x1052d11c0?, {0x1052ea940?, 0x140002dec88?}, 0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:162 +0x2c fp=0x14012fc3600 sp=0x14012fc35e0 pc=0x10333357c
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x1052b9eb0?, 0x1052a7130)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc3660 sp=0x14012fc3600 pc=0x10332d6c4
cogentcore.org/core/gi.(*Layout).RenderChildren(0x14000578a88?)
/Users/kaioreilly/cogent/core/gi/layout.go:161 +0x50 fp=0x14012fc3680 sp=0x14012fc3660 pc=0x1032ef760
cogentcore.org/core/gi.(*Frame).Render(0x14000578a88)
/Users/kaioreilly/cogent/core/gi/frame.go:49 +0x38 fp=0x14012fc36a0 sp=0x14012fc3680 pc=0x1032dd1e8
cogentcore.org/core/gi.(*Layout).RenderChildren(0x14000578008?)
/Users/kaioreilly/cogent/core/gi/layout.go:157 +0x38 fp=0x14012fc36c0 sp=0x14012fc36a0 pc=0x1032ef748
cogentcore.org/core/gi.(*Frame).Render(0x14000578008)
/Users/kaioreilly/cogent/core/gi/frame.go:49 +0x38 fp=0x14012fc36e0 sp=0x14012fc36c0 pc=0x1032dd1e8
cogentcore.org/core/gi.(*Layout).RenderChildren.func1(0x1052d0a00?, {0x1052e6ab0?, 0x14000578008?}, 0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:162 +0x2c fp=0x14012fc3700 sp=0x14012fc36e0 pc=0x10333357c
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x1052b9eb0?, 0x1052a7130)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc3760 sp=0x14012fc3700 pc=0x10332d6c4
cogentcore.org/core/gi.(*Layout).RenderChildren(0x14000574a88?)
/Users/kaioreilly/cogent/core/gi/layout.go:161 +0x50 fp=0x14012fc3780 sp=0x14012fc3760 pc=0x1032ef760
cogentcore.org/core/gi.(*Layout).Render(0x14000574a88)
/Users/kaioreilly/cogent/core/gi/layout.go:169 +0x30 fp=0x14012fc37a0 sp=0x14012fc3780 pc=0x1032ef7b0
cogentcore.org/core/gi.(*Tabs).Render(0x14000574a88?)
<autogenerated>:1 +0x28 fp=0x14012fc37c0 sp=0x14012fc37a0 pc=0x103421ac8
cogentcore.org/core/gi.(*Splits).Render.func1(0x1052d0fd0?, {0x1052e6228, 0x14000574a88}, 0x0?)
/Users/kaioreilly/cogent/core/gi/splits.go:370 +0xa4 fp=0x14012fc3800 sp=0x14012fc37c0 pc=0x10330e654
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x140002eca88?, 0x14012fc3878)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc3860 sp=0x14012fc3800 pc=0x10332d6c4
cogentcore.org/core/gi.(*Splits).Render(0x140002eca88)
/Users/kaioreilly/cogent/core/gi/splits.go:363 +0x48 fp=0x14012fc3890 sp=0x14012fc3860 pc=0x10330e568
cogentcore.org/core/gi.(*Layout).RenderChildren.func1(0x1052d0810?, {0x106718010?, 0x140002eca88?}, 0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:162 +0x2c fp=0x14012fc38b0 sp=0x14012fc3890 pc=0x10333357c
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x1052b9eb0?, 0x1052a7130)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc3910 sp=0x14012fc38b0 pc=0x10332d6c4
cogentcore.org/core/gi.(*Layout).RenderChildren(0x140002ec008?)
/Users/kaioreilly/cogent/core/gi/layout.go:161 +0x50 fp=0x14012fc3930 sp=0x14012fc3910 pc=0x1032ef760
cogentcore.org/core/gi.(*Frame).Render(0x140002ec008)
/Users/kaioreilly/cogent/core/gi/frame.go:49 +0x38 fp=0x14012fc3950 sp=0x14012fc3930 pc=0x1032dd1e8
cogentcore.org/core/gi.(*Body).Render(0x140002ec008?)
<autogenerated>:1 +0x28 fp=0x14012fc3970 sp=0x14012fc3950 pc=0x1033949f8
cogentcore.org/core/gi.(*Layout).RenderChildren.func1(0x1052d0620?, {0x1052e56c8?, 0x140002ec008?}, 0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:162 +0x2c fp=0x14012fc3990 sp=0x14012fc3970 pc=0x10333357c
cogentcore.org/core/gi.(*WidgetBase).WidgetKidsIter(0x1052b9eb0?, 0x1052a7130)
/Users/kaioreilly/cogent/core/gi/widget.go:493 +0xc4 fp=0x14012fc39f0 sp=0x14012fc3990 pc=0x10332d6c4
cogentcore.org/core/gi.(*Layout).RenderChildren(0x140001da888?)
/Users/kaioreilly/cogent/core/gi/layout.go:161 +0x50 fp=0x14012fc3a10 sp=0x14012fc39f0 pc=0x1032ef760
cogentcore.org/core/gi.(*Frame).Render(0x140001da888)
/Users/kaioreilly/cogent/core/gi/frame.go:49 +0x38 fp=0x14012fc3a30 sp=0x14012fc3a10 pc=0x1032dd1e8
cogentcore.org/core/gi.(*Scene).LayoutRenderScene(0x140001da888)
/Users/kaioreilly/cogent/core/gi/render.go:269 +0x2c fp=0x14012fc3a50 sp=0x14012fc3a30 pc=0x1032f977c
cogentcore.org/core/gi.(*Scene).DoUpdate(0x140001da888)
/Users/kaioreilly/cogent/core/gi/render.go:336 +0x2a4 fp=0x14012fc3be0 sp=0x14012fc3a50 pc=0x1032f9c04
cogentcore.org/core/gi.(*Stage).DoUpdate(0x14000215688?)
/Users/kaioreilly/cogent/core/gi/stage.go:314 +0x70 fp=0x14012fc3c00 sp=0x14012fc3be0 pc=0x10330fcc0
cogentcore.org/core/gi.(*StageMgr).UpdateAll(0x14004f212f8)
/Users/kaioreilly/cogent/core/gi/stagemgr.go:287 +0xc0 fp=0x14012fc3c50 sp=0x14012fc3c00 pc=0x103311740
cogentcore.org/core/gi.(*RenderWin).RenderWindow(0x14004f212c0)
/Users/kaioreilly/cogent/core/gi/renderwin.go:916 +0x104 fp=0x14012fc3d90 sp=0x14012fc3c50 pc=0x1032ffa34
cogentcore.org/core/gi.(*RenderWin).HandleWindowEvents(0x14004f212c0, {0x1052c7cd0, 0x140036381c0})
/Users/kaioreilly/cogent/core/gi/renderwin.go:599 +0x4e0 fp=0x14012fc3e90 sp=0x14012fc3d90 pc=0x1032fea60
cogentcore.org/core/gi.(*RenderWin).HandleEvent(0x14004f212c0, {0x1052c7cd0, 0x140036381c0})
/Users/kaioreilly/cogent/core/gi/renderwin.go:583 +0x158 fp=0x14012fc3f00 sp=0x14012fc3e90 pc=0x1032fe488
cogentcore.org/core/gi.(*RenderWin).EventLoop(0x14004f212c0)
/Users/kaioreilly/cogent/core/gi/renderwin.go:549 +0x108 fp=0x14012fc3fb0 sp=0x14012fc3f00 pc=0x1032fe188
cogentcore.org/core/gi.(*RenderWin).GoStartEventLoop.gowrap1()
/Users/kaioreilly/cogent/core/gi/renderwin.go:503 +0x28 fp=0x14012fc3fd0 sp=0x14012fc3fb0 pc=0x1032fdf58
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14012fc3fd0 sp=0x14012fc3fd0 pc=0x102e4c5a4
created by cogentcore.org/core/gi.(*RenderWin).GoStartEventLoop in goroutine 1
/Users/kaioreilly/cogent/core/gi/renderwin.go:503 +0xa4
goroutine 1 gp=0x140000021c0 m=0 mp=0x106375b20 [syscall, locked to thread]:
runtime.cgocall(0x103b10cdc, 0x1400db7fe28)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocall.go:157 +0x44 fp=0x1400db7fdf0 sp=0x1400db7fdb0 pc=0x102ddfe64
github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwWaitEvents()
_cgo_gotypes.go:2455 +0x30 fp=0x1400db7fe20 sp=0x1400db7fdf0 pc=0x10322a3c0
github.com/go-gl/glfw/v3.3/glfw.WaitEvents()
/Users/kaioreilly/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:949 +0x1c fp=0x1400db7fe50 sp=0x1400db7fe20 pc=0x1032328ac
cogentcore.org/core/goosi/driver/desktop.(*App).MainLoop(0x106373c60)
/Users/kaioreilly/cogent/core/goosi/driver/desktop/app.go:73 +0x10c fp=0x1400db7fed0 sp=0x1400db7fe50 pc=0x10326ae7c
cogentcore.org/core/gi.Wait()
/Users/kaioreilly/cogent/core/gi/renderwin.go:41 +0x58 fp=0x1400db7ff00 sp=0x1400db7fed0 pc=0x1032fbd88
cogentcore.org/core/gi.(*Stage).Wait(...)
/Users/kaioreilly/cogent/core/gi/stage.go:301
cogentcore.org/core/gi.(*Body).RunMainWindow(0x1063743c0?)
/Users/kaioreilly/cogent/core/gi/mainstage.go:41 +0x38 fp=0x1400db7ff20 sp=0x1400db7ff00 pc=0x1032f2098
main.main()
/Users/kaioreilly/emer/sims/ch2/neuron/neuron.go:604 +0x54 fp=0x1400db7ff40 sp=0x1400db7ff20 pc=0x103afafd4
runtime.main()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:271 +0x28c fp=0x1400db7ffd0 sp=0x1400db7ff40 pc=0x102e16f4c
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400db7ffd0 sp=0x1400db7ffd0 pc=0x102e4c5a4
goroutine 18 gp=0x14000104380 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000072790 sp=0x14000072770 pc=0x102e17378
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.forcegchelper()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:326 +0xb8 fp=0x140000727d0 sp=0x14000072790 pc=0x102e17208
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000727d0 sp=0x140000727d0 pc=0x102e4c5a4
created by runtime.init.6 in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:314 +0x24
goroutine 19 gp=0x14000104540 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000072f60 sp=0x14000072f40 pc=0x102e17378
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.bgsweep(0x14000112000)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcsweep.go:318 +0x108 fp=0x14000072fb0 sp=0x14000072f60 pc=0x102e02198
runtime.gcenable.gowrap1()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:203 +0x28 fp=0x14000072fd0 sp=0x14000072fb0 pc=0x102df6358
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000072fd0 sp=0x14000072fd0 pc=0x102e4c5a4
created by runtime.gcenable in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:203 +0x6c
goroutine 20 gp=0x14000104700 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x104fed4c0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000073760 sp=0x14000073740 pc=0x102e17378
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x106373a20)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000073790 sp=0x14000073760 pc=0x102dffb2c
runtime.bgscavenge(0x14000112000)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcscavenge.go:658 +0xac fp=0x140000737b0 sp=0x14000073790 pc=0x102e000ec
runtime.gcenable.gowrap2()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:204 +0x28 fp=0x140000737d0 sp=0x140000737b0 pc=0x102df62f8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000737d0 sp=0x140000737d0 pc=0x102e4c5a4
created by runtime.gcenable in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:204 +0xac
goroutine 2 gp=0x140000036c0 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x1401b5ff140?, 0x0?, 0x20?, 0x1000000010?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x1400008bd80 sp=0x1400008bd60 pc=0x102e17378
runtime.runfinq()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mfinal.go:194 +0x108 fp=0x1400008bfd0 sp=0x1400008bd80 pc=0x102df5428
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400008bfd0 sp=0x1400008bfd0 pc=0x102e4c5a4
created by runtime.createfing in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mfinal.go:164 +0x80
goroutine 3 gp=0x14000003a40 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000076f30 sp=0x14000076f10 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x14000076fd0 sp=0x14000076f30 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000076fd0 sp=0x14000076fd0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 34 gp=0x14000502000 m=nil [GC worker (idle)]:
runtime.gopark(0x1530d06708bb?, 0x1?, 0x7a?, 0x3f?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000508730 sp=0x14000508710 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140005087d0 sp=0x14000508730 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140005087d0 sp=0x140005087d0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 4 gp=0x14000003c00 m=nil [GC worker (idle)]:
runtime.gopark(0x1530d0666799?, 0x3?, 0xce?, 0xae?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000077730 sp=0x14000077710 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140000777d0 sp=0x14000077730 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000777d0 sp=0x140000777d0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 21 gp=0x140001048c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1063e1260?, 0x3?, 0xe9?, 0x35?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000073f30 sp=0x14000073f10 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x14000073fd0 sp=0x14000073f30 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000073fd0 sp=0x14000073fd0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 22 gp=0x14000104a80 m=nil [GC worker (idle)]:
runtime.gopark(0x1530d06681f7?, 0x1?, 0x4c?, 0x9a?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000074730 sp=0x14000074710 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140000747d0 sp=0x14000074730 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000747d0 sp=0x140000747d0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 5 gp=0x14000003dc0 m=nil [GC worker (idle)]:
runtime.gopark(0x1530d06755b7?, 0x3?, 0x87?, 0xfd?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000077f30 sp=0x14000077f10 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x14000077fd0 sp=0x14000077f30 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000077fd0 sp=0x14000077fd0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 6 gp=0x1400048c000 m=nil [GC worker (idle)]:
runtime.gopark(0x1530d067a3ad?, 0x3?, 0x1c?, 0x25?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000078730 sp=0x14000078710 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x140000787d0 sp=0x14000078730 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000787d0 sp=0x140000787d0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 35 gp=0x140005021c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1530d06680d3?, 0x3?, 0x2d?, 0xb9?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000508f30 sp=0x14000508f10 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x14000508fd0 sp=0x14000508f30 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000508fd0 sp=0x14000508fd0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 23 gp=0x14000104c40 m=nil [GC worker (idle)]:
runtime.gopark(0x153077aed0ee?, 0x3?, 0x92?, 0xb0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000074f30 sp=0x14000074f10 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x14000074fd0 sp=0x14000074f30 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000074fd0 sp=0x14000074fd0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 7 gp=0x1400048c1c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1063e1260?, 0x1?, 0x68?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000078f30 sp=0x14000078f10 pc=0x102e17378
runtime.gcBgMarkWorker()
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1310 +0xd8 fp=0x14000078fd0 sp=0x14000078f30 pc=0x102df8448
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000078fd0 sp=0x14000078fd0 pc=0x102e4c5a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go:1234 +0x28
goroutine 36 gp=0x140005856c0 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x1400050a670 sp=0x1400050a650 pc=0x102e17378
runtime.chanrecv(0x140002ea000, 0x1400050a7a0, 0x1)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/chan.go:583 +0x404 fp=0x1400050a6f0 sp=0x1400050a670 pc=0x102de2354
runtime.chanrecv2(0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/chan.go:447 +0x14 fp=0x1400050a720 sp=0x1400050a6f0 pc=0x102de1f34
github.com/emer/leabra/v2/leabra.(*NetworkBase).ThrWorker(0x140000b8a00, 0x0)
/Users/kaioreilly/emer/leabra/leabra/networkbase.go:734 +0x84 fp=0x1400050a7b0 sp=0x1400050a720 pc=0x103ae6844
github.com/emer/leabra/v2/leabra.(*NetworkBase).StartThreads.gowrap1()
/Users/kaioreilly/emer/leabra/leabra/networkbase.go:718 +0x2c fp=0x1400050a7d0 sp=0x1400050a7b0 pc=0x103ae66ec
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400050a7d0 sp=0x1400050a7d0 pc=0x102e4c5a4
created by github.com/emer/leabra/v2/leabra.(*NetworkBase).StartThreads in goroutine 1
/Users/kaioreilly/emer/leabra/leabra/networkbase.go:718 +0xd8
goroutine 13 gp=0x14000584fc0 m=nil [select]:
runtime.gopark(0x1400008af70?, 0x2?, 0x0?, 0x60?, 0x1400008af3c?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x1400008ade0 sp=0x1400008adc0 pc=0x102e17378
runtime.selectgo(0x1400008af70, 0x1400008af38, 0x0?, 0x0, 0x2?, 0x1)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/select.go:327 +0x608 fp=0x1400008aef0 sp=0x1400008ade0 pc=0x102e2a6b8
cogentcore.org/core/goosi/driver/base.(*Window[...]).WinLoop(0x1052c1dc0)
/Users/kaioreilly/cogent/core/goosi/driver/base/window.go:93 +0x110 fp=0x1400008afb0 sp=0x1400008aef0 pc=0x103274570
cogentcore.org/core/goosi/driver/desktop.(*App).NewWindow.gowrap1()
/Users/kaioreilly/cogent/core/goosi/driver/desktop/app.go:171 +0x2c fp=0x1400008afd0 sp=0x1400008afb0 pc=0x10326bd0c
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400008afd0 sp=0x1400008afd0 pc=0x102e4c5a4
created by cogentcore.org/core/goosi/driver/desktop.(*App).NewWindow in goroutine 1
/Users/kaioreilly/cogent/core/goosi/driver/desktop/app.go:171 +0x9c4
goroutine 15 gp=0x14000105500 m=nil [semacquire]:
runtime.gopark(0x106380000?, 0x0?, 0x60?, 0x80?, 0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:402 +0xc8 fp=0x14000506ef0 sp=0x14000506ed0 pc=0x102e17378
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go:408
runtime.semacquire1(0x1063e0478, 0x0, 0x1, 0x0, 0x12)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sema.go:160 +0x208 fp=0x14000506f40 sp=0x14000506ef0 pc=0x102e2b4e8
sync.runtime_Semacquire(0x0?)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sema.go:62 +0x2c fp=0x14000506f80 sp=0x14000506f40 pc=0x102e47d9c
sync.(*WaitGroup).Wait(0x1063e0470)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/waitgroup.go:116 +0x74 fp=0x14000506fa0 sp=0x14000506f80 pc=0x102e6e7f4
cogentcore.org/core/gi.Wait.func2()
/Users/kaioreilly/cogent/core/gi/renderwin.go:38 +0x40 fp=0x14000506fd0 sp=0x14000506fa0 pc=0x103332710
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000506fd0 sp=0x14000506fd0 pc=0x102e4c5a4
created by cogentcore.org/core/gi.Wait in goroutine 1
/Users/kaioreilly/cogent/core/gi/renderwin.go:36 +0x40
goroutine 85 gp=0x140006848c0 m=nil [runnable]:
cogentcore.org/core/paint.(*FontLib).Font(0x106373340, {0x103b19796?, 0x6?}, 0x1e)
/Users/kaioreilly/cogent/core/paint/fontlib.go:121 +0x77c fp=0x1400004f9c0 sp=0x1400004f9c0 pc=0x103170a4c
cogentcore.org/core/paint.OpenFont(0x1400004fb30, 0x140001c6800)
/Users/kaioreilly/cogent/core/paint/font.go:38 +0xac fp=0x1400004fa90 sp=0x1400004f9c0 pc=0x10316f78c
cogentcore.org/core/gi.SetUnitContext(0x140001c6150, 0x140001da888?, {0x4fc08?, 0x140?}, {0x2deb1d4?, 0x1?})
/Users/kaioreilly/cogent/core/gi/style.go:243 +0x170 fp=0x1400004fbb0 sp=0x1400004fa90 pc=0x103312c80
cogentcore.org/core/gi.(*WidgetBase).ApplyStyleWidget(0x140001c6008)
/Users/kaioreilly/cogent/core/gi/style.go:101 +0xf0 fp=0x1400004fc00 sp=0x1400004fbb0 pc=0x103312140
cogentcore.org/core/gi.(*WidgetBase).ApplyStyle(...)
/Users/kaioreilly/cogent/core/gi/style.go:220
cogentcore.org/core/gi.(*Separator).ApplyStyle(0x140001c6008?)
<autogenerated>:1 +0x28 fp=0x1400004fc20 sp=0x1400004fc00 pc=0x1033e8bb8
cogentcore.org/core/gi.(*WidgetBase).Update.func1({0x1052e53f0, 0x140001c6008}, 0x0?)
/Users/kaioreilly/cogent/core/gi/render.go:207 +0x3c fp=0x1400004fc40 sp=0x1400004fc20 pc=0x103333c5c
cogentcore.org/core/gi.(*WidgetBase).Update.(*WidgetBase).WidgetWalkPre.func2({0x1052d1790?, 0x140001c6008?})
/Users/kaioreilly/cogent/core/gi/widget.go:529 +0x74 fp=0x1400004fc90 sp=0x1400004fc40 pc=0x1032f91f4
cogentcore.org/core/ki.(*Node).WalkPre(0x140002dec88, 0x140109ee3b0)
/Users/kaioreilly/cogent/core/ki/node.go:790 +0x110 fp=0x1400004fe30 sp=0x1400004fc90 pc=0x10306ddf0
cogentcore.org/core/gi.(*WidgetBase).WidgetWalkPre(...)
/Users/kaioreilly/cogent/core/gi/widget.go:524
cogentcore.org/core/gi.(*WidgetBase).Update(0x140002dec88)
/Users/kaioreilly/cogent/core/gi/render.go:205 +0xbc fp=0x1400004fe90 sp=0x1400004fe30 pc=0x1032f914c
main.(*Sim).UpdateView(0x1063743c0, 0xa0)
/Users/kaioreilly/emer/sims/ch2/neuron/neuron.go:201 +0xb8 fp=0x1400004fee0 sp=0x1400004fe90 pc=0x103af7658
main.(*Sim).RunCycles(0x1063743c0)
/Users/kaioreilly/emer/sims/ch2/neuron/neuron.go:240 +0x200 fp=0x1400004ff40 sp=0x1400004fee0 pc=0x103af7880
main.(*Sim).SpikeVsRate(0x1063743c0)
/Users/kaioreilly/emer/sims/ch2/neuron/neuron.go:296 +0x244 fp=0x1400004ffb0 sp=0x1400004ff40 pc=0x103af7da4
main.(*Sim).ConfigGui.func1.10.1()
/Users/kaioreilly/emer/sims/ch2/neuron/neuron.go:560 +0x24 fp=0x1400004ffd0 sp=0x1400004ffb0 pc=0x103afac24
runtime.goexit({})
/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400004ffd0 sp=0x1400004ffd0 pc=0x102e4c5a4
created by main.(*Sim).ConfigGui.func1.10 in goroutine 14
/Users/kaioreilly/emer/sims/ch2/neuron/neuron.go:559 +0x68
r0 0x16f15d520
r1 0x0
r2 0x117948760
r3 0x117941a40
r4 0x1172456b0
r5 0x6
r6 0x16f15cd9c
r7 0x16f15cd9c
r8 0x0
r9 0x195a
r10 0x1090000010900
r11 0x1090000010902
r12 0x4a
r13 0x1280b5c90
r14 0x1000001d75841c9
r15 0x1d75841c8
r16 0x180d88b4c
r17 0x1e05dc5d0
r18 0x0
r19 0x6
r20 0x1172456b0
r21 0x117941a40
r22 0x117948760
r23 0x0
r24 0x16f15ce60
r25 0x117955ae0
r26 0x0
r27 0x117955ae0
r28 0x0
r29 0x16f15cd20
lr 0x1076babd0
sp 0x16f15ccd0
pc 0x10776ed18
fault 0x195a
The commit above fixes this issue using a hacky workaround as described in the commit message.