I hit a case reading an STL file written on Mac OS X where the ASCII STL file was saved with new lines using \r instead of \n which caused an infinite loop in vcglib.
Anonymous