[vtk-developers] VTK Modular: Classes that seg fault for xxx::New();

Bill Lorensen bill.lorensen at gmail.com
Sat Apr 28 22:09:12 EDT 2012


Marcus,

I generated a short main program for every vtk class that defined a
static New method.
The program just does a
vtkXXX *foo = vtkXXX::New();

A number of classes seg faulted. I looked at a few in the debugger.
Most are failing to create a vtkTextMapper, vtkRenderer and/or
vtkRenderWindow.

The following 23 classes seg faulted:

vtkAffineRepresentation2D
vtkBalloonRepresentation
vtkBiDimensionalRepresentation2D
vtkGeoCamera
vtkGeoView
vtkGeoView2D
vtkGraphLayoutView
vtkHierarchicalGraphView
vtkIcicleView
vtkImageViewer2
vtkLabeledTreeMapDataMapper
vtkLegendScaleActor
vtkParallelCoordinatesView
vtkRenderedSurfaceRepresentation
vtkResliceCursorLineRepresentation
vtkResliceCursorThickLineRepresentation
vtkResliceImageViewer
vtkSliderRepresentation2D
vtkSphereRepresentation
vtkTexturedButtonRepresentation2D
vtkTreeAreaView
vtkTreeMapView
vtkTreeRingView

Hope this helps resolve the factory issue.

Bill



More information about the vtk-developers mailing list