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

internal/glfwwin: OpenGL panics #2489

Closed
1 of 10 tasks
erexo opened this issue Dec 7, 2022 · 1 comment
Closed
1 of 10 tasks

internal/glfwwin: OpenGL panics #2489

erexo opened this issue Dec 7, 2022 · 1 comment

Comments

@erexo
Copy link
Contributor

erexo commented Dec 7, 2022

Ebitengine Version

b3be334 ?

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • Xbox
  • Web Browsers

Go Version (go version)

1.19.1

What steps will reproduce the problem?

One of my players sent me his logs to test why his game crashes, the main reason was
opengl: creating framebuffer failed: 36054 which as already mentioned is probably because my game is using too many images.

But while I was looking though the log, I found completely new panic reason:

FATAL|2022/12/04 00:36:08 glfwwin: ReleaseCapture failed: Operacja ukończona pomyślnie.
panic({0x8aa180, 0xc01c582000})
	C:/Program Files/Go/src/runtime/panic.go:884 +0x212
github.com/hajimehoshi/ebiten/v2/internal/glfw.PollEvents()
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/internal/glfw/glfw_windows.go:348 +0xa6
github.com/hajimehoshi/ebiten/v2/internal/ui.(*userInterfaceImpl).update(0x6611780)
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/internal/ui/ui_glfw.go:1078 +0xeb
github.com/hajimehoshi/ebiten/v2/internal/ui.(*userInterfaceImpl).loop.func2()
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/internal/ui/ui_glfw.go:1128 +0x4a
github.com/hajimehoshi/ebiten/v2/internal/thread.(*OSThread).Loop.func1(0xc004b61cb8?, 0xc004b61ca8?)
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/internal/thread/thread.go:54 +0x53
github.com/hajimehoshi/ebiten/v2/internal/thread.(*OSThread).Loop(0xc00849bc80)
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/internal/thread/thread.go:55 +0x2e
github.com/hajimehoshi/ebiten/v2/internal/ui.(*userInterfaceImpl).Run(0x6611780, {0x62c8788?, 0xc00921f180})
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/internal/ui/run_notsinglethread.go:52 +0x231
github.com/hajimehoshi/ebiten/v2.RunGame({0x62c5f50, 0xc0004ce030})
	C:/Users/Erexo/go/src/github.com/erexo/ebiten/run.go:233 +0x9d

Operacja ukończona pomyślnie means The operation completed successfully, and the error is very similar to #2478, but the error message is different.
There is a chance that this was already resolved, as the log is from 2022/12/04 so 4 days ago.

What is the expected result?

No panic

What happens instead?

Panic

Anything else you feel useful to add?

No response

@hajimehoshi
Copy link
Owner

hajimehoshi commented Dec 8, 2022

This was not covered by #2478. Please check 8a95b1d out. Thanks,

@hajimehoshi hajimehoshi added this to the v2.5.0 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants