rustic icon indicating copy to clipboard operation
rustic copied to clipboard

panic on pruning SFTP via opendal

Open NobbZ opened this issue 7 months ago • 0 comments

Since I switched from rclone-SFTP to opendal SFTP I regularly have the problem, that during prune I get various errors from rustic about 0-length files.

After removing them and doing repair index and repair snapshots it usually worked again for a day or 2, though since today I get dumps like the following:

name = "rustic-rs"
operating_system = "NixOS 25.5.0 [unknown bitness]"
crate_version = "0.9.5"
explanation = """
Panic occurred in file '/build/rustic-0.9.5-vendor/rustic_core-0.7.2/src/blob/tree.rs' at line 806
"""
cause = 'called `Result::unwrap()` on an `Err` value: "SendError(..)"'
method = "Panic"
backtrace = """
   0:     0x55a3488033ec - rust_begin_unwind
   1:     0x55a3478980ff - core::panicking::panic_fmt::h9f331d0a33e30d27
   2:     0x55a347897f95 - core::result::unwrap_failed::h90d7dfd69d703875
   3:     0x55a3484062e1 - std::sys::backtrace::__rust_begin_short_backtrace::hb4c54793df3d8c15
   4:     0x55a348542c9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbb51208c7bb81284
   5:     0x55a3487ee96b - std::sys::pal::unix::thread::Thread::new::thread_start::h8417654da8bf1f1f
   6:     0x7f3397c972e3 - start_thread
   7:     0x7f3397d1b2fc - __GI___clone3
   8:                0x0 - <unresolved>
"""

NobbZ avatar Mar 23 '25 15:03 NobbZ