[LLVMbugs] [Bug 14202] New: unable to execute command: Segmentation fault (core dumped)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 29 02:26:26 PDT 2012


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

             Bug #: 14202
           Summary: unable to execute command: Segmentation fault (core
                    dumped)
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: xtaotao at qq.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9437
  --> http://llvm.org/bugs/attachment.cgi?id=9437
/tmp/stdafx-mOwnRv.cpp

clang version 3.2 (trunk 166663)
Target: i386-pc-linux-gnu
Thread model: posix


0  clang-3.2 0x08f456a8
1  clang-3.2 0x08f45a84
2            0x40022400 __kernel_sigreturn + 0
3  clang-3.2 0x0952c8bf
4  clang-3.2 0x09531871
5  clang-3.2 0x0953668e
clang::InitializationSequence::InitializationSequence(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
clang::Expr**, unsigned int) + 2734
6  clang-3.2 0x09501c6b
clang::Sema::BuildCXXTypeConstructExpr(clang::TypeSourceInfo*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation) + 1467
7  clang-3.2 0x096215ab
8  clang-3.2 0x0963a3a0
9  clang-3.2 0x0963c861
10 clang-3.2 0x0963aa85
11 clang-3.2 0x0963d34a clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 106
12 clang-3.2 0x0964e6fa
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1658
13 clang-3.2 0x0964d830 clang::Sema::PerformPendingInstantiations(bool) + 480
14 clang-3.2 0x093a3873 clang::Sema::ActOnEndOfTranslationUnit() + 2419
15 clang-3.2 0x09202ea1
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 401
16 clang-3.2 0x091f9fc4 clang::ParseAST(clang::Sema&, bool, bool) + 324
17 clang-3.2 0x0914e7e8 clang::ASTFrontendAction::ExecuteAction() + 120
18 clang-3.2 0x08f67a21 clang::CodeGenAction::ExecuteAction() + 33
19 clang-3.2 0x0914ecd8 clang::FrontendAction::Execute() + 104
20 clang-3.2 0x0912f107
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 263
21 clang-3.2 0x08f48a4e
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1358
22 clang-3.2 0x082f30a7 cc1_main(char const**, char const**, char const*,
void*) + 7943
23 clang-3.2 0x082dcf98 main + 8024
24 libc.so.6 0x401a94d3 __libc_start_main + 243
25 clang-3.2 0x082ef211
Stack dump:
0.    Program arguments: /home/zhuohongtao/wpsv6/clang/buildllvm/bin/clang-3.2
-cc1 -triple i386-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name stdafx.cpp -pic-level 2 -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu i686
-momit-leaf-frame-pointer -coverage-file
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/build-clang/office/wpp/textbean/CMakeFiles/textbean.dir/stdafx.cpp.o
-resource-dir /home/zhuohongtao/wpsv6/clang/buildllvm/bin/../lib/clang/3.2
-include-pch
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/build-clang/office/wpp/textbean/stdafx.h.pch
-D textbean_EXPORTS -D NO_KFC_STRING -D STDLIB_IS_LIBCXX -D QT_GUI_LIB -D
QT_CORE_LIB -D _USRDLL -D TEXTBEAN_EXPORTS -D QT_NO_DEBUG -D NDEBUG -I
/usr/include/freetype2 -I /home/zhuohongtao/wpsv6/wpsenv/3rdparty/qt/include -I
/home/zhuohongtao/wpsv6/wpsenv/3rdparty/qt/include/QtGui -I
/home/zhuohongtao/wpsv6/wpsenv/3rdparty/qt/include/QtCore -I
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/Coding/office/wpp/textbean/../../../include
-I
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/Coding/office/wpp/textbean/./include
-I
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/Coding/office/wpp/textbean/../../include
-I
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/Coding/office/wpp/textbean/../include
-I
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/Coding/office/wpp/textbean/.
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/include/c++/v1 -internal-isystem /usr/local/include -internal-isystem
/home/zhuohongtao/wpsv6/clang/buildllvm/bin/../lib/clang/3.2/include
-internal-externc-isystem /usr/include/i386-linux-gnu -internal-externc-isystem
/include -internal-externc-isystem /usr/include -O3 -Winvalid-pch -Wcomment
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/build-clang/office/wpp/textbean
-ferror-limit 19 -fmessage-length 186 -fvisibility-inlines-hidden
-mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
CMakeFiles/textbean.dir/stdafx.cpp.o -x c++
/home/zhuohongtao/wpsv6/func_native_linux_110822_branch/Coding/office/wpp/textbean/stdafx.cpp 
1.    <eof> parser at end of file
2.    /usr/include/c++/v1/utility:444:1: instantiating function definition
'make_pair'
clang-3: error: unable to execute command: Segmentation fault (core dumped)
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 166663)
Target: i386-pc-linux-gnu
Thread model: posix
clang-3: note: diagnostic msg: PLEASE submit a bug report to  and include the
crash backtrace, preprocessed source, and associated run script.
clang-3: note: diagnostic msg: 
********************

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

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

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