facebookexperimental / hermit

Hermit launches linux x86_64 programs in a special, hermetically isolated sandbox to control their execution. Hermit translates normal, nondeterministic behavior, into deterministic, repeatable behavior. This can be used for various applications, including replay-debugging, reproducible artifacts, chaos mode concurrency testing and bug analysis.
Other
1.17k stars 31 forks source link

Unsupported processor with feature info #35

Closed ober closed 1 year ago

ober commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Indicate any of these common scenarios that apply:

To Reproduce Install https://github.com/gambit/gambit

Expected behavior Application to run

Environment

Additional context Attach the logs to this issue as a text file generated by hermit --log=trace --log-file=FOO run. 2022-12-22T19:17:27.703450Z TRACE mio::poll: registering event source with poller: token=Token(2147483649), interests=READABLE
2022-12-22T19:17:27.704077Z INFO detcore::scheduler::runqueue: DETLOG SCHEDRAND: seeding scheduler runqueue with seed 0 2022-12-22T19:17:27.705095Z INFO detcore::scheduler: [scheduler] daemon task starting up, waiting for guest thread start.. 2022-12-22T19:17:27.706020Z TRACE detcore: [tid 3] detcore init new thread state 2022-12-22T19:17:27.706049Z INFO detcore::tool_local: DETLOG USER RAND: seeding PRNG for root thread with seed 0 2022-12-22T19:17:27.706055Z INFO detcore::tool_local: DETLOG CHAOSRAND: seeding chaos scheduler with seed 0

Output -- mode: compilation; default-directory: "~/gambit/" -- Compilation started at Thu Dec 22 12:17:27

RUST_BACKTRACE=full hermit --log=trace --log-file=FOO run ~/opt/gambit/current/bin/gsi thread 'main' panicked at 'Unsupported processor with feature info: FeatureInfo { extended_family_id: 0, extended_model_id: 8, family_id: 6, model_id: 140, stepping_id: 1, brand_index: 0, cflush_cache_line_size: 8, initial_local_apic_id: 4, max_logical_processor_ids: 16, edx_ecx: SSE3 | PCLMULQDQ | DTES64 | MONITOR | DSCPL | VMX | SMX | EIST | TM2 | SSSE3 | FMA | CMPXCHG16B | PDCM | PCID | SSE41 | SSE42 | X2APIC | MOVBE | POPCNT | TSC_DEADLINE | AESNI | XSAVE | OSXSAVE | AVX | F16C | RDRAND | FPU | VME | DE | PSE | TSC | MSR | PAE | MCE | CX8 | APIC | SEP | MTRR | PGE | MCA | CMOV | PAT | PSE36 | CLFSH | DS | ACPI | MMX | FXSR | SSE | SSE2 | SS | HTT | TM | PBE | 0x4800 } Full family_model: (6, 140)', /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/timer.rs:75:16 stack backtrace: 0: 0x55f974ef5a0a - std::backtrace_rs::backtrace::libunwind::trace::h99dd587050ba3e19 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x55f974ef5a0a - std::backtrace_rs::backtrace::trace_unsynchronized::h8b5df2b58b05da41 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x55f974ef5a0a - std::sys_common::backtrace::_print_fmt::h1d345cbbcda56598 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/sys_common/backtrace.rs:65:5 3: 0x55f974ef5a0a - ::fmt::hd4402273fa33282a at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/sys_common/backtrace.rs:44:22 4: 0x55f974f1d22e - core::fmt::write::h6c95fd68e30f1c06 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/core/src/fmt/mod.rs:1208:17 5: 0x55f974ef1775 - std::io::Write::write_fmt::ha72b55fc69892a78 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/io/mod.rs:1682:15 6: 0x55f974ef57d5 - std::sys_common::backtrace::_print::hfacbef4ac726cf20 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/sys_common/backtrace.rs:47:5 7: 0x55f974ef57d5 - std::sys_common::backtrace::print::h249e5a7814647993 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/sys_common/backtrace.rs:34:9 8: 0x55f974ef6fbf - std::panicking::default_hook::{{closure}}::h1c72d3ce90cd0e69 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/panicking.rs:267:22 9: 0x55f974ef6cfb - std::panicking::default_hook::h5777cc883332a52f at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/panicking.rs:286:9 10: 0x55f974ef76cc - std::panicking::rust_panic_with_hook::hb3543478dcc6699f at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/panicking.rs:688:13 11: 0x55f974ef7469 - std::panicking::begin_panic_handler::{{closure}}::h8d087d6e3dd9013a at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/panicking.rs:579:13 12: 0x55f974ef5ebc - std::sys_common::backtrace::rust_end_short_backtrace::h4401a1f654fdffad at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/sys_common/backtrace.rs:137:18 13: 0x55f974ef7172 - rust_begin_unwind at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/std/src/panicking.rs:575:5 14: 0x55f973abff93 - core::panicking::panic_fmt::h6751b1ba85e41064 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/core/src/panicking.rs:64:14 15: 0x55f974234875 - reverie_ptrace::timer::get_rcb_perf_config::he0c5dcc47a57ca35 at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/timer.rs:75:16 16: 0x55f9742358cc - reverie_ptrace::timer::TimerImpl::new::h785265fb6021495f at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/timer.rs:478:30 17: 0x55f974234ee0 - reverie_ptrace::timer::Timer::new::h1fa9ca3d691a7bbd at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/timer.rs:166:22 18: 0x55f974157904 - reverie_ptrace::task::TracedTask::new::h8980e2eb93a18a8c at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/task.rs:376:20 19: 0x55f973e0cf8d - reverie_ptrace::tracer::postspawn::{{closure}}::hc86def5878a931aa at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/tracer.rs:329:22 20: 0x55f973e09323 - reverie_ptrace::tracer::TracerBuilder::spawn::{{closure}}::ha4b4f09aa399ec3d at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-ptrace/src/tracer.rs:512:90 21: 0x55f973d29fef - hermit::run::{{closure}}::ha3f17ea44af7c044 at /home/ober/hermit/hermit-cli/src/lib.rs:84:54 22: 0x55f973c86c15 - <core::pin::Pin

as core::future::future::Future>::poll::hb7067ae300c8eba3 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/core/src/future/future.rs:124:9 23: 0x55f973f59195 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::he9640a62eb01c38e at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:541:57 24: 0x55f973f58d34 - tokio::runtime::coop::with_budget::h7cec51fe53ef5beb at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:102:5 25: 0x55f973f58d34 - tokio::runtime::coop::budget::h6f2e843bfaf996ca at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:68:5 26: 0x55f973f58d34 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hcf1f321a085d8295 at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:541:25 27: 0x55f973f4e6a0 - tokio::runtime::scheduler::current_thread::Context::enter::h721d15a3fc6fa4aa at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:350:19 28: 0x55f973f5552e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h64441df5c5c7e3b2 at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:540:36 29: 0x55f973f52b63 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h69cf5335c26ae0e8 at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:615:57 30: 0x55f973fbc5f4 - tokio::macros::scoped_tls::ScopedKey::set::hc378d522f35920f3 at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/macros/scoped_tls.rs:61:9 31: 0x55f973f50ff1 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h0959c2d79ab5d06c at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:615:27 32: 0x55f973f52f44 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::ha91b27a9c74c2afa at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:530:19 33: 0x55f973f499f8 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h226321f08d98f660 at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/current_thread.rs:154:24 34: 0x55f9741b484a - tokio::runtime::runtime::Runtime::block_on::hc55f0d58ff5f0727 at /home/ober/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/runtime.rs:282:47 35: 0x55f973e450b7 - hermit::run::h75d5250ec8f53350 at /home/ober/hermit/hermit-cli/src/lib.rs:88:5 36: 0x55f973b7f42e - hermit::run::RunOpts::run_in_container::he130a8d16bc4583d at /home/ober/hermit/hermit-cli/src/bin/hermit/run.rs:841:26 37: 0x55f973b13ceb - hermit::run::RunOpts::run::{{closure}}::h8182dc596fa1b86c at /home/ober/hermit/hermit-cli/src/bin/hermit/run.rs:636:13 38: 0x55f973b4bc1f - hermit::container::with_container::{{closure}}::h5e7a23c4233df94d at /home/ober/hermit/hermit-cli/src/bin/hermit/container.rs:44:17 39: 0x55f973bc154a - reverie_process::container::Container::run::{{closure}}::{{closure}}::h2d5f818fa8c52b4e at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-process/src/container.rs:794:68 40: 0x55f973b2fcc2 - core::result::Result<T,E>::map::h6a35da28a28a5e1f at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/core/src/result.rs:774:25 41: 0x55f973bc121f - reverie_process::container::Container::run::{{closure}}::hd5b6b8e41321bdb3 at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-process/src/container.rs:794:29 42: 0x55f9748afbe6 - <alloc::boxed::Box<F,A> as core::ops::function::FnMut>::call_mut::hd72d8a61ca149bb2 at /rustc/b569c9dc57ee22b6ff94563af856909763dfa24b/library/alloc/src/boxed.rs:2016:9 43: 0x55f9748b1574 - reverie_process::clone::clone_with_stack::callback::haaa342ac61c5d002 at /home/ober/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/dba0b5b/reverie-process/src/clone.rs:29:9 44: 0x7f86ac511524 - clone 45: 0x0 - fatal runtime error: failed to initiate panic, error 5 Error: Sandbox container exited unexpectedly

Process exited with code: Signaled(SIGSEGV, true)