[LLVMbugs] [Bug 11781] New: clang segmentation fault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 16 23:24:09 PST 2012


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

             Bug #: 11781
           Summary: clang segmentation fault
           Product: clang
           Version: 3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: genyo at tbricks.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


0  clang             0x0000000106712312 _ZL15PrintStackTracePv + 34
1  clang             0x00000001067127e9 _ZL13SignalHandleri + 633
2  libsystem_c.dylib 0x00007fff9064acfa _sigtramp + 26
3  libsystem_c.dylib 0x0000000000000003 _sigtramp + 18446603338093646627
4  clang             0x0000000105ae5a30
llvm::MCAssembler::isSymbolLinkerVisible(llvm::MCSymbol const&) const + 48
5  clang             0x0000000105af417d (anonymous
namespace)::MCMachOStreamer::Finish() + 269
6  clang             0x0000000105aee7f7
llvm::AsmPrinter::doFinalization(llvm::Module&) + 1527
7  clang             0x0000000105a683d7
llvm::FPPassManager::runOnModule(llvm::Module&) + 199
8  clang             0x0000000105a63fd4
llvm::MPPassManager::runOnModule(llvm::Module&) + 276
9  clang             0x0000000105a63b58
llvm::PassManagerImpl::run(llvm::Module&) + 280
10 clang             0x0000000105a63a3d llvm::PassManager::run(llvm::Module&) +
13
11 clang             0x0000000105f3293d
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions const&,
clang::TargetOptions const&, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) + 4381
12 clang             0x0000000105a4b3f6
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 246
13 clang             0x0000000105973276 clang::ParseAST(clang::Sema&, bool) +
422
14 clang             0x0000000105971caf clang::CodeGenAction::ExecuteAction() +
671
15 clang             0x000000010595da9b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 875
16 clang             0x000000010595bb18
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2696
17 clang             0x0000000105950315 cc1_main(char const**, char const**,
char const*, void*) + 5333
18 clang             0x000000010593347b main + 667
19 clang             0x00000001059331d4 start + 52
20 clang             0x00000000000000ae start + 18446744069321051918


Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-apple-macosx10.7.2
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
FixApplication.cpp -pic-level 1 -mdisable-fp-elim -relaxed-aliasing
-masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 127.2 -g
-coverage-file
../../../../build.i386-apple-darwin/platform/obj64/src/servers/market_data/fix/market_data_fix/src/FixApplication.o.tmp
-resource-dir /usr/bin/../lib/clang/3.0 -dependency-file
../../../../build.i386-apple-darwin/platform/obj64/src/servers/market_data/fix/market_data_fix/src/FixApplication.o.srcdep
-MP -MT
../../../../build.i386-apple-darwin/platform/obj64/src/servers/market_data/fix/market_data_fix/src/FixApplication.o
-D DARWIN -D DARWIN64 -D __DARWIN__ -D _XOPEN_SOURCE -D DTRACE_ENABLED=1 -D
_POSIX_PTHREAD_SEMANTICS -D _REENTRANT -D _GNU_SOURCE -I ./src -I
./../../../../src/libraries/calendar/headers -I
./../../../../src/libraries/cpphelper/headers -I
./../../../../build.i386-apple-darwin/include64/ace-5.7 -I
./../../../../src/share/compat/headers -I
./../../../../build.i386-apple-darwin/include64/boost-1_40 -I
./../../../../src/libraries/log/headers -I
./../../../../src/libraries/filter/headers -I
./../../../../src/libraries/util/headers -I
./../../../../build.i386-apple-darwin/include64/libarchive -I
./../../../../src/libraries/mic/headers -I
./../../../../src/libraries/types/headers/types/little_endian -I
./../../../../src/libraries/types/headers/types/little_endian/ieee754 -I
./../../../../src/libraries/types/headers -I
./../../../../src/libraries/error/headers -I
./../../../../src/libraries/timezone/headers -I
./../../../../src/libraries/xmlx/headers -I
./../../../../build.i386-apple-darwin/include64/libxml2 -I
./../../../../src/libraries/currency/headers -I
./../../../../src/libraries/market_data/headers -I
./../../../../src/libraries/combination/headers -I
./../../../../src/libraries/protocol/headers -I
./../../../../src/libraries/error_stack/headers -I
./../../../../src/libraries/message/headers -I
./../../../../src/libraries/transport/headers -I
./../../../../src/libraries/TProactor/headers -I
./../../../../src/libraries/bonjour/headers -I
./../../../../src/libraries/config/headers -I
./../../../../build.i386-apple-darwin/include64 -I
./../../../../src/libraries/qos/headers -I
./../../../../src/libraries/storage/headers -I
./../../../../build.i386-apple-darwin/include64/bdb-5.1.25 -I
./../../../../src/libraries/trading_reference_data/headers -I
./../../../../src/libraries/service_status/headers -I
./../../../../src/libraries/admin/core/headers -I
./../../../../src/libraries/log_backend/headers -I
./../../../../src/libraries/csv/headers -I
./../../../../src/libraries/user/headers -I
./../../../../src/libraries/venue/headers -I
./../../../../build.i386-apple-darwin/include64/umem -I
./../../../../src/libraries/protocol_impl/headers -I
./../../../../src/libraries/audit/headers -I
./../../../../src/libraries/resource/headers -I
./../../../../src/libraries/server/headers -I
./../../../../src/libraries/zeroconf_extender/headers -I
./../../../../src/libraries/subscription/headers -I
./../../../../src/libraries/rbac/core/headers -I
./../../../../src/libraries/transport_fix/headers -I
./../../../../src/libraries/ustring/headers -I
./../../../../build.i386-apple-darwin/include64 -I
./../../../../build.i386-apple-darwin/include64 -I
./../../../../build.i386-apple-darwin/platform/obj64/src/servers/market_data/fix/market_data_fix/include
-Wall -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-self-assign
-Wno-constant-logical-operand -Wno-unused-function -fconst-strings
-fdeprecated-macro -ferror-limit 19 -fmessage-length 0 -stack-protector 1
-fblocks -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o
../../../../build.i386-apple-darwin/platform/obj64/src/servers/market_data/fix/market_data_fix/src/FixApplication.o.tmp
-x c++ src/FixApplication.cpp 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'src/FixApplication.cpp'.
clang: error: unable to execute command: Segmentation fault: 11 (core dumped)
clang: error: clang frontend command failed due to signal 2 (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