[Paraview] segfault in a custom plugin

2011-05-23 Thread Dominik Szczerba
Hello! I am facing a segfault with a custom filter. Here a minimalistic setup to reproduce the problem, Ubuntu 10.10 64bit: I have copied the original vtkImageClip class, as well as its ServerManager xml part, merely renaming it to vtkMyImageResample. I have added a plugin like ADD_PARAVIEW_PLU

Re: [Paraview] segfault in a custom plugin

2011-05-23 Thread Utkarsh Ayachit
Dominik, Can you attach the full source tar ball please? Would just make it easier to try it out. Thanks Utkarsh On Mon, May 23, 2011 at 8:12 AM, Dominik Szczerba wrote: > Hello! > > I am facing a segfault with a custom filter. Here a minimalistic setup > to reproduce the problem, Ubuntu 10.10

Re: [Paraview] segfault in a custom plugin

2011-05-23 Thread Dominik Szczerba
Hi, The archive is here: http://otoro.ethz.ch/~dominik/tmp/plugin.tar.bz2 Once again, the filter vtkMyImageResample is just a copy of vtkImageChangeInformation with a customised name. I have also tried vtkImageClip and vtkImageExtractVoi - they all segfault in the same location. Note, removing t

Re: [Paraview] segfault in a custom plugin

2011-05-23 Thread Dominik Szczerba
I have found out the reason to be VTK and ParaView conflict. It's described on the Wiki, but I was not aware I have this problem, because the libs listed by ldd plugin.so were pointing to ParaVIew's VTK. But I do have VTK built independently elsewhere, if I rename it , the problem is gone. Apparent