[vtkusers] Python scripts work, but segfault on exit?

David Gobbi david.gobbi at gmail.com
Sun May 2 16:37:52 EDT 2010


On Sun, May 2, 2010 at 2:14 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> If I run something like this:
>
> http://www.vtk.org/Wiki/VTK/Examples/Python/Arrays/GetValues
>
> it works fine, but it produces a segfault when it is done:
>
> Here is the output:
>
> [doriad at davedesktop Arrays]$ python GetValue.py
> Normal0: 0.0 0.0 1.0
> Segmentation fault

For me, there's no segfault.  A clean rebuild might fix it.
Also, when a segfault occurs you should make a habit of doing this:

gdb `which python`
(gdb) run GetValue.py
(gdb) continue
(gdb) bt

  David



More information about the vtkusers mailing list