MantisBT - ParaView
View Issue Details
0012317ParaView(No Category)public2011-06-27 03:532016-08-12 09:58
Christoffer Green 
Kitware Robot 
normalminorhave not tried
closedmoved 
3.10.1 
 
TBD
crash
0012317: Particle Trace crash in linux
This crash has been tested with:
* 3.10.1 32 bit in linux 32 bit
* 3.8.1 32 bit in linux 32/64 bit
* 3.8.1 32 bit in windows 7 64 bit

The crash happens in linux (we run ubuntu 10.10) but not in windows on both 3.8.1 and 3.10.1.
I have attached a state file of the session as it appears before starting the animation (that leads to a crash in linux).

We import an ensight .case file to an empty paraview state/scene. Add a temporal cache to it (so that the particle tracer can work with it). Add a source (it appears that any source will do but we use a point source). Connect the temporal cache as input and the point source as source to a ParticleTrace filter. When starting the animation paraview crashes after a little while.

Unfortunately I cannot share the .case file but it contains a volume of velocity data and is a multi-block dataset.
* Type: "Structured (Curvilinear) Grid"
* Number of cells: 318291
* Number of points: 332800
* Memory: 7.8 MB
* Dimensions: 80x80x52.

Here is a python script session and a gdb backtrace that shows what we do and what crashes:

#---- Trace output ----#
try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

velocity_case = EnSightReader( CaseFileName='/mnt/Desktop/tmp/2_cc/velocity/velocity.case' )

AnimationScene1 = GetAnimationScene()
velocity_case.PointArrays = ['V_3D_01']

AnimationScene1.EndTime = 2.0438699722290039
AnimationScene1.PlayMode = 'Snap To TimeSteps'

RenderView1 = GetRenderView()
DataRepresentation1 = Show()
DataRepresentation1.Representation = 'Outline'
DataRepresentation1.EdgeColor = [0.0, 0.0, 0.50000762951094835]

RenderView1.CameraPosition = [0.017324004322290421, -0.036232437938451767, 0.73821731234013532]
RenderView1.CameraClippingRange = [0.5690332866328488, 0.99442440740054638]
RenderView1.CameraFocalPoint = [0.017324004322290421, -0.036232437938451767, -0.018334746360778809]
RenderView1.CameraParallelScale = 0.19581008140331682
RenderView1.CenterOfRotation = [0.017324004322290421, -0.036232437938451767, -0.018334746360778809]

TemporalCache1 = TemporalCache()

DataRepresentation2 = Show()
DataRepresentation2.Texture = []
DataRepresentation2.Representation = 'Outline'
DataRepresentation2.EdgeColor = [0.0, 0.0, 0.50000762951094835]

DataRepresentation1.Visibility = 0

PointSource1 = PointSource()

DataRepresentation3 = Show()
DataRepresentation3.EdgeColor = [0.0, 0.0, 0.50000762951094835]

SetActiveSource(TemporalCache1)
ParticleTracer1 = ParticleTracer( Source=PointSource1 )

ParticleTracer1.SelectInputVectors = ['POINTS', 'V_3D_01']

DataRepresentation4 = Show()
DataRepresentation4.Texture = []
DataRepresentation4.EdgeColor = [0.0, 0.0, 0.50000762951094835]

AnimationScene1.AnimationTime = 0.025871800258755684
AnimationScene1.StartTime = 0.025871800258755684

RenderView1.ViewTime = 0.025871800258755684

DataRepresentation2.Visibility = 0

DataRepresentation3.Visibility = 0

Render()



----------------


(gdb) bt
#0 0xb793e932 in vtkDataArrayTemplate<float>::GetTuple (this=0xaee4ea8, i=-1, tuple=0xbfffc8b0)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Common/vtkDataArrayTemplate.txx:613
#1 0xb7ce96fe in vtkPoints::GetPoint (this=0x870a2b8, id=-1, x=0xbfffc8b0)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Common/vtkPoints.h:122
#2 0xb7ec15ae in vtkStructuredGrid::GetCell (this=0x9fcd430, cellId=-1, cell=0xa668708)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkStructuredGrid.cxx:414
#3 0x0641bae0 in vtkCachingInterpolatedVelocityField::FunctionValues (this=0xa02a308, data=0x9fb12f8, x=0xaf40350,
    f=0xa02f494) at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkCachingInterpolatedVelocityField.cxx:280
#4 0x0641b616 in vtkCachingInterpolatedVelocityField::FunctionValues (this=0xa02a308, x=0xaf40350, f=0xa02f494)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkCachingInterpolatedVelocityField.cxx:188
#5 0x06501aab in vtkTemporalInterpolatedVelocityField::TestPoint (this=0xa02f460, x=0xaf40350)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkTemporalInterpolatedVelocityField.cxx:165
#6 0x06507c3a in vtkTemporalStreamTracer::TestParticles (this=0x8dce0b0, candidates=..., passed=..., count=@0xbfffcc5c)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkTemporalStreamTracer.cxx:548
#7 0x06507ffe in vtkTemporalStreamTracer::AssignSeedsToProcessors (this=0x8dce0b0, source=0x9eb0338, sourceID=0, ptId=0,
    LocalSeedPoints=..., LocalAssignedCount=@0xbfffcc5c)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkTemporalStreamTracer.cxx:621
#8 0x0650960a in vtkTemporalStreamTracer::RequestData (this=0x8dce0b0, inputVector=0xa039e80, outputVector=0xa030a58)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkTemporalStreamTracer.cxx:923
0000009 0x065051df in vtkTemporalStreamTracer::ProcessRequest (this=0x8dce0b0, request=0x9f6b0b0, inputVector=0xa039e80,
    outputVector=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Parallel/vtkTemporalStreamTracer.cxx:213
#10 0xb7d62105 in vtkExecutive::CallAlgorithm (this=0xa02e390, request=0x9f6b0b0, direction=1, inInfo=0xa039e80,
    outInfo=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkExecutive.cxx:747
0000011 0xb7d4af02 in vtkDemandDrivenPipeline::ExecuteData (this=0xa02e390, request=0x9f6b0b0, inInfo=0xa039e80,
    outInfo=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkDemandDrivenPipeline.cxx:507
#12 0xb7d1d3e4 in vtkCompositeDataPipeline::ExecuteData (this=0xa02e390, request=0x9f6b0b0, inInfoVec=0xa039e80,
    outInfoVec=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkCompositeDataPipeline.cxx:390
#13 0xb7d4a622 in vtkDemandDrivenPipeline::ProcessRequest (this=0xa02e390, request=0x9f6b0b0, inInfoVec=0xa039e80,
    outInfoVec=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkDemandDrivenPipeline.cxx:279
#14 0xb7eb6de4 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0xa02e390, request=0x9f6b0b0, inInfoVec=0xa039e80,
    outInfoVec=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:202
#15 0xb7d1cb87 in vtkCompositeDataPipeline::ProcessRequest (this=0xa02e390, request=0x9f6b0b0, inInfoVec=0xa039e80,
    outInfoVec=0xa030a58) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkCompositeDataPipeline.cxx:291
#16 0xb7d1c61d in vtkCompositeDataPipeline::ForwardUpstream (this=0xadeda10, request=0x9f6b0b0)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkCompositeDataPipeline.cxx:214
#17 0xb7d4a58d in vtkDemandDrivenPipeline::ProcessRequest (this=0xadeda10, request=0x9f6b0b0, inInfoVec=0xade2f90,
    outInfoVec=0xadeda88) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkDemandDrivenPipeline.cxx:265
#18 0xb7eb6de4 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0xadeda10, request=0x9f6b0b0, inInfoVec=0xade2f90,
    outInfoVec=0xadeda88) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:202
#19 0xb7d1cb87 in vtkCompositeDataPipeline::ProcessRequest (this=0xadeda10, request=0x9f6b0b0, inInfoVec=0xade2f90,
    outInfoVec=0xadeda88) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkCompositeDataPipeline.cxx:291
#20 0xb7d1c61d in vtkCompositeDataPipeline::ForwardUpstream (this=0xaebb4e0, request=0x9f6b0b0)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkCompositeDataPipeline.cxx:214
#21 0x045a6bcd in vtkPVCacheKeeperPipeline::ForwardUpstream (this=0xaebb4e0, request=0x9f6b0b0)
    at /home/christoffer/Source/ParaView-3.8.1/Servers/Filters/vtkPVCacheKeeperPipeline.cxx:55
#22 0xb7d4a58d in vtkDemandDrivenPipeline::ProcessRequest (this=0xaebb4e0, request=0x9f6b0b0, inInfoVec=0xaec0558,
    outInfoVec=0xaebba48) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkDemandDrivenPipeline.cxx:265
#23 0xb7eb6de4 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0xaebb4e0, request=0x9f6b0b0, inInfoVec=0xaec0558,
    outInfoVec=0xaebba48) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:202
#24 0xb7d1cb87 in vtkCompositeDataPipeline::ProcessRequest (this=0xaebb4e0, request=0x9f6b0b0, inInfoVec=0xaec0558,
    outInfoVec=0xaebba48) at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkCompositeDataPipeline.cxx:291
#25 0xb7d4ad0a in vtkDemandDrivenPipeline::UpdateData (this=0xaebb4e0, outputPort=0)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkDemandDrivenPipeline.cxx:449
#26 0xb7eb6fb2 in vtkStreamingDemandDrivenPipeline::Update (this=0xaebb4e0, port=0)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:246
#27 0xb7d37502 in vtkDataObject::Update (this=0xaec3d98)
    at /home/christoffer/Source/ParaView-3.8.1/VTK/Filtering/vtkDataObject.cxx:1056
#28 0x0460e412 in vtkPVUpdateSuppressor::ForceUpdate (this=0xaebcd30)
    at /home/christoffer/Source/ParaView-3.8.1/Servers/Filters/vtkPVUpdateSuppressor.cxx:153
#29 0x041d6e6f in vtkPVUpdateSuppressorCommand (arlu=0x8267608, ob=0xaebcd30, method=0x9ea723d "ForceUpdate", msg=...,
    resultStream=...)
    at /home/christoffer/Source/ParaView-3.8.1-Bin/Servers/Filters/vtkPVUpdateSuppressorClientServer.cxx:89
#30 0x062e43ad in vtkClientServerInterpreter::ProcessCommandInvoke (this=0x8267608, css=..., midx=0)
    at /home/christoffer/Source/ParaView-3.8.1/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:378
#31 0x062e3b14 in vtkClientServerInterpreter::ProcessOneMessage (this=0x8267608, css=..., message=0)
    at /home/christoffer/Source/ParaView-3.8.1/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:213
#32 0x062e39d8 in vtkClientServerInterpreter::ProcessStream (this=0x8267608, css=...)
    at /home/christoffer/Source/ParaView-3.8.1/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:182
#33 0x04932a41 in vtkSelfConnection::ProcessStreamLocally (this=0x8870030, stream=...)
    at /home/christoffer/Source/ParaView-3.8.1/Servers/Common/vtkSelfConnection.cxx:118
#34 0x04932a00 in vtkSelfConnection::SendStreamToClient (this=0x8870030, stream=...)
    at /home/christoffer/Source/ParaView-3.8.1/Servers/Common/vtkSelfConnection.cxx:111

Thanks

BR/ Christoffer
No tags attached.
? state.pvsm (164,594) 2011-06-27 03:53
https://www.vtk.org/Bug/file/8951/state.pvsm
Issue History
2011-06-27 03:53Christoffer GreenNew Issue
2011-06-27 03:53Christoffer GreenFile Added: state.pvsm
2016-08-12 09:58Kitware RobotNote Added: 0037989
2016-08-12 09:58Kitware RobotStatusbacklog => closed
2016-08-12 09:58Kitware RobotResolutionopen => moved
2016-08-12 09:58Kitware RobotAssigned To => Kitware Robot

Notes
(0037989)
Kitware Robot   
2016-08-12 09:58   
Resolving issue as `moved`.

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