TaKO8Ki / frum

A little bit fast and modern Ruby version manager written in Rust
MIT License
636 stars 15 forks source link

Ruby 3.1.3 on macOS 12 with jemalloc: thread 'main' panicked... #124

Open ylluminate opened 1 year ago

ylluminate commented 1 year ago

Got a panic when trying to install with jemalloc:

$ RUST_BACKTRACE=full frum install --with-jemalloc 3.1.3
thread 'main' panicked at 'internal error: entered unreachable code', src/version.rs:33:13
stack backtrace:
   0:        0x10249a8d0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h26781f9bfbe134a6
   1:        0x1024b6868 - core::fmt::write::h5aa0c05a9caf85df
   2:        0x1024824cc - std::io::Write::write_fmt::h018da2c8c873b16b
   3:        0x10248cb40 - std::panicking::default_hook::{{closure}}::h0239cbf25cfa6d83
   4:        0x10248c7f4 - std::panicking::default_hook::ha0ef000a358742e2
   5:        0x10248d050 - std::panicking::rust_panic_with_hook::had5e29c8530a78b2
   6:        0x10249aba0 - std::panicking::begin_panic_handler::{{closure}}::h7852e5e8d2675e0d
   7:        0x10249a9e4 - std::sys_common::backtrace::__rust_end_short_backtrace::hf05a8afc922cafbe
   8:        0x10248cc54 - _rust_begin_unwind
   9:        0x1024c68c0 - core::panicking::panic_fmt::h94866529fc2e06b8
  10:        0x1024c67e0 - core::panicking::panic::h3be4af5aed488748
  11:        0x1021c8e94 - frum::version::Version::parse::h430d8859876e4e83
  12:        0x1021cef68 - <frum::input_version::InputVersion as core::str::traits::FromStr>::from_str::he4f304302669ff8e
  13:        0x1021cdf54 - core::option::Option<T>::map::h2d3472df1b074cbd
  14:        0x1021d0108 - frum::main::h466dcf51d48b3621
  15:        0x1021c9674 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc87fb2b5517d46c7
  16:        0x1021d16bc - std::rt::lang_start::{{closure}}::h5ea234273019ee75
  17:        0x102481d2c - std::rt::lang_start_internal::he17012042c5b2b42
  18:        0x1021d0f74 - _main