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

azul3d_multiwindow data race #153

Open
slimsag opened this issue Mar 20, 2016 · 0 comments
Open

azul3d_multiwindow data race #153

slimsag opened this issue Mar 20, 2016 · 0 comments

Comments

@slimsag
Copy link
Member

slimsag commented Mar 20, 2016

$ azul3d_multiwindow
==================
WARNING: DATA RACE
Read by goroutine 12:
  azul3d.org/engine/gfx/internal/gl/2.0/gl.Viewport()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/internal/gl/2.0/gl/package.go:1143 +0x30
  azul3d.org/engine/gfx/gl2.(*graphicsState).Begin()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/gl2/state.go:26 +0xd6
  azul3d.org/engine/gfx/gl2.(*device).hookedClear.func1()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/gl2/device.go:204 +0xb1
  azul3d.org/engine/gfx/window.(*glfwWindow).run()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/glfwwindow.go:684 +0x802

Previous write by main goroutine:
  azul3d.org/engine/gfx/internal/gl/2.0/gl.InitWithProcAddrFunc()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/internal/gl/2.0/gl/package.go:1446 +0x72f3
  azul3d.org/engine/gfx/internal/gl/2.0/gl.Init()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/internal/gl/2.0/gl/package.go:1146 +0x3c
  azul3d.org/engine/gfx/gl2.newDevice()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/gl2/device.go:465 +0x8c3
  azul3d.org/engine/gfx/gl2.New()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/gl2/gl2.go:110 +0x67
  azul3d.org/engine/gfx/window.glfwNewDevice()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/glfwgl2.go:22 +0x67
  azul3d.org/engine/gfx/window.(*glfwWindow).build()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/glfwwindow.go:771 +0xbe3
  azul3d.org/engine/gfx/window.doNew()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/glfwwindow.go:813 +0x58d
  azul3d.org/engine/gfx/window.New.func1()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/window.go:197 +0x60
  azul3d.org/engine/gfx/window.MainLoop()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/main.go:58 +0xd3
  main.main()
      /home/stephen/Desktop/godev/src/azul3d.org/examples/azul3d_multiwindow/azul3d_multiwindow.go:53 +0x3d

Goroutine 12 (running) created at:
  azul3d.org/engine/gfx/window.doNew()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/glfwwindow.go:821 +0x6d3
  azul3d.org/engine/gfx/window.New.func1()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/window.go:197 +0x60
  azul3d.org/engine/gfx/window.MainLoop()
      /home/stephen/Desktop/godev/src/azul3d.org/engine/gfx/window/main.go:58 +0xd3
  main.main()
      /home/stephen/Desktop/godev/src/azul3d.org/examples/azul3d_multiwindow/azul3d_multiwindow.go:53 +0x3d
==================
Found 1 data race(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant