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

Application crashes on .Resize(), Windows #5206

Open
2 tasks done
xMajkel opened this issue Oct 17, 2024 · 1 comment
Open
2 tasks done

Application crashes on .Resize(), Windows #5206

xMajkel opened this issue Oct 17, 2024 · 1 comment
Labels
OS:Windows Tickets affecting only Microsoft Windows unverified A bug that has been reported but not verified

Comments

@xMajkel
Copy link

xMajkel commented Oct 17, 2024

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

I'm encountering pretty consistent crashes on window resizing while running programs on my Windows Server 2019 environment that uses the Microsoft Basic Display Adapter. I built the example code on the server and then ran it on my local machine, no problem.

How to reproduce

Run the example code on a machine with a Microsoft Basic Display Adapter GPU

Screenshots

No response

Example code

package main

import (
	"math/rand"
	"time"

	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/widget"
)

func main() {
	w := app.New().NewWindow("x")

	w.SetContent(widget.NewLabel("Hello Fyne!"))

	go func() {
		tk := time.NewTicker(time.Millisecond)
		for range tk.C {
			width := rand.Float32()*1000 + 1
			height := rand.Float32()*1000 + 1
			w.Resize(fyne.Size{Width: width, Height: height})
		}
	}()
	w.ShowAndRun()
}

Fyne version

2.5.2 & develop

Go compiler version

1.22.2

Operating system and version

Windows Server 2019 Standard Evaluation (Build 17763)

Additional Information

System details:
System Model: KVM Server
System Type: x64-based PC
Microsoft Basic Display Adapter DriverVersion 10.0.17763.1

Errors:
PlatformError: WGL: Failed to make context current: The requested transformation operation is not supported.
or
PlatformError: WGL: Failed to make context current: The handle is invalid.

Output:
PlatformError: WGL: Failed to make context current: The handle is invalid.
Exception 0xc0000005 0x0 0x0 0x7ffa10d27af0
PC=0x7ffa10d27af0
signal arrived during external code execution

runtime.cgocall(0x7ff66cede2f0, 0xc000a2dd78)
C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000a2dd50 sp=0xc000a2dd18 pc=0x7ff66c83913e
github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwSwapBuffers(0x15c97984f70)
_cgo_gotypes.go:2431 +0x4d fp=0xc000a2dd78 sp=0xc000a2dd50 pc=0x7ff66ce7988d
github.com/go-gl/glfw/v3.3/glfw.(*Window).SwapBuffers.func1(0x0?)
C:/Users/Administrator/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/context.go:41 +0x3e fp=0xc000a2ddb8 sp=0xc000a2dd78 pc=0x7ff66ce79d7e
github.com/go-gl/glfw/v3.3/glfw.(*Window).SwapBuffers(0xc00040a000?)
C:/Users/Administrator/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/context.go:41 +0x13 fp=0xc000a2dde0 sp=0xc000a2ddb8 pc=0x7ff66ce79cf3
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).repaintWindow.func1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:226 +0xf7 fp=0xc000a2de30 sp=0xc000a2dde0 pc=0x7ff66ce92b17
fyne.io/fyne/v2/internal/driver/glfw.(*window).RunWithContext(0xc00005b340, 0xc000a2de58)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:929 +0x43 fp=0xc000a2de48 sp=0xc000a2de30 pc=0x7ff66ce9baa3
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).repaintWindow(0xc00005b180?, 0xc000a2df90?)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:209 +0x45 fp=0xc000a2de80 sp=0xc000a2de48 pc=0x7ff66ce929e5
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).drawSingleFrame(0xc000284b60)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:95 +0x13f fp=0xc000a2def8 sp=0xc000a2de80 pc=0x7ff66ce9203f
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).startDrawThread.func1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:263 +0x1f4 fp=0xc000a2dfe0 sp=0xc000a2def8 pc=0x7ff66ce92e14
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000a2dfe8 sp=0xc000a2dfe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).startDrawThread in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:241 +0xbb

goroutine 1 gp=0xc00005a000 m=0 mp=0x7ff66dd623e0 [syscall, locked to thread]:
runtime.cgocall(0x7ff66cedf970, 0xc000bc9c80)
C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000bc9c58 sp=0xc000bc9c20 pc=0x7ff66c83913e
github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwSetWindowSize(0x15c97984f70, 0x261, 0x2f6)
_cgo_gotypes.go:2331 +0x4d fp=0xc000bc9c80 sp=0xc000bc9c58 pc=0x7ff66ce791ad
github.com/go-gl/glfw/v3.3/glfw.(*Window).SetSize.func1(0x7ff66ce9ed20?, 0x261, 0x2f6)
C:/Users/Administrator/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:478 +0x5a fp=0xc000bc9cc0 sp=0xc000bc9c80 pc=0x7ff66ce7fe7a
github.com/go-gl/glfw/v3.3/glfw.(*Window).SetSize(0xc00005b350?, 0x15c97984f70?, 0x7ff66c881fc0?)
C:/Users/Administrator/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:478 +0x13 fp=0xc000bc9ce8 sp=0xc000bc9cc0 pc=0x7ff66ce7fdb3
fyne.io/fyne/v2/internal/driver/glfw.(*window).Resize.func1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:69 +0x139 fp=0xc000bc9d40 sp=0xc000bc9ce8 pc=0x7ff66ce953b9
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).runGL(0xc000bc9ed0?)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:133 +0x199 fp=0xc000bc9e98 sp=0xc000bc9d40 pc=0x7ff66ce92339
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).Run(0xc000284b60)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/driver.go:164 +0x73 fp=0xc000bc9ee0 sp=0xc000bc9e98 pc=0x7ff66ce90473
fyne.io/fyne/v2/app.(*fyneApp).Run(0xc000099860)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:68 +0x65 fp=0xc000bc9f00 sp=0xc000bc9ee0 pc=0x7ff66cec38a5
fyne.io/fyne/v2/internal/driver/glfw.(*window).ShowAndRun(0xc00005b340?)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:235 +0x22 fp=0xc000bc9f18 sp=0xc000bc9f00 pc=0x7ff66ce96122
main.main()
C:/Users/Administrator/go/src/ozmo/cmd/playground/main.go:25 +0xc2 fp=0xc000bc9f50 sp=0xc000bc9f18 pc=0x7ff66cecb542
runtime.main()
C:/Program Files/Go/src/runtime/proc.go:271 +0x28b fp=0xc000bc9fe0 sp=0xc000bc9f50 pc=0x7ff66c870a8b
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000bc9fe8 sp=0xc000bc9fe0 pc=0x7ff66c8a17a1

goroutine 2 gp=0xc00005a700 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005dfa8 sp=0xc00005df88 pc=0x7ff66c870e8e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:408
runtime.forcegchelper()
C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00005dfe0 sp=0xc00005dfa8 pc=0x7ff66c870d18
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x7ff66c8a17a1
created by runtime.init.6 in goroutine 1
C:/Program Files/Go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc00005aa80 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005ff80 sp=0xc00005ff60 pc=0x7ff66c870e8e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:408
runtime.bgsweep(0xc00003a070)
C:/Program Files/Go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc00005ffc8 sp=0xc00005ff80 pc=0x7ff66c85af3f
runtime.gcenable.gowrap1()
C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc00005ffe0 sp=0xc00005ffc8 pc=0x7ff66c84f805
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x7ff66c8a17a1
created by runtime.gcenable in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc00005ac40 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x7ff66d8f7b10?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006ff78 sp=0xc00006ff58 pc=0x7ff66c870e8e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x7ff66dd613a0)
C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00006ffa8 sp=0xc00006ff78 pc=0x7ff66c8588e9
runtime.bgscavenge(0xc00003a070)
C:/Program Files/Go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00006ffc8 sp=0xc00006ffa8 pc=0x7ff66c858e99
runtime.gcenable.gowrap2()
C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc00006ffe0 sp=0xc00006ffc8 pc=0x7ff66c84f7a5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff66c8a17a1
created by runtime.gcenable in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5

goroutine 18 gp=0xc000084380 m=nil [finalizer wait]:
runtime.gopark(0xc000061e48?, 0x7ff66c842ee5?, 0xa8?, 0x1?, 0xc00005a000?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000061e20 sp=0xc000061e00 pc=0x7ff66c870e8e
runtime.runfinq()
C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc000061fe0 sp=0xc000061e20 pc=0x7ff66c84e887
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x7ff66c8a17a1
created by runtime.createfing in goroutine 1
C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d

goroutine 19 gp=0xc000084540 m=nil [select]:
runtime.gopark(0xc00006bf78?, 0x2?, 0xbc?, 0x7d?, 0xc00006befc?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006bd88 sp=0xc00006bd68 pc=0x7ff66c870e8e
runtime.selectgo(0xc00006bf78, 0xc00006bef8, 0x0?, 0x0, 0x0?, 0x1)
C:/Program Files/Go/src/runtime/select.go:327 +0x725 fp=0xc00006bea8 sp=0xc00006bd88 pc=0x7ff66c8812e5
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x7ff66d90a2e0)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:74 +0xe5 fp=0xc00006bfc0 sp=0xc00006bea8 pc=0x7ff66cb14305
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x25 fp=0xc00006bfe0 sp=0xc00006bfc0 pc=0x7ff66cb141e5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006bfe8 sp=0xc00006bfe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x10d

goroutine 20 gp=0xc000084700 m=4 mp=0xc000067808 [syscall, locked to thread]:
runtime.cgocall(0x7ff66c8a2f60, 0xc000067c08)
C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc00006dae8 sp=0xc00006dab0 pc=0x7ff66c83913e
syscall.SyscallN(0xc00005a000?, {0xc00006db80?, 0xc00005a000?, 0x4?})
C:/Program Files/Go/src/runtime/syscall_windows.go:544 +0x107 fp=0xc00006db60 sp=0xc00006dae8 pc=0x7ff66c89e507
syscall.Syscall6(0x0?, 0x0?, 0xc0000868f8?, 0xc00007a000?, 0x7ff66c83ac40?, 0xc0000868a0?, 0xc00006dc20?, 0x7ff66c83a697?)
C:/Program Files/Go/src/runtime/syscall_windows.go:488 +0x4a fp=0xc00006dbc0 sp=0xc00006db60 pc=0x7ff66c89e1aa
golang.org/x/sys/windows.GetQueuedCompletionStatus(0x2b8, 0xc0000ca660?, 0x2b?, 0xfff?, 0xffffffff)
C:/Users/Administrator/go/pkg/mod/golang.org/x/[email protected]/windows/zsyscall_windows.go:2468 +0x86 fp=0xc00006dc30 sp=0xc00006dbc0 pc=0x7ff66cb1bd06
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0xc000283940)
C:/Users/Administrator/go/pkg/mod/github.com/fsnotify/[email protected]/backend_windows.go:650 +0x75 fp=0xc00006dfc8 sp=0xc00006dc30 pc=0x7ff66cec1c75
github.com/fsnotify/fsnotify.NewBufferedWatcher.gowrap1()
C:/Users/Administrator/go/pkg/mod/github.com/fsnotify/[email protected]/backend_windows.go:176 +0x25 fp=0xc00006dfe0 sp=0xc00006dfc8 pc=0x7ff66cebfac5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x7ff66c8a17a1
created by github.com/fsnotify/fsnotify.NewBufferedWatcher in goroutine 1
C:/Users/Administrator/go/pkg/mod/github.com/fsnotify/[email protected]/backend_windows.go:176 +0x1b8

goroutine 21 gp=0xc0000848c0 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000295ec8 sp=0xc000295ea8 pc=0x7ff66c870e8e
runtime.chanrecv(0xc0002758c0, 0xc000295fa8, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc000295f40 sp=0xc000295ec8 pc=0x7ff66c83b7cd
runtime.chanrecv2(0x0?, 0x0?)
C:/Program Files/Go/src/runtime/chan.go:447 +0x12 fp=0xc000295f68 sp=0xc000295f40 pc=0x7ff66c83b3f2
fyne.io/fyne/v2/app.watchFile.func1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/settings_desktop.go:42 +0x66 fp=0xc000295fe0 sp=0xc000295f68 pc=0x7ff66cec86e6
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000295fe8 sp=0xc000295fe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/app.watchFile in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/settings_desktop.go:41 +0xea

goroutine 34 gp=0xc0003121c0 m=7 mp=0xc00030e008 [syscall, locked to thread]:
runtime.cgocall(0x7ff66c8a2f60, 0xc00030e408)
C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000291ed0 sp=0xc000291e98 pc=0x7ff66c83913e
syscall.SyscallN(0x7ff66cb1c8c6?, {0xc00039a000?, 0x7ff66c842ee5?, 0x28?})
C:/Program Files/Go/src/runtime/syscall_windows.go:544 +0x107 fp=0xc000291f48 sp=0xc000291ed0 pc=0x7ff66c89e507
syscall.(*Proc).Call(0x80000001?, {0xc00039a000?, 0x17?, 0x11?})
C:/Program Files/Go/src/syscall/dll_windows.go:166 +0x1c fp=0xc000291f88 sp=0xc000291f48 pc=0x7ff66c8bb79c
fyne.io/fyne/v2/internal/app.WatchTheme(0xc000316000)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/app/theme_windows.go:60 +0xcc fp=0xc000291fc8 sp=0xc000291f88 pc=0x7ff66cba5a6c
fyne.io/fyne/v2/app.watchTheme.gowrap1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/app_windows.go:100 +0x25 fp=0xc000291fe0 sp=0xc000291fc8 pc=0x7ff66cec4d85
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000291fe8 sp=0xc000291fe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/app.watchTheme in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/app_windows.go:100 +0x96

goroutine 6 gp=0xc00005b500 m=nil [select]:
runtime.gopark(0xc000407f78?, 0x2?, 0xbc?, 0x7d?, 0xc000407efc?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000407d88 sp=0xc000407d68 pc=0x7ff66c870e8e
runtime.selectgo(0xc000407f78, 0xc000407ef8, 0x0?, 0x0, 0x0?, 0x1)
C:/Program Files/Go/src/runtime/select.go:327 +0x725 fp=0xc000407ea8 sp=0xc000407d88 pc=0x7ff66c8812e5
fyne.io/fyne/v2/internal/async.(*UnboundedChan[...]).processing(0x7ff66d90a2e0)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:74 +0xe5 fp=0xc000407fc0 sp=0xc000407ea8 pc=0x7ff66cb14305
fyne.io/fyne/v2/internal/async.NewUnboundedChan[...].gowrap1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x25 fp=0xc000407fe0 sp=0xc000407fc0 pc=0x7ff66cb141e5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000407fe8 sp=0xc000407fe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/internal/async.NewUnboundedChan[...] in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/async/chan_go1.21.go:51 +0x10d

goroutine 7 gp=0xc00005b6c0 m=nil [chan receive]:
runtime.gopark(0xc00007e168?, 0xc000409f08?, 0x70?, 0x9f?, 0x7ff66ce71d6a?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000409f10 sp=0xc000409ef0 pc=0x7ff66c870e8e
runtime.chanrecv(0xc0000741e0, 0xc000409fc8, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc000409f88 sp=0xc000409f10 pc=0x7ff66c83b7cd
runtime.chanrecv2(0x0?, 0x0?)
C:/Program Files/Go/src/runtime/chan.go:447 +0x12 fp=0xc000409fb0 sp=0xc000409f88 pc=0x7ff66c83b3f2
fyne.io/fyne/v2/internal/driver/common.(*Window).RunEventQueue(...)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/common/window.go:34
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).createWindow.func1.gowrap1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:997 +0x5c fp=0xc000409fe0 sp=0xc000409fb0 pc=0x7ff66ce9c03c
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000409fe8 sp=0xc000409fe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).createWindow.func1 in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:997 +0x136

goroutine 8 gp=0xc00005b880 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000403f50 sp=0xc000403f30 pc=0x7ff66c870e8e
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000403fe0 sp=0xc000403f50 pc=0x7ff66c851945
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000403fe8 sp=0xc000403fe0 pc=0x7ff66c8a17a1
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 50 gp=0xc0003b21c0 m=nil [GC worker (idle)]:
runtime.gopark(0xa3e57cdaf9fc?, 0x2?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003b9f50 sp=0xc0003b9f30 pc=0x7ff66c870e8e
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003b9fe0 sp=0xc0003b9f50 pc=0x7ff66c851945
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003b9fe8 sp=0xc0003b9fe0 pc=0x7ff66c8a17a1
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 51 gp=0xc0003b2380 m=nil [GC worker (idle)]:
runtime.gopark(0xa3e57cdaf9fc?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003bbf50 sp=0xc0003bbf30 pc=0x7ff66c870e8e
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003bbfe0 sp=0xc0003bbf50 pc=0x7ff66c851945
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003bbfe8 sp=0xc0003bbfe0 pc=0x7ff66c8a17a1
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 52 gp=0xc0003b2540 m=nil [GC worker (idle)]:
runtime.gopark(0xa3e57cf58eac?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003b5f50 sp=0xc0003b5f30 pc=0x7ff66c870e8e
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003b5fe0 sp=0xc0003b5f50 pc=0x7ff66c851945
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003b5fe8 sp=0xc0003b5fe0 pc=0x7ff66c8a17a1
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 53 gp=0xc0003b2700 m=nil [GC worker (idle)]:
runtime.gopark(0xa3e57cdc60f8?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003b7f50 sp=0xc0003b7f30 pc=0x7ff66c870e8e
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003b7fe0 sp=0xc0003b7f50 pc=0x7ff66c851945
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003b7fe8 sp=0xc0003b7fe0 pc=0x7ff66c8a17a1
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 54 gp=0xc0003b28c0 m=nil [GC worker (idle)]:
runtime.gopark(0xa3e57cdc60f8?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003c3f50 sp=0xc0003c3f30 pc=0x7ff66c870e8e
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003c3fe0 sp=0xc0003c3f50 pc=0x7ff66c851945
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003c3fe8 sp=0xc0003c3fe0 pc=0x7ff66c8a17a1
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 35 gp=0xc000312700 m=nil [chan receive]:
runtime.gopark(0xc0002745a0?, 0x10?, 0x38?, 0x7e?, 0x7ff66c84af25?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000297df0 sp=0xc000297dd0 pc=0x7ff66c870e8e
runtime.chanrecv(0xc000087440, 0x0, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc000297e68 sp=0xc000297df0 pc=0x7ff66c83b7cd
runtime.chanrecv1(0x7ff66d6300a0?, 0x7ff66c842b3b?)
C:/Program Files/Go/src/runtime/chan.go:442 +0x12 fp=0xc000297e90 sp=0xc000297e68 pc=0x7ff66c83b3d2
fyne.io/fyne/v2/internal/driver/glfw.runOnMain(0xc000cd2f18)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:54 +0xc5 fp=0xc000297f00 sp=0xc000297e90 pc=0x7ff66ce91ca5
fyne.io/fyne/v2/internal/driver/glfw.(*window).runOnMainWhenCreated(0xc00005b340, 0xc000cd2f18)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:944 +0xd6 fp=0xc000297f50 sp=0xc000297f00 pc=0x7ff66ce9bc56
fyne.io/fyne/v2/internal/driver/glfw.(*window).Resize(0xc00005b340, {0x0?, 0x0?})
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:58 +0xe9 fp=0xc000297f88 sp=0xc000297f50 pc=0x7ff66ce95249
main.main.func1()
C:/Users/Administrator/go/src/ozmo/cmd/playground/main.go:22 +0xa5 fp=0xc000297fe0 sp=0xc000297f88 pc=0x7ff66cecb605
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000297fe8 sp=0xc000297fe0 pc=0x7ff66c8a17a1
created by main.main in goroutine 1
C:/Users/Administrator/go/src/ozmo/cmd/playground/main.go:17 +0xaf

goroutine 37 gp=0xc000312a80 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003c5f10 sp=0xc0003c5ef0 pc=0x7ff66c870e8e
runtime.chanrecv(0xc000275800, 0xc0003c5fc8, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc0003c5f88 sp=0xc0003c5f10 pc=0x7ff66c83b7cd
runtime.chanrecv2(0x0?, 0x0?)
C:/Program Files/Go/src/runtime/chan.go:447 +0x12 fp=0xc0003c5fb0 sp=0xc0003c5f88 pc=0x7ff66c83b3f2
fyne.io/fyne/v2/internal/app.(*Lifecycle).RunEventQueue(...)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/app/lifecycle.go:127
fyne.io/fyne/v2/app.(*fyneApp).Run.gowrap1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:67 +0x5d fp=0xc0003c5fe0 sp=0xc0003c5fb0 pc=0x7ff66cec391d
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003c5fe8 sp=0xc0003c5fe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/app.(*fyneApp).Run in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/app/app.go:67 +0x53

goroutine 38 gp=0xc000312c40 m=nil [chan receive]:
runtime.gopark(0x7ff66ce87b65?, 0x7ff66d715d20?, 0x1?, 0xc0?, 0xc000293f60?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000293ed0 sp=0xc000293eb0 pc=0x7ff66c870e8e
runtime.chanrecv(0xc0003ac1e0, 0x0, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc000293f48 sp=0xc000293ed0 pc=0x7ff66c83b7cd
runtime.chanrecv1(0xc0003ac1e0?, 0xc000293f98?)
C:/Program Files/Go/src/runtime/chan.go:442 +0x12 fp=0xc000293f70 sp=0xc000293f48 pc=0x7ff66c83b3d2
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).catchTerm(0xc000284b60)
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/driver_desktop.go:199 +0x85 fp=0xc000293fc8 sp=0xc000293f70 pc=0x7ff66ce91325
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).Run.gowrap1()
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/driver.go:163 +0x25 fp=0xc000293fe0 sp=0xc000293fc8 pc=0x7ff66ce905e5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000293fe8 sp=0xc000293fe0 pc=0x7ff66c8a17a1
created by fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).Run in goroutine 1
C:/Users/Administrator/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/driver.go:163 +0x69

goroutine 55 gp=0xc000084a80 m=3 mp=0xc000067008 [syscall]:
runtime.notetsleepg(0x7ff66dde8440, 0xffffffffffffffff)
C:/Program Files/Go/src/runtime/lock_sema.go:296 +0x31 fp=0xc0003bffa0 sp=0xc0003bff68 pc=0x7ff66c8414b1
os/signal.signal_recv()
C:/Program Files/Go/src/runtime/sigqueue.go:152 +0x29 fp=0xc0003bffc0 sp=0xc0003bffa0 pc=0x7ff66c89d429
os/signal.loop()
C:/Program Files/Go/src/os/signal/signal_unix.go:23 +0x13 fp=0xc0003bffe0 sp=0xc0003bffc0 pc=0x7ff66ce87f53
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003bffe8 sp=0xc0003bffe0 pc=0x7ff66c8a17a1
created by os/signal.Notify.func1.1 in goroutine 38
C:/Program Files/Go/src/os/signal/signal.go:151 +0x1f
rax 0x7ffa14479050
rbx 0x15ce0174570
rcx 0x56010887
rdx 0x10
rdi 0x0
rsi 0x0
rbp 0x45ee9ffe20
rsp 0x45ee9ffd50
r8 0x15c9792f750
r9 0x45ee9ffe20
r10 0x0
r11 0x246
r12 0x0
r13 0x0
r14 0x56010887
r15 0x4b
rip 0x7ffa10d27af0
rflags 0x10246
cs 0x33
fs 0x53
gs 0x2b
exit status 2

@xMajkel xMajkel added the unverified A bug that has been reported but not verified label Oct 17, 2024
@andydotxyz andydotxyz added the OS:Windows Tickets affecting only Microsoft Windows label Oct 21, 2024
@andydotxyz andydotxyz added this to the "F" release, Late 2024 milestone Oct 21, 2024
@andydotxyz
Copy link
Member

Attaching this to "F" release because we are changing the thread model which may make this impossible (window events and draw will occur on the same thread).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS:Windows Tickets affecting only Microsoft Windows unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

2 participants