Segfault when starting anki on wayland (Arch Linux)

On my machine (Arch Linux with Wayland), on both the prepackaged builds and when compiling anki from source, this error appears when starting it:

Starting Anki 25.09.4...
  File "/usr/bin/anki", line 8, in <module>
    sys.exit(run())
  File "/usr/lib/python3.14/site-packages/aqt/__init__.py", line 558, in run
    _run()
  File "/usr/lib/python3.14/site-packages/aqt/__init__.py", line 630, in _run
    pmLoadResult = pm.setupMeta()
  File "/usr/lib/python3.14/site-packages/aqt/profiles.py", line 143, in setupMeta
    res = self._loadMeta()
  File "/usr/lib/python3.14/site-packages/aqt/profiles.py", line 432, in _loadMeta
    traceback.print_stack()
resetting corrupt _global
Segmentation fault         (core dumped) anki

The error persists when ANKI_WAYLAND and DISABLE_QT5_COMPAT are set, and QT_DEBUG_PLUGINS doesn’t reveal any other errors, I have updated my system and installed qt6-wayland and qt6-imageformats

Fixed by running `fc-cache -rv`, the issue appears to be a corrupted fontconfig cache after a driver update