[LLVMbugs] [Bug 5112] New: llc from LLVM 2.6 release branch segfaults on Linux
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Sep 30 11:53:40 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5112
Summary: llc from LLVM 2.6 release branch segfaults on Linux
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: collinwinter at google.com
CC: llvmbugs at cs.uiuc.edu
In the 2.6 release branch, llc segfaults when running the test suite on Linux
(32/64 bit hybrid Ubuntu Dapper), failing 1400+ tests.
Extracted from one of the failing tests:
$ Release-Asserts/bin/llvm-as <
/usr/local/google/collinwinter/llvm-26/test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll
> /tmp/f.bc
$ Release-Asserts/bin/llc -march=x86-64 < /tmp/f.bc
Segmentation fault
$ gdb Release-Asserts/bin/llc
(gdb) run -march=x86-64 < /tmp/f.bc
(gdb) run -march=x86-64 < /tmp/f.bc
Starting program:
/usr/local/google/collinwinter/llvm-26/Release-Asserts/bin/llc -march=x86-64 <
/tmp/f.bc
warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at
ffffe0b4
[Thread debugging using libthread_db enabled]
[New Thread 0xf7fe16c0 (LWP 17727)]
Warning: guessed host libthread_db library
"/usr/grte/v1/lib64/libthread_db.so.1".
Using host libthread_db library "/usr/grte/v1/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7fe16c0 (LWP 17727)]
0x46b0875c in memcpy () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0x46b0875c in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1 0x08d10d50 in llvm::Twine::printOneChild ()
#2 0x0818051e in ?? ()
#3 0x08e22b4c in ?? ()
#4 0xffffd7d0 in ?? ()
#5 0xffffd5c8 in ?? ()
#6 0x08d10da6 in llvm::Twine::print ()
#7 0x00000005 in ?? ()
#8 0x08e22b4c in ?? ()
#9 0xffffd5c8 in ?? ()
#10 0xffffd5c8 in ?? ()
#11 0x08d10cdd in llvm::Twine::printOneChild ()
#12 0x00000000 in ?? ()
(gdb)
Configured with ./configure --enable-optimized --disable-assertions
--enable-debug-symbols (the configuration we use for Unladen Swallow). This is
using the Ubuntu system gcc 4.0.3, target i486-linux-gnu.
Note that the problem goes away if I pass --enable-assertions to configure.
This is http://llvm.org/svn/llvm-project/llvm/branches/release_26, r83156.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list