Linux + OpenGL Demo Crash when switching between them

When I am in a GL demo (say OpenGLDemo.h) and I switch to another (OpenGLDemo2D.h), the demo hangs. I think this may also be related to my own application not running at all on nVidia (I’m digging into this atm). On intel, both work just fine.

I got a backtrace, but the application doesn’t crash, it just hangs. I have to force quit it in order to get a bracktrace, so it may not be 100% related to the underlying problem. Note that I don’t get any crashes on any other 3D applications I try (blender, freecad, openscad, videogames, etc).

Here is the backtrace:
juce_backtrace.txt (8.5 KB)

This is on Fedora 28 with akmod driver from rpmfusion. I tried this on nvidia Quadro P4000/PCIe/SSE2, and several others. And have had similar issues on other distros.

Thank you for taking the time to read this.