Skip to content
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

Segmentation fault when loading the library if Godot is built with system-provided harfbuzz #36

Open
j20001970 opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed platform:linux

Comments

@j20001970
Copy link
Owner

j20001970 commented Mar 5, 2024

If harfbuzz is system-provided instead of builtin when building Godot, loading GDMP library will cause immediate crash on said builds.

This is a problem because unlike official Godot editor that has everything builtin, distribution packagers might configure Godot to use system library for some modules (e.g. Arch, Flatpak), and users of these builds will run into such issue.

The crash is triggered by calling std::call_once during static initialization of the library.

Upstream issue: godotengine/godot#91401

Known workarounds:

@j20001970 j20001970 added bug Something isn't working help wanted Extra attention is needed platform:linux labels May 8, 2024
@j20001970 j20001970 pinned this issue May 17, 2024
@j20001970 j20001970 changed the title Segmentation fault when loading the library if certain module of the editor is system-provided Segmentation fault when loading the library if Godot is built with system-provided harfbuzz Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed platform:linux
Projects
None yet
Development

No branches or pull requests

1 participant