Cause of a major bug discovered
In some cases, I throw away a buffer for a texture sooner than OpenGL expects, causing a crash. I was never able to reproduce this bug, so it stayed there eating away in bug reports: the problem would only get aggravated if the texture was paged out of VRAM.
I assume this is the same bug that causes Naked light to crash immediately after returning to it when it’s been in the background for awhile.