fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
25.14k stars 1.4k forks source link

Fyne Program got SIGSEGV signal on changing windows or closing windows, on MacOS with M2 #4710

Closed naiming-zededa closed 7 months ago

naiming-zededa commented 8 months ago

Checklist

Describe the bug

Using fyne v2.4.4, on MacOS Sonoma 14.2.1 and M2 chip. Golang 1.20

I have often encountered the random crashes when I click on another menu to go to another container/widget or when I close the popup window by clicking on the red close button.

Here is two of those stacks of the SIGSEGV, they are little different, since the comment only limit to 65k char, it only has the first goroutine on the top (1)

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

runtime stack: runtime.throw({0x100997f4f?, 0x4547e027048?}) /usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0x3093bce90 sp=0x3093bce60 pc=0x10003819d runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0x3093bcef0 sp=0x3093bce90 pc=0x10004e849 runtime.asmcgocall(0x1, 0x3093bcf00) /usr/local/go/src/runtime/asm_amd64.s:852 +0x64 fp=0x3093bcef8 sp=0x3093bcef0 pc=0x10006aca4

goroutine 36 [syscall, locked to thread]: runtime.cgocall(0x100816970, 0xc00232feb0) /usr/local/go/src/runtime/cgocall.go:157 +0x5c fp=0xc00232fe88 sp=0xc00232fe50 pc=0x100007fbc github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwMakeContextCurrent(0x0) _cgo_gotypes.go:1471 +0x45 fp=0xc00232feb0 sp=0xc00232fe88 pc=0x1005d6f45 github.com/go-gl/glfw/v3.3/glfw.DetachCurrentContext() /Users/testing/zdev/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20221017161538-93cebf72946b/context.go:23 +0x25 fp=0xc00232fed8 sp=0xc00232feb0 pc=0x1005d90e5 fyne.io/fyne/v2/internal/driver/glfw.(window).DetachCurrentContext(...) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window_desktop.go:685 fyne.io/fyne/v2/internal/driver/glfw.(window).RunWithContext(0xc00232ff90?, 0xc000721df0) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:925 +0x55 fp=0xc00232fef8 sp=0xc00232fed8 pc=0x1005f22d5 fyne.io/fyne/v2/internal/driver/glfw.(gLDriver).startDrawThread.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:254 +0x13b fp=0xc00232ffe0 sp=0xc00232fef8 pc=0x1005ea4db runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00232ffe8 sp=0xc00232ffe0 pc=0x10006afc1 created by fyne.io/fyne/v2/internal/driver/glfw.(gLDriver).startDrawThread /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:246 +0xce

goroutine 1 [runnable, locked to thread]: runtime.goready(0xc000782b60?, 0x3?) /usr/local/go/src/runtime/proc.go:390 +0x6d fp=0xc0026a3b50 sp=0xc0026a3b48 pc=0x10003af4d runtime.recv(0xc0026a3dc0?, 0xc0005bcf00, 0xc0026a3b87?, 0xc0026a3c80, 0x2) /usr/local/go/src/runtime/chan.go:654 +0x18a fp=0xc0026a3b88 sp=0xc0026a3b50 pc=0x10000b16a runtime.selectgo(0xc0026a3dc0, 0xc0026a3d4c, 0x7f?, 0x0, 0x10001110d?, 0x1) /usr/local/go/src/runtime/select.go:470 +0x12c6 fp=0xc0026a3cc8 sp=0xc0026a3b88 pc=0x10004b506 fyne.io/fyne/v2/internal/driver/glfw.(gLDriver).runGL(0xc000478700) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:128 +0x168 fp=0xc0026a3e00 sp=0xc0026a3cc8 pc=0x1005e9b88 fyne.io/fyne/v2/internal/driver/glfw.(gLDriver).Run(0xc000478700) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/driver.go:168 +0x75 fp=0xc0026a3e20 sp=0xc0026a3e00 pc=0x1005e8555 fyne.io/fyne/v2/internal/driver/glfw.(*window).ShowAndRun(0xc0001b0000) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:232 +0x2c fp=0xc0026a3e38 sp=0xc0026a3e20 pc=0x1005ed10c main.main() /Users/testing/zdev/edgeview/main.go:90 +0x8bb fp=0xc0026a3f80 sp=0xc0026a3e38 pc=0x1007f993b runtime.main() /usr/local/go/src/runtime/proc.go:250 +0x207 fp=0xc0026a3fe0 sp=0xc0026a3f80 pc=0x10003aa47 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0026a3fe8 sp=0xc0026a3fe0 pc=0x10006afc1

goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006cfb0 sp=0xc00006cf90 pc=0x10003ae76 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:387 runtime.forcegchelper() /usr/local/go/src/runtime/proc.go:305 +0xb0 fp=0xc00006cfe0 sp=0xc00006cfb0 pc=0x10003acb0 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006cfe8 sp=0xc00006cfe0 pc=0x10006afc1 created by runtime.init.6 /usr/local/go/src/runtime/proc.go:293 +0x25

goroutine 3 [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006d780 sp=0xc00006d760 pc=0x10003ae76 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:387 runtime.bgsweep(0x0?) /usr/local/go/src/runtime/mgcsweep.go:319 +0xde fp=0xc00006d7c8 sp=0xc00006d780 pc=0x10002797e runtime.gcenable.func1() /usr/local/go/src/runtime/mgc.go:178 +0x26 fp=0xc00006d7e0 sp=0xc00006d7c8 pc=0x10001cda6 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006d7e8 sp=0xc00006d7e0 pc=0x10006afc1 created by runtime.gcenable /usr/local/go/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]: runtime.gopark(0xc00007c000?, 0x100adfed8?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006df70 sp=0xc00006df50 pc=0x10003ae76 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:387 runtime.(*scavengerState).park(0x1016f6520) /usr/local/go/src/runtime/mgcscavenge.go:400 +0x53 fp=0xc00006dfa0 sp=0xc00006df70 pc=0x100025813 runtime.bgscavenge(0x0?) /usr/local/go/src/runtime/mgcscavenge.go:633 +0x65 fp=0xc00006dfc8 sp=0xc00006dfa0 pc=0x100025e05 runtime.gcenable.func2() /usr/local/go/src/runtime/mgc.go:179 +0x26 fp=0xc00006dfe0 sp=0xc00006dfc8 pc=0x10001cd46 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x10006afc1 created by runtime.gcenable /usr/local/go/src/runtime/mgc.go:179 +0xaa

goroutine 18 [finalizer wait]: runtime.gopark(0x0?, 0x1009eaf80?, 0xa0?, 0x20?, 0x2000000020?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006c628 sp=0xc00006c608 pc=0x10003ae76 runtime.runfinq() /usr/local/go/src/runtime/mfinal.go:193 +0x107 fp=0xc00006c7e0 sp=0xc00006c628 pc=0x10001bde7 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006c7e8 sp=0xc00006c7e0 pc=0x10006afc1 created by runtime.createfing /usr/local/go/src/runtime/mfinal.go:163 +0x45

goroutine 19 [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000068750 sp=0xc000068730 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0000687e0 sp=0xc000068750 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000687e8 sp=0xc0000687e0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 34 [GC worker (idle)]: runtime.gopark(0x64df571700fb3?, 0x3?, 0x8c?, 0xa6?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00018a750 sp=0xc00018a730 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00018a7e0 sp=0xc00018a750 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00018a7e8 sp=0xc00018a7e0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 5 [GC worker (idle)]: runtime.gopark(0x64df57170b276?, 0x1?, 0xf8?, 0xe1?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006e750 sp=0xc00006e730 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006e7e0 sp=0xc00006e750 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006e7e8 sp=0xc00006e7e0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 20 [GC worker (idle)]: runtime.gopark(0x101728b40?, 0x1?, 0x34?, 0x99?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000068f50 sp=0xc000068f30 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc000068fe0 sp=0xc000068f50 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000068fe8 sp=0xc000068fe0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 35 [GC worker (idle)]: runtime.gopark(0x64df5716dfc9d?, 0x3?, 0x67?, 0x43?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00018af50 sp=0xc00018af30 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00018afe0 sp=0xc00018af50 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00018afe8 sp=0xc00018afe0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 6 [GC worker (idle)]: runtime.gopark(0x64df571700fdd?, 0x1?, 0xa0?, 0xf1?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006ef50 sp=0xc00006ef30 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006efe0 sp=0xc00006ef50 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 7 [GC worker (idle)]: runtime.gopark(0x64df5716df985?, 0x1?, 0x9c?, 0x36?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006f750 sp=0xc00006f730 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006f7e0 sp=0xc00006f750 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006f7e8 sp=0xc00006f7e0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 21 [GC worker (idle)]: runtime.gopark(0x64df5716b118b?, 0x3?, 0xe5?, 0x81?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000069750 sp=0xc000069730 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0000697e0 sp=0xc000069750 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000697e8 sp=0xc0000697e0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 8 [GC worker (idle)]: runtime.gopark(0x64df57170a570?, 0x3?, 0x62?, 0x43?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006ff50 sp=0xc00006ff30 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006ffe0 sp=0xc00006ff50 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 22 [GC worker (idle)]: runtime.gopark(0x101728b40?, 0x3?, 0x98?, 0xbe?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000069f50 sp=0xc000069f30 pc=0x10003ae76 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc000069fe0 sp=0xc000069f50 pc=0x10001e911 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000069fe8 sp=0xc000069fe0 pc=0x10006afc1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1199 +0x25

goroutine 9 [syscall]: syscall.syscall6(0x2?, 0x100ae32d0?, 0x0?, 0xc000080cf8?, 0x1005fb805?, 0xc000478770?, 0xc0006a8730?) /usr/local/go/src/runtime/sys_darwin.go:45 +0x99 fp=0xc000080c08 sp=0xc000080b48 pc=0x100067899 golang.org/x/sys/unix.kevent(0x6?, 0x0?, 0x0?, 0xc0006a3930?, 0xc00024a2e0?, 0xc000080cd8?) /Users/testing/zdev/pkg/mod/golang.org/x/sys@v0.15.0/unix/zsyscall_darwin_amd64.go:275 +0x52 fp=0xc000080c70 sp=0xc000080c08 pc=0x100323172 golang.org/x/sys/unix.Kevent(0x0?, {0x0?, 0x42?, 0xc0006a8403?}, {0xc000080e70?, 0xc000080cf8?, 0x1000c8c74?}, 0xc0000a6300?) /Users/testing/zdev/pkg/mod/golang.org/x/sys@v0.15.0/unix/syscall_bsd.go:397 +0x3c fp=0xc000080cb0 sp=0xc000080c70 pc=0x100322e9c github.com/fsnotify/fsnotify.(Watcher).read(0xc000478770?, {0xc000080e70?, 0x42?, 0xa}) /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:702 +0x45 fp=0xc000080d08 sp=0xc000080cb0 pc=0x1005fbdc5 github.com/fsnotify/fsnotify.(Watcher).readEvents(0xc000478770) /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:487 +0xcd fp=0xc000080fc8 sp=0xc000080d08 pc=0x1005faacd github.com/fsnotify/fsnotify.NewWatcher.func1() /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:155 +0x26 fp=0xc000080fe0 sp=0xc000080fc8 pc=0x1005f95a6 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000080fe8 sp=0xc000080fe0 pc=0x10006afc1 created by github.com/fsnotify/fsnotify.NewWatcher /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:155 +0x225

goroutine 10 [chan receive]: runtime.gopark(0x1005fdf40?, 0xc0000c6138?, 0xa0?, 0xfe?, 0x1005fde40?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00031feb0 sp=0xc00031fe90 pc=0x10003ae76 runtime.chanrecv(0xc0000a6360, 0xc00031ffb8, 0x1) /usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc00031ff40 sp=0xc00031feb0 pc=0x10000ad5d runtime.chanrecv2(0xc000478770?, 0xc0000a6300?) /usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc00031ff68 sp=0xc00031ff40 pc=0x10000a898 fyne.io/fyne/v2/app.watchFile.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/app/settings_desktop.go:43 +0x6c fp=0xc00031ffe0 sp=0xc00031ff68 pc=0x1005ffa2c runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00031ffe8 sp=0xc00031ffe0 pc=0x10006afc1 created by fyne.io/fyne/v2/app.watchFile /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/app/settings_desktop.go:42 +0x111

goroutine 50 [syscall]: syscall.syscall6(0x0?, 0x0?, 0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/sys_darwin.go:45 +0x99 fp=0xc000187408 sp=0xc000187348 pc=0x100067899 golang.org/x/sys/unix.kevent(0x0?, 0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /Users/testing/zdev/pkg/mod/golang.org/x/sys@v0.15.0/unix/zsyscall_darwin_amd64.go:275 +0x52 fp=0xc000187470 sp=0xc000187408 pc=0x100323172 golang.org/x/sys/unix.Kevent(0x0?, {0x0?, 0x0?, 0x0?}, {0xc000187670?, 0x0?, 0x0?}, 0x0?) /Users/testing/zdev/pkg/mod/golang.org/x/sys@v0.15.0/unix/syscall_bsd.go:397 +0x3c fp=0xc0001874b0 sp=0xc000187470 pc=0x100322e9c github.com/fsnotify/fsnotify.(Watcher).read(0x0?, {0xc000187670?, 0x0?, 0xa}) /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:702 +0x45 fp=0xc000187508 sp=0xc0001874b0 pc=0x1005fbdc5 github.com/fsnotify/fsnotify.(Watcher).readEvents(0xc0002000e0) /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:487 +0xcd fp=0xc0001877c8 sp=0xc000187508 pc=0x1005faacd github.com/fsnotify/fsnotify.NewWatcher.func1() /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:155 +0x26 fp=0xc0001877e0 sp=0xc0001877c8 pc=0x1005f95a6 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0001877e8 sp=0xc0001877e0 pc=0x10006afc1 created by github.com/fsnotify/fsnotify.NewWatcher /Users/testing/zdev/pkg/mod/github.com/fsnotify/fsnotify@v1.6.0/backend_kqueue.go:155 +0x225

goroutine 51 [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000187eb0 sp=0xc000187e90 pc=0x10003ae76 runtime.chanrecv(0xc0000480c0, 0xc000187fb8, 0x1) /usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc000187f40 sp=0xc000187eb0 pc=0x10000ad5d runtime.chanrecv2(0x0?, 0x0?) /usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc000187f68 sp=0xc000187f40 pc=0x10000a898 fyne.io/fyne/v2/app.watchFile.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/app/settings_desktop.go:43 +0x6c fp=0xc000187fe0 sp=0xc000187f68 pc=0x1005ffa2c runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000187fe8 sp=0xc000187fe0 pc=0x10006afc1 created by fyne.io/fyne/v2/app.watchFile /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/app/settings_desktop.go:42 +0x111

goroutine 23 [select]: runtime.gopark(0xc0004e1788?, 0x2?, 0xea?, 0x18?, 0xc0004e1784?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004e1610 sp=0xc0004e15f0 pc=0x10003ae76 runtime.selectgo(0xc0004e1788, 0xc0004e1780, 0x0?, 0x0, 0x0?, 0x1) /usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc0004e1750 sp=0xc0004e1610 pc=0x10004a9fe database/sql.(*DB).connectionOpener(0xc0004d04e0, {0x100aea9d8, 0xc000180050}) /usr/local/go/src/database/sql/sql.go:1218 +0x8d fp=0xc0004e17b8 sp=0xc0004e1750 pc=0x10059190d database/sql.OpenDB.func1() /usr/local/go/src/database/sql/sql.go:791 +0x2e fp=0xc0004e17e0 sp=0xc0004e17b8 pc=0x10059086e runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004e17e8 sp=0xc0004e17e0 pc=0x10006afc1 created by database/sql.OpenDB /usr/local/go/src/database/sql/sql.go:791 +0x18d

goroutine 37 [select]: runtime.gopark(0xc0004ddf68?, 0x2?, 0x60?, 0xdf?, 0xc0004ddf00?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004ddd78 sp=0xc0004ddd58 pc=0x10003ae76 runtime.selectgo(0xc0004ddf68, 0xc0004ddefc, 0x0?, 0x0, 0x0?, 0x1) /usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc0004ddeb8 sp=0xc0004ddd78 pc=0x10004a9fe fyne.io/fyne/v2/internal/async.(*UnboundedFuncChan).processing(0xc0001a4030) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/async/chan_func.go:45 +0xf1 fp=0xc0004ddfc8 sp=0xc0004ddeb8 pc=0x10034d591 fyne.io/fyne/v2/internal/async.NewUnboundedFuncChan.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/async/chan_func.go:22 +0x26 fp=0xc0004ddfe0 sp=0xc0004ddfc8 pc=0x10034d406 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004ddfe8 sp=0xc0004ddfe0 pc=0x10006afc1 created by fyne.io/fyne/v2/internal/async.NewUnboundedFuncChan /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/async/chan_func.go:22 +0xf8

goroutine 38 [chan receive]: runtime.gopark(0xc002333f08?, 0x1002f2bb0?, 0xa0?, 0x20?, 0x100aee660?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc002333ee0 sp=0xc002333ec0 pc=0x10003ae76 runtime.chanrecv(0xc0001aa0c0, 0xc002333fb0, 0x1) /usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc002333f70 sp=0xc002333ee0 pc=0x10000ad5d runtime.chanrecv2(0x0?, 0x0?) /usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc002333f98 sp=0xc002333f70 pc=0x10000a898 fyne.io/fyne/v2/internal/driver/common.(Window).RunEventQueue(0x0?) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/common/window.go:34 +0x4d fp=0xc002333fc8 sp=0xc002333f98 pc=0x1005d582d fyne.io/fyne/v2/internal/driver/glfw.(gLDriver).createWindow.func1.1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:960 +0x26 fp=0xc002333fe0 sp=0xc002333fc8 pc=0x1005f2846 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc002333fe8 sp=0xc002333fe0 pc=0x10006afc1 created by fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).createWindow.func1 /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:960 +0x136

goroutine 39 [select, locked to thread]: runtime.gopark(0xc0004defa8?, 0x2?, 0xf2?, 0xb1?, 0xc0004defa4?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004dee20 sp=0xc0004dee00 pc=0x10003ae76 runtime.selectgo(0xc0004defa8, 0xc0004defa0, 0x0?, 0x0, 0x0?, 0x1) /usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc0004def60 sp=0xc0004dee20 pc=0x10004a9fe runtime.ensureSigM.func1() /usr/local/go/src/runtime/signal_unix.go:1004 +0x187 fp=0xc0004defe0 sp=0xc0004def60 pc=0x100062cc7 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004defe8 sp=0xc0004defe0 pc=0x10006afc1 created by runtime.ensureSigM /usr/local/go/src/runtime/signal_unix.go:987 +0xbd

goroutine 82 [syscall]: runtime.sigNoteSleep(0x0) /usr/local/go/src/runtime/os_darwin.go:123 +0x1e fp=0xc0005c37a0 sp=0xc0005c3768 pc=0x10003523e os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:149 +0x28 fp=0xc0005c37c0 sp=0xc0005c37a0 pc=0x1000671c8 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x19 fp=0xc0005c37e0 sp=0xc0005c37c0 pc=0x100322cb9 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005c37e8 sp=0xc0005c37e0 pc=0x10006afc1 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x2a

goroutine 30 [select]: runtime.gopark(0xc00031bf90?, 0x2?, 0xf8?, 0xbd?, 0xc00031bf34?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00031bdb0 sp=0xc00031bd90 pc=0x10003ae76 runtime.selectgo(0xc00031bf90, 0xc00031bf30, 0xc0004d6200?, 0x0, 0xc0006b8060?, 0x1) /usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc00031bef0 sp=0xc00031bdb0 pc=0x10004a9fe net/http.(persistConn).writeLoop(0xc000696360) /usr/local/go/src/net/http/transport.go:2410 +0xf2 fp=0xc00031bfc8 sp=0xc00031bef0 pc=0x100263bb2 net/http.(Transport).dialConn.func6() /usr/local/go/src/net/http/transport.go:1766 +0x26 fp=0xc00031bfe0 sp=0xc00031bfc8 pc=0x100260626 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00031bfe8 sp=0xc00031bfe0 pc=0x10006afc1 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1766 +0x173d

goroutine 32 [syscall]: syscall.syscall(0xc00031de48?, 0x10053c391?, 0x800000?, 0x7ffff800000?) /usr/local/go/src/runtime/sys_darwin.go:23 +0x7f fp=0xc00031ddb8 sp=0xc00031dd28 pc=0x1000676ff syscall.read(0xc000655800?, {0xc002694000?, 0x2a?, 0xc004e56078?}) /usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1209 +0x49 fp=0xc00031ddf8 sp=0xc00031ddb8 pc=0x1000a6049 syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:178 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:794 internal/poll.(FD).Read(0xc000655800?, {0xc002694000?, 0x8000?, 0x8000?}) /usr/local/go/src/internal/poll/fd_unix.go:163 +0x2ce fp=0xc00031de90 sp=0xc00031ddf8 pc=0x1000bf20e os.(File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(File).Read(0xc0004ce228, {0xc002694000?, 0xf?, 0x18?}) /usr/local/go/src/os/file.go:118 +0x5e fp=0xc00031dee8 sp=0xc00031de90 pc=0x1000c42be github.com/fyne-io/terminal.(Terminal).run(0xc000376000) /Users/testing/zdev/pkg/mod/github.com/fyne-io/terminal@v0.0.0-20240206170039-2e129cdfd85f/term.go:275 +0xa3 fp=0xc00031df88 sp=0xc00031dee8 pc=0x100587aa3 github.com/fyne-io/terminal.(*Terminal).RunLocalShell(0xc000376000) /Users/testing/zdev/pkg/mod/github.com/fyne-io/terminal@v0.0.0-20240206170039-2e129cdfd85f/term.go:304 +0x52 fp=0xc00031dfa0 sp=0xc00031df88 pc=0x100587cb2 main.run_ssh_to_remote.func2() /Users/testing/zdev/edgeview/runssh.go:80 +0x45 fp=0xc00031dfe0 sp=0xc00031dfa0 pc=0x1007faee5 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00031dfe8 sp=0xc00031dfe0 pc=0x10006afc1 created by main.run_ssh_to_remote /Users/testing/zdev/edgeview/runssh.go:79 +0x638

goroutine 29 [IO wait]: runtime.gopark(0x21?, 0xc0004ca000?, 0x0?, 0x10?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000525ab0 sp=0xc000525a90 pc=0x10003ae76 runtime.netpollblock(0x1000a6049?, 0x7acf?, 0x1?) /usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc000525ae8 sp=0xc000525ab0 pc=0x100034097 internal/poll.runtime_pollWait(0x10afdee60, 0x72) /usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc000525b08 sp=0xc000525ae8 pc=0x100064f29 internal/poll.(pollDesc).wait(0xc00024a380?, 0xc0004ca000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000525b30 sp=0xc000525b08 pc=0x1000be672 internal/poll.(pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(FD).Read(0xc00024a380, {0xc0004ca000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc000525bc8 sp=0xc000525b30 pc=0x1000bf1d9 net.(netFD).Read(0xc00024a380, {0xc0004ca000?, 0x10003af27?, 0xc000525c30?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 fp=0xc000525c10 sp=0xc000525bc8 pc=0x100192b29 net.(conn).Read(0xc0004ce0d0, {0xc0004ca000?, 0x0?, 0xc0000061a0?}) /usr/local/go/src/net/net.go:183 +0x45 fp=0xc000525c58 sp=0xc000525c10 pc=0x10019d9c5 net.(TCPConn).Read(0xc0005d07b0?, {0xc0004ca000?, 0xc0005cd150?, 0xd?})

:1 +0x29 fp=0xc000525c88 sp=0xc000525c58 pc=0x1001a9909 net/http.(*persistConn).Read(0xc000696360, {0xc0004ca000?, 0xc000049980?, 0xc000525d30?}) /usr/local/go/src/net/http/transport.go:1943 +0x4e fp=0xc000525ce8 sp=0xc000525c88 pc=0x1002610ce bufio.(*Reader).fill(0xc00060ee40) /usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc000525d20 sp=0xc000525ce8 pc=0x1000ec69f bufio.(*Reader).Peek(0xc00060ee40, 0x1) /usr/local/go/src/bufio/bufio.go:144 +0x5d fp=0xc000525d40 sp=0xc000525d20 pc=0x1000ec7fd net/http.(*persistConn).readLoop(0xc000696360) /usr/local/go/src/net/http/transport.go:2107 +0x1ac fp=0xc000525fc8 sp=0xc000525d40 pc=0x100261eec net/http.(*Transport).dialConn.func5() /usr/local/go/src/net/http/transport.go:1765 +0x26 fp=0xc000525fe0 sp=0xc000525fc8 pc=0x100260686 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000525fe8 sp=0xc000525fe0 pc=0x10006afc1 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1765 +0x16ea goroutine 40 [chan receive]: runtime.gopark(0xc003aefda8?, 0x1005f7aae?, 0x0?, 0x40?, 0x100aeecc0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc003aefd80 sp=0xc003aefd60 pc=0x10003ae76 runtime.chanrecv(0xc0000c8480, 0xc003aeff70, 0x1) /usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc003aefe10 sp=0xc003aefd80 pc=0x10000ad5d runtime.chanrecv2(0x100ae5ce0?, 0xc0000c6008?) /usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc003aefe38 sp=0xc003aefe10 pc=0x10000a898 main.handleSigFromCmds(0xc0000ee370) /Users/testing/zdev/edgeview/ui.go:300 +0x85 fp=0xc003aeffc8 sp=0xc003aefe38 pc=0x1008012a5 main.(*Config).makeUI.func4() /Users/testing/zdev/edgeview/ui.go:137 +0x26 fp=0xc003aeffe0 sp=0xc003aeffc8 pc=0x100800006 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc003aeffe8 sp=0xc003aeffe0 pc=0x10006afc1 created by main.(*Config).makeUI /Users/testing/zdev/edgeview/ui.go:137 +0x58a goroutine 94 [chan send]: runtime.gopark(0x100083fe5?, 0x1016bbb40?, 0x68?, 0x5d?, 0x0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0026a5cc0 sp=0xc0026a5ca0 pc=0x10003ae76 runtime.chansend(0xc00126f200, 0xc0026a5e38, 0x1, 0x0?) /usr/local/go/src/runtime/chan.go:259 +0x42e fp=0xc0026a5d48 sp=0xc0026a5cc0 pc=0x100009f4e runtime.chansend1(0x100ae5ce0?, 0x0?) /usr/local/go/src/runtime/chan.go:145 +0x1d fp=0xc0026a5d78 sp=0xc0026a5d48 pc=0x100009afd edgeview-client/client.Edgeview_client.func2() /Users/testing/zdev/edgeview/client/edge-view.go:389 +0x726 fp=0xc0026a5fe0 sp=0xc0026a5d78 pc=0x100335486 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0026a5fe8 sp=0xc0026a5fe0 pc=0x10006afc1 created by edgeview-client/client.Edgeview_client /Users/testing/zdev/edgeview/client/edge-view.go:368 +0x1de5 goroutine 69 [chan receive]: runtime.gopark(0x0?, 0xc0004e36e0?, 0xb3?, 0x28?, 0xc0004e36e0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004e36b0 sp=0xc0004e3690 pc=0x10003ae76 runtime.chanrecv(0xc0001000c0, 0x0, 0x1) /usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc0004e3740 sp=0xc0004e36b0 pc=0x10000ad5d runtime.chanrecv1(0xc0001000c0?, 0xc0004e3798?) /usr/local/go/src/runtime/chan.go:442 +0x18 fp=0xc0004e3768 sp=0xc0004e3740 pc=0x10000a858 fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).catchTerm(0x0?) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/driver_desktop.go:183 +0x86 fp=0xc0004e37c8 sp=0xc0004e3768 pc=0x1005e90a6 fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).Run.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/driver.go:167 +0x26 fp=0xc0004e37e0 sp=0xc0004e37c8 pc=0x1005e85c6 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004e37e8 sp=0xc0004e37e0 pc=0x10006afc1 created by fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).Run /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/driver.go:167 +0x6b goroutine 47 [chan send]: runtime.gopark(0xc00226dd60?, 0xc0005bc120?, 0x0?, 0x40?, 0x100aeecc0?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00226dd38 sp=0xc00226dd18 pc=0x10003ae76 runtime.chansend(0xc00126f140, 0xc00226de28, 0x1, 0xc0001ca500?) /usr/local/go/src/runtime/chan.go:259 +0x42e fp=0xc00226ddc0 sp=0xc00226dd38 pc=0x100009f4e runtime.chansend1(0xc0000ee370?, 0xc00051fe68?) /usr/local/go/src/runtime/chan.go:145 +0x1d fp=0xc00226ddf0 sp=0xc00226ddc0 pc=0x100009afd main.run_ssh_to_remote(0xc0000ee370, 0xc001a94d80, {0x100966922, 0x9}, 0x16, {0x0, 0x0}, {0x0, 0x0}, 0xc0019e5ec0) /Users/testing/zdev/edgeview/runssh.go:150 +0x977 fp=0xc00226df80 sp=0xc00226ddf0 pc=0x1007fa937 main.run_client_app.func1() /Users/testing/zdev/edgeview/edgeview-cmds.go:293 +0x4e fp=0xc00226dfe0 sp=0xc00226df80 pc=0x1007eb5ce runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00226dfe8 sp=0xc00226dfe0 pc=0x10006afc1 created by main.run_client_app /Users/testing/zdev/edgeview/edgeview-cmds.go:293 +0x1c45 goroutine 118 [select]: runtime.gopark(0xc000521ef0?, 0x2?, 0x0?, 0x82?, 0xc000521e84?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000521cc0 sp=0xc000521ca0 pc=0x10003ae76 runtime.selectgo(0xc000521ef0, 0xc000521e80, 0x100ae5060?, 0x0, 0x0?, 0x1) /usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000521e00 sp=0xc000521cc0 pc=0x10004a9fe edgeview-client/client.clientTCPtunnel.func1({0x100aedfb8?, 0xc0005e2088}) /Users/testing/zdev/edgeview/client/tcp.go:175 +0x125 fp=0xc000521fc0 sp=0xc000521e00 pc=0x100337f85 edgeview-client/client.clientTCPtunnel.func2() /Users/testing/zdev/edgeview/client/tcp.go:188 +0x2e fp=0xc000521fe0 sp=0xc000521fc0 pc=0x100337e2e runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000521fe8 sp=0xc000521fe0 pc=0x10006afc1 created by edgeview-client/client.clientTCPtunnel /Users/testing/zdev/edgeview/client/tcp.go:173 +0x30c goroutine 165 [chan send]: runtime.gopark(0xc00343e300?, 0x0?, 0x38?, 0x9e?, 0x100009a26?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000189de8 sp=0xc000189dc8 pc=0x10003ae76 runtime.chansend(0xc0000a6240, 0xc000189ec8, 0x1, 0x0?) /usr/local/go/src/runtime/chan.go:259 +0x42e fp=0xc000189e70 sp=0xc000189de8 pc=0x100009f4e runtime.chansend1(0x1016bbc00?, 0xc0000372a0?) /usr/local/go/src/runtime/chan.go:145 +0x1d fp=0xc000189ea0 sp=0xc000189e70 pc=0x100009afd fyne.io/fyne/v2/internal/driver/glfw.runOnMain(0xc000721e70) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:58 +0xf3 fp=0xc000189f10 sp=0xc000189ea0 pc=0x1005e94d3 fyne.io/fyne/v2/internal/driver/glfw.(*window).runOnMainWhenCreated(0xc0001b0000, 0xc000721e70) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:938 +0xdd fp=0xc000189f60 sp=0xc000189f10 pc=0x1005f245d fyne.io/fyne/v2/internal/driver/glfw.(*window).RequestFocus(0xc0001b0000) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window_desktop.go:191 +0x67 fp=0xc000189f80 sp=0xc000189f60 pc=0x1005f3027 fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).focusPreviousWindow(0x0?) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/driver.go:139 +0x11a fp=0xc000189fc8 sp=0xc000189f80 pc=0x1005e823a fyne.io/fyne/v2/internal/driver/glfw.(*window).destroy.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:290 +0x26 fp=0xc000189fe0 sp=0xc000189fc8 pc=0x1005ed646 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000189fe8 sp=0xc000189fe0 pc=0x10006afc1 created by fyne.io/fyne/v2/internal/driver/glfw.(*window).destroy /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:290 +0xa5 goroutine 164 [chan receive]: runtime.gopark(0xc0001aa240?, 0x0?, 0xb8?, 0xb6?, 0x100009a26?) /usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00018b668 sp=0xc00018b648 pc=0x10003ae76 runtime.chanrecv(0xc00343e2a0, 0x0, 0x1) /usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc00018b6f8 sp=0xc00018b668 pc=0x10000ad5d runtime.chanrecv1(0x1016bbc00?, 0xc00060e420?) /usr/local/go/src/runtime/chan.go:442 +0x18 fp=0xc00018b720 sp=0xc00018b6f8 pc=0x10000a858 fyne.io/fyne/v2/internal/driver/glfw.runOnDraw(0xc0006ce1e0, 0xc000721df0) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:74 +0xdf fp=0xc00018b798 sp=0xc00018b720 pc=0x1005e969f fyne.io/fyne/v2/internal/driver/glfw.(*window).Close(0xc0006ce1e0) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:214 +0x96 fp=0xc00018b7c8 sp=0xc00018b798 pc=0x1005ecfd6 fyne.io/fyne/v2/internal/driver/glfw.(*window).processClosed.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:279 +0x26 fp=0xc00018b7e0 sp=0xc00018b7c8 pc=0x1005ed506 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00018b7e8 sp=0xc00018b7e0 pc=0x10006afc1 created by fyne.io/fyne/v2/internal/driver/glfw.(*window).processClosed /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:279 +0x6a (2) fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x0] runtime stack: runtime.throw({0x10099802a?, 0x37322831048?}) /usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0x306a87e90 sp=0x306a87e60 pc=0x1000382dd runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0x306a87ef0 sp=0x306a87e90 pc=0x10004e989 runtime.asmcgocall(0x1000419ad, 0xc00009a820) /usr/local/go/src/runtime/asm_amd64.s:852 +0x64 fp=0x306a87ef8 sp=0x306a87ef0 pc=0x10006ade4 goroutine 28 [syscall, locked to thread]: runtime.cgocall(0x100816a50, 0xc0001e9eb0) /usr/local/go/src/runtime/cgocall.go:157 +0x5c fp=0xc0001e9e88 sp=0xc0001e9e50 pc=0x1000080fc github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwMakeContextCurrent(0x0) _cgo_gotypes.go:1471 +0x45 fp=0xc0001e9eb0 sp=0xc0001e9e88 pc=0x1005d7025 github.com/go-gl/glfw/v3.3/glfw.DetachCurrentContext() /Users/testing/zdev/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20221017161538-93cebf72946b/context.go:23 +0x25 fp=0xc0001e9ed8 sp=0xc0001e9eb0 pc=0x1005d91c5 fyne.io/fyne/v2/internal/driver/glfw.(*window).DetachCurrentContext(...) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window_desktop.go:685 fyne.io/fyne/v2/internal/driver/glfw.(*window).RunWithContext(0xc0001e9f90?, 0xc00360e4d0) /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/window.go:925 +0x55 fp=0xc0001e9ef8 sp=0xc0001e9ed8 pc=0x1005f23b5 fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).startDrawThread.func1() /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:254 +0x13b fp=0xc0001e9fe0 sp=0xc0001e9ef8 pc=0x1005ea5bb runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0001e9fe8 sp=0xc0001e9fe0 pc=0x10006b101 created by fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).startDrawThread /Users/testing/zdev/pkg/mod/fyne.io/fyne/v2@v2.4.4/internal/driver/glfw/loop.go:246 +0xce goroutine 1 [select, locked to thread]: ### How to reproduce When in my app, sometimes changing from one menu item to another, similar to demo program click on the left side of the menu buttons to show a different containers or widgets. Or when toolbar with a new window open, upon closing the window, it sometimes can crash. ### Screenshots _No response_ ### Example code some of the UI, similar to the fyne_demo program: func (app *Config) makeUI() { ... setEVcmd := func(t cmds.EVcmd) { title.SetText(t.Title) title.Importance = widget.SuccessImportance title.TextStyle = fyne.TextStyle{Bold: true} intro.SetText(t.Intro) app.InfoLog.Println("setEVcmd: ", t.Title) app.ClientCMD = &t myContainer.Objects = []fyne.CanvasObject{t.View(app.MainWindow)} myContainer.Refresh() } app.setEVcmd = setEVcmd cmd := container.NewBorder( container.NewVBox(title, widget.NewSeparator(), intro), nil, nil, nil, myContainer) split := container.NewHSplit(makeNav(app, setEVcmd, true), cmd) split.Offset = 0.2 sliderContainer := app.CheckChangeTheme() splitBorder := container.NewBorder(nil, nil, nil, nil, split) finalContent := container.NewVBox(infoContent, locationLabel, toolBar, sliderContainer, btnCont, splitBorder) app.MainWindow.SetContent(finalContent) } ### Fyne version v2.4.4 ### Go compiler version v1.20 ### Operating system and version macOS Sonama 14.2.1 ### Additional Information _No response_
andydotxyz commented 7 months ago

Looking at this again it seems that the code running is "macOS Intel" not an "Apple Silicon" binary. Please confirm how you have copied the app for the outcome described above.

Running an Intel app on M2 is possible through their compatibility layer, but it means the compiled binary is not executing the M2 code as it was compiled without...

naiming-zededa commented 7 months ago

Correct, this was running in 'intel' mode. I'll close this then.

naiming-zededa commented 7 months ago

close this, since running 'Intel' on Apple Silicon is a know issue.

andydotxyz commented 7 months ago

You will be glad to know that we are reconciling the different code paths, but it will be 2.6 rather than 2.5 when this issue goes away.

In the meantime I recommend compiling for the target architecture and/or asking your users to download the correct app bundle.