Skip to content

rustic-rs Crash Report #1790

Description

@TabNoc

I like this project a lot, thank you.

Whenever I try to work with one repo, the application panics

report:

name = "rustic-rs"
operating_system = "Linux (Fedora Linux 44) [x86_64]"
crate_version = "0.11.3"
explanation = """
Panic occurred in file '/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustic_core-0.12.0/src/blob/tree.rs' at line 683
"""
cause = 'called `Result::unwrap()` on an `Err` value: "SendError(..)"'
method = "Panic"
backtrace = """
   0:          0x24cb51f - <unresolved>
   1:          0x257475f - <unresolved>
   2:          0x259cb27 - <unresolved>
   3:          0x259cad9 - <unresolved>
   4:          0x259cfdc - <unresolved>
   5:          0x140f19b - <unresolved>
   6:          0x1414b51 - <unresolved>
   7:          0x22ce878 - <unresolved>
   8:          0x23d4f9e - <unresolved>
   9:          0x259f518 - <unresolved>
"""

output:

rustic -P restic_ prune
[00:00:01] reading index...               ████████████████████████████████████████        209/209                                                                                                                                                                                          
[00:00:00] reading snapshots...           ████████████████████████████████████████       1714/1714                                                                                                                                                                                         rustic-rs had a problem and crashed. To help us diagnose the problem you can send us a crash report.                                                                                                                                                                                       

We have generated a report file at "/tmp/report-b45d19fc-a685-4c8f-964f-87b8f82f8c1e.toml". Submit an issue or email with the subject of "rustic-rs Crash Report" and include the report as an attachment.

- Homepage: https://rustic.cli.rs/
- Authors: the rustic-rs team

We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.

Thank you kindly!
Aborted                    (core dumped) rustic -P restic_ prune

running a restic check is not displaying any problems, but rustic:

RUST_BACKTRACE=full rustic -P restic_ check
[ERROR] error checking trees : `rustic_core` experienced an error related to `internal operations`.

Message:
Failed to deserialize tree from JSON.

We believe this is a bug, please report it by opening an issue at:
https://github.com/rustic-rs/rustic_core/issues/new

If you can, please attach an anonymized debug log to the issue.

Thank you for helping us improve rustic!


Some additional details ...

Caused by:
missing field `linktarget` at line 1 column 261


Backtrace:

thread '<unnamed>' (113320) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustic_core-0.12.0/src/blob/tree.rs:683:26:
called `Result::unwrap()` on an `Err` value: "SendError(..)"
stack backtrace:
   0:          0x257591a - <unknown>
   1:          0x140f30a - <unknown>
   2:          0x2574bc5 - <unknown>
   3:          0x25748e7 - <unknown>
   4:          0x259cb27 - <unknown>
   5:          0x259cad9 - <unknown>
   6:          0x259cfdc - <unknown>
   7:          0x140f19b - <unknown>
   8:          0x1414b51 - <unknown>
   9:          0x22ce878 - <unknown>
  10:          0x23d4f9e - <unknown>
  11:          0x259f518 - <unknown>
Aborted                    (core dumped) RUST_BACKTRACE=full rustic -P restic_ check

I tried disabling the cache, let the application recreate the cache, executed rustic -P restic_ repair index without any changes.

I think I did a rustic forget before this issue appeared, but I am not 100% certian

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-triageStatus: Waiting for a maintainer to triage this issue/PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions