Skip to content

rustic-rs Crash Report #1878

Description

@Insomniac66

I encountered this while piping the output of rustic snapshots into less. Once I decided to quit less, rustic crashed.

ETA: This needs a sufficiently long list of snapshots to repro, so that rustic is actually interrupted mid output

name = "rustic-rs"
operating_system = "Linux (NixOS 26.11) [x86_64]"
crate_version = "0.11.3"
explanation = """
Panic occurred in file '/rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library/std/src/io/stdio.rs' at line 1166
"""
cause = "failed printing to stdout: Broken pipe (os error 32)"
method = "Panic"
backtrace = """
   0:     0x5b1ffdd8e5b7 - human_panic[8a8d38a999ebdf65]::panic::setup_panic::<<rustic_rs[814f049e9eb3bf83]::commands::EntryPoint as abscissa_core[c5ea2ab1b3261721]::runnable::Runnable>::run::{closure#2}>::{closure#0}
   1:     0x5b1ffde4d2d0 - std[5d98751fec7814e2]::panicking::panic_with_hook
   2:     0x5b1ffde672c1 - std[5d98751fec7814e2]::panicking::panic_handler::{closure#0}
   3:     0x5b1ffde67279 - std[5d98751fec7814e2]::sys::backtrace::__rust_end_short_backtrace::<std[5d98751fec7814e2]::panicking::panic_handler::{closure#0}, !>
   4:     0x5b1ffde4ad2c - __rustc[e5c730d067dcbd95]::rust_begin_unwind
   5:     0x5b1ffcc3520b - core[4a460fc38180a4ea]::panicking::panic_fmt
   6:     0x5b1ffde69507 - std[5d98751fec7814e2]::io::stdio::_print
   7:     0x5b1ffdc1b2d4 - rustic_rs[814f049e9eb3bf83]::commands::snapshots::print_snapshots
   8:     0x5b1ffccc1138 - <rustic_rs[814f049e9eb3bf83]::repository::AllRepositoryOptions>::run_with_progress::<(), rustic_rs[814f049e9eb3bf83]::config::progress_options::ProgressOptions, <rustic_rs[814f049e9eb3bf83]::repository::AllRepositoryOptions>::run_open<(), <rustic_rs[814f049e9eb3bf83]::commands::snapshots::SnapshotCmd as abscissa_core[c5ea2ab1b3261721]::runnable::Runnable>::run::{closure#0}>::{closure#0}>
   9:     0x5b1ffccad7bc - <rustic_rs[814f049e9eb3bf83]::commands::snapshots::SnapshotCmd as abscissa_core[c5ea2ab1b3261721]::runnable::Runnable>::run
  10:     0x5b1ffdb7e265 - <rustic_rs[814f049e9eb3bf83]::commands::EntryPoint as abscissa_core[c5ea2ab1b3261721]::runnable::Runnable>::run
  11:     0x5b1ffcd44676 - <rustic_rs[814f049e9eb3bf83]::application::RusticApp as abscissa_core[c5ea2ab1b3261721]::application::Application>::run::<std[5d98751fec7814e2]::env::ArgsOs, std[5d98751fec7814e2]::ffi::os_str::OsString>
  12:     0x5b1ffcd3efbd - abscissa_core[c5ea2ab1b3261721]::application::boot::<rustic_rs[814f049e9eb3bf83]::application::RusticApp>
  13:     0x5b1ffcd45629 - rustic[dd6ff985250887e9]::main
  14:     0x5b1ffcd3efc6 - std[5d98751fec7814e2]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
  15:     0x5b1ffcd48556 - main
  16:     0x70566b1d5285 - __libc_start_call_main
  17:     0x70566b1d5338 - __libc_start_main_alias_2
  18:     0x5b1ffcd3e415 - _start
  19:                0x0 - <unresolved>
"""

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