[LLVMbugs] [Bug 19124] New: clang crashed when building TextMate svn trunk version
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 13 02:31:46 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19124
Bug ID: 19124
Summary: clang crashed when building TextMate svn trunk version
Product: clang
Version: trunk
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: 191919 at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
OS X 10.9.2 + Xcode 5.1 with latest command line tools.
clang version 3.5.0 (trunk 203772)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
clang gave the following error message when building TextMate svn trunk:
```
FAILED: '/opt/bin/clang' -DXcodeEditor_EXPORTS -include
/Users/jh/build/TextMate/Shared/PCH/prelude.m -c -pipe -fPIC -gdwarf-2 -m64
-mmacosx-version-min=10.7 -isysroot
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
-funsigned-char -D'NULL_STR="\uFFFF"' -Wall -Wwrite-strings -Wformat
-Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare
-Wno-switch -Wno-address-of-temporary -IShared/include -fcolor-diagnostics
-DNDEBUG -Os -fvisibility=hidden -fobjc-arc -std=c99 -fobjc-abi-version=3 -o
/Users/jh/build/TextMate/vendor/XcodeEditor/vendor/Source/Main/XCProject.o -MMD
-MF
/Users/jh/build/TextMate/vendor/XcodeEditor/vendor/Source/Main/XCProject.o.d
-I/Users/jh/build/TextMate/include
vendor/XcodeEditor/vendor/Source/Main/XCProject.m
0 clang 0x00000001064ea958 void*
llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const>
>() + 13096
1 clang 0x00000001064eae44 void*
llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const>
>() + 14356
2 libsystem_platform.dylib 0x00007fff8daa55aa _sigtramp + 26
3 libsystem_platform.dylib 0x00007fbebd821520 _sigtramp + 802668432
4 clang 0x000000010648948f
std::__1::__tree<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >,
std::__1::__map_value_compare<llvm::InlineAsm*,
std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >,
std::__1::less<llvm::InlineAsm*>, true>,
std::__1::allocator<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > > >
>::destroy(std::__1::__tree_node<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >, void*>*) +
23343
5 clang 0x000000010648966b
std::__1::__tree<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >,
std::__1::__map_value_compare<llvm::InlineAsm*,
std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >,
std::__1::less<llvm::InlineAsm*>, true>,
std::__1::allocator<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > > >
>::destroy(std::__1::__tree_node<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >, void*>*) +
23819
6 clang 0x0000000106489b16
std::__1::__tree<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >,
std::__1::__map_value_compare<llvm::InlineAsm*,
std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >,
std::__1::less<llvm::InlineAsm*>, true>,
std::__1::allocator<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > > >
>::destroy(std::__1::__tree_node<std::__1::__value_type<llvm::InlineAsm*,
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>,
std::__1::__tree_node<std::__1::__value_type<std::__1::pair<llvm::PointerType*,
llvm::InlineAsmKeyType>, llvm::InlineAsm*>, void*>*, long> > >, void*>*) +
25014
7 clang 0x000000010501238e void
std::__1::vector<clang::serialization::ModuleFile*,
std::__1::allocator<clang::serialization::ModuleFile*>
>::__push_back_slow_path<clang::serialization::ModuleFile*
const&>(clang::serialization::ModuleFile* const&&&) + 7742
8 clang 0x000000010510ec2d
llvm::SmallVectorTemplateBase<llvm::DenseMap<clang::BaseSubobject, unsigned
long long, llvm::DenseMapInfo<clang::BaseSubobject> >, false>::grow(unsigned
long) + 18941
9 clang 0x0000000105164104 void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 128132
10 clang 0x000000010510d837
llvm::SmallVectorTemplateBase<llvm::DenseMap<clang::BaseSubobject, unsigned
long long, llvm::DenseMapInfo<clang::BaseSubobject> >, false>::grow(unsigned
long) + 13831
11 clang 0x0000000104eb1329
std::__1::__tree<std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit>,
std::__1::__map_value_compare<clang::edit::FileOffset,
std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit>, std::__1::less<clang::edit::FileOffset>,
true>, std::__1::allocator<std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit> >
>::destroy(std::__1::__tree_node<std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit>, void*>*) + 6153
12 clang 0x0000000104e8a62d void
std::__1::vector<clang::FrontendInputFile,
std::__1::allocator<clang::FrontendInputFile>
>::__push_back_slow_path<clang::FrontendInputFile
const&>(clang::FrontendInputFile const&&&) + 15901
13 clang 0x0000000104e53e5b void
std::__1::__tree_balance_after_insert<std::__1::__tree_node_base<void*>*>(std::__1::__tree_node_base<void*>*,
std::__1::__tree_node_base<void*>*) + 4587
14 clang 0x0000000104e4c128
15 clang 0x0000000104e501ec void
std::__1::vector<llvm::SourceMgr::SrcBuffer,
std::__1::allocator<llvm::SourceMgr::SrcBuffer>
>::__push_back_slow_path<llvm::SourceMgr::SrcBuffer
const&>(llvm::SourceMgr::SrcBuffer const&&&) + 1436
16 libdyld.dylib 0x00007fff9052a5fd start + 1
Stack dump:
0. Program arguments: /opt/bin/clang -cc1 -triple
x86_64-apple-macosx10.7.0 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name XCProject.m -mrelocation-model pic -pic-level 2
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 236.3 -gdwarf-2 -coverage-file
/Users/jh/build/TextMate/vendor/XcodeEditor/vendor/Source/Main/XCProject.o
-resource-dir /opt/bin/../lib/clang/3.5.0 -dependency-file
/Users/jh/build/TextMate/vendor/XcodeEditor/vendor/Source/Main/XCProject.o.d
-MT /Users/jh/build/TextMate/vendor/XcodeEditor/vendor/Source/Main/XCProject.o
-include-pch /Users/jh/build/TextMate/Shared/PCH/prelude.m.gch -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
-D XcodeEditor_EXPORTS -D NULL_STR="\uFFFF" -D NDEBUG -I Shared/include -I
/Users/jh/build/TextMate/include -Os -Wall -Wwrite-strings -Wformat -Winit-self
-Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch
-Wno-address-of-temporary -std=c99 -fconst-strings -fdebug-compilation-dir
/Users/jh/box/textmate -ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-stack-protector 1 -mstackrealign -fblocks -fno-signed-char
-fobjc-runtime=macosx-10.7.0 -fencode-extended-block-signature -fobjc-arc
-fobjc-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o
/Users/jh/build/TextMate/vendor/XcodeEditor/vendor/Source/Main/XCProject.o -x
objective-c vendor/XcodeEditor/vendor/Source/Main/XCProject.m
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'vendor/XcodeEditor/vendor/Source/Main/XCProject.m'.
4. Running pass 'ObjC ARC contraction' on function '@"\01-[XCProject
groupWithPathFromRoot:]"'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 (trunk 203772)
Target: x86_64-apple-darwin13.1.0
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:
/var/folders/kd/15dq0_gs4gz3_dzjh43_nq0m0000gn/T/XCProject-1f3976.m
clang: note: diagnostic msg:
/var/folders/kd/15dq0_gs4gz3_dzjh43_nq0m0000gn/T/XCProject-1f3976.sh
clang: note: diagnostic msg:
********************
[281/1111] Compile ‘/Users/jh/build/TextMate/Frameworks/text/test_text.cc’…
ninja: build stopped: subcommand failed.
```
The sh file content:
```
"/opt/bin/clang" -cc1 -triple x86_64-apple-macosx10.7.0 -emit-obj
-disable-free -disable-llvm-verifier -main-file-name XCProject.m
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 236.3 -gdwarf-2 -D
"XcodeEditor_EXPORTS" -D "NULL_STR=\"\\uFFFF\"" -D "NDEBUG" -Os -Wall
-Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses
-Wno-sign-compare -Wno-switch -Wno-address-of-temporary -std=c99
-fconst-strings -ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-stack-protector 1 -mstackrealign -fblocks -fno-signed-char
-fobjc-runtime=macosx-10.7.0 -fencode-extended-block-signature -fobjc-arc
-fobjc-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -x objective-c XCProject-1f3976.m
```
--
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/20140313/3254ff0b/attachment.html>
More information about the llvm-bugs
mailing list