Skip to content

Running f3d without glx, elg or osmesa trigger a segfault #2522

@mwestphal

Description

@mwestphal

Describe the bug
Run f3d without a valid rendering backend and it will fail with a segfault.
Trivial to reproduce with docker

To Reproduce
Steps to reproduce the behavior:

  1. run docker ubuntu:24.04
  2. install nightly .deb package, do not install suggested packages
  3. run f3d
  4. segfault
========== Configuring engine ==========
Generic Warning: In vtkOSOpenGLRenderWindow.cxx, line 149
libOSMesa not found. It appears that OSMesa is not installed in your system. Please install the OSMesa library from your distribution's package manager.


VTK window class type is vtkOSOpenGLRenderWindow
Segmentation fault (core dumped)

Expected behavior
A failure but no segfault

System Information:

  • OS: Ubuntu 24.04
  • GPU and GPU driver: None

F3D Information
Paste the content of f3d --version or f3d-console.exe --version on Windows: Nightly

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions