[LLVMbugs] [Bug 19541] New: Segmentation fault: 11 in clang::thread_safety::runThreadSafetyAnalysis

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 24 04:44:02 PDT 2014


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

            Bug ID: 19541
           Summary: Segmentation fault: 11 in
                    clang::thread_safety::runThreadSafetyAnalysis
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tm at ayena.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

[633/1519] CXX Swiften/EventLoop/Cocoa/CocoaEvent.o
FAILED: /Users/tobias/llvm/bin/clang++ -MMD -MF
Swiften/EventLoop/Cocoa/CocoaEvent.o.d -c -Wno-used-but-marked-unused
-Wno-nested-anon-types -DBOOST_SIGNALS_NO_DEPRECATION_WARNING -Weverything
-Wno-unknown-warning-option -Wno-unknown-pragmas -Wno-weak-vtables -Wno-shadow
-Wno-documentation -Wno-exit-time-destructors -Wno-c++98-compat-pedantic
-Wno-global-constructors -Wno-disabled-macro-expansion -Wno-c++11-extensions
-Wno-long-long -Wno-padded -Wno-missing-variable-declarations
-Wno-direct-ivar-access -O2 -g -DSWIFT_EXPERIMENTAL_FT
-DSWIFT_EXPERIMENTAL_HISTORY -DSWIFT_EXPERIMENTAL_WB -DSWIFTEN_BUILDING
-DBOOST_SIGNALS_NO_DEPRECATION_WARNING -DSWIFTEN_STATIC -I.
-I/usr/include/libxml2 -I3rdParty/LibMiniUPnPc/src/miniupnpc
-I3rdParty/LibNATPMP/src/libnatpmp -c Swiften/EventLoop/Cocoa/CocoaEvent.mm -o
Swiften/EventLoop/Cocoa/CocoaEvent.o
0  clang-3.5                0x000000010947ba08
llvm::sys::PrintStackTrace(__sFILE*) + 40
1  clang-3.5                0x000000010947bef4 SignalHandler(int) + 452
2  libsystem_platform.dylib 0x00007fff8d1625aa _sigtramp + 26
3  libsystem_platform.dylib 0x00007f8261870400 _sigtramp + 3564166768
4  clang-3.5                0x000000010a2afbec
clang::thread_safety::runThreadSafetyAnalysis(clang::AnalysisDeclContext&,
clang::thread_safety::ThreadSafetyHandler&) + 604
5  clang-3.5                0x0000000109dfcafa
clang::sema::AnalysisBasedWarnings::IssueWarnings(clang::sema::AnalysisBasedWarnings::Policy,
clang::sema::FunctionScopeInfo*, clang::Decl const*, clang::BlockExpr const*) +
4378
6  clang-3.5                0x0000000109e3c44e
clang::Sema::PopFunctionScopeInfo(clang::sema::AnalysisBasedWarnings::Policy
const*, clang::Decl const*, clang::BlockExpr const*) + 78
7  clang-3.5                0x0000000109eda71f
clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool) + 3119
8  clang-3.5                0x0000000109d2fa73
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 275
9  clang-3.5                0x0000000109d1989e
clang::Parser::ParseLexedObjCMethodDefs(clang::Parser::LexedMethod&, bool) +
318
10 clang-3.5                0x0000000109d14c20
clang::Parser::ObjCImplParsingDataRAII::finish(clang::SourceRange) + 80
11 clang-3.5                0x0000000109d14238
clang::Parser::ParseObjCAtEndDeclaration(clang::SourceRange) + 56
12 clang-3.5                0x0000000109d1251f
clang::Parser::ParseObjCAtDirectives() + 431
13 clang-3.5                0x0000000109d3b989
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 1001
14 clang-3.5                0x0000000109d13f1c
clang::Parser::ParseObjCAtImplementationDeclaration(clang::SourceLocation) +
1900
15 clang-3.5                0x0000000109d1252c
clang::Parser::ParseObjCAtDirectives() + 444
16 clang-3.5                0x0000000109d3b989
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 1001
17 clang-3.5                0x0000000109d3b51d
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 397
18 clang-3.5                0x0000000109cce2a6 clang::ParseAST(clang::Sema&,
bool, bool) + 422
19 clang-3.5                0x0000000109a6044c
clang::CodeGenAction::ExecuteAction() + 92
20 clang-3.5                0x000000010961e75e clang::FrontendAction::Execute()
+ 62
21 clang-3.5                0x00000001095f853d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 877
22 clang-3.5                0x000000010964d7ad
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4045
23 clang-3.5                0x0000000108ba9513 cc1_main(char const**, char
const**, char const*, void*) + 883
24 clang-3.5                0x0000000108ba65ac main + 1116
25 libdyld.dylib            0x00007fff8cbd55fd start + 1
Stack dump:
0.    Program arguments: /Users/tobias/llvm/bin/clang-3.5 -cc1 -triple
x86_64-apple-macosx10.9.0 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name CocoaEvent.mm -mrelocation-model pic -pic-level 2
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -gdwarf-2
-coverage-file
/Users/tobias/dev/rep/swift-work-clean/Swiften/EventLoop/Cocoa/CocoaEvent.o
-resource-dir /Users/tobias/llvm/bin/../lib/clang/3.5.0 -dependency-file
Swiften/EventLoop/Cocoa/CocoaEvent.o.d -MT Swiften/EventLoop/Cocoa/CocoaEvent.o
-D BOOST_SIGNALS_NO_DEPRECATION_WARNING -D SWIFT_EXPERIMENTAL_FT -D
SWIFT_EXPERIMENTAL_HISTORY -D SWIFT_EXPERIMENTAL_WB -D SWIFTEN_BUILDING -D
BOOST_SIGNALS_NO_DEPRECATION_WARNING -D SWIFTEN_STATIC -I . -I
/usr/include/libxml2 -I 3rdParty/LibMiniUPnPc/src/miniupnpc -I
3rdParty/LibNATPMP/src/libnatpmp -stdlib=libc++ -O2 -Wno-used-but-marked-unused
-Wno-nested-anon-types -Weverything -Wno-unknown-warning-option
-Wno-unknown-pragmas -Wno-weak-vtables -Wno-shadow -Wno-documentation
-Wno-exit-time-destructors -Wno-c++98-compat-pedantic -Wno-global-constructors
-Wno-disabled-macro-expansion -Wno-c++11-extensions -Wno-long-long -Wno-padded
-Wno-missing-variable-declarations -Wno-direct-ivar-access -fdeprecated-macro
-fdebug-compilation-dir /Users/tobias/dev/rep/swift-work-clean -ferror-limit 19
-fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature
-fobjc-exceptions -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-vectorize-loops -vectorize-slp -o Swiften/EventLoop/Cocoa/CocoaEvent.o -x
objective-c++ Swiften/EventLoop/Cocoa/CocoaEvent.mm 
1.    <eof> parser at end of file
2.    Swiften/EventLoop/Cocoa/CocoaEvent.mm:7:80: parsing function body
'initWithEvent:eventLoop:'
clang-3.5: error: unable to execute command: Segmentation fault: 11
clang-3.5: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 
Target: x86_64-apple-darwin13.1.0
Thread model: posix
clang-3.5: 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-3.5: 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.5: note: diagnostic msg:
/var/folders/qm/7pz79pjd5gg0h1w3dny4yl540000gn/T/CocoaEvent-ebd6f9.mm
clang-3.5: note: diagnostic msg:
/var/folders/qm/7pz79pjd5gg0h1w3dny4yl540000gn/T/CocoaEvent-ebd6f9.sh
clang-3.5: 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/20140424/a74f11b8/attachment.html>


More information about the llvm-bugs mailing list