Paraview Not Responding When Open vtk File

Hello,

I am trying to open a vtk file with vtkPolyData. It includes a triangular mesh and multiple curves cross the mesh.

When the vtk file only have triangular mesh inside, I can open it and the visualization result shows no problems. However, after I added the curves, paraview stop responding when openning the vtk file.

My paraview version: 5.10.1

extractFromSinc1.vtk (135.5 KB)
This is the file.

I would also like to know how to debug in such scenario.

Thank you!

Confirmed, here is the backtrace:

free(): invalid next size (normal)

Thread 1 "paraview" received signal SIGABRT, Aborted.
0x00007ffff7e3d64c in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff7e3d64c in ?? () from /usr/lib/libc.so.6
#1  0x00007ffff7ded938 in raise () from /usr/lib/libc.so.6
#2  0x00007ffff7dd753d in abort () from /usr/lib/libc.so.6
#3  0x00007ffff7e317ee in ?? () from /usr/lib/libc.so.6
#4  0x00007ffff7e473dc in ?? () from /usr/lib/libc.so.6
#5  0x00007ffff7e4937c in ?? () from /usr/lib/libc.so.6
#6  0x00007ffff7e4bba3 in free () from /usr/lib/libc.so.6
#7  0x00007fffef7680f2 in vtkPolyData::ComputeCellsBounds (this=0x55555802d300) at /home/glow/dev/paraview/pv1/src/VTK/Common/DataModel/vtkPolyData.cxx:524
#8  0x00007fffef768150 in vtkPolyData::GetCellsBounds (this=0x55555802d300, bounds=0x7fffffffc440) at /home/glow/dev/paraview/pv1/src/VTK/Common/DataModel/vtkPolyData.cxx:532
#9  0x00007ffff351727c in vtkCompositeDataDisplayAttributes::ComputeVisibleBoundsInternal (cda=0x55555e0b6f00, dobj=0x55555802d300, bbox=0x7fffffffc5a0, parentVisible=true) at /home/glow/dev/paraview/pv1/src/VTK/Rendering/Core/vtkCompositeDataDisplayAttributes.cxx:334
#10 0x00007ffff35171ba in vtkCompositeDataDisplayAttributes::ComputeVisibleBoundsInternal (cda=0x55555e0b6f00, dobj=0x55555ed4d510, bbox=0x7fffffffc5a0, parentVisible=true) at /home/glow/dev/paraview/pv1/src/VTK/Rendering/Core/vtkCompositeDataDisplayAttributes.cxx:323
#11 0x00007ffff3516ffc in vtkCompositeDataDisplayAttributes::ComputeVisibleBounds (cda=0x55555e0b6f00, dobj=0x55555ed4d510, bounds=0x555557209578) at /home/glow/dev/paraview/pv1/src/VTK/Rendering/Core/vtkCompositeDataDisplayAttributes.cxx:297
#12 0x00007fffea9af2a0 in vtkGeometryRepresentation::GetBounds (dataObject=0x55555ed4d510, bounds=0x555557209578, cdAttributes=0x55555e0b6f00) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkGeometryRepresentation.cxx:552
#13 0x00007fffea9b3780 in vtkGeometryRepresentation::ComputeVisibleDataBounds (this=0x5555572093c0) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkGeometryRepresentation.cxx:1570
#14 0x00007fffea9aea0a in vtkGeometryRepresentation::ProcessViewRequest (this=0x5555572093c0, request_type=0x5555556e7a80, inInfo=0x555557a3e1e0, outInfo=0x55555ed4a040) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkGeometryRepresentation.cxx:404
#15 0x00007fffea9bebb7 in vtkGeometryRepresentationWithFaces::ProcessViewRequest (this=0x5555572093c0, request_type=0x5555556e7a80, inInfo=0x555557a3e1e0, outInfo=0x55555ed4a040) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkGeometryRepresentationWithFaces.cxx:62
#16 0x00007fffeab39fab in vtkPVView::CallProcessViewRequest (this=0x555557d798e0, type=0x5555556e7a80, inInfo=0x555557a3e1e0, outVec=0x555557d4fbf0) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkPVView.cxx:582
#17 0x00007fffeab39849 in vtkPVView::Update (this=0x555557d798e0) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkPVView.cxx:467
#18 0x00007fffeaae72b5 in vtkPVRenderView::Update (this=0x555557d798e0) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkPVRenderView.cxx:1367
#19 0x00007fffeaae6410 in vtkPVRenderView::ResetCamera (this=0x555557d798e0) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkPVRenderView.cxx:1175
#20 0x00007fffeb3cf4d7 in vtkPVRenderViewCommand (arlu=0x555555a67460, ob=0x555557d798e0, method=0x55555d6390e9 "ResetCamera", msg=..., resultStream=...) at /home/glow/dev/paraview/pv1/build/CMakeFiles/vtkRemotingViewsCS/vtkPVRenderViewClientServer.cxx:229
#21 0x00007ffff566e270 in vtkClientServerInterpreter::CallCommandFunction (this=0x555555a67460, cname=0x7fffeacbcf6b "vtkPVRenderView", ptr=0x555557d798e0, method=0x55555d6390e9 "ResetCamera", msg=..., result=...) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:810
#22 0x00007ffff566c60f in vtkClientServerInterpreter::ProcessCommandInvoke (this=0x555555a67460, css=..., midx=0) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:424
#23 0x00007ffff566baf2 in vtkClientServerInterpreter::ProcessOneMessage (this=0x555555a67460, css=..., message=0) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:265
#24 0x00007ffff566b955 in vtkClientServerInterpreter::ProcessStream (this=0x555555a67460, css=...) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:235
#25 0x00007ffff52f6b24 in vtkPVSessionCore::ExecuteStreamInternal (this=0x555555f562d0, stream=..., ignore_errors=false) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionCore.cxx:620
#26 0x00007ffff52f68d4 in vtkPVSessionCore::ExecuteStream (this=0x555555f562d0, location=21, stream=..., ignore_errors=false) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionCore.cxx:590
#27 0x00007ffff52f25e6 in vtkPVSessionBase::ExecuteStream (this=0x555555f5f660, location=21, stream=..., ignore_errors=false) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionBase.cxx:165
#28 0x00007ffff546d2bc in vtkSMProxy::ExecuteStream (this=0x5555572c3af0, stream=..., ignore_errors=false, location=21) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkSMProxy.cxx:2406
#29 0x00007fffeabb0cf1 in vtkSMRenderViewProxy::ResetCamera (this=0x5555572c3af0, closest=false) at /home/glow/dev/paraview/pv1/src/Remoting/Views/vtkSMRenderViewProxy.cxx:790
#30 0x00007ffff67950e9 in pqRenderView::resetCamera (this=0x555557ea6760, closest=false) at /home/glow/dev/paraview/pv1/src/Qt/Core/pqRenderView.cxx:253
#31 0x00007ffff679be6a in pqRenderViewBase::resetDisplay (this=0x555557ea6760, closest=false) at /home/glow/dev/paraview/pv1/src/Qt/Core/pqRenderViewBase.cxx:203
#32 0x00007ffff78f84c0 in pqApplyBehavior::showData (this=0x555555b43ec0, source=0x55555c71ec70, view=0x555557ea6760) at /home/glow/dev/paraview/pv1/src/Qt/ApplicationComponents/pqApplyBehavior.cxx:387

Please open an issue on https://gitlab.kitware.com/paraview/paraview/-/issues

  • Build from source in debug
  • Run with debugger and get a backtrace
  • Read code and run step by step in debuguer to understand what is going on :grinning:
  • Fix the issue locally :blush:
  • Contribute it to ParaView :heart_eyes:

Thank you very much!