<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 - llvm-dsymutil crash @llvm::DWARFFormValue::extractValue on rustc-produced object"
href="https://bugs.llvm.org/show_bug.cgi?id=36257">36257</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-dsymutil crash @llvm::DWARFFormValue::extractValue on rustc-produced object
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>llvm-dwarfdump
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mh+llvm@glandium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>friss@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Stack trace:
#0 0x000000000081422a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x81422a)
#1 0x00000000008126ee llvm::sys::RunSignalHandlers()
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x8126ee)
#2 0x000000000081282a SignalHandler(int)
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x81282a)
#3 0x00007f948b3c20a0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xf0a0)
#4 0x0000000000705a24
llvm::DWARFFormValue::extractValue(llvm::DWARFDataExtractor const&, unsigned
int*, llvm::DWARFFormParams, llvm::DWARFContext const*, llvm::DWARFUnit const*)
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x705a24)
#5 0x00000000006dddc9
llvm::DWARFAbbreviationDeclaration::getAttributeValue(unsigned int,
llvm::dwarf::Attribute, llvm::DWARFUnit const&) const
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x6dddc9)
#6 0x0000000000701143 llvm::DWARFDie::find(llvm::dwarf::Attribute) const
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x7011
43)
#7 0x000000000070124e
llvm::DWARFDie::getAttributeValueAsReferencedDie(llvm::dwarf::Attribute) const
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x70124e)
#8 0x000000000070138e
llvm::DWARFDie::findRecursively(llvm::ArrayRef<llvm::dwarf::Attribute>) const
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x70138e)
#9 0x00000000007013b2
llvm::DWARFDie::findRecursively(llvm::ArrayRef<llvm::dwarf::Attribute>) const
(../workspace/build/src/llvm/build/bin/llvm-dsymutil+0x7013b2)
A somewhat reduced testcase is available at:
<a href="https://queue.taskcluster.net/v1/task/ODoRBkEDRVKjy74Ymhxw0g/runs/0/artifacts/public/build/dsymutil-crasher.tar.xz">https://queue.taskcluster.net/v1/task/ODoRBkEDRVKjy74Ymhxw0g/runs/0/artifacts/public/build/dsymutil-crasher.tar.xz</a>
(This should "only" expire in a year)
Untar, go into the "crasher" directory this extracts, and run the "run-me.sh"
script. If you want to use something else than `llvm-dsymutil` from your $PATH,
set the DSYMUTIL environment variable to the path of the dsymutil you want to
use.</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>