https://bugs.kde.org/show_bug.cgi?id=522457

--- Comment #4 from Chris <[email protected]> ---
I was able to resolve the issue in my particular case (with help of AI). I had
inadvertently installed "icomoon" as a system font. that font is a  glyphless
font which apparently crashed the preview renderer.  I still attached the back
trace with as much debug symbols I could get to install/recognize.
--
**Why it crashes:** the Fonts page renders a preview of each configured font on
open. For a glyphless font, `PreviewRenderEngine::drawAutoSize` measures the
preview text as **zero-sized**, and `KFI::CFcEngine::Xft::toImage()` then calls
`XGetImage()` on a degenerate (0-dimension / out-of-bounds) region. `XGetImage`
raises an X error; since no custom Xlib error handler is installed, Xlib's
default handler calls **`exit()`** from the QtQuick pixmap-reader worker
thread, which races teardown against the still-live GUI thread → SIGSEGV.

Also including steps to reproduce if any interest:
1. `kwriteconfig6 --file kdeglobals --group General --key font
"icomoon,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0"` (any font with no glyphs for
the sample text works)
2. Open System Settings → Fonts.
3. Crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to