crashes on large files ?
A processing system for 3D triangular meshes
Brought to you by:
cignoni,
granzuglia
v1.0.0,
WinXp Pro SP2, 2G memory.
a) Quadric Edge Collapse Decimation crashes on XYZ RGB's dragon model.
http://graphics.stanford.edu/data/3Dscanrep/xyzrgb/xyzrgb_dragon.ply.gz
(process reaches about 1G of mem usage)
b) crash upon loading Lucy file:
http://graphics.stanford.edu/data/3Dscanrep/lucy.tar.gz
crashes right from the start of loading the file.
thank you
Philippe
philippe.quesnel@gmail.com
Lucy took me quite a long time to load, but it could be loaded. (same OS and RAM, MeshLab v1.1)
The next statement is a guess and just my opinion. I'm neither a MeshLab dev nor did I even try to build it from SVN.
Several bugs here seem to be related to out of memory exceptions, which are not caught and crash the whole app. I do not have a 64bit system with much RAM to test if this might be true.
same experience here with v1.1.1 on vista with 4gb ram - crash on lucy (havent tried dragon yet).
statusbar goes quickly to around 50%, then a MessageBox appears:
"This application has requested the runtime to terminate it in an unusal way.\n Please contact the applications support [...]"
meshlab.exe uses 740.722K of ram, there is still 1.5gb free ram.
I track down the crash. It is in
line 406 of rply.c:
if (strcmp(magic, "ply\n")) {
inside routine 'ply_open'. The file has CRLF after 'ply' causing the header checking code to fail. However, after I fixed this, it still fail by reading beyond EOF.
"Error reading value number 115 of 'vertex_indices' of 'face' number 6340371".