[LLVMbugs] [Bug 15367] New: clang++ crash in llvm::LiveVariables::HandleVirtRegUse

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 26 11:53:19 PST 2013


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

            Bug ID: 15367
           Summary: clang++ crash in llvm::LiveVariables::HandleVirtRegUse
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dlively at infinio.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

lang++ -m64 -Wall -Wextra -Werror -Wconversion -Wundef -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c++11 -Wpointer-arith
-Wwrite-strings -Wno-sign-conversion -Woverloaded-virtual
-Wno-tautological-compare -fPIC -I/home/lively/src/cache.git -isystem
/home/lively/src/cache.git/ext/shared/boost/include -O2 -fno-omit-frame-pointer
-DINFINIO_DEBUG=0 -ggdb -DSL_LOG_LEVEL=0 -DGOOGLE_STRIP_LOG=0
-Qunused-arguments -c -o /dev/null
/home/lively/src/cache.git/muduo/FileUtil.cpp
0  clang           0x000000000196ab32
1  clang           0x000000000196aeb3
2  libpthread.so.0 0x00007f1acf6cdcb0
3  clang           0x0000000001542774
llvm::LiveVariables::HandleVirtRegUse(unsigned int, llvm::MachineBasicBlock*,
llvm::MachineInstr*) + 84
4  clang           0x0000000001544dad
llvm::LiveVariables::runOnMachineFunction(llvm::MachineFunction&) + 1693
5  clang           0x0000000001557193
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 99
6  clang           0x000000000191871e
llvm::FPPassManager::runOnFunction(llvm::Function&) + 318
7  clang           0x000000000191894b
llvm::FPPassManager::runOnModule(llvm::Module&) + 139
8  clang           0x0000000001918af4
llvm::MPPassManager::runOnModule(llvm::Module&) + 308
9  clang           0x00000000019191c3 llvm::PassManagerImpl::run(llvm::Module&)
+ 339
10 clang           0x00000000019192ba llvm::PassManager::run(llvm::Module&) +
10
11 clang           0x000000000078e7d7
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5687
12 clang           0x000000000078c2cb
13 clang           0x0000000000894a83 clang::ParseAST(clang::Sema&, bool, bool)
+ 531
14 clang           0x000000000078b569 clang::CodeGenAction::ExecuteAction() +
73
15 clang           0x00000000006527b3 clang::FrontendAction::Execute() + 83
16 clang           0x000000000063637d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 845
17 clang           0x000000000061fb31
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3665
18 clang           0x0000000000617696 cc1_main(char const**, char const**, char
const*, void*) + 742
19 clang           0x000000000061c02c main + 2972
20 libc.so.6       0x00007f1ace90776d __libc_start_main + 237
21 clang           0x00000000006172c9
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name FileUtil.cpp -mrelocation-model pic -pic-level 2
-mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version
2.22.90.20120924 -momit-leaf-frame-pointer -g -coverage-file /dev/null
-resource-dir /usr/local/bin/../lib/clang/3.2 -isystem
/home/lively/src/cache.git/ext/shared/boost/include -D _GNU_SOURCE -D
_LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D INFINIO_DEBUG=0 -D SL_LOG_LEVEL=0
-D GOOGLE_STRIP_LOG=0 -I /home/lively/src/cache.git -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O2 -Wall -Wextra -Werror -Wconversion
-Wundef -Wpointer-arith -Wwrite-strings -Wno-sign-conversion
-Woverloaded-virtual -Wno-tautological-compare -std=c++11 -fconst-strings
-fdeprecated-macro -fdebug-compilation-dir /home/lively/src/cache.git
-ferror-limit 19 -fmessage-length 131 -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /dev/null -x c++
/home/lively/src/cache.git/muduo/FileUtil.cpp 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'/home/lively/src/cache.git/muduo/FileUtil.cpp'.
4.    Running pass 'Live Variable Analysis' on function
'@_ZN5muduo8FileUtil8readFileISsEEiNS_11StringPieceEiPT_PlS5_S5_'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (branches/release_32 171865)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/FileUtil-yUAkcG.cpp
clang: note: diagnostic msg: /tmp/FileUtil-yUAkcG.sh
clang: note: diagnostic msg: 

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130226/9cf4d54a/attachment.html>


More information about the llvm-bugs mailing list