[vtkusers] how to debug vtkMarchingCubes crashing for a specific volume (under Python)?

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jul 26 12:50:52 EDT 2006


Audette, Michel wrote:
> Hi everyone, 
> 
> I am using vtkMarchingCubes from release 4.4 (because vtkDecimate is not included in 5.*, and it alone preserves topology robustly). I am finding that trying to run vtkMarchingCubes on certain volumes causes it to crash. I originally had a fairly large volume, .7mm resolution, 304x512x512, but have cropped it since, and it is no larger than another volume for which vtkMarchingCubes does not crash. 
> 
> Can anyone suggest a means of debugging this, with a Python implementation? 
> 
> Best regards, 


Assuming you were doing:

$ python myscript.py

simply do instead:

$ gdb python
gdb> run myscript.py

HTH
Mathieu



More information about the vtkusers mailing list