I use pvpython.
I attached the backtrace that I got with gdb.

Thanks

Nicolas

On 12/02/2010 15:17, Utkarsh Ayachit wrote:
Is this through python shell or pvpython? Can you attach a debugger
and post the stack trace?

Utkarsh

On Fri, Feb 12, 2010 at 4:37 AM, Nicolas Richart
<nicolas.rich...@epfl.ch>  wrote:
I tried with the cvs version and I still have the same problem

Nicolas


On 10/02/2010 15:45, Utkarsh Ayachit wrote:
Can you try updating to latest CVS and see? I just tried with the CVS
head and couldn't reproduce the issue.

Utkarsh

On Wed, Feb 10, 2010 at 7:55 AM, Nicolas Richart
<nicolas.rich...@epfl.ch>    wrote:

Hi,

I try to modify representation properties in order to color my data with
the
values of an array
and I get a segmentation fault.

So I try the example which is on the wiki on the Python Scripting page
And i also get a segmentation fault during the rendering


from paraview.simple import *

paraview version 3.7.0, Date: 2009-11-24

sph = Sphere()
elev = Elevation(sph)
Show(elev)

vtkSphereSource : [ ...........]
vtkElevationFilter : [ ...........]
<paraview.servermanager.GeometryRepresentation object at 0x371b410>

Render()

vtkPVGeometryFilter : [ ...........]
vtkPVCacheKeeper : [ ...........]
vtkPainterPolyDataMapper : [ ...........]
vtkPainterPolyDataMapper : [ ...........]
<paraview.servermanager.RenderView object at 0x23fbb10>

dp = GetDisplayProperties(elev)
dp.Representation = 'Points'
ai = elev.PointData[1]
dp.LookupTable = MakeBlueToRedLT(0, 0.5)
dp.ColorAttributeType = 'POINT_DATA'
dp.ColorArrayName = 'Elevation' # color by Elevation
Render()

vtkPainterPolyDataMapper : [ ...........]
Segmentation fault

I'm using paraview 3.7
Do you have an idea of what happens?

Thanks in advance

--
Nicolas Richart

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview





Program received signal SIGSEGV, Segmentation fault.
0x00007fffeaed0db3 in vtkUpload3D<unsigned char>::Upload (this=<value optimized 
out>, type=<value optimized out>, data=<value optimized out>, 
dims=0x7fffffffcaa0, numComponents=<value optimized out>,
    continuousIncrements=0x7fffffffca80, components=4, componentList=0x1e0ff00) 
at /storage/richart/src/ParaView3/VTK/Rendering/vtkPixelBufferObject.cxx:306
306                   *fIoMem = inData[permutation[compNo]];
(gdb) bt
#0  0x00007fffeaed0db3 in vtkUpload3D<unsigned char>::Upload (this=<value 
optimized out>, type=<value optimized out>, data=<value optimized out>, 
dims=0x7fffffffcaa0, numComponents=<value optimized out>,
    continuousIncrements=0x7fffffffca80, components=4, componentList=0x1e0ff00) 
at /storage/richart/src/ParaView3/VTK/Rendering/vtkPixelBufferObject.cxx:306
#1  vtkPixelBufferObject::Upload3D (this=<value optimized out>, type=<value 
optimized out>, data=<value optimized out>, dims=0x7fffffffcaa0, 
numComponents=<value optimized out>, continuousIncrements=0x7fffffffca80,
    components=4, componentList=0x1e0ff00) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkPixelBufferObject.cxx:496
#2  0x00007fffeafc8ebc in vtkPixelBufferObject::Upload2D (this=0x1e0cd80, 
ren=0x14b01a0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkPixelBufferObject.h:131
#3  vtkOpenGLTexture::Load (this=0x1e0cd80, ren=0x14b01a0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkOpenGLTexture.cxx:417
#4  0x00007fffeafc2391 in vtkOpenGLScalarsToColorsPainter::RenderInternal 
(this=0x1cddbe0, renderer=0x14b01a0, actor=0x1ce1ad0, typeflags=255, 
forceCompileOnly=false)
    at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkOpenGLScalarsToColorsPainter.cxx:148
#5  0x00007fffeaec64f8 in vtkPainterPolyDataMapper::RenderPiece 
(this=0x1cdd3a0, ren=0x14b01a0, act=0x1ce1ad0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkPainterPolyDataMapper.cxx:358
#6  0x00007fffeaee4d75 in vtkPolyDataMapper::Render (this=0x1cdd3a0, 
ren=0x14b01a0, act=0x1ce1ad0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkPolyDataMapper.cxx:72
#7  0x00007fffeaf97042 in vtkOpenGLActor::Render (this=0x1ce1ad0, 
ren=0x14b01a0, mapper=0x1cdd3a0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkOpenGLActor.cxx:97
#8  0x00007ffff68112c2 in vtkPVLODActor::Render (this=0x1ce03b0, ren=0x14b01a0) 
at /storage/richart/src/ParaView3/Servers/Filters/vtkPVLODActor.cxx:130
#9  0x00007ffff681111f in vtkPVLODActor::RenderOpaqueGeometry (this=0x1ce03b0, 
vp=0x14b01a0) at 
/storage/richart/src/ParaView3/Servers/Filters/vtkPVLODActor.cxx:169
#10 0x00007fffeaf00b4e in vtkRenderer::UpdateGeometry (this=0x14b01a0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRenderer.cxx:623
#11 0x00007fffeafc1596 in vtkOpenGLRenderer::DeviceRender (this=0x14b01a0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkOpenGLRenderer.cxx:243
#12 0x00007fffeaf014bc in vtkRenderer::Render (this=0x14b01a0) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRenderer.cxx:336
#13 0x00007fffeaefd284 in vtkRendererCollection::Render (this=0x14aad20) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRendererCollection.cxx:52
#14 0x00007fffeaf0de54 in vtkRenderWindow::DoStereoRender (this=0x14afa90) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRenderWindow.cxx:708
#15 0x00007fffeaf0e241 in vtkRenderWindow::DoFDRender (this=0x4) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRenderWindow.cxx:677
#16 0x00007fffeaf0f501 in vtkRenderWindow::DoAARender (this=0x4) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRenderWindow.cxx:564
#17 0x00007fffeaf0e35b in vtkRenderWindow::Render (this=0x14afa90) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkRenderWindow.cxx:377
#18 0x00007fffeaffb280 in vtkXOpenGLRenderWindow::Render (this=0x14afa90) at 
/storage/richart/src/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1846
#19 0x00007fffeb6d2e8c in vtkXOpenGLRenderWindow_Render (msg=<value optimized 
out>, op=0x14afa90, resultStream=<value optimized out>)
    at 
/storage/richart/build/paraview-cvs/Utilities/VTKClientServer/Rendering/vtkXOpenGLRenderWindowClientServer.cxx:500
#20 0x00007fffeb6d5c80 in vtkXOpenGLRenderWindowCommand (arlu=<value optimized 
out>, ob=0x14afa90, method=0x1e08f29 "Render", msg=..., resultStream=...)
    at 
/storage/richart/build/paraview-cvs/Utilities/VTKClientServer/Rendering/vtkXOpenGLRenderWindowClientServer.cxx:603
#21 0x00007fffe8c7280f in vtkClientServerInterpreter::ProcessCommandInvoke 
(this=0x64e470, css=..., midx=0) at 
/storage/richart/src/ParaView3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:394
#22 0x00007fffe8c72d4e in vtkClientServerInterpreter::ProcessOneMessage 
(this=0x64e470, css=..., message=0) at 
/storage/richart/src/ParaView3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:217
#23 0x00007fffe8c72e8d in vtkClientServerInterpreter::ProcessStream 
(this=0x64e470, css=...) at 
/storage/richart/src/ParaView3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:186
#24 0x00007fffee4cf4a0 in vtkSelfConnection::ProcessStreamLocally (this=<value 
optimized out>, stream=...) at 
/storage/richart/src/ParaView3/Servers/Common/vtkSelfConnection.cxx:120
#25 0x00007fffee4780d1 in vtkProcessModuleConnection::SendStream 
(this=0x21c2210, servers=<value optimized out>, stream=...) at 
/storage/richart/src/ParaView3/Servers/Common/vtkProcessModuleConnection.cxx:242
#26 0x00007fffee47ae86 in vtkProcessModuleConnectionManager::SendStream 
(this=<value optimized out>, connectionID=<value optimized out>, 
serverFlags=16, stream=..., reset=1)
    at 
/storage/richart/src/ParaView3/Servers/Common/vtkProcessModuleConnectionManager.cxx:535
#27 0x00007fffee4828cb in vtkProcessModule::SendStream (this=0x64e570, 
connectionID=5, server=16, stream=..., resetStream=1) at 
/storage/richart/src/ParaView3/Servers/Common/vtkProcessModule.cxx:889
#28 0x00007ffff721414e in vtkSMRenderViewProxy::PerformRender (this=0x2166a90) 
at 
/storage/richart/src/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.cxx:598
#29 0x00007ffff725f66a in vtkSMViewProxy::StillRender (this=0x2166a90) at 
/storage/richart/src/ParaView3/Servers/ServerManager/vtkSMViewProxy.cxx:370
#30 0x00007ffff79193fa in PyvtkSMViewProxy_StillRender (self=0xe9d630, 
args=<value optimized out>) at 
/storage/richart/build/paraview-cvs/Servers/ServerManager/vtkSMViewProxyPython.cxx:282
#31 0x00007fffe613fcc6 in PyEval_EvalFrameEx () from 
/usr/lib/libpython2.6.so.1.0
#32 0x00007fffe6141975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#33 0x00007fffe613fb0f in PyEval_EvalFrameEx () from 
/usr/lib/libpython2.6.so.1.0
#34 0x00007fffe6141975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#35 0x00007fffe613fb0f in PyEval_EvalFrameEx () from 
/usr/lib/libpython2.6.so.1.0
#36 0x00007fffe6141975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#37 0x00007fffe6141a42 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#38 0x00007fffe6161950 in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0
#39 0x00007fffe6161b1c in PyRun_SimpleFileExFlags () from 
/usr/lib/libpython2.6.so.1.0
#40 0x00007fffe616d8f9 in Py_Main () from /usr/lib/libpython2.6.so.1.0
#41 0x00007ffff7bda394 in vtkPVProcessModulePythonHelper::RunGUIStart 
(this=0x6080d0, argc=1, argv=<value optimized out>, numServerProcs=<value 
optimized out>, myId=<value optimized out>)
    at 
/storage/richart/src/ParaView3/Utilities/VTKPythonWrapping/Executable/vtkPVProcessModulePythonHelper.cxx:102
#42 0x00007fffee483a60 in vtkProcessModule::StartClient (this=0x64e570, argc=1, 
argv=0x64d480) at 
/storage/richart/src/ParaView3/Servers/Common/vtkProcessModule.cxx:412
#43 0x00007fffee48418d in vtkProcessModule::Start (this=0x64e570, argc=1, 
argv=0x64d480) at 
/storage/richart/src/ParaView3/Servers/Common/vtkProcessModule.cxx:344
#44 0x00007fffee488036 in vtkProcessModuleGUIHelper::Run (this=0x6080d0, 
options=<value optimized out>) at 
/storage/richart/src/ParaView3/Servers/Common/vtkProcessModuleGUIHelper.cxx:38
#45 0x00000000004013e7 in main (argc=2, argv=0x7fffffffe1c8) at 
/storage/richart/src/ParaView3/Utilities/VTKPythonWrapping/Executable/pvpython.cxx:44
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to