[LLVMbugs] [Bug 11384] New: Regression: Clang crashes when building ffmpeg, Assertion failed: (ExtVNI == VNI && "Unexpected existing value number")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 15 09:26:29 PST 2011


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

             Bug #: 11384
           Summary: Regression: Clang crashes when building ffmpeg,
                    Assertion failed: (ExtVNI == VNI && "Unexpected
                    existing value number")
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7617
  --> http://llvm.org/bugs/attachment.cgi?id=7617
repro

This is with clang r144521:

clang -x c -arch i386 -O2 foo.ii


Assertion failed: (ExtVNI == VNI && "Unexpected existing value number"),
function shrinkToUses, file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp,
line 713.
0  clang             0x0000000101451cb2 PrintStackTrace(void*) + 34
1  clang             0x00000001014521e9 SignalHandler(int) + 713
2  libSystem.B.dylib 0x00007fff8a5551ba _sigtramp + 26
3  libSystem.B.dylib 0x00007fff5fbfb250 _sigtramp + 3580518576
4  clang             0x0000000100044176 abort + 22
5  clang             0x00000001000441c8 __assert_rtn + 56
6  clang             0x000000010100b4f9
llvm::LiveIntervals::shrinkToUses(llvm::LiveInterval*,
llvm::SmallVectorImpl<llvm::MachineInstr*>*) + 4069
7  clang             0x0000000101016bad
llvm::LiveRangeEdit::eliminateDeadDefs(llvm::SmallVectorImpl<llvm::MachineInstr*>&,
llvm::LiveIntervals&, llvm::VirtRegMap&, llvm::TargetInstrInfo const&) + 1711
8  clang             0x0000000100fef091 (anonymous
namespace)::InlineSpiller::spill(llvm::LiveRangeEdit&) + 14033
9  clang             0x00000001010859f7 (anonymous
namespace)::RAGreedy::selectOrSplit(llvm::LiveInterval&,
llvm::SmallVectorImpl<llvm::LiveInterval*>&) + 9081
10 clang             0x0000000101075b7d llvm::RegAllocBase::allocatePhysRegs()
+ 1819
11 clang             0x0000000101086402 (anonymous
namespace)::RAGreedy::runOnMachineFunction(llvm::MachineFunction&) + 1030
12 clang             0x00000001010392f1
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 61
13 clang             0x00000001013c3add
llvm::FPPassManager::runOnFunction(llvm::Function&) + 341
14 clang             0x00000001013bf0fb
llvm::FPPassManager::runOnModule(llvm::Module&) + 61
15 clang             0x00000001013c37ea
llvm::MPPassManager::runOnModule(llvm::Module&) + 318
16 clang             0x00000001013c4bf1
llvm::PassManagerImpl::run(llvm::Module&) + 303
17 clang             0x00000001013c4c71 llvm::PassManager::run(llvm::Module&) +
13
18 clang             0x000000010018c6f5
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4677
19 clang             0x0000000100263159
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 537
20 clang             0x0000000100295a7f clang::ParseAST(clang::Sema&, bool) +
431
21 clang             0x0000000100261d3f clang::CodeGenAction::ExecuteAction() +
927
22 clang             0x0000000100064092
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 958
23 clang             0x000000010004d961
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2177
24 clang             0x0000000100047a5b cc1_main(char const**, char const**,
char const*, void*) + 2923
25 clang             0x000000010004a9d0 main + 640
26 clang             0x0000000100046edc start + 52
27 clang             0x0000000000000026 start + 4294676862
Stack dump:
0.    Program arguments:
/Users/thakis/src/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1 -triple i386-apple-macosx10.6.8 -emit-obj -disable-free -main-file-name
foo.ii -pic-level 1 -mdisable-fp-elim -masm-verbose -target-cpu yonah
-target-linker-version 97.17 -resource-dir
/Users/thakis/src/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.1
-fmodule-cache-path
/var/folders/++/++1Gyk++6+0++4RjPqRgNE++ojg/-Tmp-/clang-module-cache -O2
-fdebug-compilation-dir /Users/thakis/src/delta -ferror-limit 19
-fmessage-length 172 -stack-protector 1 -fblocks -fobjc-fragile-abi
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/++/++1Gyk++6+0++4RjPqRgNE++ojg/-Tmp-/foo-8tuGtI.o -x c foo.ii 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'foo.ii'.
4.    Running pass 'Greedy Register Allocator' on function '@apply_window_mp3'

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