[vtk-developers] [VTK 0012776]: Crashes when importing VRML file (containing PROTO)

Mantis Bug Tracker mantis at public.kitware.com
Thu Dec 8 04:19:17 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12776 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12776
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   high
Status:                     backlog
Project:                    TBD 
Type:                       crash 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-12-08 04:19 EST
Last Modified:              2011-12-08 04:19 EST
====================================================================== 
Summary:                    Crashes when importing VRML file (containing PROTO)
Description: 
VTK is crashing on the attached VRML file:


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff701ec32 in vtkPoints::GetPoint (this=0x7ffff7f63a98, id=0) at
/home/mathieu/Kitware/VTK/Common/vtkPoints.h:117
117	  double *GetPoint(vtkIdType id) { return this->Data->GetTuple(id);};
(gdb) bt
http://vtk.org/Bug/view.php?id=0  0x00007ffff701ec32 in vtkPoints::GetPoint
(this=0x7ffff7f63a98, id=0) at /home/mathieu/Kitware/VTK/Common/vtkPoints.h:117
http://vtk.org/Bug/view.php?id=1  0x00007ffff719237d in
vtkVRMLImporter::exitField (this=0x639240) at
/home/mathieu/Kitware/VTK/Hybrid/vtkVRMLImporter.cxx:6056
http://vtk.org/Bug/view.php?id=2  0x00007ffff718ba94 in yyparse (self=0x639240)
at /home/mathieu/Kitware/VTK/Hybrid/vtkVRMLImporter.cxx:1358
http://vtk.org/Bug/view.php?id=3  0x00007ffff718e8e3 in
vtkVRMLImporter::ImportBegin (this=0x639240) at
/home/mathieu/Kitware/VTK/Hybrid/vtkVRMLImporter.cxx:5413
http://vtk.org/Bug/view.php?id=4  0x00007ffff67e2625 in vtkImporter::Read
(this=0x639240) at /home/mathieu/Kitware/VTK/Rendering/vtkImporter.cxx:79
http://vtk.org/Bug/view.php?id=5  0x0000000000400b6c in vtkImporter::Update
(this=0x639240) at /home/mathieu/Kitware/VTK/Rendering/vtkImporter.h:76
http://vtk.org/Bug/view.php?id=6  0x0000000000400af7 in main (argc=2,
argv=0x7fffffffe678) at /tmp/v/bla.cxx:8

Python code is:

>>> import vtk
>>> reader = vtk.vtkVRMLImporter()
>>> reader.SetFileName('mayavi-crash.wrl')
>>> reader.Update()


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-12-08 04:19 Mathieu MalaterreNew Issue                                    
2011-12-08 04:19 Mathieu MalaterreFile Added: mayavi-crash.wrl                  
 
======================================================================




More information about the vtk-developers mailing list