Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when resizing mobile simulator window #5397

Open
2 tasks done
pneumaticdeath opened this issue Jan 11, 2025 · 6 comments
Open
2 tasks done

Crash when resizing mobile simulator window #5397

pneumaticdeath opened this issue Jan 11, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@pneumaticdeath
Copy link

pneumaticdeath commented Jan 11, 2025

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

It an efford to make my app more mobile friendly, I switched from using a NewGridLayout(2) to and NewAdaptiveGridLayout(2), and it rejndered mostly correctly in both desktop and mobile, but then when trying to resize in mobile it crashed.

How to reproduce

  1. In a project with an AdaptiveLayout, build/run with --tags mobile
  2. Resize the width down or up in size
  3. Crash!

Screenshots

Screenshot 2025-01-11 at 13 12 24

Example code

package main

import (
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/container"
	"fyne.io/fyne/v2/layout"
	"fyne.io/fyne/v2/widget"
)

func main() {
	a := app.New()
	w := a.NewWindow("Adaptive Layout")

	cont := container.New(layout.NewAdaptiveGridLayout(2), widget.NewLabel("Hello"), widget.NewLabel("World!"))

	w.SetContent(cont)
	w.ShowAndRun()
}

Fyne version

v2.5.3

Go compiler version

1.23.4

Operating system and version

macos Sonoma 14.6.1

Additional Information

Output from crash

titania:test_ground mitch$ go run --tags mobile adaptive.go
# fyne.io/fyne/v2/internal/driver/mobile/app
darwin_desktop.m:121:100: warning: 'NSApplicationActivateIgnoringOtherApps' is deprecated: first deprecated in macOS 14.0 - ignoringOtherApps is deprecated in macOS 14 and will have no effect. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h:27:5: note: 'NSApplicationActivateIgnoringOtherApps' has been explicitly marked deprecated here
-[AGXG14GFamilyCommandBuffer renderCommandEncoderWithDescriptor:]:888: failed assertion `A command encoder is already encoding to this command buffer'
SIGABRT: abort
PC=0x18d7955f0 m=3 sigcode=0
signal arrived during cgo execution

goroutine 26 gp=0x140000036c0 m=3 mp=0x14000063008 [syscall, locked to thread]:
runtime.cgocall(0x1033dc97c, 0x14000299c58)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:167 +0x44 fp=0x14000299c20 sp=0x14000299be0 pc=0x10301aae4
fyne.io/fyne/v2/internal/driver/mobile/gl._Cfunc_process(0x14000214188, 0x0, 0x0, 0x0, 0x3)
	_cgo_gotypes.go:123 +0x34 fp=0x14000299c50 sp=0x14000299c20 pc=0x103203834
fyne.io/fyne/v2/internal/driver/mobile/gl.(*context).DoWork(0x14000214160)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/gl/work.go:142 +0x10c fp=0x14000299f30 sp=0x14000299c50 pc=0x103203a3c
fyne.io/fyne/v2/internal/driver/mobile/app.(*app).loop(0x104013240, 0x6000028ef540)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:89 +0xa4 fp=0x14000299fb0 sp=0x14000299f30 pc=0x1033bb1a4
fyne.io/fyne/v2/internal/driver/mobile/app.startloop.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:127 +0x2c fp=0x14000299fd0 sp=0x14000299fb0 pc=0x1033bb2dc
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000299fd0 sp=0x14000299fd0 pc=0x103029174
created by fyne.io/fyne/v2/internal/driver/mobile/app.startloop in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:127 +0x70

goroutine 1 gp=0x140000021c0 m=nil [chan receive, locked to thread]:
runtime.gopark(0x14001945b78?, 0x102fb9ef8?, 0x98?, 0x74?, 0x10?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14001945b00 sp=0x14001945ae0 pc=0x103020e78
runtime.chanrecv(0x140001122a0, 0x0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x14001945b80 sp=0x14001945b00 pc=0x102fbb1d4
runtime.chanrecv1(0x103557660?, 0x14001945bd0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:489 +0x14 fp=0x14001945bb0 sp=0x14001945b80 pc=0x102fbad84
fyne.io/fyne/v2/internal/driver/mobile/app.drawgl(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:121
_cgoexp_2a59bc27e7c2_drawgl(0x14001945c58?)
	_cgo_gotypes.go:269 +0x98 fp=0x14001945c00 sp=0x14001945bb0 pc=0x1033bb898
runtime.cgocallbackg1(0x1033bb800, 0x16ce47dc8, 0x0)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:442 +0x218 fp=0x14001945cd0 sp=0x14001945c00 pc=0x102fb93c8
runtime.cgocallbackg(0x1033bb800, 0x16ce47dc8, 0x0)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:361 +0xf4 fp=0x14001945d20 sp=0x14001945cd0 pc=0x102fb9124
runtime.cgocallbackg(0x1033bb800, 0x16ce47dc8, 0x0)
	<autogenerated>:1 +0x1c fp=0x14001945d50 sp=0x14001945d20 pc=0x10302aebc
runtime.cgocallback(0x14001945dc8, 0x1033baeb0, 0x1033dc1b4)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1131 +0xb0 fp=0x14001945d80 sp=0x14001945d50 pc=0x103029080
runtime.systemstack_switch()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:201 +0x8 fp=0x14001945d90 sp=0x14001945d80 pc=0x103026c18
runtime.cgocall(0x1033dc1b4, 0x14001945e08)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:185 +0x70 fp=0x14001945dd0 sp=0x14001945d90 pc=0x10301ab10
fyne.io/fyne/v2/internal/driver/mobile/app._Cfunc_runApp()
	_cgo_gotypes.go:235 +0x30 fp=0x14001945e00 sp=0x14001945dd0 pc=0x1033baeb0
fyne.io/fyne/v2/internal/driver/mobile/app.main(0x140003064d0)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:62 +0xcc fp=0x14001945e60 sp=0x14001945e00 pc=0x1033bb08c
fyne.io/fyne/v2/internal/driver/mobile/app.Main(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/app.go:24
fyne.io/fyne/v2/internal/driver/mobile.(*driver).Run(0x140001d52c0)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:144 +0xb0 fp=0x14001945e90 sp=0x14001945e60 pc=0x1033be850
fyne.io/fyne/v2/app.(*fyneApp).Run(0x14000131a40)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:71 +0x70 fp=0x14001945ec0 sp=0x14001945e90 pc=0x1033d8160
fyne.io/fyne/v2/internal/driver/mobile.(*window).ShowAndRun(0x1033dfd4e?)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/window.go:190 +0x2c fp=0x14001945ee0 sp=0x14001945ec0 pc=0x1033c2e9c
main.main()
	/Users/mitch/go/src/test_ground/adaptive.go:17 +0x160 fp=0x14001945f40 sp=0x14001945ee0 pc=0x1033db6b0
runtime.main()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:272 +0x288 fp=0x14001945fd0 sp=0x14001945f40 pc=0x102febb88
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14001945fd0 sp=0x14001945fd0 pc=0x103029174

goroutine 18 gp=0x14000092380 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000058790 sp=0x14000058770 pc=0x103020e78
runtime.goparkunlock(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:430
runtime.forcegchelper()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:337 +0xb8 fp=0x140000587d0 sp=0x14000058790 pc=0x102febee8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000587d0 sp=0x140000587d0 pc=0x103029174
created by runtime.init.7 in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:325 +0x24

goroutine 19 gp=0x14000092540 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000058f60 sp=0x14000058f40 pc=0x103020e78
runtime.goparkunlock(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:430
runtime.bgsweep(0x140000a2000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgcsweep.go:317 +0x108 fp=0x14000058fb0 sp=0x14000058f60 pc=0x102fd6e38
runtime.gcenable.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:204 +0x28 fp=0x14000058fd0 sp=0x14000058fb0 pc=0x102fcaf98
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000058fd0 sp=0x14000058fd0 pc=0x103029174
created by runtime.gcenable in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:204 +0x6c

goroutine 20 gp=0x14000092700 m=nil [GC scavenge wait]:
runtime.gopark(0x6d61ca?, 0x6553f100?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000059760 sp=0x14000059740 pc=0x103020e78
runtime.goparkunlock(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:430
runtime.(*scavengerState).park(0x1040133e0)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000059790 sp=0x14000059760 pc=0x102fd47cc
runtime.bgscavenge(0x140000a2000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgcscavenge.go:658 +0xac fp=0x140000597b0 sp=0x14000059790 pc=0x102fd4d7c
runtime.gcenable.gowrap2()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:205 +0x28 fp=0x140000597d0 sp=0x140000597b0 pc=0x102fcaf38
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000597d0 sp=0x140000597d0 pc=0x103029174
created by runtime.gcenable in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:205 +0xac

goroutine 34 gp=0x14000102700 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x1035ce3d0?, 0x60?, 0x60?, 0x2000000020?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005c580 sp=0x1400005c560 pc=0x103020e78
runtime.runfinq()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mfinal.go:193 +0x108 fp=0x1400005c7d0 sp=0x1400005c580 pc=0x102fca098
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005c7d0 sp=0x1400005c7d0 pc=0x103029174
created by runtime.createfing in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mfinal.go:163 +0x80

goroutine 35 gp=0x140001028c0 m=nil [chan receive]:
runtime.gopark(0x14000226748?, 0x103102c6c?, 0x50?, 0xd3?, 0x1035df540?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x140002266f0 sp=0x140002266d0 pc=0x103020e78
runtime.chanrecv(0x140001120e0, 0x0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x14000226770 sp=0x140002266f0 pc=0x102fbb1d4
runtime.chanrecv1(0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:489 +0x14 fp=0x140002267a0 sp=0x14000226770 pc=0x102fbad84
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1781
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1784 +0x3c fp=0x140002267d0 sp=0x140002267a0 pc=0x102fcde4c
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002267d0 sp=0x140002267d0 pc=0x103029174
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1779 +0xa0

goroutine 36 gp=0x14000102a80 m=nil [runnable]:
runtime.gopark(0x14000296f58?, 0x2?, 0xa8?, 0x54?, 0x14000296eac?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000296d10 sp=0x14000296cf0 pc=0x103020e78
runtime.selectgo(0x14000296f58, 0x14000296ea8, 0x0?, 0x0, 0x2?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x14000296e40 sp=0x14000296d10 pc=0x102ffeebc
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x1035dc5c0)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:74 +0xb4 fp=0x14000296fb0 sp=0x14000296e40 pc=0x103200514
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x2c fp=0x14000296fd0 sp=0x14000296fb0 pc=0x103200d1c
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000296fd0 sp=0x14000296fd0 pc=0x103029174
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x10c

goroutine 37 gp=0x14000102c40 m=nil [select]:
runtime.gopark(0x14000227788?, 0x2?, 0x0?, 0x0?, 0x1400022774c?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x140002275d0 sp=0x140002275b0 pc=0x103020e78
runtime.selectgo(0x14000227788, 0x14000227748, 0x0?, 0x0, 0x0?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x14000227700 sp=0x140002275d0 pc=0x102ffeebc
fyne.io/fyne/v2/internal/async.(*UnboundedStructChan).processing(0x14000157240)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_struct.go:38 +0x64 fp=0x140002277b0 sp=0x14000227700 pc=0x1031ff854
fyne.io/fyne/v2/internal/async.NewUnboundedStructChan.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_struct.go:21 +0x28 fp=0x140002277d0 sp=0x140002277b0 pc=0x1031ff7b8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002277d0 sp=0x140002277d0 pc=0x103029174
created by fyne.io/fyne/v2/internal/async.NewUnboundedStructChan in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_struct.go:21 +0xe8

goroutine 50 gp=0x14000102e00 m=nil [GC worker (idle)]:
runtime.gopark(0x9e79b0f08fbb?, 0x3?, 0xa2?, 0x4f?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000227f10 sp=0x14000227ef0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000227fb0 sp=0x14000227f10 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000227fd0 sp=0x14000227fb0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000227fd0 sp=0x14000227fd0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 39 gp=0x14000102fc0 m=nil [select]:
runtime.gopark(0x14000228770?, 0x2?, 0xe8?, 0x50?, 0x140002286f4?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000228560 sp=0x14000228540 pc=0x103020e78
runtime.selectgo(0x14000228770, 0x140002286f0, 0x0?, 0x0, 0x0?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x14000228690 sp=0x14000228560 pc=0x102ffeebc
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x1035dc520)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:74 +0xb4 fp=0x140002287b0 sp=0x14000228690 pc=0x1031ffe24
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x2c fp=0x140002287d0 sp=0x140002287b0 pc=0x103200eac
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002287d0 sp=0x140002287d0 pc=0x103029174
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x10c

goroutine 40 gp=0x14000103180 m=nil [select]:
runtime.gopark(0x14000228f70?, 0x2?, 0x0?, 0x0?, 0x14000228ef4?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000228d60 sp=0x14000228d40 pc=0x103020e78
runtime.selectgo(0x14000228f70, 0x14000228ef0, 0x0?, 0x0, 0x0?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x14000228e90 sp=0x14000228d60 pc=0x102ffeebc
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x1035dc520)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:74 +0xb4 fp=0x14000228fb0 sp=0x14000228e90 pc=0x1031ffe24
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x2c fp=0x14000228fd0 sp=0x14000228fb0 pc=0x103200eac
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000228fd0 sp=0x14000228fd0 pc=0x103029174
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x10c

goroutine 41 gp=0x14000103340 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x140002296f0 sp=0x140002296d0 pc=0x103020e78
runtime.chanrecv(0x14000210f50, 0x140002297c0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x14000229770 sp=0x140002296f0 pc=0x102fbb1d4
runtime.chanrecv2(0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:494 +0x14 fp=0x140002297a0 sp=0x14000229770 pc=0x102fbada4
fyne.io/fyne/v2/internal/driver/common.(*Window).RunEventQueue(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/window.go:34
fyne.io/fyne/v2/internal/driver/mobile.(*driver).CreateWindow.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:78 +0x54 fp=0x140002297d0 sp=0x140002297a0 pc=0x1033be404
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002297d0 sp=0x140002297d0 pc=0x103029174
created by fyne.io/fyne/v2/internal/driver/mobile.(*driver).CreateWindow in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:78 +0x124

goroutine 42 gp=0x14000103500 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000229f10 sp=0x14000229ef0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000229fb0 sp=0x14000229f10 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000229fd0 sp=0x14000229fb0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000229fd0 sp=0x14000229fd0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 21 gp=0x140000928c0 m=nil [GC worker (idle)]:
runtime.gopark(0x9e79b0f6acff?, 0x3?, 0xeb?, 0x11?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000059f10 sp=0x14000059ef0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000059fb0 sp=0x14000059f10 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000059fd0 sp=0x14000059fb0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000059fd0 sp=0x14000059fd0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 43 gp=0x140001036c0 m=nil [GC worker (idle)]:
runtime.gopark(0x10403c140?, 0x3?, 0xd7?, 0x6f?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000222710 sp=0x140002226f0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x140002227b0 sp=0x14000222710 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x140002227d0 sp=0x140002227b0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140002227d0 sp=0x140002227d0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 22 gp=0x14000092a80 m=nil [GC worker (idle)]:
runtime.gopark(0x10403c140?, 0x1?, 0x48?, 0xf0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005a710 sp=0x1400005a6f0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400005a7b0 sp=0x1400005a710 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400005a7d0 sp=0x1400005a7b0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005a7d0 sp=0x1400005a7d0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 51 gp=0x140002b4000 m=nil [GC worker (idle)]:
runtime.gopark(0x9e79b0f54a2e?, 0x1?, 0x9f?, 0x9b?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000226f10 sp=0x14000226ef0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000226fb0 sp=0x14000226f10 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000226fd0 sp=0x14000226fb0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000226fd0 sp=0x14000226fd0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 44 gp=0x14000103880 m=nil [GC worker (idle)]:
runtime.gopark(0x9e79b0f54ba5?, 0x3?, 0x8c?, 0x3d?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000222f10 sp=0x14000222ef0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000222fb0 sp=0x14000222f10 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000222fd0 sp=0x14000222fb0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000222fd0 sp=0x14000222fd0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 23 gp=0x14000092c40 m=nil [GC worker (idle)]:
runtime.gopark(0x9e79b0f6acff?, 0x3?, 0xa0?, 0x8e?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005af10 sp=0x1400005aef0 pc=0x103020e78
runtime.gcBgMarkWorker(0x14000113b90)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400005afb0 sp=0x1400005af10 pc=0x102fcd0bc
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400005afd0 sp=0x1400005afb0 pc=0x102fccfa8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005afd0 sp=0x1400005afd0 pc=0x103029174
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 24 gp=0x14000093500 m=nil [chan receive]:
runtime.gopark(0x1035d16c8?, 0x1400012e050?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005b6f0 sp=0x1400005b6d0 pc=0x103020e78
runtime.chanrecv(0x14000210d90, 0x1400005b7c0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x1400005b770 sp=0x1400005b6f0 pc=0x102fbb1d4
runtime.chanrecv2(0x0?, 0x103029174?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:494 +0x14 fp=0x1400005b7a0 sp=0x1400005b770 pc=0x102fbada4
fyne.io/fyne/v2/internal/app.(*Lifecycle).RunEventQueue(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/app/lifecycle.go:127
fyne.io/fyne/v2/app.(*fyneApp).Run.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:70 +0x54 fp=0x1400005b7d0 sp=0x1400005b7a0 pc=0x1033d81d4
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005b7d0 sp=0x1400005b7d0 pc=0x103029174
created by fyne.io/fyne/v2/app.(*fyneApp).Run in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:70 +0x5c

goroutine 25 gp=0x14000003500 m=nil [chan receive]:
runtime.gopark(0x14000a7d548?, 0x102fb9ef8?, 0x28?, 0xd6?, 0x14000178500?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000a7d4d0 sp=0x14000a7d4b0 pc=0x103020e78
runtime.chanrecv(0x14000112460, 0x14000a7d5a0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x14000a7d550 sp=0x14000a7d4d0 pc=0x102fbb1d4
runtime.chanrecv1(0x14000a7d5a8?, 0x103206110?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:489 +0x14 fp=0x14000a7d580 sp=0x14000a7d550 pc=0x102fbad84
fyne.io/fyne/v2/internal/driver/mobile/gl.(*context).enqueue(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/gl/work.go:109
fyne.io/fyne/v2/internal/driver/mobile/gl.(*context).CreateBuffer(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/gl/gl.go:137
fyne.io/fyne/v2/internal/driver/mobile/gl.context3.CreateBuffer({0x0?})
	<autogenerated>:1 +0x9c fp=0x14000a7d620 sp=0x14000a7d580 pc=0x103205a2c
fyne.io/fyne/v2/internal/painter/gl.(*mobileContext).CreateBuffer(0x0?)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/gl_gomobile.go:161 +0x28 fp=0x14000a7d640 sp=0x14000a7d620 pc=0x1033b29c8
fyne.io/fyne/v2/internal/painter/gl.(*painter).createBuffer(0x1400032ed80, {0x1400120de50, 0x14, 0x14})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:13 +0x3c fp=0x14000a7d690 sp=0x14000a7d640 pc=0x1033afa3c
fyne.io/fyne/v2/internal/painter/gl.(*painter).drawTextureWithDetails(0x1400032ed80, {0x1035da4a0, 0x140002d83f0}, 0x0?, {0xa7d788?, 0x140?}, {0xf8f0?, 0x140?}, {0xa7d778?, 0x140?}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:263 +0x12c fp=0x14000a7d720 sp=0x14000a7d690 pc=0x1033b11ec
fyne.io/fyne/v2/internal/painter/gl.(*painter).drawText(0x1400032ed80, 0x140002d83f0, {0x2d8410?, 0x140?}, {0xa7d7b0?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:243 +0x200 fp=0x14000a7d7a0 sp=0x14000a7d720 pc=0x1033b1070
fyne.io/fyne/v2/internal/painter/gl.(*painter).drawObject(0x14000a7d838?, {0x1035da4a0?, 0x140002d83f0?}, {0x3591d60?, 0x1?}, {0xa7d801?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:139 +0x54 fp=0x14000a7d7f0 sp=0x14000a7d7a0 pc=0x1033b0664
fyne.io/fyne/v2/internal/painter/gl.(*painter).Paint(0x1400032ed80, {0x1035da4a0, 0x140002d83f0}, {0x33b3684?, 0x1?}, {0xa7d8a8?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/painter.go:93 +0x64 fp=0x14000a7d840 sp=0x14000a7d7f0 pc=0x1033b3684
fyne.io/fyne/v2/internal/driver/mobile.(*driver).paintWindow.func1(0x14000a7d8f8?, {0x320bfc0?, 0x1?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:331 +0x118 fp=0x14000a7d8b0 sp=0x14000a7d840 pc=0x1033bfa98
fyne.io/fyne/v2/internal/driver/common.(*Canvas).walkTree.func1({0x1035da4a0, 0x140002d83f0}, {0x152c00?, 0x140?}, {0x320aacc?, 0x1?}, {0xa7d968?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/canvas.go:486 +0x234 fp=0x14000a7d900 sp=0x14000a7d8b0 pc=0x1033b7964
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x1035da4a0, 0x140002d83f0}, 0x0, {0x1035da860, 0x14000152c00}, {0x33b77a8?, 0x1?}, {0x44480000?, 0x436a0000?}, {0x40800000?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:171 +0x1e4 fp=0x14000a7d9c0 sp=0x14000a7d900 pc=0x10320bd94
fyne.io/fyne/v2/internal/driver.walkObjectTree.func1(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:178
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x1035da860, 0x14000152c00}, 0x0, {0x1035da260, 0x1400022a1c0}, {0x33b77a8?, 0x1?}, {0x44480000?, 0x436a0000?}, {0x40800000?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:192 +0x2d0 fp=0x14000a7da80 sp=0x14000a7d9c0 pc=0x10320be80
fyne.io/fyne/v2/internal/driver.walkObjectTree.func1(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:178
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x1035da260, 0x1400022a1c0}, 0x0, {0x1035da2c0, 0x140001d2640}, {0x18ad380?, 0x140?}, {0xa7db98?, 0x140?}, {0x2fc0214?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:192 +0x2d0 fp=0x14000a7db40 sp=0x14000a7da80 pc=0x10320be80
fyne.io/fyne/v2/internal/driver.walkObjectTree.func1(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:178
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x1035da2c0, 0x140001d2640}, 0x0, {0x0, 0x0}, {0x3500?, 0x140?}, {0xa7dc68?, 0x140?}, {0x33b74ac?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:192 +0x2d0 fp=0x14000a7dc00 sp=0x14000a7db40 pc=0x10320be80
fyne.io/fyne/v2/internal/driver.WalkVisibleObjectTree({0x1035da2c0?, 0x140001d2640?}, 0x14000112370?, 0x1032853b8?)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:134 +0x58 fp=0x14000a7dc70 sp=0x14000a7dc00 pc=0x10320bb78
fyne.io/fyne/v2/internal/driver/common.(*Canvas).walkTree(0x0?, 0x14000348500, 0x14000a7ddd0, 0x14000a7ddb8)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/canvas.go:507 +0xe4 fp=0x14000a7dd30 sp=0x14000a7dc70 pc=0x1033b7554
fyne.io/fyne/v2/internal/driver/common.(*Canvas).WalkTrees(0x1400026ec00, 0x14000a7ddd0, 0x14000a7ddb8)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/canvas.go:419 +0x38 fp=0x14000a7dd80 sp=0x14000a7dd30 pc=0x1033b70b8
fyne.io/fyne/v2/internal/driver/mobile.(*driver).paintWindow(0x140001d52c0, {0x1035ddbd8?, 0x14000210e70?}, {0x33bed90?, 0x1?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:347 +0x140 fp=0x14000a7de10 sp=0x14000a7dd80 pc=0x1033bf7c0
fyne.io/fyne/v2/internal/driver/mobile.(*driver).handlePaint(0x140001d52c0, {0x60?, 0x140018aa5d0?}, 0x14000210e70)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:293 +0x164 fp=0x14000a7de60 sp=0x14000a7de10 pc=0x1033bf3e4
fyne.io/fyne/v2/internal/driver/mobile.(*driver).Run.func1({0x1035dae00, 0x104013240})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:207 +0x400 fp=0x14000a7dfb0 sp=0x14000a7de60 pc=0x1033bec80
fyne.io/fyne/v2/internal/driver/mobile/app.main.func1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:57 +0x34 fp=0x14000a7dfd0 sp=0x14000a7dfb0 pc=0x1033bb0e4
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000a7dfd0 sp=0x14000a7dfd0 pc=0x103029174
created by fyne.io/fyne/v2/internal/driver/mobile/app.main in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:56 +0xc8

r0      0x0
r1      0x0
r2      0x0
r3      0x0
r4      0x73
r5      0x2e
r6      0x0
r7      0x0
r8      0x8955dd200a00d35f
r9      0x8955dd2167e5a35f
r10     0xa
r11     0x0
r12     0x38
r13     0x12c831890
r14     0x1000001f5634589
r15     0x1f5634588
r16     0x148
r17     0x1ffd1e4e8
r18     0x0
r19     0x6
r20     0x16de57000
r21     0xd03
r22     0x16de570e0
r23     0xffffffffffffffff
r24     0x1f4346000
r25     0x1fb132000
r26     0x197cd38d0
r27     0x4
r28     0x5
r29     0x16de566f0
lr      0x18d7cdc20
sp      0x16de566d0
pc      0x18d7955f0
fault   0x18d7955f0
exit status 2
@pneumaticdeath pneumaticdeath added the unverified A bug that has been reported but not verified label Jan 11, 2025
@andydotxyz
Copy link
Member

I think this relates to confusions with macOS threading at the driver level and should be resolved on the developer branch.

@pneumaticdeath
Copy link
Author

Thanks... I'll try that.

@pneumaticdeath
Copy link
Author

Excuse, I'm still kinda new at go. How do I test against the developer branch? I tried

go get fyne.io/fyne/v2@develop

but that got me

require fyne.io/fyne/v2 v2.5.3-rc7.0.20250111205818-b7b8a613e39c

which still crashes

@andydotxyz
Copy link
Member

Thanks for confirming - the crash log will be different, please post the new one.

@pneumaticdeath
Copy link
Author

New crash log for development branch:

# fyne.io/fyne/v2/internal/driver/mobile/app
darwin_desktop.m:121:100: warning: 'NSApplicationActivateIgnoringOtherApps' is deprecated: first deprecated in macOS 14.0 - ignoringOtherApps is deprecated in macOS 14 and will have no effect. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h:27:5: note: 'NSApplicationActivateIgnoringOtherApps' has been explicitly marked deprecated here
# command-line-arguments
ld: warning: ignoring duplicate libraries: '-lobjc'
-[AGXG14GFamilyCommandBuffer renderCommandEncoderWithDescriptor:]:888: failed assertion `A command encoder is already encoding to this command buffer'
SIGABRT: abort
PC=0x18d7955f0 m=9 sigcode=0
signal arrived during cgo execution

goroutine 6 gp=0x14000092e00 m=9 mp=0x14000500008 [syscall, locked to thread]:
runtime.cgocall(0x10314e1cc, 0x1400006ec58)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:167 +0x44 fp=0x1400006ec20 sp=0x1400006ebe0 pc=0x102d7b164
fyne.io/fyne/v2/internal/driver/mobile/gl._Cfunc_process(0x1400020c188, 0x0, 0x0, 0x0, 0x3)
	_cgo_gotypes.go:123 +0x34 fp=0x1400006ec50 sp=0x1400006ec20 pc=0x102f64234
fyne.io/fyne/v2/internal/driver/mobile/gl.(*context).DoWork(0x1400020c160)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/gl/work.go:142 +0x10c fp=0x1400006ef30 sp=0x1400006ec50 pc=0x102f6443c
fyne.io/fyne/v2/internal/driver/mobile/app.(*app).loop(0x103d9bc40, 0x600002e6fa40)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:89 +0xa4 fp=0x1400006efb0 sp=0x1400006ef30 pc=0x10311f9d4
fyne.io/fyne/v2/internal/driver/mobile/app.startloop.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:127 +0x2c fp=0x1400006efd0 sp=0x1400006efb0 pc=0x10311fb0c
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400006efd0 sp=0x1400006efd0 pc=0x102d897f4
created by fyne.io/fyne/v2/internal/driver/mobile/app.startloop in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:127 +0x70

goroutine 1 gp=0x140000021c0 m=nil [chan receive, locked to thread]:
runtime.gopark(0x14001085b68?, 0x102d1a4d8?, 0xc8?, 0x43?, 0x10?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14001085af0 sp=0x14001085ad0 pc=0x102d814f8
runtime.chanrecv(0x140001022a0, 0x0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x14001085b70 sp=0x14001085af0 pc=0x102d1b7b4
runtime.chanrecv1(0x1032ccea0?, 0x14001085bc0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:489 +0x14 fp=0x14001085ba0 sp=0x14001085b70 pc=0x102d1b364
fyne.io/fyne/v2/internal/driver/mobile/app.drawgl(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:121
_cgoexp_2a59bc27e7c2_drawgl(0x14001085c48?)
	_cgo_gotypes.go:269 +0x98 fp=0x14001085bf0 sp=0x14001085ba0 pc=0x1031200c8
runtime.cgocallbackg1(0x103120030, 0x16d0e7dc8, 0x0)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:442 +0x218 fp=0x14001085cc0 sp=0x14001085bf0 pc=0x102d199a8
runtime.cgocallbackg(0x103120030, 0x16d0e7dc8, 0x0)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:361 +0xf4 fp=0x14001085d10 sp=0x14001085cc0 pc=0x102d19704
runtime.cgocallbackg(0x103120030, 0x16d0e7dc8, 0x0)
	<autogenerated>:1 +0x1c fp=0x14001085d40 sp=0x14001085d10 pc=0x102d8b53c
runtime.cgocallback(0x14001085db8, 0x10311f6e0, 0x10314da04)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1131 +0xb0 fp=0x14001085d70 sp=0x14001085d40 pc=0x102d89700
runtime.systemstack_switch()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:201 +0x8 fp=0x14001085d80 sp=0x14001085d70 pc=0x102d87298
runtime.cgocall(0x10314da04, 0x14001085df8)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/cgocall.go:185 +0x70 fp=0x14001085dc0 sp=0x14001085d80 pc=0x102d7b190
fyne.io/fyne/v2/internal/driver/mobile/app._Cfunc_runApp()
	_cgo_gotypes.go:235 +0x30 fp=0x14001085df0 sp=0x14001085dc0 pc=0x10311f6e0
fyne.io/fyne/v2/internal/driver/mobile/app.main(0x140002ccdd0)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:62 +0xcc fp=0x14001085e50 sp=0x14001085df0 pc=0x10311f8bc
fyne.io/fyne/v2/internal/driver/mobile/app.Main(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/app.go:24
fyne.io/fyne/v2/internal/driver/mobile.(*driver).Run(0x140001cd400)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:160 +0xb0 fp=0x14001085e80 sp=0x14001085e50 pc=0x103123f90
fyne.io/fyne/v2/app.(*fyneApp).Run(0x140002c8fd0)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:72 +0xdc fp=0x14001085ec0 sp=0x14001085e80 pc=0x10314966c
fyne.io/fyne/v2/internal/driver/mobile.(*window).ShowAndRun(0x103151729?)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/window.go:178 +0x2c fp=0x14001085ee0 sp=0x14001085ec0 pc=0x103127d5c
main.main()
	/Users/mitch/go/src/test_ground/adaptive.go:17 +0x160 fp=0x14001085f40 sp=0x14001085ee0 pc=0x10314cf00
runtime.main()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:272 +0x288 fp=0x14001085fd0 sp=0x14001085f40 pc=0x102d4c208
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14001085fd0 sp=0x14001085fd0 pc=0x102d897f4

goroutine 18 gp=0x14000092380 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000058790 sp=0x14000058770 pc=0x102d814f8
runtime.goparkunlock(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:430
runtime.forcegchelper()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:337 +0xb8 fp=0x140000587d0 sp=0x14000058790 pc=0x102d4c568
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000587d0 sp=0x140000587d0 pc=0x102d897f4
created by runtime.init.7 in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:325 +0x24

goroutine 19 gp=0x14000092540 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000058f60 sp=0x14000058f40 pc=0x102d814f8
runtime.goparkunlock(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:430
runtime.bgsweep(0x140000a2000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgcsweep.go:317 +0x108 fp=0x14000058fb0 sp=0x14000058f60 pc=0x102d374b8
runtime.gcenable.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:204 +0x28 fp=0x14000058fd0 sp=0x14000058fb0 pc=0x102d2b618
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000058fd0 sp=0x14000058fd0 pc=0x102d897f4
created by runtime.gcenable in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:204 +0x6c

goroutine 20 gp=0x14000092700 m=nil [GC scavenge wait]:
runtime.gopark(0x546bf?, 0x6553f100?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000059760 sp=0x14000059740 pc=0x102d814f8
runtime.goparkunlock(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:430
runtime.(*scavengerState).park(0x103d9bde0)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000059790 sp=0x14000059760 pc=0x102d34e4c
runtime.bgscavenge(0x140000a2000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgcscavenge.go:658 +0xac fp=0x140000597b0 sp=0x14000059790 pc=0x102d353fc
runtime.gcenable.gowrap2()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:205 +0x28 fp=0x140000597d0 sp=0x140000597b0 pc=0x102d2b5b8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000597d0 sp=0x140000597d0 pc=0x102d897f4
created by runtime.gcenable in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:205 +0xac

goroutine 34 gp=0x14000106380 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x102d5d128?, 0xc8?, 0xc5?, 0x102d569a8?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005c580 sp=0x1400005c560 pc=0x102d814f8
runtime.runfinq()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mfinal.go:193 +0x108 fp=0x1400005c7d0 sp=0x1400005c580 pc=0x102d2a718
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005c7d0 sp=0x1400005c7d0 pc=0x102d897f4
created by runtime.createfing in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mfinal.go:163 +0x80

goroutine 35 gp=0x14000106540 m=nil [chan receive]:
runtime.gopark(0x1400021e748?, 0x102e6438c?, 0x50?, 0x53?, 0x103357e60?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021e6f0 sp=0x1400021e6d0 pc=0x102d814f8
runtime.chanrecv(0x140001020e0, 0x0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x1400021e770 sp=0x1400021e6f0 pc=0x102d1b7b4
runtime.chanrecv1(0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:489 +0x14 fp=0x1400021e7a0 sp=0x1400021e770 pc=0x102d1b364
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1781
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1784 +0x3c fp=0x1400021e7d0 sp=0x1400021e7a0 pc=0x102d2e4cc
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021e7d0 sp=0x1400021e7d0 pc=0x102d897f4
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1779 +0xa0

goroutine 36 gp=0x14000106700 m=nil [runnable]:
runtime.gopark(0x14000071f58?, 0x2?, 0x28?, 0x6c?, 0x14000071eac?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000071d10 sp=0x14000071cf0 pc=0x102d814f8
runtime.selectgo(0x14000071f58, 0x14000071ea8, 0x0?, 0x0, 0x2?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x14000071e40 sp=0x14000071d10 pc=0x102d5f53c
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x1033546a0)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:43 +0xb4 fp=0x14000071fb0 sp=0x14000071e40 pc=0x103120c64
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:20 +0x2c fp=0x14000071fd0 sp=0x14000071fb0 pc=0x103120b7c
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000071fd0 sp=0x14000071fd0 pc=0x102d897f4
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:20 +0x10c

goroutine 37 gp=0x140001068c0 m=nil [select]:
runtime.gopark(0x1400021f788?, 0x2?, 0x0?, 0x0?, 0x1400021f74c?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021f5d0 sp=0x1400021f5b0 pc=0x102d814f8
runtime.selectgo(0x1400021f788, 0x1400021f748, 0x0?, 0x0, 0x0?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x1400021f700 sp=0x1400021f5d0 pc=0x102d5f53c
fyne.io/fyne/v2/internal/async.(*UnboundedStructChan).processing(0x1400014f220)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_struct.go:38 +0x64 fp=0x1400021f7b0 sp=0x1400021f700 pc=0x102f61184
fyne.io/fyne/v2/internal/async.NewUnboundedStructChan.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_struct.go:21 +0x28 fp=0x1400021f7d0 sp=0x1400021f7b0 pc=0x102f610e8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021f7d0 sp=0x1400021f7d0 pc=0x102d897f4
created by fyne.io/fyne/v2/internal/async.NewUnboundedStructChan in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_struct.go:21 +0xe8

goroutine 38 gp=0x14000106a80 m=nil [select]:
runtime.gopark(0x1400021ff70?, 0x2?, 0x0?, 0x0?, 0x1400021fef4?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021fd60 sp=0x1400021fd40 pc=0x102d814f8
runtime.selectgo(0x1400021ff70, 0x1400021fef0, 0x0?, 0x0, 0x0?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x1400021fe90 sp=0x1400021fd60 pc=0x102d5f53c
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x103354600)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:43 +0xb4 fp=0x1400021ffb0 sp=0x1400021fe90 pc=0x102f6f384
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:20 +0x2c fp=0x1400021ffd0 sp=0x1400021ffb0 pc=0x102f6fb4c
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021ffd0 sp=0x1400021ffd0 pc=0x102d897f4
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:20 +0x10c

goroutine 50 gp=0x140004be000 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021a710 sp=0x1400021a6f0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400021a7b0 sp=0x1400021a710 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400021a7d0 sp=0x1400021a7b0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021a7d0 sp=0x1400021a7d0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 2 gp=0x14000003340 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d4089d884a?, 0x1?, 0x31?, 0xc4?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021ef10 sp=0x1400021eef0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400021efb0 sp=0x1400021ef10 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400021efd0 sp=0x1400021efb0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021efd0 sp=0x1400021efd0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 39 gp=0x14000106c40 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d4089cc42a?, 0x3?, 0x78?, 0xe0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000684f10 sp=0x14000684ef0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000684fb0 sp=0x14000684f10 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000684fd0 sp=0x14000684fb0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000684fd0 sp=0x14000684fd0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 51 gp=0x140004be1c0 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d4089cc042?, 0x1?, 0xc9?, 0x7d?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021af10 sp=0x1400021aef0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400021afb0 sp=0x1400021af10 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400021afd0 sp=0x1400021afb0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021afd0 sp=0x1400021afd0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 40 gp=0x14000106e00 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d4089d3e8f?, 0x3?, 0x8?, 0xcf?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000220f10 sp=0x14000220ef0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x14000220fb0 sp=0x14000220f10 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x14000220fd0 sp=0x14000220fb0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000220fd0 sp=0x14000220fd0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 3 gp=0x14000003500 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d401ae55ee?, 0x3?, 0x57?, 0x37?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005cf10 sp=0x1400005cef0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400005cfb0 sp=0x1400005cf10 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400005cfd0 sp=0x1400005cfb0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005cfd0 sp=0x1400005cfd0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 52 gp=0x140004be380 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d4089cecb1?, 0x3?, 0x8c?, 0xba?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021b710 sp=0x1400021b6f0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400021b7b0 sp=0x1400021b710 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400021b7d0 sp=0x1400021b7b0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021b7d0 sp=0x1400021b7d0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 53 gp=0x140004be540 m=nil [GC worker (idle)]:
runtime.gopark(0xa1d4089d3354?, 0x3?, 0x2f?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400021bf10 sp=0x1400021bef0 pc=0x102d814f8
runtime.gcBgMarkWorker(0x140004bc000)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1412 +0xdc fp=0x1400021bfb0 sp=0x1400021bf10 pc=0x102d2d73c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x28 fp=0x1400021bfd0 sp=0x1400021bfb0 pc=0x102d2d628
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400021bfd0 sp=0x1400021bfd0 pc=0x102d897f4
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/mgc.go:1328 +0x140

goroutine 4 gp=0x14000092a80 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x1400005fee0 sp=0x1400005fec0 pc=0x102d814f8
runtime.chanrecv(0x14000208cb0, 0x1400005ffb0, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x1400005ff60 sp=0x1400005fee0 pc=0x102d1b7b4
runtime.chanrecv2(0x0?, 0x0?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:494 +0x14 fp=0x1400005ff90 sp=0x1400005ff60 pc=0x102d1b384
fyne.io/fyne/v2/internal/app.(*Lifecycle).RunEventQueue(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/app/lifecycle.go:127
fyne.io/fyne/v2/app.(*fyneApp).Run.gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:71 +0x60 fp=0x1400005ffd0 sp=0x1400005ff90 pc=0x1031496f0
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400005ffd0 sp=0x1400005ffd0 pc=0x102d897f4
created by fyne.io/fyne/v2/app.(*fyneApp).Run in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:71 +0xc8

goroutine 5 gp=0x14000092c40 m=nil [chan receive]:
runtime.gopark(0x14001271528?, 0x102d1a4d8?, 0x58?, 0x15?, 0x1031196d4?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x140012714b0 sp=0x14001271490 pc=0x102d814f8
runtime.chanrecv(0x14000102460, 0x14001271580, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:639 +0x414 fp=0x14001271530 sp=0x140012714b0 pc=0x102d1b7b4
runtime.chanrecv1(0x140012bbb90?, 0x6?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/chan.go:489 +0x14 fp=0x14001271560 sp=0x14001271530 pc=0x102d1b364
fyne.io/fyne/v2/internal/driver/mobile/gl.(*context).enqueue(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/gl/work.go:109
fyne.io/fyne/v2/internal/driver/mobile/gl.(*context).CreateBuffer(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/gl/gl.go:137
fyne.io/fyne/v2/internal/driver/mobile/gl.context3.CreateBuffer({0x0?})
	<autogenerated>:1 +0x9c fp=0x14001271600 sp=0x14001271560 pc=0x102f6642c
fyne.io/fyne/v2/internal/painter/gl.(*mobileContext).CreateBuffer(0x0?)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/gl_gomobile.go:161 +0x28 fp=0x14001271620 sp=0x14001271600 pc=0x103117cd8
fyne.io/fyne/v2/internal/painter/gl.(*painter).createBuffer(0x140002d4840, {0x1400122d950, 0x14, 0x14})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:13 +0x3c fp=0x14001271670 sp=0x14001271620 pc=0x103114d4c
fyne.io/fyne/v2/internal/painter/gl.(*painter).drawTextureWithDetails(0x140002d4840, {0x103352580, 0x14003de4630}, 0x102f6c35c?, {0x422bf000?, 0x0?}, {0x0?, 0x40800000?}, {0x1271758?, 0x140?}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:263 +0x12c fp=0x14001271700 sp=0x14001271670 pc=0x1031164fc
fyne.io/fyne/v2/internal/painter/gl.(*painter).drawText(0x140002d4840, 0x14003de4630, {0x3de4650?, 0x140?}, {0x1271790?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:243 +0x200 fp=0x14001271780 sp=0x14001271700 pc=0x103116380
fyne.io/fyne/v2/internal/painter/gl.(*painter).drawObject(0x14001271818?, {0x103352580?, 0x14003de4630?}, {0x33079e0?, 0x1?}, {0x1271801?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/draw.go:139 +0x54 fp=0x140012717d0 sp=0x14001271780 pc=0x103115974
fyne.io/fyne/v2/internal/painter/gl.(*painter).Paint(0x140002d4840, {0x103352580, 0x14003de4630}, {0x3118994?, 0x1?}, {0x1271888?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/gl/painter.go:93 +0x64 fp=0x14001271820 sp=0x140012717d0 pc=0x103118994
fyne.io/fyne/v2/internal/driver/mobile.(*driver).paintWindow.func1(0x10140012718d8?, {0x2fed510?, 0x1?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:351 +0x118 fp=0x14001271890 sp=0x14001271820 pc=0x1031251d8
fyne.io/fyne/v2/internal/driver/common.(*Canvas).walkTree.func1({0x103352580, 0x14003de4630}, {0x26f550?, 0x140?}, {0xf87cb4f1?, 0xf?}, {0x1271948?, 0x140?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/canvas.go:464 +0x234 fp=0x140012718e0 sp=0x14001271890 pc=0x10311c4b4
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x103352580, 0x14003de4630}, 0x0, {0x103352940, 0x1400026f550}, {0x311c2f8?, 0x1?}, {0x44480000?, 0x43190000?}, {0x40800000?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:171 +0x1e4 fp=0x140012719a0 sp=0x140012718e0 pc=0x102f6da14
fyne.io/fyne/v2/internal/driver.walkObjectTree.func1(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:178
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x103352940, 0x1400026f550}, 0x0, {0x103352340, 0x1400014acc0}, {0x311c2f8?, 0x1?}, {0x44480000?, 0x43190000?}, {0x40800000?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:192 +0x2d0 fp=0x14001271a60 sp=0x140012719a0 pc=0x102f6db00
fyne.io/fyne/v2/internal/driver.walkObjectTree.func1(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:178
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x103352340, 0x1400014acc0}, 0x0, {0x1033523a0, 0x140001ca6e0}, {0x33523a0?, 0x1?}, {0x1271b78?, 0x140?}, {0x2d20894?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:192 +0x2d0 fp=0x14001271b20 sp=0x14001271a60 pc=0x102f6db00
fyne.io/fyne/v2/internal/driver.walkObjectTree.func1(...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:178
fyne.io/fyne/v2/internal/driver.walkObjectTree({0x1033523a0, 0x140001ca6e0}, 0x0, {0x0, 0x0}, {0x92c40?, 0x140?}, {0x1271c48?, 0x140?}, {0x311bffc?, ...}, ...)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:192 +0x2d0 fp=0x14001271be0 sp=0x14001271b20 pc=0x102f6db00
fyne.io/fyne/v2/internal/driver.WalkVisibleObjectTree({0x1033523a0?, 0x140001ca6e0?}, 0x14000102370?, 0x102feb4c8?)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/util.go:134 +0x58 fp=0x14001271c50 sp=0x14001271be0 pc=0x102f6d7f8
fyne.io/fyne/v2/internal/driver/common.(*Canvas).walkTree(0x0?, 0x140002d3a80, 0x14001271db0, 0x14001271d98)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/canvas.go:485 +0xe4 fp=0x14001271d10 sp=0x14001271c50 pc=0x10311c0a4
fyne.io/fyne/v2/internal/driver/common.(*Canvas).WalkTrees(0x1400020c2c0, 0x14001271db0, 0x14001271d98)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/canvas.go:399 +0x38 fp=0x14001271d60 sp=0x14001271d10 pc=0x10311bd68
fyne.io/fyne/v2/internal/driver/mobile.(*driver).paintWindow(0x140001cd400, {0x103356498?, 0x140002d4780?}, {0x31241b4?, 0x1?})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:367 +0x140 fp=0x14001271df0 sp=0x14001271d60 pc=0x103124f00
fyne.io/fyne/v2/internal/driver/mobile.(*driver).handlePaint(0x140001cd400, {0xa0?, 0x140012bbba0?}, 0x140002d4780)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:313 +0x170 fp=0x14001271e40 sp=0x14001271df0 pc=0x103124b20
fyne.io/fyne/v2/internal/driver/mobile.(*driver).Run.func1({0x103352ee0, 0x103d9bc40})
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/driver.go:226 +0x41c fp=0x14001271fb0 sp=0x14001271e40 pc=0x1031243dc
fyne.io/fyne/v2/internal/driver/mobile/app.main.func1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:57 +0x34 fp=0x14001271fd0 sp=0x14001271fb0 pc=0x10311f914
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14001271fd0 sp=0x14001271fd0 pc=0x102d897f4
created by fyne.io/fyne/v2/internal/driver/mobile/app.main in goroutine 1
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/mobile/app/darwin_desktop.go:56 +0xc8

goroutine 66 gp=0x140000036c0 m=nil [select]:
runtime.gopark(0x1400005af70?, 0x2?, 0xe8?, 0xd5?, 0x1400005aef4?)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/proc.go:424 +0xc8 fp=0x14000686d60 sp=0x14000686d40 pc=0x102d814f8
runtime.selectgo(0x14000686f70, 0x1400005aef0, 0x0?, 0x0, 0x0?, 0x1)
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/select.go:335 +0x67c fp=0x14000686e90 sp=0x14000686d60 pc=0x102d5f53c
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x103354600)
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:43 +0xb4 fp=0x14000686fb0 sp=0x14000686e90 pc=0x102f6f384
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:20 +0x2c fp=0x14000686fd0 sp=0x14000686fb0 pc=0x102f6fb4c
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.23.4/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000686fd0 sp=0x14000686fd0 pc=0x102d897f4
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 5
	/Users/mitch/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan.go:20 +0x10c

r0      0x0
r1      0x0
r2      0x0
r3      0x0
r4      0x73
r5      0x2e
r6      0x0
r7      0x0
r8      0xa500271ec135d4c1
r9      0xa500271fb010e4c1
r10     0xa
r11     0x0
r12     0x38
r13     0x14f00ec90
r14     0x1000001f5634589
r15     0x1f5634588
r16     0x148
r17     0x1ffd1e4e8
r18     0x0
r19     0x6
r20     0x171253000
r21     0x2203
r22     0x1712530e0
r23     0xffffffffffffffff
r24     0x1f4346000
r25     0x1fb132000
r26     0x197cd38d0
r27     0x4
r28     0x5
r29     0x1712526f0
lr      0x18d7cdc20
sp      0x1712526d0
pc      0x18d7955f0
fault   0x18d7955f0
exit status 2

@andydotxyz
Copy link
Member

andydotxyz commented Jan 12, 2025

Thanks for confirming.

It seems this is not related to the layout but can happen with any content.
The mobile simulator resize seems to potentially trigger a crash if resizing too small - potentially if the window is below the minimum size according to my tests.

Thankfully this does not impact actual mobile devices :)

@andydotxyz andydotxyz changed the title Crash when using AdaptiveGridLayout in mobile configuration Crash when resizing mobile simulator window Jan 12, 2025
@andydotxyz andydotxyz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants