Skip to content

rclone-ui SegFaults on Wayland #20

@alkaris2

Description

@alkaris2

When attempting to open the Settings Menu from the Taskbar menu for rclone-ui, it fails to open the window and segfaults the application.

$ rclone-ui                                                                       

(rclone-ui:130430): Gtk-CRITICAL **: 18:01:02.276: gtk_window_resize: assertion 'width > 0' failed
[2025-08-19][08:01:02][webview:Da@tauri://localhost/out.js:4:56028][TRACE] [initLoadingTray] 
[2025-08-19][08:01:02][webview:Da@tauri://localhost/out.js:4:56028][TRACE] [initLoadingTray] platform is linux, skipping 
[2025-08-19][08:01:02][webview:Ea@tauri://localhost/out.js:4:56407][TRACE] waiting for store hydration 
[2025-08-19][08:01:02][webview][TRACE] store hydrated 
[2025-08-19][08:01:02][webview:setItem@tauri://localhost/out.js:4:10113][TRACE] setItem {"name":"store","value":"{\"state\":{\"remoteConfigList\":{},\"disabledActions\":[],\"licenseValid\":false,\"isFirstOpen\":false,\"startOnBoot\":false,\"scheduledTasks\":[],\"configFiles\":[{\"id\":\"default\",\"label\":\"Default config\",\"isEncrypted\":false}],\"activeConfigFile\":{\"id\":\"default\",\"label\":\"Default config\",\"isEncrypted\":false}},\"version\":1}"}
[2025-08-19][08:01:02][webview:Qc@tauri://localhost/out.js:4:58397][TRACE] [startRclone] 
[2025-08-19][08:01:02][webview:oi@tauri://localhost/out.js:4:14359][TRACE] [listRemotes] 
[2025-08-19][08:01:02][webview:getItem@tauri://localhost/out.js:4:10019][TRACE] getItem {"name":"store"}
[2025-08-19][08:01:02][reqwest::connect][DEBUG] starting new connection: http://localhost:5572/
[2025-08-19][08:01:02][webview][TRACE] [startRclone] rclone rcd already running 
[2025-08-19][08:01:02][webview:nd@tauri://localhost/out.js:4:59693][TRACE] resuming tasks 
[2025-08-19][08:01:02][webview:Ma@tauri://localhost/out.js:4:55420][TRACE] [initTray] 
[2025-08-19][08:01:02][webview:wi@tauri://localhost/out.js:4:54567][TRACE] [buildMenu] 
[2025-08-19][08:01:02][webview][TRACE] [initTray] built menu 
[2025-08-19][08:01:02][webview][TRACE] [initTray] set loading tray to false 

(rclone-ui:130430): libayatana-appindicator-WARNING **: 18:01:02.825: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
[2025-08-19][08:01:10][webview:Ne@tauri://localhost/out.js:4:48693][TRACE] [openWindow] 

(rclone-ui:130430): Gtk-CRITICAL **: 18:01:10.314: gtk_window_resize: assertion 'width > 0' failed
[2025-08-19][08:01:10][tauri::manager][DEBUG] Asset `settings` not found; fallback to settings.html
[2025-08-19][08:01:10][tauri::manager][DEBUG] Asset `settings` not found; fallback to settings/index.html
[2025-08-19][08:01:10][tauri::manager][DEBUG] Asset `settings` not found; fallback to index.html
[2025-08-19][08:01:10][webview:dM@tauri://localhost/assets/index-CjVoIJHI.js:279:35353][TRACE] [getDefaultPaths] 
[2025-08-19][08:01:10][webview:L3@tauri://localhost/assets/index-CjVoIJHI.js:278:10246][TRACE] [getVersion] 
[2025-08-19][08:01:10][webview:v5@tauri://localhost/assets/index-CjVoIJHI.js:59:5997][WARN] ⚠ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. 
[2025-08-19][08:01:10][webview:v5@tauri://localhost/assets/index-CjVoIJHI.js:59:5997][WARN] ⚠ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. 
[2025-08-19][08:01:10][webview:dM@tauri://localhost/assets/index-CjVoIJHI.js:279:35353][TRACE] [getDefaultPaths] 
[2025-08-19][08:01:10][webview:runCallback@user-script:5:284:15][TRACE] (main) window rebuild-tray requested 
[2025-08-19][08:01:10][webview:runCallback@user-script:5:284:15][TRACE] (main) window rebuild-tray requested 
[2025-08-19][08:01:10][reqwest::connect][DEBUG] starting new connection: http://localhost:5572/
[2025-08-19][08:01:10][reqwest::connect][DEBUG] starting new connection: http://localhost:5572/
[2025-08-19][08:01:10][webview][TRACE] [getDefaultPaths] json {
  "cache": "/home/xxxxxx/.cache/rclone",
  "config": "/home/xxxxxx/.config/rclone/rclone.conf",
  "temp": "/tmp"
}
[2025-08-19][08:01:10][webview:L3@tauri://localhost/assets/index-CjVoIJHI.js:278:10246][TRACE] [getVersion] 
[2025-08-19][08:01:10][webview][TRACE] [getVersion] r {"arch":"amd64","decomposed":[1,70,3],"goTags":"none","goVersion":"go1.24.5","isBeta":false,"isGit":false,"linking":"dynamic","os":"linux","version":"v1.70.3"}
[2025-08-19][08:01:10][reqwest::connect][DEBUG] starting new connection: http://localhost:5572/
[2025-08-19][08:01:10][webview][TRACE] [getDefaultPaths] json {
  "cache": "/home/xxxxxx/.cache/rclone",
  "config": "/home/xxxxxx/.config/rclone/rclone.conf",
  "temp": "/tmp"
}
[2025-08-19][08:01:10][webview:L3@tauri://localhost/assets/index-CjVoIJHI.js:278:10246][TRACE] [getVersion] 
[2025-08-19][08:01:10][reqwest::connect][DEBUG] starting new connection: http://localhost:5572/
[2025-08-19][08:01:10][webview][TRACE] [getVersion] r {"arch":"amd64","decomposed":[1,70,3],"goTags":"none","goVersion":"go1.24.5","isBeta":false,"isGit":false,"linking":"dynamic","os":"linux","version":"v1.70.3"}
[2025-08-19][08:01:10][reqwest::connect][DEBUG] starting new connection: http://localhost:5572/
[2025-08-19][08:01:11][webview][TRACE] [getVersion] r {"arch":"amd64","decomposed":[1,70,3],"goTags":"none","goVersion":"go1.24.5","isBeta":false,"isGit":false,"linking":"dynamic","os":"linux","version":"v1.70.3"}
[2025-08-19][08:01:11][webview:Gt@tauri://localhost/out.js:4:54905][TRACE] [rebuildTrayMenu] 
[2025-08-19][08:01:11][webview:wi@tauri://localhost/out.js:4:54567][TRACE] [buildMenu] 
[2025-08-19][08:01:11][webview:Gt@tauri://localhost/out.js:4:54905][TRACE] [rebuildTrayMenu] 
[2025-08-19][08:01:11][webview][TRACE] [rebuildTrayMenu] tray menu rebuilt 
[2025-08-19][08:01:11][webview:wi@tauri://localhost/out.js:4:54567][TRACE] [buildMenu] 
[2025-08-19][08:01:11][webview][TRACE] [rebuildTrayMenu] tray menu rebuilt 
Gdk-Message: 18:01:11.619: Error 71 (Protocol error) dispatching to Wayland display.

as seen in the GDK Message;

Gdk-Message: 18:01:11.619: Error 71 (Protocol error) dispatching to Wayland display.

It encounters protocol error while trying to open on Wayland display, where the application terminates since it's unable to open under Wayland.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions