[LLVMbugs] [Bug 7542] New: clang signal 6 (sometimes with "Bogus start position hint!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 1 08:20:17 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7542

           Summary: clang signal 6 (sometimes with "Bogus start position
                    hint!")
           Product: new-bugs
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu


Created an attachment (id=5153)
 --> (http://llvm.org/bugs/attachment.cgi?id=5153)
failure-inducing C

Argh, here's another program that makes my clang behave non-deterministically. 
clang reliably crashes but doesn't always give the assert failure notice. 
Apologies for non-reduced testcase.

regehr at john-home:~/volatile/bugs/tmp322$ clang -v

clang version 2.8 (trunk 107352)
Target: i386-pc-linux-gnu
Thread model: posix

regehr at john-home:~/volatile/bugs/tmp322$ clang -w small.c -Os

clang: LiveInterval.cpp:128: bool llvm::LiveInterval::overlapsFrom(const
llvm::LiveInterval&, const llvm::LiveRange*) const: Assertion `(StartPos->start
<= i->start || StartPos == other.begin()) && StartPos != other.end() && "Bogus
start position hint!"' failed.
0  clang 0x090a4d08
Stack dump:
0.      Program arguments:
/home/regehr/z/compiler-install/llvm-gcc-r107352-install/bin/clang -cc1 -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -target-cpu pentium4
-resource-dir
/home/regehr/z/compiler-install/llvm-gcc-r107352-install/lib/clang/2.8 -Os -w
-ferror-limit 19 -fmessage-length 91 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-ZMnM8A.s -x c small.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Simple Register Coalescing' on function '@func_85'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)

-- 
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