[llvm-bugs] [Bug 26909] New: bugpoint crashes when reducing the attached bitcode program
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 10 18:30:35 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26909
Bug ID: 26909
Summary: bugpoint crashes when reducing the attached bitcode
program
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: bugpoint
Assignee: unassignedbugs at nondot.org
Reporter: chengniansun at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16021
--> https://llvm.org/bugs/attachment.cgi?id=16021&action=edit
bug triggering bitcode file.
The trunk of bugpoint crashes when reducing the attached bitcode file.
$: bugpoint-trunk -safe-run-llc -structurizecfg t.c-262.bc
....................................
*** The following function is being miscompiled: main_for.inc595.5
Extracted a loop from the breaking portion of the program.
<llc><CC><program>bugpoint-trunk:
/tmp/llvm-builder/llvm-source-trunk/include/llvm/Support/Casting.h:81: static
bool llvm::isa_impl_cl<To, From*>::doit(const From*) [with To = llvm::Function;
>From = llvm::Value]: Assertion `Val && "isa<> used on a null pointer"' failed.
0 bugpoint-trunk 0x0000000000c48f25
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 bugpoint-trunk 0x0000000000c46eb6 llvm::sys::RunSignalHandlers() + 54
2 bugpoint-trunk 0x0000000000c470d4
3 libpthread.so.0 0x00007f5f6c022340
4 libc.so.6 0x00007f5f6b240cc9 gsignal + 57
5 libc.so.6 0x00007f5f6b2440d8 abort + 328
6 libc.so.6 0x00007f5f6b239b86
7 libc.so.6 0x00007f5f6b239c32
8 bugpoint-trunk 0x0000000000506830
9 bugpoint-trunk 0x00000000005d1e8e
10 bugpoint-trunk 0x00000000005d21ee
llvm::BugDriver::debugMiscompilation(std::string*) + 510
11 bugpoint-trunk 0x00000000005b21b5 llvm::BugDriver::run(std::string&) + 1957
12 bugpoint-trunk 0x000000000059c944 main + 916
13 libc.so.6 0x00007f5f6b22bec5 __libc_start_main + 245
14 bugpoint-trunk 0x00000000005aff38
Stack dump:
0. Program arguments: bugpoint-trunk -safe-run-llc -structurizecfg
t.c-262.bc
Aborted (core dumped)
$: clang-trunk -v
clang version 3.9.0 (trunk 262768)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/5.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.0
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.3.0
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
$: bugpoint-trunk --version
LLVM (http://llvm.org/):
LLVM version 3.9.0svn
Optimized build with assertions.
Built Mar 4 2016 (22:44:51).
Default target: x86_64-unknown-linux-gnu
Host CPU: sandybridge
$:
--
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/20160311/1e211aa4/attachment.html>
More information about the llvm-bugs
mailing list