[llvm-bugs] [Bug 38575] New: MCA crash in mca::ResourceManager::use()

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 15 01:03:25 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38575

            Bug ID: 38575
           Summary: MCA crash in mca::ResourceManager::use()
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20717
  --> https://bugs.llvm.org/attachment.cgi?id=20717&action=edit
the diff ontop of git master

/build/llvm/utils/update_mca_test_checks.py --llvm-mca-binary
/build/llvm-build-GCC-release/bin/llvm-mca
/build/llvm/test/tools/llvm-mca/X86/BdVer2/*.s
Test: /build/llvm/test/tools/llvm-mca/X86/BdVer2/clear-super-register-1.s
Stack dump:
0.      Program arguments: /build/llvm-build-GCC-release/bin/llvm-mca
-mtriple=x86_64-unknown-unknown -mcpu=bdver2 -iterations=100
-resource-pressure=false -timeline -timeline-max-iterations=2 
#0 0x00007f70212b319a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/build/llvm-build-GCC-release/bin/../lib/libLLVMSupport.so.8svn+0x15b19a)
#1 0x00007f70212b1564 llvm::sys::RunSignalHandlers()
(/build/llvm-build-GCC-release/bin/../lib/libLLVMSupport.so.8svn+0x159564)
#2 0x00007f70212b16c5 SignalHandler(int)
(/build/llvm-build-GCC-release/bin/../lib/libLLVMSupport.so.8svn+0x1596c5)
#3 0x00007f702110a8e0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x128e0)
#4 0x00005562ae10bf13 mca::ResourceManager::use(std::pair<unsigned long,
unsigned long> const&) (/build/llvm-build-GCC-release/bin/llvm-mca+0x2ff13)
#5 0x00005562ae10d122 mca::ResourceManager::issueInstruction(mca::InstrDesc
const&, llvm::SmallVectorImpl<std::pair<std::pair<unsigned long, unsigned
long>, double> >&) (/build/llvm-build-GCC-release/bin/llvm-mca+0x31122)
#6 0x00005562ae10f30a mca::Scheduler::issueInstructionImpl(mca::InstRef&,
llvm::SmallVectorImpl<std::pair<std::pair<unsigned long, unsigned long>,
double> >&) (/build/llvm-build-GCC-release/bin/llvm-mca+0x3330a)
#7 0x00005562ae0f497f mca::ExecuteStage::issueReadyInstructions()
(/build/llvm-build-GCC-release/bin/llvm-mca+0x1897f)
#8 0x00005562ae10601a mca::Pipeline::runCycle()
(/build/llvm-build-GCC-release/bin/llvm-mca+0x2a01a)
#9 0x00005562ae106143 mca::Pipeline::run()
(/build/llvm-build-GCC-release/bin/llvm-mca+0x2a143)
#10 0x00005562ae10513a main
(/build/llvm-build-GCC-release/bin/llvm-mca+0x2913a)
#11 0x00007f7020c1ab17 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x22b17)
#12 0x00005562ae0f102a _start
(/build/llvm-build-GCC-release/bin/llvm-mca+0x1502a)
Segmentation fault
Traceback (most recent call last):
  File "/build/llvm/utils/update_mca_test_checks.py", line 502, in <module>
    sys.exit(main())
  File "/build/llvm/utils/update_mca_test_checks.py", line 487, in main
    block_infos = _get_block_infos(run_infos, test_path, args, common_prefix)
  File "/build/llvm/utils/update_mca_test_checks.py", line 261, in
_get_block_infos
    test_path)
  File "/build/llvm/utils/UpdateTestChecks/common.py", line 40, in invoke_tool
    shell=True, stdin=ir_file)
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command
'/build/llvm-build-GCC-release/bin/llvm-mca -mtriple=x86_64-unknown-unknown
-mcpu=bdver2 -iterations=100 -resource-pressure=false -timeline
-timeline-max-iterations=2' returned non-zero exit status 139

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180815/05e0c413/attachment.html>


More information about the llvm-bugs mailing list