Bug 2574241

Summary: Fedora 45 upgrade: `netbird-ui` (and WebKitGTK 6.0 apps) show blank windows and `WebKitWebProcess` pegs 2 CPU cores at 100%
Product: [Fedora] Fedora Reporter: Aryeh Abramovitz <arabramo>
Component: fontconfigAssignee: Akira TAGOH <tagoh>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: ajax, fonts-bugs, i18n-bugs, mclasen, rstrode, tagoh
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Aryeh Abramovitz 2026-11-17 08:04:35 UTC
### Symptoms
- After upgrading from Fedora 44 to Fedora 45, `netbird-ui` (`0.77.1`) launches into the system tray, but opening **NetBird** or **Settings** renders completely blank windows.
- Two `WebKitWebProcess` processes (`/usr/libexec/webkitgtk-6.0/WebKitWebProcess`) each peg a full CPU core at ~100% continuously.
- Logs show GTK accessibility socket timeouts (`Error embedding AT-SPI socket: Timeout was reached`) because the renderer threads never finish initializing.

### Root Cause
Stale pre-upgrade binary Fontconfig cache files (`~/.cache/fontconfig` and/or `/var/cache/fontconfig`) cause WebKitGTK 2.53.91's Skia font scanner (`SkFontMgr_fontconfig`) to enter an infinite loop inside `FcPatternGetString` / `FcPatternObjectPosition` before the first frame paints.

Stack trace from `eu-stack -p <WebKitWebProcess-PID>`:
```text
#0  FcPatternObjectPosition.lto_priv.0
#1  FcPatternObjectGetWithBinding.part.0
#2  FcPatternGetString

Reproducible: Always




Additional Information:
Workaround / Fix
Stop netbird-ui, purge the user Fontconfig cache, and force-rebuild both system and user Fontconfig caches:
pkill -f netbird-ui
rm -rf ~/.cache/fontconfig
sudo fc-cache -frv
fc-cache -frv
netbird-ui &