Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported processor with feature info #35

Closed
4 of 6 tasks
ober opened this issue Dec 22, 2022 · 0 comments
Closed
4 of 6 tasks

Unsupported processor with feature info #35

ober opened this issue Dec 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ober
Copy link

ober commented Dec 22, 2022

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

Indicate any of these common scenarios that apply:

  • a program hangs under hermit
  • hermit panics internally
  • hermit runs the program but divergence (nondeterminism) occurs

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

Expected behavior
Application to run

Environment

  • Linux kernel version (uname -a):
    Linux fedora 6.0.12-200.fc36.x86_64 Adding Contributing file #1 SMP PREEMPT_DYNAMIC Thu Dec 8 17:15:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  • CPU version (/proce/cpuinfo):
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 140
    model name : 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    stepping : 1
    microcode : 0xa4
    cpu MHz : 3000.000
    cache size : 12288 KB
    physical id : 0
    siblings : 8
    core id : 0
    cpu cores : 4
    apicid : 0
    initial apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 27
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 invpcid_single cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
    vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling
    bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb
    bogomips : 5990.40
    clflush size : 64
    cache_alignment : 64
    address sizes : 39 bits physical, 48 bits virtual
    power management:

  • Linux distro flavor (/etc/issue, /etc/redhat-release):
    Fedora release 36 (Thirty Six)

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 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::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/jackfan.us.kg-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/jackfan.us.kg-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs:102:5
25: 0x55f973f58d34 - tokio::runtime::coop::budget::h6f2e843bfaf996ca
at /home/ober/.cargo/registry/src/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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/jackfan.us.kg-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)

@ober ober added the bug Something isn't working label Dec 22, 2022
@ober ober closed this as completed Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant