Hello! Sorry for dropping the ball on this. Tim Gesthuizen writes: > Hi, > I tried to find some free time to investigate a little bit further in > what exactly triggers the crash to happen. > A few days ago I had the idea of getting a GL context through GLUT and > don't use SDL at all. So I quickly investigated whether this would also > crash. > So I fetched the cube example (cube.c) from the OpenGL example archive: > > https://www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html > > and compiled it through guix. You can find the exact procedure by > inspecting the log attached. If I did not make an error this should > proof that the problem lies in OpenGL and not in SDL. > > Tim. > tibbe@tibbe-pc:~/src/glut-example$ guix environment --ad-hoc freeglut > tibbe@tibbe-pc:~/src/glut-example$ echo $GUIX_ENVIRONMENT > /gnu/store/gsfq0h6hpjz9ddvgn4g3gkl5r6gg3ink-profile > tibbe@tibbe-pc:~/src/glut-example$ ls $GUIX_ENVIRONMENT > etc include lib manifest share > tibbe@tibbe-pc:~/src/glut-example$ gcc cube.c -L $GUIX_ENVIRONMENT/lib -l glut -l GL -I $GUIX_ENVIRONMENT/include > /tmp/ccXMXGNS.o: In function `init': > cube.c:(.text+0x321): undefined reference to `gluPerspective' > cube.c:(.text+0x372): undefined reference to `gluLookAt' > collect2: error: ld returned 1 exit status > tibbe@tibbe-pc:~/src/glut-example$ gcc cube.c -L $GUIX_ENVIRONMENT/lib -l glut -l glu -l GL -I $GUIX_ENVIRONMENT/include > ld: cannot find -lglu > collect2: error: ld returned 1 exit status > tibbe@tibbe-pc:~/src/glut-example$ gcc cube.c -L $GUIX_ENVIRONMENT/lib -l glut -l GLU -l GL -I $GUIX_ENVIRONMENT/include > tibbe@tibbe-pc:~/src/glut-example$ ls > a.out cube.c > tibbe@tibbe-pc:~/src/glut-example$ ./a.out > Segmentation fault Nice catch! Earlier in the bisect, you found 5318b103ff277efbac248a066d162589a9083baa (gnu: libepoxy: Update to 1.5.1.). Can you try this patch and see if it makes a difference?