[LLVMbugs] [Bug 9123] New: [REGRESSION] Crash while compiling snow.c from FFmpeg

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 2 00:32:51 PST 2011


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

           Summary: [REGRESSION] Crash while compiling snow.c from FFmpeg
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ismail at namtrac.org
                CC: llvmbugs at cs.uiuc.edu


[~/Sources/ffmpeg]> clang -O2 -c snow.i
Instruction does not dominate all uses!
  %lsr.iv.next2592 = add i32 %lsr.iv2591, 1
  %tmp2593 = sext i32 %lsr.iv.next2592 to i64
Instruction does not dominate all uses!
  %tmp2593 = sext i32 %lsr.iv.next2592 to i64
  %tmp2594 = add i64 %tmp2377, %tmp2593
Instruction does not dominate all uses!
  %tmp2594 = add i64 %tmp2377, %tmp2593
  %scevgep2598 = getelementptr i8* %scevgep2597, i64 %tmp2594
Instruction does not dominate all uses!
  %lsr.iv.next2569 = add i32 %lsr.iv2568, 1
  %tmp2570 = sext i32 %lsr.iv.next2569 to i64
Instruction does not dominate all uses!
  %tmp2570 = sext i32 %lsr.iv.next2569 to i64
  %tmp2571 = add i64 %tmp2377, %tmp2570
Instruction does not dominate all uses!
  %tmp2571 = add i64 %tmp2377, %tmp2570
  %scevgep2575 = getelementptr i8* %scevgep2574, i64 %tmp2571
Broken module found, compilation aborted!
0  clang             0x0000000101519df2
llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) +
754
1  clang             0x000000010151ac43
llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) +
4419
2  libSystem.B.dylib 0x00007fff885db67a _sigtramp + 26
3  clang             0x0000000100000000 __dso_handle + 0
4  clang             0x000000010151a216
llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) +
1814
5  clang             0x000000010147dfb4 llvm::CallbackVH::deleted() + 90708
6  clang             0x000000010144bc20 llvm::BasicBlockPass::~BasicBlockPass()
+ 32240
7  clang             0x000000010144bd3b llvm::BasicBlockPass::~BasicBlockPass()
+ 32523
8  clang             0x000000010144d8bf llvm::BasicBlockPass::~BasicBlockPass()
+ 39567
9  clang             0x000000010144dbb3 llvm::BasicBlockPass::~BasicBlockPass()
+ 40323
10 clang             0x000000010144dc8d llvm::BasicBlockPass::~BasicBlockPass()
+ 40541
11 clang             0x000000010018570a clang::PCHGenerator::~PCHGenerator() +
5866
12 clang             0x00000001002b296e
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 286
13 clang             0x00000001002e19a9 llvm::IRBuilder<true,
llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true>
>::CreateAdd(llvm::Value*, llvm::Value*, llvm::Twine const&) + 1033
14 clang             0x00000001002b16bc llvm::IRBuilder<true,
llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true>
>::CreateIsNull(llvm::Value*, llvm::Twine const&) + 3980
15 clang             0x0000000100054509 llvm::DenseMap<clang::IdentifierInfo
const*, unsigned int, llvm::DenseMapInfo<clang::IdentifierInfo const*>,
llvm::DenseMapInfo<unsigned int> >::grow(unsigned int) + 7673
16 clang             0x0000000100025532 std::_Rb_tree<std::string, std::string,
std::_Identity<std::string>, std::less<std::string>,
std::allocator<std::string> >::_M_insert_unique(std::string const&) + 2002
17 clang             0x000000010001d1ba
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**,
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*> > >,
llvm::PassRegistrationListener* const&) + 11258
18 clang             0x0000000100024564 std::vector<std::string,
std::allocator<std::string> >::operator=(std::vector<std::string,
std::allocator<std::string> > const&) + 12196
19 clang             0x000000010001bad4
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**,
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*> > >,
llvm::PassRegistrationListener* const&) + 5396
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-apple-darwin10.0.0 -emit-obj -disable-free -main-file-name snow.i
-pic-level 1 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 97.17 -resource-dir /usr/local/bin/../lib/clang/2.9 -O2
-ferror-limit 19 -fmessage-length 120 -stack-protector 1 -fblocks
-fdiagnostics-show-option -fcolor-diagnostics -o snow.o -x cpp-output snow.i 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'snow.i'.
4.    Running pass 'Module Verifier' on function '@decode_frame'
clang: error: unable to execute command: Illegal instruction
clang: error: clang frontend command failed due to signal 1 (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