riscv-collab / v8

Port of Google v8 engine to RISC-V.
https://github.com/v8-riscv/v8/wiki
Other
237 stars 31 forks source link

cctest test-bytecode-generator/CountOperators failed #611

Closed qjivy closed 2 years ago

qjivy commented 2 years ago

cmdline in the outdir:

./cctest test-bytecode-generator/CountOperators

fail log:


#
# Fatal error in ../../src/objects/object-type.cc, line 48
# Type cast failed in CAST(maybe_vector) at ../../src/codegen/code-stub-assembler.cc:10532
  Expected FeedbackVector but found Smi: 0x0 (0) 

#
#
#
#FailureMessage Object: 0xffc115e8
==== C stack trace ===============================

    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libbase.so(v8::base::debug::StackTrace::StackTrace()+0x2c) [0xf7f1092c]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libplatform.so(+0x515fe) [0xf7e5d5fe]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libbase.so(V8_Fatal(char const*, int, char const*, ...)+0x134) [0xf7ed6294]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::CheckObjectType(unsigned int, unsigned int, unsigned int)+0x8c21) [0xf55a3311]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::Simulator::SoftwareInterrupt()+0xf73) [0xf606f8f3] 
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::Simulator::DecodeRVIType()+0x11ea) [0xf6079bda]    
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::Simulator::InstructionDecode(v8::internal::Instruction*)+0x274) [0xf606bf14]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::Simulator::Execute()+0xf5) [0xf607e7a5]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::Simulator::CallInternal(unsigned int)+0x5ae) [0xf607ed8e]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(v8::internal::Simulator::CallImpl(unsigned int, int, int const*)+0x4de) [0xf607fe5e]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_for_testing.so(unsigned int v8::internal::SimulatorBase::VariadicCall<unsigned int, v8::internal::Simulator, int (v8::internal::Simulator::*)(unsigned int, int, int const*), unsigned int, unsigned int, unsigned int, unsigned int, int, unsigned int**>(v8::internal::Simulator*, int (v8::internal::Simulator::*)(unsigned int, int, int const*), unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int, unsigned int**)+0x146) [0xf4ba0a56]
qjivy commented 2 years ago

Done by #640