In a brand new installation of Ubuntu 14.10 AMD64 under VirtualBox (with 3d excelleration enabled).
On an OSX host (and the problem replicated on a Windows 7 host)
apt-get install freeglut3
We couldn't get a window to come up at all, but sniffing around the net, we found:
The last answer on this page: http://stackoverflow.com/questions/9759898/opengl-glut-on-virtualbox-ubuntu-11-10-segmentation-fault
Which pointed to the page: https://groups.google.com/forum/?fromgroups=#!topic/comp.graphics.api.opengl/Oecgo2Fc9Zc
And sure enough, by changing our code from:
...
glutCreateWindow(title);
...
to
...
if (!glutGet(GLUT_DISPLAY_MODE_POSSIBLE))
{
exit(1);
}
glutCreateWindow(title);
...
Everything worked. Guesses have been made that this is caused by a timing problem or a side effect of glutGet(), but I haven't been able to find anything in your bug list that sounds like this and thought you should have known about it.
Attached are the console output logs from when it failed (before.log) and when it worked (after.log)
Ian
[Edit: Added back "before.log" which seemed to have been deleted]
Last edit: Ian Williamson 2015-04-02