<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - MCA crash in mca::ResourceManager::use()"
   href="https://bugs.llvm.org/show_bug.cgi?id=38575">38575</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MCA crash in mca::ResourceManager::use()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lebedev.ri@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20717" name="attach_20717" title="the diff ontop of git master">attachment 20717</a> <a href="attachment.cgi?id=20717&action=edit" title="the diff ontop of git master">[details]</a></span>
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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>