Closed Bug 1087002 Opened 10 years ago Closed 8 years ago

Intermittent clang: error: unable to execute command: Segmentation fault: 11

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: nthomas, Unassigned)

References

Details

In a 33.0.1 release build:

0  clang             0x000000010773f998 llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 13672
1  clang             0x000000010773fe84 llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 14932
2  libsystem_c.dylib 0x00007fff927f4cfa _sigtramp + 26
3  libsystem_c.dylib 0x0000000000000004 _sigtramp + 1837151012
4  clang             0x0000000107630633 std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::MCELFStreamer::LocalCommon*, std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> > >, llvm::MCELFStreamer::LocalCommon const&) + 8595
5  clang             0x0000000107630668 std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::MCELFStreamer::LocalCommon*, std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> > >, llvm::MCELFStreamer::LocalCommon const&) + 8648
6  clang             0x0000000107630a58 std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::MCELFStreamer::LocalCommon*, std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> > >, llvm::MCELFStreamer::LocalCommon const&) + 9656
7  clang             0x0000000107641cfc std::vector<llvm::MCCFIInstruction, std::allocator<llvm::MCCFIInstruction> >::operator=(std::vector<llvm::MCCFIInstruction, std::allocator<llvm::MCCFIInstruction> > const&) + 16460
8  clang             0x0000000107641d9e std::vector<llvm::MCCFIInstruction, std::allocator<llvm::MCCFIInstruction> >::operator=(std::vector<llvm::MCCFIInstruction, std::allocator<llvm::MCCFIInstruction> > const&) + 16622
9  clang             0x00000001076210a1 std::vector<llvm::ELFRelocationEntry, std::allocator<llvm::ELFRelocationEntry> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::ELFRelocationEntry*, std::vector<llvm::ELFRelocationEntry, std::allocator<llvm::ELFRelocationEntry> > >, llvm::ELFRelocationEntry const&) + 45009
10 clang             0x0000000107632966 std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::MCELFStreamer::LocalCommon*, std::vector<llvm::MCELFStreamer::LocalCommon, std::allocator<llvm::MCELFStreamer::LocalCommon> > >, llvm::MCELFStreamer::LocalCommon const&) + 17606
11 clang             0x0000000107267470 std::vector<llvm::TargetLowering::AsmOperandInfo, std::allocator<llvm::TargetLowering::AsmOperandInfo> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::TargetLowering::AsmOperandInfo*, std::vector<llvm::TargetLowering::AsmOperandInfo, std::allocator<llvm::TargetLowering::AsmOperandInfo> > >, llvm::TargetLowering::AsmOperandInfo const&) + 20560
12 clang             0x00000001076e5669 llvm::SymbolTableListTraits<llvm::GlobalAlias, llvm::Module>::toPtr(llvm::ValueSymbolTable*) + 27097
13 clang             0x00000001076e58c7 llvm::SymbolTableListTraits<llvm::GlobalAlias, llvm::Module>::toPtr(llvm::ValueSymbolTable*) + 27703
14 clang             0x00000001076e60ed llvm::SymbolTableListTraits<llvm::GlobalAlias, llvm::Module>::toPtr(llvm::ValueSymbolTable*) + 29789
15 clang             0x00000001076e64bd llvm::SymbolTableListTraits<llvm::GlobalAlias, llvm::Module>::toPtr(llvm::ValueSymbolTable*) + 30765
16 clang             0x00000001066971fe std::vector<clang::serialization::ModuleFile*, std::allocator<clang::serialization::ModuleFile*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::serialization::ModuleFile**, std::vector<clang::serialization::ModuleFile*, std::allocator<clang::serialization::ModuleFile*> > >, clang::serialization::ModuleFile* const&) + 7646
17 clang             0x000000010676d41b std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl const*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**, std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl const*> > >, clang::CXXRecordDecl const* const&) + 7899
18 clang             0x00000001067ab504 std::vector<std::pair<llvm::WeakVH, llvm::Constant*>, std::allocator<std::pair<llvm::WeakVH, llvm::Constant*> > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<llvm::WeakVH, llvm::Constant*>*, std::vector<std::pair<llvm::WeakVH, llvm::Constant*>, std::allocator<std::pair<llvm::WeakVH, llvm::Constant*> > > >, std::pair<llvm::WeakVH, llvm::Constant*> const&) + 84180
19 clang             0x000000010676c5bb std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl const*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**, std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl const*> > >, clang::CXXRecordDecl const* const&) + 4219
20 clang             0x0000000106564058 llvm::SmallVectorImpl<clang::FileEntry const*>::operator=(llvm::SmallVectorImpl<clang::FileEntry const*> const&) + 16456
21 clang             0x000000010654081d std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**, std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*> > >, clang::CompilerInstance* const&) + 13757
22 clang             0x000000010650fda3 std::_Rb_tree<std::string, std::string, std::_Identity<std::string>, std::less<std::string>, std::allocator<std::string> >::_M_insert_unique(std::string const&) + 4131
23 clang             0x0000000106507cd1
24 clang             0x000000010650d532 std::vector<std::string, std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string const&) + 7346
25 clang             0x0000000106507a34
Stack dump:
0.	Program arguments: /builds/slave/rel-m-rel-osx64_bld-0000000000/build/clang/bin/clang -cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name UnifiedProtocols7.cpp -mrelocation-model pic -pic-level 2 -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 123.2.1 -g -ffunction-sections -fdata-sections -coverage-file /builds/ccache/d/5/f76c4c55269c0aec145219de855b12-5629012.o.tmp.bld-lion-r5-088.build.releng.scl3.mozilla.com.17983 -resource-dir /builds/slave/rel-m-rel-osx64_bld-0000000000/build/clang/bin/../lib/clang/3.3 -include ../../mozilla-config.h -isysroot /Developer/SDKs/MacOSX10.6.sdk -D OS_POSIX=1 -D OS_MACOSX=1 -D MOZILLA_INTERNAL_API -D IMPL_LIBXUL -D STATIC_EXPORTABLE_JS_API -D NO_NSPR_10_SUPPORT -D MOZILLA_CLIENT -D NO_X11 -D NDEBUG -D TRIMMED -D NO_X11 -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/ipc/ipdl -I . -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/ipc/chromium/src -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/ipc/glue -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/ipc/ipdl/_ipdlheaders -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/ipc/ipdl/_ipdlheaders -I ../../dist/include -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/dist/include/nspr -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/dist/include/nss -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/dist/include -I /builds/slave/rel-m-rel-osx64_bld-0000000000/build/modules/zlib/src -O3 -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-error=uninitialized -Wno-error=deprecated-declarations -Werror -std=gnu++0x -fdeprecated-macro -fdebug-compilation-dir /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/ipc/ipdl -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -pthread -stack-protector 1 -mstackrealign -fblocks -fno-rtti -fobjc-runtime=macosx-10.6.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fencode-extended-block-signature -fdiagnostics-show-option -backend-option -vectorize-loops -o /builds/ccache/d/5/f76c4c55269c0aec145219de855b12-5629012.o.tmp.bld-lion-r5-088.build.releng.scl3.mozilla.com.17983 -x c++ /builds/slave/rel-m-rel-osx64_bld-0000000000/build/obj-firefox/x86_64/ipc/ipdl/UnifiedProtocols7.cpp 
1.	<eof> parser at end of file
2.	Code generation
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.3 (branches/release_33 183744)
Target: x86_64-apple-darwin11.2.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/3j/snhlrls12l75j358z8phxt1m00000w/T/UnifiedProtocols7-ViftlZ.cpp
clang: note: diagnostic msg: /var/folders/3j/snhlrls12l75j358z8phxt1m00000w/T/UnifiedProtocols7-ViftlZ.sh
clang: note: diagnostic msg: 

********************
make[6]: *** [UnifiedProtocols7.o] Error 254

RyanVM says that sheriffs see this occasionally and rebuild.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.