ibmruntimes / v8-zos

The official mirror of the V8 git repository
https://chromium.googlesource.com/v8/v8.git
Other
1 stars 1 forks source link

PPC64(BE/LE)/s390x Native Debug - test mjsunit/harmony/dataview-accessors failed #17

Open ytzi opened 8 years ago

ytzi commented 8 years ago

Error below:

=== mjsunit/harmony/dataview-accessors ===
#
# Fatal error in ../src/compiler/ppc/instruction-selector-ppc.cc, line 248
# Check failed: MachineRepresentation::kTagged == rep (kRepTagged vs. kRepTaggedPointer).
#

==== C stack trace ===============================

    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::base::debug::StackTrace::StackTrace()-0x15badfc) [0x10c0dc7c]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(V8_Fatal-0x15c0078) [0x10c07c80]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::InstructionSelector::VisitStore(v8::internal::compiler::Node*)-0xb449b8) [0x117d9670]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::InstructionSelector::VisitNode(v8::internal::compiler::Node*)-0x86d8e4) [0x11afeb94]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::InstructionSelector::VisitBlock(v8::internal::compiler::BasicBlock*)-0x86f128) [0x11afd320]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::InstructionSelector::SelectInstructions()-0x8736fc) [0x11af8884]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::InstructionSelectionPhase::Run(v8::internal::compiler::PipelineData*, v8::internal::Zone*, v8::internal::compiler::Linkage*)-0x13ba2e8) [0x10e62178]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(void v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::InstructionSelectionPhase, v8::internal::compiler::Linkage*>(v8::internal::compiler::Linkage*)-0x13b3fd8) [0x10e69760]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::PipelineImpl::ScheduleAndSelectInstructions(v8::internal::compiler::Linkage*)-0x13b81b0) [0x10e64748]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::PipelineImpl::OptimizeGraph(v8::internal::compiler::Linkage*)-0x13b8f20) [0x10e63918]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::compiler::PipelineCompilationJob::ExecuteJobImpl()-0x13bde88) [0x10e5dea0]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::CompilationJob::ExecuteJob()-0x1286a14) [0x10fcb6a4]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::OptimizingCompileDispatcher::CompileNext(v8::internal::CompilationJob*)-0x74a86c) [0x11c47d24]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::internal::OptimizingCompileDispatcher::CompileTask::Run()-0x74aca0) [0x11c478a8]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::platform::WorkerThread::Run()-0x1595484) [0x10c3c24c]
    /home/ytzi/v8/v8/out/ppc64.debug/d8(v8::base::Thread::NotifyStartedAndRun()-0x15b99b4) [0x10c0f6c4]
    /home/ytzi/v8/v8/out/ppc64.debug/d8() [0x10c10ee8]
    /lib64/libpthread.so.0() [0x801da9c5dc]
    /lib64/libc.so.6(clone-0xacd5c) [0x801d9ca9bc]
Received signal 6
Command: /home/ytzi/v8/v8/out/ppc64.debug/d8 --test --random-seed=-942945520 --turbo --nohard-abort --nodead-code-elimination --nofold-constants --enable-slow-asserts --debug-code --verify-heap /home/ytzi/v8/v8/test/mjsunit/mjsunit.js /home/ytzi/v8/v8/test/mjsunit/harmony/dataview-accessors.js
ytzi commented 8 years ago

The test seems to pass in native GDB and sim.

ytzi commented 8 years ago

Some of the test runs actually can pass... Still investigating. Suspecting some undefined behavior caused this error.

ytzi commented 8 years ago

In fact, in 200 repeated runs, 142 passed and 58 failed.

ytzi commented 8 years ago

In s390x with 200 repeated runs, PASSED: 113, FAILED: 87