Glfw: SEGFAULT while drag-resizing a window via corner

Created on 24 Nov 2016  路  4Comments  路  Source: glfw/glfw

When the glfwSetFramebufferSizeCallback is assigned a function that also executes a glfwSwapBuffers and both width and height are affected at the same time, the program crashes with a segfault.

Reproducible with the splitview example in the latest 3.2.1 release.

Video of the circular resize motion that triggers the crash (In the video Lwjgl3 is being used to create the window, the same motion causes the splitview example to crash) (https://github.com/LWJGL/lwjgl3/files/608741/2016-11-23.12-47-48.zip)

See: https://github.com/LWJGL/lwjgl3/issues/254 for more detailed description and reproduction steps

Windows bug external

Most helpful comment

If in the future, for any reason, someone wants to investigate this kind of interference from external processes I will gladly offer myself up as guinea pig :) Ty for your time!

All 4 comments

Which platform are you on?

Windows 10 64bit, but after testing on several computers and not being able to reproduce it, I started looking inwards... into other processes in my machine...

Turns out that what was interfering with GLFW was Asus's Sonic Suite, which was reinstalled automatically with the latest driver updates. Somehow that thing hooks itself into everything (probably for that bullshit game radar feature thingy). Removed that piece of garbage and everything went back to a working state.

Glad you found the cause and thank you for the follow-up!

If in the future, for any reason, someone wants to investigate this kind of interference from external processes I will gladly offer myself up as guinea pig :) Ty for your time!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmitshur picture dmitshur  路  4Comments

voxelv picture voxelv  路  4Comments

ghost picture ghost  路  5Comments

elmindreda picture elmindreda  路  4Comments

audioXD picture audioXD  路  5Comments