I have a setup where I am running Ubuntu under VirtualBox on top of Windows. Inside Ubuntu, I ran a program that uses OpenGL and it threw up many lines of errors of this type:
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
And the program ended in a segmentation fault (SIGSEGV).
This problem is supposedly caused only when you have 3D acceleration turned on for the Ubuntu virtual machine. VirtualBox does not support OpenGL 3.0 and later. So, programs that expect those OpenGL extensions might crash.
Surprisingly, the solution is to shutdown the virtual machine, turn off 3D acceleration, start it and try the OpenGL program again. After I did that, the program threw up warnings like this:
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM. libGL error: failed to load driver: vboxvideo libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Thankfully, the program executed fine despite these warnings.
Tried with: Ubuntu 12.04 LTS, VirtualBox 4.3.6 and Windows 7 x64