Thread 1 "hass-tray" received signal SIGSEGV, Segmentation fault.
0x00007ffff3cecfee in ?? () from /usr/lib/libwebkit2gtk-4.1.so.0
(gdb) backtrace
#0 0x00007ffff3cecfee in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#1 0x00007ffff3c86a0a in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#2 0x00007ffff34d0596 in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#3 0x00007ffff3a57702 in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#4 0x00007ffff353ee24 in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#5 0x00007ffff3a4a1a9 in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#6 0x00007ffff3a4cc82 in ??? () at /usr/lib/libwebkit2gtk-4.1.so.0
#7 0x00007ffff14902af in ??? () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#8 0x00007ffff149052f in ??? () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#9 0x00007ffff7b9cbfd in ??? () at /usr/lib/libglib-2.0.so.0
#10 0x00007ffff7b9ee57 in ??? () at /usr/lib/libglib-2.0.so.0
#11 0x00007ffff7b9efe5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#12 0x00007ffff19ead7f in gtk_main_iteration_do () at /usr/lib/libgtk-3.so.0
#13 0x000055555639e379 in gtk::auto::functions::main_iteration_do (blocking=true) at src/auto/functions.rs:392
#14 0x0000555555d98c21 in tao::platform_impl::platform::event_loop::{impl#1}::run_return::{closure#0}<tauri_runtime_wry::Message<tauri::EventLoopMessage>, tauri_runtime_wry::make_event_handler::{closure_env#0}<tauri::EventLoopMessage, tauri::app::{impl#16}::make_run_event_loop_callback::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>>>> ()
at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.35.3/src/platform_impl/linux/event_loop.rs:1154
#15 0x0000555555dda410 in glib::auto::main_context::MainContext::with_thread_default<i32, tao::platform_impl::platform::event_loop::{impl#1}::run_return::{closure_env#0}<tauri_runtime_wry::Message<tauri::EventLoopMessage>, tauri_runtime_wry::make_event_handler::{closure_env#0}<tauri::EventLoopMessage, tauri::app::{impl#16}::make_run_event_loop_callback::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>>>>> (self=0x7fffffff8ad8, func=...) at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.18.5/src/main_context.rs:154
#16 0x0000555555d98652 in tao::platform_impl::platform::event_loop::EventLoop<tauri_runtime_wry::Message<tauri::EventLoopMessage>>::run_return<tauri_runtime_wry::Message<tauri::EventLoopMessage>, tauri_runtime_wry::make_event_handler::{closure_env#0}<tauri::EventLoopMessage, tauri::app::{impl#16}::make_run_event_loop_callback::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>>>> (self=0x7fffffff8e50, callback=...) at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.35.3/src/platform_impl/linux/event_loop.rs:1044
#17 0x0000555555d986e3 in tao::platform_impl::platform::event_loop::EventLoop<tauri_runtime_wry::Message<tauri::EventLoopMessage>>::run<tauri_runtime_wry::Message<tauri::EventLoopMessage>, tauri_runtime_wry::make_event_handler::{closure_env#0}<tauri::EventLoopMessage, tauri::app::{impl#16}::make_run_event_loop_callback::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>>>> (self=..., callback=...) at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.35.3/src/platform_impl/linux/event_loop.rs:997
#18 0x0000555555ea7ae4 in tao::event_loop::EventLoop<tauri_runtime_wry::Message<tauri::EventLoopMessage>>::run<tauri_runtime_wry::Message<tauri::EventLoopMessage>, tauri_runtime_wry::make_event_handler::{closure_env#0}<tauri::EventLoopMessage, tauri::app::{impl#16}::make_run_event_loop_callback::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>>>>
(self=..., event_handler=...) at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.35.3/src/event_loop.rs:224
#19 0x0000555555cd905e in tauri_runtime_wry::{impl#47}::run<tauri::EventLoopMessage, tauri::app::{impl#16}::make_run_event_loop_callback::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>>> (self=..., callback=...) at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-runtime-wry-2.11.4/src/lib.rs:3241
#20 0x0000555555e7f904 in tauri::app::App<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>::run<tauri_runtime_wry::Wry<tauri::EventLoopMessage>, tauri::app::{impl#19}::run::{closure_env#0}<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>> (self=..., callback=...) at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-2.11.5/src/app.rs:1373
#21 0x0000555555e85513 in tauri::app::Builder<tauri_runtime_wry::Wry<tauri::EventLoopMessage>>::run<tauri_runtime_wry::Wry<tauri::EventLoopMessage>> (self=..., context=...)
at /home/chilli/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-2.11.5/src/app.rs:2450
#22 0x0000555555f4a41d in hass_tray::main () at src/main.rs:34
Describe the bug
Tauri crashes within
libwebkit2gtk-4.1.so.0when trying to show Home Assistant within.Happens both with
https://demo.home-assistant.io(white screen) as well as on a custom Home Assistant instance (there it happens when HASS tries to load after logging in, while the throbber is visible on the screen).Reproduction
main.rsExpected behavior
The app should load Home Assistant client properly without SIGSEGV.
Full
tauri infooutputFull `cargo tauri info` output
Stack trace
Stack trace (gdb)
Additional context
It both happens on my PC with an Nvidia GPU as well as on my laptop with an integrated AMD GPU.
I tried:
WEBKIT_DISABLE_JIT=1WEBKIT_DISABLE_WEB_PROCESS_SANDBOX=1WEBKIT_FORCE_SANDBOX=0GDK_BACKEND=x11WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1WEBKIT_DISABLE_DMABUF_RENDERER=1WEBKIT_DISABLE_COMPOSITING_MODE=1WEBKIT_DISABLE_ACCELERATED_COMPOSITING=1WEBKIT_DISABLE_SITE_ISOLATION=1so basically all env vars I could find online, to no effect.