Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4784

[drlvm][jit][opt] Loop peeling segfaults on smoke perf/ThrowMany

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M4
    • DRLVM
    • None
    • x86 release, debug

    Description

      To reproduce (-Dtest.mode=jit is for selecting single mode run):
      >sh build.sh smoke.test -Dtest.mode=jit -Dtest.vmargs="-Xem:server_static" -Dtest.case=perf/ThrowMany.java

      SIGSEGV in VM code.
      Stack trace:
      0: Jitrino::CFGInst::getNode() const (/export/users2/avarlamo/working_vm/vm/jitrino/src/shared/ControlFlowGraph.h:274)
      1: Jitrino::ControlFlowGraph::splitNodeAtInstruction(Jitrino::CFGInst*, bool, bool, Jitrino::CFGInst*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/shared/ControlFlowGraph.cpp:448)
      2: Jitrino::LoopBuilder::peelLoops(Jitrino::StlVector<Jitrino::Edge*, Jitrino::StlMMAllocator<Jitrino::Edge*> >&) (/export/users2/avarlamo/working_vm/vm/jitrino/src/optimizer/Loop.cpp:520)
      3: Jitrino::LoopBuilder::peelLoops() (/export/users2/avarlamo/working_vm/vm/jitrino/src/optimizer/Loop.cpp:861)
      4: Jitrino::LoopPeelingPass::_run(Jitrino::IRManager&) (/export/users2/avarlamo/working_vm/vm/jitrino/src/optimizer/Loop.cpp:47)
      5: Jitrino::OptPass::run() (/export/users2/avarlamo/working_vm/vm/jitrino/src/optimizer/optpass.cpp:61)
      6: Jitrino::runPipeline(Jitrino::CompilationContext*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/main/Jitrino.cpp:228)
      7: Jitrino::compileMethod(Jitrino::CompilationContext*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/main/Jitrino.cpp:245)
      8: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/main/Jitrino.cpp:262)
      9: JIT_compile_method_with_params (/export/users2/avarlamo/working_vm/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:284)

      Attachments

        1. H4784.patch
          4 kB
          Evgueni Brevnov

        Activity

          People

            varlax Alexey Varlamov
            varlax Alexey Varlamov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: