Skip to content

[Desktp/experimental] Fedora 42 crash to desktop #5461

@airtonix

Description

@airtonix

Description

DISPLAY set to
zinit v3.11.0-10-g1cb1df63 (linux-gnu_x86_64)

~
> which opencode
~/.local/share/mise/installs/ubi-sst-opencode/1.0.146/opencode

~
> cat /usr/share/applications/OpenCode.desktop
[Desktop Entry]
Categories=
Comment=A Tauri App
Exec="OpenCode Desktop"
StartupWMClass="OpenCode Desktop"
Icon=OpenCode Desktop
Name=OpenCode
Terminal=false
Type=Application

~
>

~
> OpenCode\ Desktop

thread 'main' (16890) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.34.5/src/platform_impl/linux/event_loop.rs:218:53:
Failed to initialize gtk backend!: BoolError { message: "Failed to initialize GTK", filename: "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gtk-0.18.2/src/rt.rs", function: "gtk::rt::init", line: 141 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

~
x RUST_BACKTRACE=1 OpenCode\ Desktop

thread 'main' (16976) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.34.5/src/platform_impl/linux/event_loop.rs:218:53:
Failed to initialize gtk backend!: BoolError { message: "Failed to initialize GTK", filename: "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gtk-0.18.2/src/rt.rs", function: "gtk::rt::init", line: 141 }
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: glib::main_context::<impl glib::auto::main_context::MainContext>::with_thread_default
   4: tauri_runtime_wry::Wry<T>::init_with_builder
   5: opencode_lib::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Screencast_From_2025-12-13_09-56-40.mp4

OpenCode version

https://github.com/sst/opencode/releases/download/v1.0.152/opencode-desktop-linux-x86_64.rpm

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions