Skip to content

[Bug] Crash on startup after changing CJK font settings #63

@yadokariinthemarsh

Description

@yadokariinthemarsh

Description

The application crashes during startup if the Japanese font or CJK font priority is changed from "Auto". This persists until the configuration files are manually deleted.

Environment

  • OS: Windows 11 Japanese
  • Ferrite version: v0.2.6
  • Rust version: rustc 1.92.0 (ded5c06cf 2025-12-08)
  • Installation method: MSI Installer

Steps to Reproduce

  1. Launch Ferrite.
  2. Set a Japanese font or change CJK font priority to any value other than Auto.
  3. Close the application.
  4. Attempt to relaunch the application.

Expected Behavior

The application should launch normally with the selected font/CJK settings.

Actual Behavior

The application window does not appear at all. The ferrite.exe process can be seen in the Task Manager for a split second before it terminates and generates a crash log in the Event Viewer.

Log Output

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
    <EventID>1000</EventID>
    <TimeCreated SystemTime="2026-01-29T10:58:50.2586746Z" />
    <Execution ProcessID="4068" ThreadID="11496" />
    <Channel>Application</Channel>
  </System>
  <EventData>
    <Data Name="AppName">ferrite.exe</Data>
    <Data Name="ExceptionCode">c0000409</Data>
    <Data Name="FaultingOffset">0000000000527cb5</Data>
    <Data Name="AppPath">C:\Program Files\Ferrite\ferrite.exe</Data>
  </EventData>
</Event>

Additional Context

Deleting the %AppData%\Roaming\ferrite directory fixes the issue temporarily by resetting the configuration.

Also, there is some Tofu appearing in the settings UI.
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2.6.1bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions