Skip to content

[Crash] index out of bounds in rclone_mount.rs:307:39 (v0.8.0) #1973

@362823844

Description

@362823844

Description

The application crashes immediately on startup/rclone operation. Even after clearing Application Support files, the crash persists. Running the app via Terminal reveals a panic in the tokio-runtime-worker thread.

Error Log (Key Information)

Plaintext
thread 'tokio-runtime-worker' panicked at src/cmd/rclone_mount.rs:307:39:
index out of bounds: the len is 4 but the index is 4
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
zsh: abort /Applications/OpenList\ Desktop.app/Contents/MacOS/openlist-desktop
Environment

OS: macOS 15.7.3 (Sequoia)

Arch: ARM-64 (Apple Silicon)

App Version: 0.8.0

SIP Status: Disabled (Note: User report shows SIP is disabled)

Steps to Reproduce

Launch OpenList Desktop 0.8.0 on macOS 15.

The app crashes before the main window is fully functional (or during rclone scanning).

Additional Context

The error suggests a hardcoded index access in rclone_mount.rs at line 307. It seems the code expects at least 5 elements in an array/vector but only found 4. This might be related to how mount paths or rclone config strings are being split/parsed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions