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

[cpuprofiler] cctest/test-cpu-profiler Debug check failed Type::NUMBER_OF_TYPES #192

Closed
taoliq opened this issue Aug 23, 2020 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@taoliq
Copy link

taoliq commented Aug 23, 2020

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

To Reproduce
Steps to reproduce the behavior:

  1. Build with options riscv64.native.debug
  2. Run test/program riscv64.native.debug/cctest test-cpu-profiler/CrossScriptInliningCallerLineNumbers --random-seed=138862460 --nohard-abort -- enable-slow-asserts --verify-heap --testing-d8-test-runner
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Errors/Logs

=== cctest/test-cpu-profiler/CrossScriptInliningCallerLineNumbers ===
--- stderr ---
#
# Fatal error in ../../src/execution/frames.h, line 154
# Debug check failed: static_cast<uintptr_t>(type) < Type::NUMBER_OF_TYPES (137437960388 vs. 23).
#
#
#
#FailureMessage Object: 0x3fffe19e58
==== C stack trace ===============================

    /home/riscv/riscv64.native.debug/cctest(+0x340e048) [0x2ada7f4048]
    /home/riscv/riscv64.native.debug/cctest(+0x33649f2) [0x2ada74a9f2]
    /home/riscv/riscv64.native.debug/cctest(+0x314e362) [0x2ada534362]
    /home/riscv/riscv64.native.debug/cctest(+0x314e38c) [0x2ada53438c]
    /home/riscv/riscv64.native.debug/cctest(+0x12701da) [0x2ad86561da]
    /home/riscv/riscv64.native.debug/cctest(+0x126b1c2) [0x2ad86511c2]
    /home/riscv/riscv64.native.debug/cctest(+0x126b25e) [0x2ad865125e]
    /home/riscv/riscv64.native.debug/cctest(+0x126b2f8) [0x2ad86512f8]
    /home/riscv/riscv64.native.debug/cctest(+0x17469d0) [0x2ad8b2c9d0]
    /home/riscv/riscv64.native.debug/cctest(+0x1747050) [0x2ad8b2d050]
    /home/riscv/riscv64.native.debug/cctest(+0x1716e4c) [0x2ad8afce4c]
    /home/riscv/riscv64.native.debug/cctest(+0x1abb710) [0x2ad8ea1710]
    /home/riscv/riscv64.native.debug/cctest(+0x1abb794) [0x2ad8ea1794]
    linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x3fc1e2d800]
    /home/riscv/riscv64.native.debug/cctest(+0x12051ee) [0x2ad85eb1ee]
    /home/riscv/riscv64.native.debug/cctest(+0x1214482) [0x2ad85fa482]
    /home/riscv/riscv64.native.debug/cctest(+0x1214e1a) [0x2ad85fae1a]
    [0xd894c34d0]
Command: /home/riscv/riscv64.native.debug/cctest test-cpu-profiler/CrossScriptInliningCallerLineNumbers --random-seed=138862460 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner

Additional context
Three other tests fail in a similar way:

riscv64.native.debug/cctest test-cpu-profiler/DeoptAtFirstLevelInlinedSource --random-seed=138862460 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner

and

riscv64.native.debug/cctest test-cpu-profiler/DeoptAtSecondLevelInlinedSource --random-seed=138862460 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner

and

riscv64.native.debug/cctest test-cpu-profiler/DeoptUntrackedFunction --random-seed=138862460 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner
@penguinwu
Copy link

@LOGQTAINIA #192, #193, #194 look like the same bug manifesting in three tests, so I consolidate three into one, so that we have a realistic idea of outstanding issues.

@luyahan
Copy link
Collaborator

luyahan commented Aug 26, 2021

Due to Push implement details

https://groups.google.com/g/v8-dev/c/jmhKVTv-fWE

@luyahan luyahan changed the title [RISCV64 Branch][QEMU 5.0.0] cctest/test-cpu-profiler/CrossScriptInliningCallerLineNumbers failed [cpuprofiler] cctest/test-cpu-profiler Debug check failed Type::NUMBER_OF_TYPES Aug 26, 2021
@luyahan
Copy link
Collaborator

luyahan commented Aug 26, 2021

./cctest test-cpu-profiler/FunctionCallSample --random-seed=-1183195194 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner --stress-opt --stress-lazy-source-positions --no-wasm-generic-wrapper --stop-sim-at 78663229

commit:c73400e1f3f3b2a86baa9b850e2efd128340cfa1

@qjivy
Copy link
Collaborator

qjivy commented Aug 26, 2021

@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
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants