[vtkusers] vtkPLY exit

Sean McBride sean at rogue-research.com
Fri Nov 23 13:11:44 EST 2007


On 11/15/07 12:05 PM, James Hargrave said:

>I applied the patch that Mathieu suggested (I see you've added it to CVS
>now) and it's resolved the issue I was having with some .ply files (eg. the
>bunny).
>
>However I still see a different crash if I take a totally invalid .ply file
>(eg. if I rename the "bunny.ply.gz" to "bunny.ply.gz.ply" and try to load
>it).
>
>That crash is in vtkPLY::ply_open_for_reading here:
>
>  /* create the PlyFile data structure */
>
>  plyfile = vtkPLY::ply_read (fp, nelems, elem_names);
>
>  /* determine the file type and version */
>  *file_type = plyfile->file_type;  // xxx Crash is here.  plyfile is NULL.
>  *version = plyfile->version;
>  
>Not a huge issue but I figured I'd pass the information along.

I have just checked in a fix for that (I think).  If you could update
from CVS and try again, that'd be great.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list