View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006194VTK(No Category)public2007-12-21 11:512016-08-12 09:54
ReporterNicolas 
Assigned ToBerk Geveci 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
PlatformAMD OpteronOSLinuxOS Version2.6.20 fc6
Product Version 
Target VersionFixed in Version 
Summary0006194: Segfault with python and vtk3dwidgets
Description
I'm getting a segfault when I use a 3dwidget and don't keep a (python) reference on it.

Steps To ReproduceThis piece of code illustrate the problem (with a segfault when you try to interact with the window) :

#######################################
import vtk

ren = vtk.vtkRenderer()
renWin = vtk.vtkRenderWindow()
renWin.AddRenderer(ren)
iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
iren.Initialize()

widgets = []
for i in range (10): # or any value > 1
    widget = vtk.vtkBoxWidget() # or any other widget
    widget.SetInteractor(iren)
    widget.On()
    #widgets.append(widget) # no segfault with this line

renWin.Render()
iren.Start()
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0010026)
Nicolas (reporter)
2007-12-27 12:15

The whole report doesn't appear in "simple view", switch to "advanced" to view the "Steps To Reproduce" part.
(0036940)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2007-12-21 11:51 Nicolas New Issue
2007-12-27 12:15 Nicolas Note Added: 0010026
2008-02-06 09:20 Jeff Baumes Status backlog => tabled
2008-02-06 09:20 Jeff Baumes Assigned To => Berk Geveci
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036940
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team