Skip to content

Crash on surfer (macos m1) when loading an invalid decoder #44

Description

@elpekos

Surfer crashed due to a panic 😞
Please report this issue at https://gitlab.com/surfer-project/surfer/-/issues

Some notes on reports:
We are happy about any reports, but it makes it much easier for us to fix issues if you:

  • Include the information below
  • Try to reproduce the issue to give us steps on how to reproduce the issue
  • Include (minimal) waveform file and state file you used
    (you can upload those confidentially, for the surfer team only)

Surfer version: 0.7.0 (git: v0.7.0)
thread 'main' (ThreadId(1)) panicked at instruction-decoder/src/lib.rs:695:39
index not found

backtrace:
0: std::backtrace::Backtrace::create
1: surfer::main_impl::panic_handler
2: std::panicking::panic_with_hook
3: std::panicking::panic_handler::{{closure}}
4: std::sys::backtrace::__rust_end_short_backtrace
5: __rustc::rust_begin_unwind
6: core::panicking::panic_fmt
7: core::option::expect_failed
8: core::ops::function::impls::<impl core::ops::function::FnMut for &mut F>::call_mut
9: instruction_decoder::InstructionSet::new
10: core::ops::function::impls::<impl core::ops::function::FnMut for &mut F>::call_mut
11: instruction_decoder::Decoder::new_from_table
12: libsurfer::translation::find_user_decoders_at_path
13: libsurfer::translation::all_translators
14: libsurfer::system_state::SystemState::new
15: surfer::main_impl::main
16: std::sys::backtrace::__rust_begin_short_backtrace
17: _main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions