I think there's a division by zero bug in three.asy around line 2906:
/usr/share/asymptote/three.asy: 2906.13: runtime: division by 0 in transform of a triple
Confirmed in version 2.24 up to the current development branch 2.25svn-r5576
Possible duplicate of #160?
What platform (hardware, 32/64 bit, OS) does this occur on?
I haven't managed to reproduce it yet...
See https://sourceforge.net/p/asymptote/discussion/409349/thread/9e80ba77/#fb91
This appears to happen only with positive values of -render. If one ignores the error and returns the argument untransformed, a completely black rendered image results.
This indicates the problem is a faulty glut or glu rendering library, nothing to do with Asymptote.