Skip to content

F3D 3.0 crashes with certain VRML files #1958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mwestphal opened this issue Jan 30, 2025 · 0 comments
Open

F3D 3.0 crashes with certain VRML files #1958

mwestphal opened this issue Jan 30, 2025 · 0 comments
Labels
help wanted Please help with this issue! source:VTK

Comments

@mwestphal
Copy link
Member

Describe the bug
F3D support reading VRML files, however, since the rework of file loading in 3.0.0, some of these files now crashes F3D

To Reproduce
Steps to reproduce the behavior:

  1. Download and extract snowman.zip
  2. Open the file using f3d --no-config snowman.wrl
  3. crash

Expected behavior
No crash and correct display. Please note display may be incorrect because of #826

Additional context
Caused by the vtkF3DMetaImporter.cxx:241

vtkPolyDataMapper::SafeDownCast(actor->GetMapper());

Which does not check that the mapper exists. However we should investigate if that assumption of always getting a mapper is correct or not and how it should be handled.

@mwestphal mwestphal added this to F3D Jan 30, 2025
@mwestphal mwestphal moved this to Investigate in F3D Jan 30, 2025
@mwestphal mwestphal added the help wanted Please help with this issue! label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Please help with this issue! source:VTK
Projects
Status: Investigate
Development

No branches or pull requests

1 participant