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

native regression test on unmatched001@PLCT PTS #508

Closed
qjivy opened this issue Aug 23, 2021 · 4 comments
Closed

native regression test on unmatched001@PLCT PTS #508

qjivy opened this issue Aug 23, 2021 · 4 comments

Comments

@qjivy
Copy link
Collaborator

qjivy commented Aug 23, 2021

Here we get an initial test on unmatched001 with native debug build.

Several cases are fail so we need to check and fix.

@qjivy
Copy link
Collaborator Author

qjivy commented Aug 23, 2021

Here is the raw log file.
log.txt

The failure cases:

fail.txt

@qjivy
Copy link
Collaborator Author

qjivy commented Aug 23, 2021

Two of the failures are related to the previously failures, #192, #193, #194, #216, #262, #237, as well as
https://ci.rvperf.org/view/V8/job/v8-upstream-master/578/consoleText
https://ci.rvperf.org/view/V8/job/v8-upstream-master/579/consoleText
https://ci.rvperf.org/view/V8/job/v8-upstream-master/580/consoleText

which are:

Command: out/riscv64.native.debug/cctest test-cpu-profiler/CollectDeoptEvents --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner

#
# Fatal error in ../../src/execution/frames.h, line 184
# Debug check failed: static_cast<uintptr_t>(type) < Type::NUMBER_OF_TYPES (2308094809027379200 vs. 23). 
#
#
#
#FailureMessage Object: 0x3fffdcc528
==== C stack trace ===============================

    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::base::debug::StackTrace::StackTrace()+0x18) [0x2ac2cc9ad0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x41b75f0) [0x2ac29e45f0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Fatal(char const*, int, char const*, ...)+0xe2) [0x2ac29cf0dc]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Dcheck(char const*, int, char const*)+0) [0x2ac29cf106]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::StackFrame::ComputeType(v8::internal::StackFrameIteratorBase const*, v8::internal::StackFrame::State*)+0x28c) [0x2ac05c2838]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::IsValidCaller(v8::internal::StackFrame*)+0x7e) [0x2ac05be7de]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::AdvanceOneFrame()+0x48) [0x2ac05be876]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::Advance()+0x2c) [0x2ac05be90c]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::GetStackSample(v8::internal::Isolate*, v8::RegisterState*, v8::internal::TickSample::RecordCEntryFrame, void**, unsigned long, v8::SampleInfo*, v8::StateTag*, bool)+0x352) [0x2ac0af5416]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::Init(v8::internal::Isolate*, v8::RegisterState const&, v8::internal::TickSample::RecordCEntryFrame, bool, bool, v8::base::TimeDelta)+0x60) [0x2ac0af5760]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::CpuSampler::SampleStack(v8::RegisterState const&)+0xd6) [0x2ac0ac8a80]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SamplerManager::DoSample(v8::RegisterState const&)+0x98) [0x2ac080926a]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SignalHandler::HandleProfilerSignal(int, siginfo_t*, void*)+0x36) [0x2ac080933c]
    linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x3fd30bf800]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Code::OffHeapInstructionStart() const+0x162) [0x2ac083ae52]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeUnoptimizedFrame(v8::internal::TranslatedFrame*, int, bool)+0xc4c) [0x2ac05538c0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeOutputFrames()+0x556) [0x2ac0556b58]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x3746804) [0x2ac1f73804]
Aborted (core dumped)
Command: out/riscv64.native.debug/cctest test-cpu-profiler/CollectDeoptEvents --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner
--- FAILED ---
Command: out/riscv64.native.debug/cctest test-cpu-profiler/CrossScriptInliningCallerLineNumbers --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner
#
# Fatal error in ../../src/execution/frames.h, line 184
# Debug check failed: static_cast<uintptr_t>(type) < Type::NUMBER_OF_TYPES (137436581128 vs. 23).
#
#
#
#FailureMessage Object: 0x3fffb78678
==== C stack trace ===============================

    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::base::debug::StackTrace::StackTrace()+0x18) [0x2ace54cad0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x41b75f0) [0x2ace2675f0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Fatal(char const*, int, char const*, ...)+0xe2) [0x2ace2520dc]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Dcheck(char const*, int, char const*)+0) [0x2ace252106]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::StackFrame::ComputeType(v8::internal::StackFrameIteratorBase const*, v8::internal::StackFrame::State*)+0x28c) [0x2acbe45838]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::IsValidCaller(v8::internal::StackFrame*)+0x7e) [0x2acbe417de]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::AdvanceOneFrame()+0x48) [0x2acbe41876]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::Advance()+0x2c) [0x2acbe4190c]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::GetStackSample(v8::internal::Isolate*, v8::RegisterState*, v8::internal::TickSample::RecordCEntryFrame, void**, unsigned long, v8::SampleInfo*, v8::StateTag*, bool)+0x352) [0x2acc378416]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::Init(v8::internal::Isolate*, v8::RegisterState const&, v8::internal::TickSample::RecordCEntryFrame, bool, bool, v8::base::TimeDelta)+0x60) [0x2acc378760]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::CpuSampler::SampleStack(v8::RegisterState const&)+0xd6) [0x2acc34ba80]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SamplerManager::DoSample(v8::RegisterState const&)+0x98) [0x2acc08c26a]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SignalHandler::HandleProfilerSignal(int, siginfo_t*, void*)+0x36) [0x2acc08c33c]
    linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x3ff64cb800]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Isolate::CurrentEmbeddedBlobCode()+0) [0x2acbe57414]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Code::OffHeapInstructionStart() const+0x2a) [0x2acc0bdd1a]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeUnoptimizedFrame(v8::internal::TranslatedFrame*, int, bool)+0xf4e) [0x2acbdd6bc2]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeOutputFrames()+0x556) [0x2acbdd9b58]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x3745f04) [0x2acd7f5f04]
Aborted (core dumped)

@qjivy
Copy link
Collaborator Author

qjivy commented Aug 26, 2021

Two of the failures are related to the previously failures, #192, #193, #194, #216, #236, #237, as well as
https://ci.rvperf.org/view/V8/job/v8-upstream-master/578/consoleText
https://ci.rvperf.org/view/V8/job/v8-upstream-master/579/consoleText
https://ci.rvperf.org/view/V8/job/v8-upstream-master/580/consoleText

which are:

Command: out/riscv64.native.debug/cctest test-cpu-profiler/CollectDeoptEvents --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner

#
# Fatal error in ../../src/execution/frames.h, line 184
# Debug check failed: static_cast<uintptr_t>(type) < Type::NUMBER_OF_TYPES (2308094809027379200 vs. 23). 
#
#
#
#FailureMessage Object: 0x3fffdcc528
==== C stack trace ===============================

    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::base::debug::StackTrace::StackTrace()+0x18) [0x2ac2cc9ad0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x41b75f0) [0x2ac29e45f0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Fatal(char const*, int, char const*, ...)+0xe2) [0x2ac29cf0dc]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Dcheck(char const*, int, char const*)+0) [0x2ac29cf106]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::StackFrame::ComputeType(v8::internal::StackFrameIteratorBase const*, v8::internal::StackFrame::State*)+0x28c) [0x2ac05c2838]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::IsValidCaller(v8::internal::StackFrame*)+0x7e) [0x2ac05be7de]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::AdvanceOneFrame()+0x48) [0x2ac05be876]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::Advance()+0x2c) [0x2ac05be90c]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::GetStackSample(v8::internal::Isolate*, v8::RegisterState*, v8::internal::TickSample::RecordCEntryFrame, void**, unsigned long, v8::SampleInfo*, v8::StateTag*, bool)+0x352) [0x2ac0af5416]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::Init(v8::internal::Isolate*, v8::RegisterState const&, v8::internal::TickSample::RecordCEntryFrame, bool, bool, v8::base::TimeDelta)+0x60) [0x2ac0af5760]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::CpuSampler::SampleStack(v8::RegisterState const&)+0xd6) [0x2ac0ac8a80]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SamplerManager::DoSample(v8::RegisterState const&)+0x98) [0x2ac080926a]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SignalHandler::HandleProfilerSignal(int, siginfo_t*, void*)+0x36) [0x2ac080933c]
    linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x3fd30bf800]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Code::OffHeapInstructionStart() const+0x162) [0x2ac083ae52]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeUnoptimizedFrame(v8::internal::TranslatedFrame*, int, bool)+0xc4c) [0x2ac05538c0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeOutputFrames()+0x556) [0x2ac0556b58]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x3746804) [0x2ac1f73804]
Aborted (core dumped)
Command: out/riscv64.native.debug/cctest test-cpu-profiler/CollectDeoptEvents --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner
--- FAILED ---
Command: out/riscv64.native.debug/cctest test-cpu-profiler/CrossScriptInliningCallerLineNumbers --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner
#
# Fatal error in ../../src/execution/frames.h, line 184
# Debug check failed: static_cast<uintptr_t>(type) < Type::NUMBER_OF_TYPES (137436581128 vs. 23).
#
#
#
#FailureMessage Object: 0x3fffb78678
==== C stack trace ===============================

    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::base::debug::StackTrace::StackTrace()+0x18) [0x2ace54cad0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x41b75f0) [0x2ace2675f0]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Fatal(char const*, int, char const*, ...)+0xe2) [0x2ace2520dc]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(V8_Dcheck(char const*, int, char const*)+0) [0x2ace252106]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::StackFrame::ComputeType(v8::internal::StackFrameIteratorBase const*, v8::internal::StackFrame::State*)+0x28c) [0x2acbe45838]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::IsValidCaller(v8::internal::StackFrame*)+0x7e) [0x2acbe417de]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::AdvanceOneFrame()+0x48) [0x2acbe41876]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::SafeStackFrameIterator::Advance()+0x2c) [0x2acbe4190c]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::GetStackSample(v8::internal::Isolate*, v8::RegisterState*, v8::internal::TickSample::RecordCEntryFrame, void**, unsigned long, v8::SampleInfo*, v8::StateTag*, bool)+0x352) [0x2acc378416]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::TickSample::Init(v8::internal::Isolate*, v8::RegisterState const&, v8::internal::TickSample::RecordCEntryFrame, bool, bool, v8::base::TimeDelta)+0x60) [0x2acc378760]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::CpuSampler::SampleStack(v8::RegisterState const&)+0xd6) [0x2acc34ba80]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SamplerManager::DoSample(v8::RegisterState const&)+0x98) [0x2acc08c26a]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::sampler::SignalHandler::HandleProfilerSignal(int, siginfo_t*, void*)+0x36) [0x2acc08c33c]
    linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x3ff64cb800]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Isolate::CurrentEmbeddedBlobCode()+0) [0x2acbe57414]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Code::OffHeapInstructionStart() const+0x2a) [0x2acc0bdd1a]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeUnoptimizedFrame(v8::internal::TranslatedFrame*, int, bool)+0xf4e) [0x2acbdd6bc2]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(v8::internal::Deoptimizer::DoComputeOutputFrames()+0x556) [0x2acbdd9b58]
    /home/luyahan/v8/out/riscv64.native.debug/cctest(+0x3745f04) [0x2acd7f5f04]
Aborted (core dumped)

The following 2 commit clear the above bugs.

https://chromium-review.googlesource.com/c/v8/v8/+/3118554
https://chromium-review.googlesource.com/c/v8/v8/+/3118615

@qjivy
Copy link
Collaborator Author

qjivy commented Aug 26, 2021

Segmentation fault (core dumped)
Command: out/riscv64.native.debug/cctest test-assembler-riscv64/RISCV0 --random-seed=-2015282085 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner
--- FAILED --

Fixed by
https://chromium-review.googlesource.com/c/v8/v8/+/3103425

@qjivy qjivy closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant