Crashes before the UI shows up on Ubuntu 23.04, Gnome Xorg and Wayland
Describe the bug
When I start the current version 0.2.5 or any of the previous 2 versions, I can see the process for a while and then it just crashes without the UI ever showing. When I launch the DEB from /usr/bin, it briefly shows an empty window border and then crashes.
I tried to delete ~/.local/share/spacedrive, no change.
Reproduction
Launch Spacedrive-linux-x86_64.AppImage or Spacedrive-linux-x86_64.AppImage --no-sandbox or /usr/bin/spacedrive (from the deb package)
Expected behavior
Spacedrive starts and the UI appears.
Platform and versions
Ubuntu 23.04
Gnome 44.3-0ubuntu1.1
Xorg 7.7+23ubuntu2
Wayland 1.21.0-1
Spacedrive 0.2.3 / 0.2.4 / 0.2.5
Stack trace
Appimage (0.2.5 on Xorg):
Running from APPIMAGE
2024-03-08T23:20:05.443895Z INFO sd_core: core/src/lib.rs:88: Starting core with data directory '/home/rainer/.local/share/spacedrive'
2024-03-08T23:20:06.292950Z INFO libp2p_swarm: /home/runner/.cargo/git/checkouts/rust-libp2p-5bf6f5083e224a9a/a005656/swarm/src/lib.rs:368: local_peer_id=12D3KooWBGejmZuNhy9vDGannmKUrtFubmCsUunYRVXd5Z1jAEC7
2024-03-08T23:20:06.466804Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:106: Setting quic ipv4 listener to: Some(0)
2024-03-08T23:20:06.569210Z INFO sd_p2p2::p2p: crates/p2p2/src/p2p.rs:266: HookEvent::ListenerAddrAdded(ListenerId(0), 0.0.0.0:37715)
2024-03-08T23:20:06.569288Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:120: Setting quic ipv4 listener to: Some(0)
2024-03-08T23:20:06.569535Z INFO sd_p2p2::p2p: crates/p2p2/src/p2p.rs:266: HookEvent::ListenerAddrAdded(ListenerId(0), [::]:38643)
2024-03-08T23:20:06.604939Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:137: mDNS started successfully.
2024-03-08T23:20:06.620773Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:77: Node RemoteIdentity('FZeF5ZHM1c5TkRrA0FZ2agV7BaX1+jofall5HzmCf2A') libp2p::PeerId('Libp2pPeerId(PeerId("12D3KooWBGejmZuNhy9vDGannmKUrtFubmCsUunYRVXd5Z1jAEC7"))') is now online listening at addresses: [Listener { id: ListenerId(0), name: "libp2p-quic", addrs: {0.0.0.0:37715, [::]:38643} }]
2024-03-08T23:20:07.174076Z INFO sd_ai::old_image_labeler::model: crates/ai/src/old_image_labeler/model/mod.rs:69: Loading mode: YoloV8 from /tmp/.mount_SpaceduLTuET/usr/share/spacedrive/models/yolov8s.onnx
2024-03-08T23:20:07.219584Z INFO apply_execution_providers: ort::execution_providers: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.0/src/execution_providers/mod.rs:206: Successfully registered `XNNPACKExecutionProvider`
2024-03-08T23:20:09.855477Z INFO sd_ai::old_image_labeler::model: crates/ai/src/old_image_labeler/model/mod.rs:82: Loaded model: YoloV8
2024-03-08T23:20:09.881683Z INFO sd_ai::old_image_labeler::old_actor: crates/ai/src/old_image_labeler/old_actor.rs:336: Image labeler available parallelism: 1 cores
2024-03-08T23:20:10.377028Z INFO sd_core: core/src/lib.rs:189: Spacedrive online.
2024-03-08T23:20:10.388251Z INFO sd_desktop::tauri_plugins: apps/desktop/src-tauri/src/tauri_plugins.rs:81: Internal server listening on: http://127.0.0.1:37987 http://127.0.0.1:32895 http://127.0.0.1:42441 http://127.0.0.1:40125
Gtk-Message: 23:20:10.829: Failed to load module "xapp-gtk3-module"
Gtk-Message: 23:20:10.853: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:20:10.861: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:20:10.871: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:20:11.546: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:20:11.556: Failed to load module "canberra-gtk-module"
setup
bruh?
rainer@phenom:~/apps$ Gtk-Message: 23:20:14.081: Failed to load module "xapp-gtk3-module"
Gtk-Message: 23:20:14.102: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:20:14.111: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:20:14.117: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:20:14.187: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:20:14.195: Failed to load module "canberra-gtk-module"
** (WebKitWebProcess:209621): ERROR **: 23:20:24.324: WebProcess didn't exit as expected after the UI process connection was closed
DEB package (0.2.5 on Xorg):
2024-03-08T23:30:35.312405Z INFO sd_core: core/src/lib.rs:88: Starting core with data directory '/home/rainer/.local/share/spacedrive'
2024-03-08T23:30:35.368289Z INFO libp2p_swarm: /home/runner/.cargo/git/checkouts/rust-libp2p-5bf6f5083e224a9a/a005656/swarm/src/lib.rs:368: local_peer_id=12D3KooWBGejmZuNhy9vDGannmKUrtFubmCsUunYRVXd5Z1jAEC7
2024-03-08T23:30:35.375325Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:106: Setting quic ipv4 listener to: Some(0)
2024-03-08T23:30:35.378573Z INFO sd_p2p2::p2p: crates/p2p2/src/p2p.rs:266: HookEvent::ListenerAddrAdded(ListenerId(0), 0.0.0.0:40943)
2024-03-08T23:30:35.378606Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:120: Setting quic ipv4 listener to: Some(0)
2024-03-08T23:30:35.378927Z INFO sd_p2p2::p2p: crates/p2p2/src/p2p.rs:266: HookEvent::ListenerAddrAdded(ListenerId(0), [::]:38185)
2024-03-08T23:30:35.380792Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:137: mDNS started successfully.
2024-03-08T23:30:35.382051Z INFO sd_core::p2p::manager: core/src/p2p/manager.rs:77: Node RemoteIdentity('FZeF5ZHM1c5TkRrA0FZ2agV7BaX1+jofall5HzmCf2A') libp2p::PeerId('Libp2pPeerId(PeerId("12D3KooWBGejmZuNhy9vDGannmKUrtFubmCsUunYRVXd5Z1jAEC7"))') is now online listening at addresses: [Listener { id: ListenerId(0), name: "libp2p-quic", addrs: {0.0.0.0:40943, [::]:38185} }]
2024-03-08T23:30:35.419196Z INFO sd_ai::old_image_labeler::model: crates/ai/src/old_image_labeler/model/mod.rs:69: Loading mode: YoloV8 from /usr/share/spacedrive/models/yolov8s.onnx
2024-03-08T23:30:35.421371Z INFO apply_execution_providers: ort::execution_providers: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.0/src/execution_providers/mod.rs:206: Successfully registered `XNNPACKExecutionProvider`
2024-03-08T23:30:35.594097Z INFO sd_ai::old_image_labeler::model: crates/ai/src/old_image_labeler/model/mod.rs:82: Loaded model: YoloV8
2024-03-08T23:30:35.595115Z INFO sd_ai::old_image_labeler::old_actor: crates/ai/src/old_image_labeler/old_actor.rs:336: Image labeler available parallelism: 1 cores
2024-03-08T23:30:35.623873Z INFO sd_core: core/src/lib.rs:189: Spacedrive online.
2024-03-08T23:30:35.624815Z INFO sd_desktop::tauri_plugins: apps/desktop/src-tauri/src/tauri_plugins.rs:81: Internal server listening on: http://127.0.0.1:39135 http://127.0.0.1:45403 http://127.0.0.1:45015 http://127.0.0.1:39939
setup
bruh?
Segmentation fault (core dumped)
Additional context
No response
Hi, is this still happening with the latest release? We have updated to Tauri 2.0 and deprecated the AppImage due to various instabilities concerns since v0.2.5
Under 24.04 LTS the latest release is working as expected! :+1: