[llvm-bugs] [Bug 36257] New: llvm-dsymutil crash @llvm::DWARFFormValue::extractValue on rustc-produced object
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 6 15:53:48 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36257
Bug ID: 36257
Summary: llvm-dsymutil crash
@llvm::DWARFFormValue::extractValue on rustc-produced
object
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-dwarfdump
Assignee: unassignedbugs at nondot.org
Reporter: mh+llvm at glandium.org
CC: friss at apple.com, llvm-bugs at lists.llvm.org
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:
https://queue.taskcluster.net/v1/task/ODoRBkEDRVKjy74Ymhxw0g/runs/0/artifacts/public/build/dsymutil-crasher.tar.xz
(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.
--
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/20180206/9a830775/attachment.html>
More information about the llvm-bugs
mailing list