glfw: Creating / destroying lots of windows causing segfaults
I’ve got some unit tests for my library (CyGLFW3, a Cython binding), and each test is creating / destroying a window.
The tests individually are ok, but when I run them all together, I start getting random segfaults. This may be an OS-X only issue.
Here is an example stacktrace
0 libglfw3.3.dylib 0x0000000101805487 _glfwInputCursorMotion + 102
1 com.apple.AppKit 0x00007fff8a890324 -[NSWindow sendEvent:] + 1260
2 com.apple.AppKit 0x00007fff8a8318f2 -[NSApplication sendEvent:] + 2819
3 libglfw3.3.dylib 0x00000001018099a3 -[GLFWApplication sendEvent:] + 136
4 libglfw3.3.dylib 0x000000010180a69e _glfwPlatformPollEvents + 67
<snip>
0 ??? 0x00007fff5fbfaa48 0 + 140734799784520
1 com.apple.AppKit 0x00007fff8a890324 -[NSWindow sendEvent:] + 1260
2 com.apple.AppKit 0x00007fff8a8311be -[NSApplication sendEvent:] + 975
3 libglfw3.3.dylib 0x00000001018099a3 -[GLFWApplication sendEvent:] + 136
4 libglfw3.3.dylib 0x000000010180a69e _glfwPlatformPollEvents + 67
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 26 (14 by maintainers)
Is anyone able to reproduce this with the 3.3 release, or can this issue be closed?