[GH-ISSUE #4533] [GUI] Linux: WebKitGTK crash when rendering emoji in chat title (COLRv1 / Skia) #2046

Open
opened 2026-11-04 01:56:12 +07:00 by bsakaguchi · 5 comments
Owner

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.ttf font through Fontconfig.

Steps to Reproduce

  1. Start Strata normally on Fedora 44.
  2. Load a coding model and start a conversation.
  3. Let Strata automatically generate a chat title.
  4. If the generated title contains an affected emoji, the WebKitWebProcess may crash.
  5. Restart Strata.
  6. Strata crashes again, apparently when attempting to render the previously generated title.

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 SIGABRT due to a failed C++ assertion in Skia's COLRv1 font rendering code.

Relevant application log:

[window] ... stl_vector.h:1123:
std::vector<...>::operator[]:
Assertion '__n < this->size()' failed.

Relevant function:

colrv1_configure_skpaint(FT_Face, ...)

The system crash report identifies:

Process: WebKitWebProcess
Signal: 6 (ABRT)
Library: libwebkit2gtk-4.1.so.0
Function: __glibcxx_assert_fail

Environment

  • OS: Fedora Linux 44
  • Desktop: KDE Plasma (Wayland)
  • Kernel: 7.2.13-200.fc44.x86_64
  • GPU: AMD Radeon RX 9060 XT (Vulkan)
  • Strata: 0.2.7
  • Strata Engine: 0.1.52
  • Affected component: Bundled WebKitGTK 4.1 / Skia
  • Emoji package: google-noto-color-emoji-fonts-20260921-1.fc44.noarch
  • Default emoji font: Noto-COLRv1.ttf

Fontconfig reports:

$ fc-match emoji
Noto-COLRv1.ttf: "Noto Color Emoji" "Regular"

Confirmed Workaround

Creating a custom Fontconfig file that excludes the problematic font completely resolves the startup crash.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <include ignore_missing="no">/etc/fonts/fonts.conf</include>
  <selectfont>
    <rejectfont>
      <glob>/usr/share/fonts/google-noto-color-emoji-fonts/Noto-COLRv1.ttf</glob>
    </rejectfont>
  </selectfont>
</fontconfig>

With this configuration:

FONTCONFIG_FILE=/path/to/fonts.conf \
./Strata-0.2.7-linux-x86_64.AppImage

Strata starts successfully.

Fontconfig now selects the monochrome fallback:

NotoEmoji-Regular.ttf: "Noto Emoji" "Regular"

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.

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.ttf` font through Fontconfig. ## Steps to Reproduce 1. Start Strata normally on Fedora 44. 2. Load a coding model and start a conversation. 3. Let Strata automatically generate a chat title. 4. If the generated title contains an affected emoji, the WebKitWebProcess may crash. 5. Restart Strata. 6. Strata crashes again, apparently when attempting to render the previously generated title. **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 `SIGABRT` due to a failed C++ assertion in Skia's COLRv1 font rendering code. Relevant application log: ```text [window] ... stl_vector.h:1123: std::vector<...>::operator[]: Assertion '__n < this->size()' failed. ``` Relevant function: ```text colrv1_configure_skpaint(FT_Face, ...) ``` The system crash report identifies: ```text Process: WebKitWebProcess Signal: 6 (ABRT) Library: libwebkit2gtk-4.1.so.0 Function: __glibcxx_assert_fail ``` ## Environment - **OS:** Fedora Linux 44 - **Desktop:** KDE Plasma (Wayland) - **Kernel:** 7.2.13-200.fc44.x86_64 - **GPU:** AMD Radeon RX 9060 XT (Vulkan) - **Strata:** 0.2.7 - **Strata Engine:** 0.1.52 - **Affected component:** Bundled WebKitGTK 4.1 / Skia - **Emoji package:** `google-noto-color-emoji-fonts-20260921-1.fc44.noarch` - **Default emoji font:** `Noto-COLRv1.ttf` Fontconfig reports: ```text $ fc-match emoji Noto-COLRv1.ttf: "Noto Color Emoji" "Regular" ``` ## Confirmed Workaround Creating a custom Fontconfig file that excludes the problematic font completely resolves the startup crash. ```xml <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <include ignore_missing="no">/etc/fonts/fonts.conf</include> <selectfont> <rejectfont> <glob>/usr/share/fonts/google-noto-color-emoji-fonts/Noto-COLRv1.ttf</glob> </rejectfont> </selectfont> </fontconfig> ``` With this configuration: ```bash FONTCONFIG_FILE=/path/to/fonts.conf \ ./Strata-0.2.7-linux-x86_64.AppImage ``` Strata starts successfully. Fontconfig now selects the monochrome fallback: ```text NotoEmoji-Regular.ttf: "Noto Emoji" "Regular" ``` 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.
Author
Owner

@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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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

<!-- gh-comment-id:6479643282 --> @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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6479722020 --> @github-actions[bot] commented on GitHub (Oct 28, 2026): Thanks, this follows the format now.
Author
Owner

@FreeSynergy commented on GitHub (Oct 31, 2026):

In my case too …
Please solve it ;)

<!-- gh-comment-id:6549086464 --> @FreeSynergy commented on GitHub (Oct 31, 2026): In my case too … Please solve it ;)
Author
Owner

@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, WebKitWebProcess aborted in colrv1_configure_skpaint with 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.ttf and added it to my user-level desktop launcher:

Exec=/usr/bin/env FONTCONFIG_FILE=/absolute/path/to/strata-fonts.conf /absolute/path/to/Strata-0.2.10-linux-x86_64.AppImage %U

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

<!-- gh-comment-id:6600645082 --> @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, `WebKitWebProcess` aborted in `colrv1_configure_skpaint` with 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.ttf` and added it to my user-level desktop launcher: ```ini Exec=/usr/bin/env FONTCONFIG_FILE=/absolute/path/to/strata-fonts.conf /absolute/path/to/Strata-0.2.10-linux-x86_64.AppImage %U ``` 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
Author
Owner

@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

<!-- gh-comment-id:6658486294 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2046
No description provided.