mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4533] [GUI] Linux: WebKitGTK crash when rendering emoji in chat title (COLRv1 / Skia) #2046
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2046
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CMS-Manufaktur on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4533
Description
Strata crashes on Fedora 44 (KDE Plasma / Wayland), apparently when rendering an emoji in an automatically generated chat title.
After the initial crash, Strata can no longer start normally because the problematic chat title appears to be rendered again during startup.
The issue also occurs with older Strata versions and is reproducibly resolved by excluding Fedora's
Noto-COLRv1.ttffont through Fontconfig.Steps to Reproduce
Note: The relationship with automatic title generation is based on the observed behavior and a similar issue previously encountered with Unsloth Studio. The exact triggering emoji has not yet been identified.
Expected Behavior
Strata should display chat titles containing emojis without crashing. An unsupported font or rendering error should never prevent the application from starting.
Actual Behavior
The WebKitWebProcess terminates with
SIGABRTdue to a failed C++ assertion in Skia's COLRv1 font rendering code.Relevant application log:
Relevant function:
The system crash report identifies:
Environment
google-noto-color-emoji-fonts-20260921-1.fc44.noarchNoto-COLRv1.ttfFontconfig reports:
Confirmed Workaround
Creating a custom Fontconfig file that excludes the problematic font completely resolves the startup crash.
With this configuration:
Strata starts successfully.
Fontconfig now selects the monochrome fallback:
I have also configured this environment variable through Gear Lever, allowing Strata to launch normally without modifying the AppImage or globally changing Fedora's font configuration.
Additional Information
I previously experienced a very similar issue with Unsloth Studio. In that case, an automatically generated chat title containing an emoji caused the application to crash, and manually removing the problematic conversation allowed it to start again.
This suggests a possible shared issue involving WebKitGTK, Skia and COLRv1 color emoji fonts rather than the inference engine itself.
Suggested fix: Consider bundling or preferring a compatible CBDT/CBLC emoji font, disabling problematic COLRv1 font rendering, or providing an appropriate fallback within the AppImage.
The application should also recover gracefully if rendering a chat title fails.
The inference engine itself appears unaffected: the Strata host starts successfully before the WebKit window process crashes.
@github-actions[bot] commented on GitHub (Oct 28, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Oct 28, 2026):
Thanks, this follows the format now.
@FreeSynergy commented on GitHub (Oct 31, 2026):
In my case too …
Please solve it ;)
@Majed-allababedi commented on GitHub (Nov 3, 2026):
Confirmed on Strata 0.2.10 AppImage (engine 0.1.56) on Fedora 44 KDE/Wayland with an RX 6800. After a chat request,
WebKitWebProcessaborted incolrv1_configure_skpaintwith the same__n < this->size()assertion. The inference log recorded a completed response.The app-scoped Fontconfig workaround in the issue body worked in our follow-up check. I used that config to exclude only Fedora's
Noto-COLRv1.ttfand added it to my user-level desktop launcher:I verified that Fontconfig omitted the affected font and that the relaunched WebKit process inherited the override. A request through Strata's chat endpoint streamed
مرحباً 👋to completion and the WebKit process stayed alive. This check exercised the chat endpoint, rather than a controlled reproduction of the original crash through the GUI.Related upstream report: https://issues.skia.org/issues/542888014
@Niko1221 commented on GitHub (Nov 5, 2026):
Hello CMS-Manufaktur,
Thank you. In Strata 0.2.11 two things changed: chat titles are cut at a character, not in the middle of an emoji, and on Linux the window keeps the colour emoji font that WebKitGTK aborts on away from the window process (only when that font is installed). We could not show the crash on a WebKitGTK of our own, so we do not know that the second change is enough. Please try 0.2.11 on your Fedora system and tell us if it still crashes with an emoji in a title or in a message.
The Strata project