Closed ming-c closed 5 years ago
Get around it by commenting line assert glfw.Init(), Glfw Init failed!
(line 12 in glfw_offscreen_context.py).
It's probably not the ultimate (and correct) solution but anyway the Segment fault
didn't show up anymore.
I couldn't run the script because of a Segmentation Fault caused by
glfw.CreateWindow(1, 1, "", None)
in fileglfw_off_screen_context.py
(line 14).The message in the terminal is
System Info
nvidia-smi
output:glmark2
output:glxinfo
output:libglfw3
version: 3.2.1 (Compile from source using cmake)pip show cyglfw3
output:(the rest remains unchanged)
And actually it dose't seem like creating a window here is the key to the problem, 'cause I also create a python script with following lines:
This file runs perfectly fine without any segmentation fault.
Any suggestion?
Cheers