[vtk-developers] segfault with vtkLineIntegralConvolution2D

David Froger david.froger.ml at mailoo.org
Tue Nov 29 15:28:01 EST 2016


Hello VTK devs,

I'm looking for help/advices to solve
https://gitlab.kitware.com/vtk/vtk/issues/16920 .

Does vtkPainterCommunicator needs to inherit vtkObject, as I'm trying to do?

If so, I now have errors:

		ERROR: In /home/vagrant/VTK-7.1.0/Common/Core/vtkObject.cxx, line 156
		vtkObject (0x18f7140): Trying to delete object with non-zero reference count.

		Generic Warning: In /home/vagrant/VTK-7.1.0/Common/Core/vtkObjectBase.cxx,
		line 93
		Trying to delete object with non-zero reference count.


I understand the error message (C++ deletes an object whose reference count is
not zero), but I don't know where is come from, and how to solve it. (I tried to
put vtkSmartPointers in place of vtkPainterCommunicator*). Anyway, if
vtkPainterCommunicator does not need to inherit vtkObject, the problem does not
need to be solved...

Another problem is the VTK robot that detect trailing whitespace, that a commit
already solved.

Thanks,
David


More information about the vtk-developers mailing list