<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Segmentation fault in llvm-as inside LLParser::ParseValueAsMetadata"
   href="https://llvm.org/bugs/show_bug.cgi?id=24645">24645</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault in llvm-as inside LLParser::ParseValueAsMetadata
          </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>normal
          </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>kschimpf@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When you run:

echo '     !3=!    {%..d04 *asm" !6!={!H)4" ,""  ' | llvm-as - -o /dev/null

You get the following:

#0 0x667656 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/workspace/llvm-dev/install/bin/llvm-as+0x667656)
#1 0x66796b PrintStackTraceSignalHandler(void*)
(/workspace/llvm-dev/install/bin/llvm-as+0x66796b)
#2 0x6660e7 llvm::sys::RunSignalHandlers()
(/workspace/llvm-dev/install/bin/llvm-as+0x6660e7)
#3 0x6665be SignalHandler(int)
(/workspace/llvm-dev/install/bin/llvm-as+0x6665be)
#4 0x7fd548e92340 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10340)
#5 0x415166 llvm::Type::getSubclassData() const
(/workspace/llvm-dev/install/bin/llvm-as+0x415166)
#6 0x41555e llvm::FunctionType::isVarArg() const
(/workspace/llvm-dev/install/bin/llvm-as+0x41555e)
#7 0x5878a4 llvm::InlineAsm::Verify(llvm::FunctionType*, llvm::StringRef)
(/workspace/llvm-dev/install/bin/llvm-as+0x5878a4)
#8 0x4318c2 llvm::LLParser::ConvertValIDToValue(llvm::Type*, llvm::ValID&,
llvm::Value*&, llvm::LLParser::PerFunctionState*)
(/workspace/llvm-dev/install/bin/llvm-as+0x4318c2)
#9 0x43235a llvm::LLParser::ParseValue(llvm::Type*, llvm::Value*&,
llvm::LLParser::PerFunctionState*)
(/workspace/llvm-dev/install/bin/llvm-as+0x43235a)
#10 0x4314eb llvm::LLParser::ParseValueAsMetadata(llvm::Metadata*&, llvm::Twine
const&, llvm::LLParser::PerFunctionState*)
(/workspace/llvm-dev/install/bin/llvm-as+0x4314eb)
#11 0x4315c0 llvm::LLParser::ParseMetadata(llvm::Metadata*&,
llvm::LLParser::PerFunctionState*)
(/workspace/llvm-dev/install/bin/llvm-as+0x4315c0)
#12 0x43b109
llvm::LLParser::ParseMDNodeVector(llvm::SmallVectorImpl<llvm::Metadata*>&)
(/workspace/llvm-dev/install/bin/llvm-as+0x43b109)
#13 0x427835 llvm::LLParser::ParseMDTuple(llvm::MDNode*&, bool)
(/workspace/llvm-dev/install/bin/llvm-as+0x427835)
#14 0x41ce3e llvm::LLParser::ParseStandaloneMetadata()
(/workspace/llvm-dev/install/bin/llvm-as+0x41ce3e)
#15 0x41b3f6 llvm::LLParser::ParseTopLevelEntities()
(/workspace/llvm-dev/install/bin/llvm-as+0x41b3f6)
#16 0x41a216 llvm::LLParser::Run()
(/workspace/llvm-dev/install/bin/llvm-as+0x41a216)
#17 0x408307 llvm::parseAssemblyInto(llvm::MemoryBufferRef, llvm::Module&,
llvm::SMDiagnostic&, llvm::SlotMapping*)
(/workspace/llvm-dev/install/bin/llvm-as+0x408307)
#18 0x4083f1 llvm::parseAssembly(llvm::MemoryBufferRef, llvm::SMDiagnostic&,
llvm::LLVMContext&, llvm::SlotMapping*)
(/workspace/llvm-dev/install/bin/llvm-as+0x4083f1)
#19 0x40873c llvm::parseAssemblyFile(llvm::StringRef, llvm::SMDiagnostic&,
llvm::LLVMContext&, llvm::SlotMapping*)
(/workspace/llvm-dev/install/bin/llvm-as+0x40873c)
#20 0x4055f6 main (/workspace/llvm-dev/install/bin/llvm-as+0x4055f6)
#21 0x7fd5482beec5 __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:321:0
#22 0x404579 _start (/workspace/llvm-dev/install/bin/llvm-as+0x404579)
Stack dump:
0.    Program arguments: llvm-as - -o /dev/null 
Segmentation fault</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>