[LLVMbugs] [Bug 14205] New: Crash in llvm::LiveVariables::HandleVirtRegUse

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 29 13:15:53 PDT 2012


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

             Bug #: 14205
           Summary: Crash in llvm::LiveVariables::HandleVirtRegUse
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            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
    Classification: Unclassified


Created attachment 9442
  --> http://llvm.org/bugs/attachment.cgi?id=9442
testcase.i

Run the attached testcase in a tight loop like this:

while true; do clang -c -O2 testcase.i || sleep 1h;done  

and you'll end up crashing like this:

0  clang           0x0000000001838e42
1  clang           0x00000000018391c3
2  libpthread.so.0 0x00007fe5a32b5170
3  clang           0x00000000013ee254
llvm::LiveVariables::HandleVirtRegUse(unsigned int, llvm::MachineBasicBlock*,
llvm::MachineInstr*) + 84
4  clang           0x00000000013f088d
llvm::LiveVariables::runOnMachineFunction(llvm::MachineFunction&) + 1693
5  clang           0x0000000001402d86
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 102
6  clang           0x00000000017e6cbe
llvm::FPPassManager::runOnFunction(llvm::Function&) + 318
7  clang           0x00000000017e6eeb
llvm::FPPassManager::runOnModule(llvm::Module&) + 139
8  clang           0x00000000017e7094
llvm::MPPassManager::runOnModule(llvm::Module&) + 308
9  clang           0x00000000017e7763 llvm::PassManagerImpl::run(llvm::Module&)
+ 339
10 clang           0x00000000017e785a llvm::PassManager::run(llvm::Module&) +
10
11 clang           0x00000000007bf767
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5687
12 clang           0x00000000007bd25b
13 clang           0x00000000008c3723 clang::ParseAST(clang::Sema&, bool, bool)
+ 531
14 clang           0x00000000007bc4dd clang::CodeGenAction::ExecuteAction() +
77
15 clang           0x000000000068410b clang::FrontendAction::Execute() + 91
16 clang           0x00000000006656ed
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 845
17 clang           0x0000000000650e31
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3505
18 clang           0x000000000064639f cc1_main(char const**, char const**, char
const*, void*) + 703
19 clang           0x000000000064d45c main + 2988
20 libc.so.6       0x00007fe5a2505725 __libc_start_main + 245
21 clang           0x0000000000646019

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