python2.7 crashed with SIGSEGV in vtkDataArrayTemplate<double>::GetTuple()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vtk (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: python2.7
The following script crashes python2.7 with enthought tvtk
#!/usr/bin/python
import numpy as np
from enthought.tvtk.api import tvtk
from enthought.
poly = tvtk.Polygon()
poly.points.
[0,-.5,0], [1.5,0,0], [0,1,0], [-2,0,0]]))
cells = tvtk.CellArray()
cells.insert_
pd = tvtk.PolyData(
@mayavi2.standalone
def view():
from enthought.
from enthought.
from enthought.
from enthought.
mayavi.
src = VTKDataSource(data = pd)
mayavi.
mayavi.
mayavi.
s = Surface()
mayavi.
if __name__ == '__main__':
view()
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: python2.7-minimal 2.7.1-5ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Tue Apr 12 02:28:51 2011
ExecutablePath: /usr/bin/python2.7
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcCmdline: python se.py
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SegvAnalysis:
Segfault happened at: 0x7fda35082248 <_ZN20vtkDataAr
PC (0x7fda35082248) ok
source "(%rsi,%rax,1)" (0xbfc756183dac0) not located in a known VMA region (needed readable region)!
destination "%rcx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: python2.7
StacktraceTop:
vtkDataArrayTe
vtkPolygon:
vtkPolyDataNor
vtkExecutive:
vtkDemandDrive
Title: python2.7 crashed with SIGSEGV in vtkDataArrayTem
UpgradeStatus: Upgraded to natty on 2011-04-05 (7 days ago)
UserGroups: adm admin audio cdrom dialout dip fuse lpadmin netdev plugdev sambashare vboxusers
StacktraceTop: mplate< double> ::GetTuple (this=<value optimized out>, i=<value optimized out>, tuple=0x7fff5df 48d30) at /build/ buildd/ vtk-5.4. 2/Common/ vtkDataArrayTem plate.txx: 612 buildd/ vtk-5.4. 2/Common/ vtkPoints. h:119 :ComputeNormal (p=0x52f33e0, numPts=0, pts=0x8629e38, n=0x7fff5df48e50) at /build/ buildd/ vtk-5.4. 2/Filtering/ vtkPolygon. cxx:103 mals::RequestDa ta (this=0x850e8c0, inputVector=<value optimized out>, outputVector=<value optimized out>) at /build/ buildd/ vtk-5.4. 2/Graphics/ vtkPolyDataNorm als.cxx: 331 :CallAlgorithm (this=0x85fbc10, request=0x84f31c0, direction=<value optimized out>, inInfo=0x8745da0, outInfo=0x86a5d70) at /build/ buildd/ vtk-5.4. 2/Filtering/ vtkExecutive. cxx:748
vtkDataArrayTe
GetPoint (p=0x52f33e0, numPts=0, pts=0x8629e38, n=0x7fff5df48e50) at /build/
vtkPolygon:
vtkPolyDataNor
vtkExecutive: