[llvm-bugs] [Bug 42146] New: llvm-mc-7 crashes on various cmpps instructions.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 5 15:11:02 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42146
Bug ID: 42146
Summary: llvm-mc-7 crashes on various cmpps instructions.
Product: tools
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: llvmc
Assignee: unassignedbugs at nondot.org
Reporter: hgreving at google.com
CC: llvm-bugs at lists.llvm.org
To reproduce:
First example:
echo '0x62 0xf1 0x7c 0x0f 0xc2 0xc9 0x25' | /usr/bin/llvm-mc-7 -disassemble
-triple=x86_64
[..]
.text
vcmppd $80, $Stack dump:
0. Program arguments: /usr/bin/llvm-mc-7 -disassemble -triple=x86_64
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x1f)[0x7f47d6509c3f]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x50)[0x7f47d6508170]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(+0x9d3f52)[0x7f47d6509f52]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7f47d592a0c0]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZNK4llvm6MCExpr5printERNS_11raw_ostreamEPKNS_9MCAsmInfoEb+0x4d)[0x7f47d721fced]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter12printOperandEPKNS_6MCInstEjRNS_11raw_ostreamE+0x19d)[0x7f47d7eed56d]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm20X86InstPrinterCommon19printOptionalSegRegEPKNS_6MCInstEjRNS_11raw_ostreamE+0x1e)[0x7f47d7ef4f6e]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter17printMemReferenceEPKNS_6MCInstEjRNS_11raw_ostreamE+0x9e)[0x7f47d7eede2e]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter16printInstructionEPKNS_6MCInstERNS_11raw_ostreamE+0x6cb)[0x7f47d7eec19b]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter9printInstEPKNS_6MCInstERNS_11raw_ostreamENS_9StringRefERKNS_15MCSubtargetInfoE+0xb0)[0x7f47d7eedd00]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(+0x16d002d)[0x7f47d720602d]
/usr/bin/llvm-mc-7[0x410ab7]
/usr/bin/llvm-mc-7[0x40bdd7]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f47d4cf92b1]
/usr/bin/llvm-mc-7[0x409d7a]
Segmentation fault
Second example:
echo '0x62 0xf1 0x7c 0x2f 0xc2 0xc9 0x25' | /usr/bin/llvm-mc-7 -disassemble
-triple=x86_64
.text
vcmppd $32, $Stack dump:
0. Program arguments: /usr/bin/llvm-mc-7 -disassemble -triple=x86_64
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x1f)[0x7fe52660cc3f]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x50)[0x7fe52660b170]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(+0x9d3f52)[0x7fe52660cf52]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7fe525a2d0c0]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZNK4llvm6MCExpr5printERNS_11raw_ostreamEPKNS_9MCAsmInfoEb+0x4d)[0x7fe527322ced]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter12printOperandEPKNS_6MCInstEjRNS_11raw_ostreamE+0x19d)[0x7fe527ff056d]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm20X86InstPrinterCommon19printOptionalSegRegEPKNS_6MCInstEjRNS_11raw_ostreamE+0x1e)[0x7fe527ff7f6e]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter17printMemReferenceEPKNS_6MCInstEjRNS_11raw_ostreamE+0x9e)[0x7fe527ff0e2e]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter16printInstructionEPKNS_6MCInstERNS_11raw_ostreamE+0x6cb)[0x7fe527fef19b]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(_ZN4llvm17X86ATTInstPrinter9printInstEPKNS_6MCInstERNS_11raw_ostreamENS_9StringRefERKNS_15MCSubtargetInfoE+0xb0)[0x7fe527ff0d00]
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1(+0x16d002d)[0x7fe52730902d]
/usr/bin/llvm-mc-7[0x410ab7]
/usr/bin/llvm-mc-7[0x40bdd7]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fe524dfc2b1]
/usr/bin/llvm-mc-7[0x409d7a]
Segmentation fault
--
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/20190605/439545e7/attachment-0001.html>
More information about the llvm-bugs
mailing list