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

VERIFICATION FAILED: m_default_font #572

Closed
Zettexe opened this issue Jul 11, 2024 · 5 comments
Closed

VERIFICATION FAILED: m_default_font #572

Zettexe opened this issue Jul 11, 2024 · 5 comments

Comments

@Zettexe
Copy link

Zettexe commented Jul 11, 2024

Program starts just fine but cant load any websites with this error:

VERIFICATION FAILED: m_default_font at /build/source/Ladybird/FontPlugin.cpp:45
/nix/store/kp6kwb86xmzslskpwviq0z8wbcr9xssk-ladybird-0-unstable-2024-06-08/libexec/../lib/liblagom-ak.so.0(ak_verification_failed+0xbd) [0x7ff8854faebd]
/nix/store/kp6kwb86xmzslskpwviq0z8wbcr9xssk-ladybird-0-unstable-2024-06-08/libexec/WebContent() [0x500eb8]
/nix/store/kp6kwb86xmzslskpwviq0z8wbcr9xssk-ladybird-0-unstable-2024-06-08/libexec/WebContent() [0x43894c]
/nix/store/kp6kwb86xmzslskpwviq0z8wbcr9xssk-ladybird-0-unstable-2024-06-08/libexec/WebContent(main+0xf2) [0x42b202]
/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6(+0x2a10e) [0x7ff88243d10e]
/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6(__libc_start_main+0x89) [0x7ff88243d1c9]
/nix/store/kp6kwb86xmzslskpwviq0z8wbcr9xssk-ladybird-0-unstable-2024-06-08/libexec/WebContent() [0x42b335]
4333.105 Ladybird(58665): WebContent process crashed!
4333.105 Ladybird(58665): WebContent has crashed 5 times in quick succession! Not restarting...
@ADKaster
Copy link
Member

This looks like a nixpkgs issue given the path /nix/store/kp6kwb86xmzslskpwviq0z8wbcr9xssk-ladybird-0-unstable-2024-06-08.

There's known problems building from master on nixOS or in a nix environment (#371).

In theory the fonts should be quite findable in a standard nix environment, with the current fontconfig related patches. Can you redirect this issue to nixpkgs instead?

@ADKaster
Copy link
Member

Since you're using ladybird-0-unstable-2024-06-08 and ladybird-0-unstable-2024-07-11 has just been released, I'm going to close this. Please try again using the latest nixpkgs version and report the font-related issues to the nixpkgs maintainer. If it seems to them like it's a problem in the code or build steps in our repo they can report it back to us.

@fgaz
Copy link
Contributor

fgaz commented Jul 22, 2024

As with any other package, if it doesn't work and there is a NixOS option you should try enabling it. Enabling programs.ladybird.enable should fix your issue.

And like @ADKaster wrote, please report any issue with the NixOS package in the nixpkgs tracker first. NixOS maintainers don't necessarily follow this tracker.

@xdevs23
Copy link

xdevs23 commented Nov 2, 2024

It should be enough to just set this in your configuration.nix:

fonts.fontDir.enable = true;

@fgaz
Copy link
Contributor

fgaz commented Nov 3, 2024

That's what programs.ladybird.enable does under the hood, yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants