View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002912 | VTK | (No Category) | public | 2006-02-25 12:40 | 2016-08-12 09:54 | ||||
Reporter | Prabhu Ramachandran | ||||||||
Assigned To | Will Schroeder | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002912: VRML segfaults when PROTO is used | ||||||||
Description | Attached is a VRML file and a Python script that crashes when run. The Python script that causes the crash is as follows: #---------------------------- import vtk ren = vtk.vtkRenderer() rw = vtk.vtkRenderWindow() rw.AddRenderer(ren) i = vtk.vtkVRMLImporter() i.SetFileName('mayavi-crash.wrl') i.SetRenderWindow(rw) i.Read() rw.Render() #---------------------------- Drew Parsons <dparsons@users.sourceforge.net> submitted this error report against mayavi on the Debian bug tracker. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346182 [^] I get the following backtrace with VTK-5.0. #0 0x4310e2fc in vtkVRMLImporter::exitField (this=0x813b0b0) at vtkPoints.h:114 114 double *GetPoint(vtkIdType id) { return this->Data->GetTuple(id);}; (gdb) bt #0 0x4310e2fc in vtkVRMLImporter::exitField (this=0x813b0b0) at vtkPoints.h:114 #1 0x43107e1c in yyparse (self=0x813b0b0) at /skratch/prabhu/vtk/5.0/VTK/Hybrid/vtkVRMLImporter.cxx:1355 #2 0x4310ac7b in vtkVRMLImporter::ImportBegin (this=0x813b0b0) at /skratch/prabhu/vtk/5.0/VTK/Hybrid/vtkVRMLImporter.cxx:5484 #3 0x41e6d8ae in vtkImporter::Read (this=0x813b0b0) at /skratch/prabhu/vtk/5.0/VTK/Rendering/vtkImporter.cxx:76 #4 0x41c8af8e in PyvtkImporter_Read (self=0x4019b668, args=0x0) at /skratch/prabhu/vtk/vtk5.0/Rendering/vtkImporterPython.cxx:188 #5 0x080fde6a in PyCFunction_Call () cheers, prabhu | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | mayavi-crash.wrl [^] (282 bytes) 1969-12-31 19:00 | ||||||||
Relationships | |
Relationships |
Notes | |
(0003818) Drew Parsons (reporter) 2006-03-01 09:01 |
I filed the original bug. I can also get a segfault now without PROTO, for instance with a simple DEF: #VRML V2.0 utf8 DEF medColour Material { emissiveColor 0 1 0 } (that's it, but I can add a shape too if you like :) ) The backtrace on Prabhu's script, segfaulting at i.Read(), is similar to his, ending at #0 0xb619fab6 in vtkVRMLImporter::exitField () from /usr/lib/libvtkHybrid.so.4 #1 0xb61a53e9 in yyparse () from /usr/lib/libvtkHybrid.so.4 #2 0xb61a57eb in vtkVRMLImporter::ImportBegin () from /usr/lib/libvtkHybrid.so.4 #3 0xb65ef658 in vtkImporter::Read () from /usr/lib/libvtkRendering.so.4 #4 0xb67d9aee in PyVTKClass_vtkImagingFactoryNew () from /usr/lib/python2.3/site-packages/vtk_python/libvtkRenderingPython.so Drew |
(0036835) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036835 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |