Skip to content

F3D segfault with a temporal .vtu file #2142

Open
@mwestphal

Description

@mwestphal

Describe the bug
F3D can open most .vtu files, but vtu file suports temporal data. Its a niche feature that is not used a lot.

To Reproduce
Steps to reproduce the behavior:

  1. Download and extract times.zip
  2. Open the file using f3d --no-config times_series.vtu
  3. Press space
  4. Crash
(gdb) bt
#0  0x00007ffff60b91bb in vtkXMLUnstructuredDataReader::ReadCellArray (this=0x555555bb4910, numberOfCells=512, eCells=0x5555563102a0, outCells=0x0)
    at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLUnstructuredDataReader.cxx:663
#1  0x00007ffff60e8443 in vtkXMLUnstructuredGridReader::ReadPieceData (this=0x555555bb4910) at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLUnstructuredGridReader.cxx:244
#2  0x00007ffff60417b3 in vtkXMLDataReader::ReadPieceData (this=0x555555bb4910, piece=0) at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLDataReader.cxx:347
#3  0x00007ffff60b772a in vtkXMLUnstructuredDataReader::ReadXMLData (this=0x555555bb4910) at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLUnstructuredDataReader.cxx:278
#4  0x00007ffff609288c in vtkXMLReader::RequestData (this=0x555555bb4910, outputVector=0x5555562ff9d0) at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLReader.cxx:752
#5  0x00007ffff6099509 in vtkXMLReader::ProcessRequest (this=0x555555bb4910, request=0x555556301300, inputVector=0x0, outputVector=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLReader.cxx:2076
#6  0x00007ffff604bbce in vtkXMLGenericDataObjectReader::RequestData (this=0x555556295c10, request=0x555556301300, inputVector=0x0, outputVector=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLGenericDataObjectReader.cxx:330
#7  0x00007ffff6099509 in vtkXMLReader::ProcessRequest (this=0x555556295c10, request=0x555556301300, inputVector=0x0, outputVector=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/IO/XML/vtkXMLReader.cxx:2076
#8  0x00007ffff0a8cb2c in vtkExecutive::CallAlgorithm (this=0x5555562ff8a0, request=0x555556301300, direction=1, inInfo=0x0, outInfo=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkExecutive.cxx:723
#9  0x00007ffff0a7e8c5 in vtkDemandDrivenPipeline::ExecuteData (this=0x5555562ff8a0, request=0x555556301300, inInfo=0x0, outInfo=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:450
#10 0x00007ffff0a72587 in vtkCompositeDataPipeline::ExecuteData (this=0x5555562ff8a0, request=0x555556301300, inInfoVec=0x0, outInfoVec=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:151
#11 0x00007ffff0a7de1c in vtkDemandDrivenPipeline::ProcessRequest (this=0x5555562ff8a0, request=0x555556301300, inInfoVec=0x0, outInfoVec=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:249
#12 0x00007ffff0b3b16e in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x5555562ff8a0, request=0x555556301300, inInfoVec=0x0, outInfoVec=0x5555562ff9d0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:336
#13 0x00007ffff0a7594a in vtkCompositeDataPipeline::ForwardUpstream (this=0x555556300990, request=0x555556301300)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:721
#14 0x00007ffff0a7dd12 in vtkDemandDrivenPipeline::ProcessRequest (this=0x555556300990, request=0x555556301300, inInfoVec=0x5555563007c0, outInfoVec=0x555556300aa0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:235
#15 0x00007ffff0b3b16e in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x555556300990, request=0x555556301300, inInfoVec=0x5555563007c0, outInfoVec=0x555556300aa0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:336
#16 0x00007ffff0a7e699 in vtkDemandDrivenPipeline::UpdateData (this=0x555556300990, outputPort=0) at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:407
#17 0x00007ffff0b3b62e in vtkStreamingDemandDrivenPipeline::Update (this=0x555556300990, port=0, requests=0x5555565f2400)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:426
#18 0x00007ffff0a67053 in vtkAlgorithm::Update (this=0x555556294d90, port=0, requests=0x5555565f2400) at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkAlgorithm.cxx:1539
#19 0x00007ffff0a670f8 in vtkAlgorithm::Update (this=0x555556294d90, requests=0x55555668d210) at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkAlgorithm.cxx:1552
#20 0x00007ffff0a674d1 in vtkAlgorithm::UpdateTimeStep (this=0x555556294d90, time=0.033333333333333333, piece=-1, numPieces=1, ghostLevels=0, extents=0x0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkAlgorithm.cxx:1599
#21 0x00007ffff7b1bd35 in vtkF3DGenericImporter::UpdateAtTimeValue (this=0x555556291c30, timeValue=0.033333333333333333)
    at /home/glow/dev/f3d/f3d/src/vtkext/private/module/vtkF3DGenericImporter.cxx:264
#22 0x00007ffff7b2d9bd in vtkF3DMetaImporter::UpdateAtTimeValue (this=0x555555d392e0, timeValue=0.033333333333333333)
    at /home/glow/dev/f3d/f3d/src/vtkext/private/module/vtkF3DMetaImporter.cxx:500
#23 0x00007ffff7a41a24 in f3d::detail::animationManager::LoadAtTime (this=0x555555d3ab48, timeValue=0.033333333333333333) at /home/glow/dev/f3d/f3d/src/library/src/animationManager.cxx:211

Expected behavior
No crash and animation plays. ParaView is able to open and play the file.

F3D Information
Paste the content of f3d --version: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions