Brave-browser.desktop # Fontconfig error: Cannot load default config file: No such file: (null)

  • system: "x86_64-linux"
  • host os: Linux 5.15.88, NixOS, 22.11 (Raccoon), 22.11.1705.b83e7f5a04a
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.11.1
  • channels(root): "nixos-22.11, nixos-hardware"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

GPU is Intel / Nvidia

brave-browser.desktop[3107]: Fontconfig error: Cannot load default config file: No such file: (null)
brave-browser.desktop[3107]: Fontconfig error: Cannot load default config file: No such file: (null)
brave-browser.desktop[3107]: Fontconfig error: Cannot load default config file: No such file: (null)
brave-browser.desktop[3107]: [0120/082210.744868:ERROR:process_memory_range.cc(75)] read out of range
brave-browser.desktop[3107]: [3108:3108:0120/082210.818160:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=512
                                            Module /nix/store/mxvzd9gwb4n8rzqfxl3q4cn7s4dqp3fl-libgpg-error-1.45/lib/libgpg-error.so.0.33.0 without build-id.

How to fix it?

This is likely the same as Chromium in container `Fontconfig error: Cannot load default config file: No such file: (null)` · Issue #176081 · NixOS/nixpkgs · GitHub

Someone will need to create a patch.