llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.65k stars 11.84k forks source link

Front end crash while compiling file #29684

Closed llvmbot closed 8 years ago

llvmbot commented 8 years ago
Bugzilla Link 30336
Resolution FIXED
Resolved on Oct 24, 2016 14:10
Version 3.8
OS MacOS X
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@rnk

Extended Description

I was compiling a C++ file when I got the following output:

clang++-3.8 -DPACKAGE_NAME=\"MesosModules\" -DPACKAGE_TARNAME=\"mesosmodules\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"MesosModules 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesosmodules\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_OPENSSL_SSL_H=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCRYPTO=1 -DHAVE_BOOST_LEXICAL_CAST_HPP=1 -DHAVE_BOOST_FUNCTIONAL_HASH_HPP=1 -I. -I.. -I/Users/alexander/Documents/workspace/pmesos/include -I/Users/alexander/Documents/workspace/pmesos/src -I/Users/alexander/Documents/workspace/pmesos/3rdparty/libprocess/include -I/Users/alexander/Documents/workspace/pmesos/3rdparty/stout/include -I/Users/alexander/Documents/workspace/pmesos/build/include -I/Users/alexander/Documents/workspace/pmesos/build/src -I/usr/local/opt/openssl/include -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -I../include -I.. -DUSE_SSL_SOCKET=1 -Wall -Werror -I./dcos_auth -g -O0 -I/Users/alexander/Documents/workspace/pmesos/build/3rdparty/picojson-1.3.0/ -std=c++11 -MT dcos_auth/libdcos_security_la-dcos_http_auth_mod.lo -MD -MP -MF dcos_auth/.deps/libdcos_security_la-dcos_http_auth_mod.Tpo -c ../dcos_auth/dcos_http_auth_mod.cpp  -fno-common -DPIC -o dcos_auth/.libs/libdcos_security_la-dcos_http_auth_mod.o
../dcos_auth/authorizer.cpp:833:23: error: use of undeclared identifier 'Retrier'
                      Retrier<string> retrier(downloadToken, Seconds(5), 5);
                      ^
../dcos_auth/authorizer.cpp:833:31: error: unexpected type name 'string': expected expression
                      Retrier<string> retrier(downloadToken, Seconds(5), 5);
                              ^
../dcos_auth/authorizer.cpp:833:39: error: use of undeclared identifier 'retrier'
                      Retrier<string> retrier(downloadToken, Seconds(5), 5);
                                      ^
../dcos_auth/authorizer.cpp:834:30: error: use of undeclared identifier 'retrier'
                      return retrier.execute();
                             ^
Invalid operator call kind
UNREACHABLE executed at /private/tmp/llvm3820160429-71251-1dezcnt/llvm-3.8.0.src/tools/clang/lib/AST/StmtProfile.cpp:898!
0  libLLVM-3.8.dylib        0x000000010dd58ccb llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1  libLLVM-3.8.dylib        0x000000010dd58625 llvm::sys::RunSignalHandlers() + 44
2  libLLVM-3.8.dylib        0x000000010dd591c1 SignalHandler(int) + 165
3  libsystem_platform.dylib 0x00007fff981fe52a _sigtramp + 26
4  libLLVM-3.8.dylib        0x000000010e58ccd7 (anonymous namespace)::StripDeadDebugInfo::ID + 125932
5  libLLVM-3.8.dylib        0x000000010dd59084 abort + 22
6  libLLVM-3.8.dylib        0x000000010dd44e75 LLVMInstallFatalErrorHandler + 0
7  clang                    0x000000010cfd5cd1 clang::LazyGenerationalUpdatePtr<clang::Decl const*, clang::Decl*, &(clang::ExternalASTSource::CompleteRedeclChain(clang::Decl const*))>::makeValue(clang::ASTContext const&, clang::Decl*) + 1209267
8  clang                    0x000000010cfd46ee clang::LazyGenerationalUpdatePtr<clang::Decl const*, clang::Decl*, &(clang::ExternalASTSource::CompleteRedeclChain(clang::Decl const*))>::makeValue(clang::ASTContext const&, clang::Decl*) + 1203664
9  clang                    0x000000010ce90876 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 7944166
10 clang                    0x000000010cb099da clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4245834
11 clang                    0x000000010cb0c264 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4256212
12 clang                    0x000000010cb37a0c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4434300
13 clang                    0x000000010cb36a6c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4430300
14 clang                    0x000000010cb3831c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4436620
15 clang                    0x000000010caddeff clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4066927
16 clang                    0x000000010cadf5e4 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4072788
17 clang                    0x000000010ca5cafe clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3537518
18 clang                    0x000000010ca6911b clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3588235
19 clang                    0x000000010ca68ef3 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3587683
20 clang                    0x000000010ca692c0 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3588656
21 clang                    0x000000010ca6967c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3589612
22 clang                    0x000000010c92da1d clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 2296205
23 clang                    0x000000010cb18a81 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4307441
24 clang                    0x000000010cb09987 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4245751
25 clang                    0x000000010cb07a5f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237775
26 clang                    0x000000010cb07952 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237506
27 clang                    0x000000010cb3079e clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4405006
28 clang                    0x000000010cb31719 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4408969
29 clang                    0x000000010cb0e9d8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4266312
30 clang                    0x000000010cb0fdba clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4271402
31 clang                    0x000000010cb57f68 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4566744
32 clang                    0x000000010cb579ff clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4565359
33 clang                    0x000000010c82c219 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 1241481
34 clang                    0x000000010c9335c6 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 2319670
35 clang                    0x000000010cb2256c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4347100
36 clang                    0x000000010cb224c8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4346936
37 clang                    0x000000010cb2183f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4343727
38 clang                    0x000000010cb20560 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4338896
39 clang                    0x000000010cb09706 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4245110
40 clang                    0x000000010cb07a5f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237775
41 clang                    0x000000010cb07952 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237506
42 clang                    0x000000010cb0e26c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4264412
43 clang                    0x000000010cb0e877 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4265959
44 clang                    0x000000010cb0fdba clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4271402
45 clang                    0x000000010cb57f68 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4566744
46 clang                    0x000000010cb579ff clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4565359
47 clang                    0x000000010c82c219 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 1241481
48 clang                    0x000000010c9335c6 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 2319670
49 clang                    0x000000010cb2256c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4347100
50 clang                    0x000000010cb224c8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4346936
51 clang                    0x000000010cb2183f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4343727
52 clang                    0x000000010cb20560 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4338896
53 clang                    0x000000010cb09706 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4245110
54 clang                    0x000000010cb07a5f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237775
55 clang                    0x000000010cb07952 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237506
56 clang                    0x000000010cb0e26c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4264412
57 clang                    0x000000010cb0e877 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4265959
58 clang                    0x000000010cb0fdba clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4271402
59 clang                    0x000000010cb57f68 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4566744
60 clang                    0x000000010cb579ff clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4565359
61 clang                    0x000000010c8d4e6a clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 1932762
62 clang                    0x000000010cb0e4c3 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4265011
63 clang                    0x000000010cb0e877 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4265959
64 clang                    0x000000010cb0fdba clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4271402
65 clang                    0x000000010cb57f68 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4566744
66 clang                    0x000000010cb579ff clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4565359
67 clang                    0x000000010c82c219 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 1241481
68 clang                    0x000000010cab4bcc clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3898172
69 clang                    0x000000010cb07fb3 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4239139
70 clang                    0x000000010cb07a5f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237775
71 clang                    0x000000010cb216fc clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4343404
72 clang                    0x000000010cb20560 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4338896
73 clang                    0x000000010cb1fcb2 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4336674
74 clang                    0x000000010cb13a36 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4286886
75 clang                    0x000000010cb07ee8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4238936
76 clang                    0x000000010cb07a5f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237775
77 clang                    0x000000010cb07952 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4237506
78 clang                    0x000000010caaae6e clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3857886
79 clang                    0x000000010caaaac9 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3856953
80 clang                    0x000000010caddb69 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4066009
81 clang                    0x000000010cadf5e4 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4072788
82 clang                    0x000000010ca5c817 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3536775
83 clang                    0x000000010ca6cab3 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3602979
84 clang                    0x000000010c92e378 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 2298600
85 clang                    0x000000010cb18a81 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4307441
86 clang                    0x000000010cb09987 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4245751
87 clang                    0x000000010cb0c264 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4256212
88 clang                    0x000000010cb37a0c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4434300
89 clang                    0x000000010cb35a63 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4426195
90 clang                    0x000000010cb3831c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4436620
91 clang                    0x000000010caddeff clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4066927
92 clang                    0x000000010cadf5e4 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 4072788
93 clang                    0x000000010ca5c817 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3536775
94 clang                    0x000000010ca6cab3 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 3602979
95 clang                    0x000000010c92e378 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 2298600
96 clang                    0x000000010c7ac27a clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 717290
97 clang                    0x000000010c7ae685 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 726517
98 clang                    0x000000010c7ab2eb clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 713307
99 clang                    0x000000010c7aa6b7 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 710183
100 clang                    0x000000010c7aa616 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 710022
101 clang                    0x000000010c7d6f63 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 892627
102 clang                    0x000000010c7d66eb clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 890459
103 clang                    0x000000010c7d61a8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 889112
104 clang                    0x000000010c7daad0 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 907840
105 clang                    0x000000010c7da092 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 905218
106 clang                    0x000000010c7d65f3 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 890211
107 clang                    0x000000010c7d61a8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 889112
108 clang                    0x000000010c7d60f5 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 888933
109 clang                    0x000000010c7d7b9b clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 895755
110 clang                    0x000000010c7d6a25 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 891285
111 clang                    0x000000010c7d61a8 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 889112
112 clang                    0x000000010c7daad0 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 907840
113 clang                    0x000000010c7db194 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 909572
114 clang                    0x000000010c78665c clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 562636
115 clang                    0x000000010c78585d clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 559053
116 clang                    0x000000010c7a2fb5 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 679717
117 clang                    0x000000010c7a1ccf clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 674879
118 clang                    0x000000010c78db7f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 592623
119 clang                    0x000000010c7e8c1d clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 965517
120 clang                    0x000000010c7e8a1f clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 965007
121 clang                    0x000000010c7e8203 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 962931
122 clang                    0x000000010c79d674 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 656868
123 clang                    0x000000010c79d277 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 655847
124 clang                    0x000000010c78d3ca clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 590650
125 clang                    0x000000010c7e8292 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 963074
126 clang                    0x000000010c79d674 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 656868
127 clang                    0x000000010c79d277 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 655847
128 clang                    0x000000010c78d3ca clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 590650
129 clang                    0x000000010c7e8292 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 963074
130 clang                    0x000000010c7e7a43 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 960947
131 clang                    0x000000010c783705 clang::CodeGen::CGBuilderInserter<true>::InsertHelper(llvm::Instruction*, llvm::Twine const&, llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>) const + 550517
132 clang                    0x000000010c462647
133 clang                    0x000000010c436f94
134 clang                    0x000000010c40ba9a
135 clang                    0x000000010c403d9b
136 clang                    0x000000010c40a4d5
137 libdyld.dylib            0x00007fff8c43e5ad start + 1
Stack dump:
0.      Program arguments: /usr/local/Cellar/llvm38/3.8.0/lib/llvm-3.8/bin/clang -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -main-file-name authorizer.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 264.3.101 -dwarf-column-info -debug-info-kind=standalone -dwarf-version=2 -debugger-tuning=lldb -coverage-file /Users/alexander/Documents/workspace/mesos-modules-private/build/dcos_auth/.libs/libdcos_security_la-authorizer.o -resource-dir /usr/local/Cellar/llvm38/3.8.0/lib/llvm-3.8/bin/../lib/clang/3.8.0 -D PACKAGE_NAME="MesosModules" -D PACKAGE_TARNAME="mesosmodules" -D PACKAGE_VERSION="0.1" -D PACKAGE_STRING="MesosModules 0.1" -D PACKAGE_BUGREPORT="" -D PACKAGE_URL="" -D PACKAGE="mesosmodules" -D VERSION="0.1" -D STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D HAVE_UNISTD_H=1 -D HAVE_DLFCN_H=1 -D LT_OBJDIR=".libs/" -D HAVE_OPENSSL_SSL_H=1 -D HAVE_LIBSSL=1 -D HAVE_LIBCRYPTO=1 -D HAVE_BOOST_LEXICAL_CAST_HPP=1 -D HAVE_BOOST_FUNCTIONAL_HASH_HPP=1 -I . -I .. -I /Users/alexander/Documents/workspace/pmesos/include -I /Users/alexander/Documents/workspace/pmesos/src -I /Users/alexander/Documents/workspace/pmesos/3rdparty/libprocess/include -I /Users/alexander/Documents/workspace/pmesos/3rdparty/stout/include -I /Users/alexander/Documents/workspace/pmesos/build/include -I /Users/alexander/Documents/workspace/pmesos/build/src -I /usr/local/opt/openssl/include -D PICOJSON_USE_INT64 -D __STDC_FORMAT_MACROS -I ../include -I .. -D USE_SSL_SOCKET=1 -I ./dcos_auth -I /Users/alexander/Documents/workspace/pmesos/build/3rdparty/picojson-1.3.0/ -D PIC -stdlib=libc++ -O0 -Wall -Werror -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/alexander/Documents/workspace/mesos-modules-private/build -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fno-common -fdiagnostics-show-option -fcolor-diagnostics -o dcos_auth/.libs/libdcos_security_la-authorizer.o -x c++ ../dcos_auth/authorizer.cpp
1.      ../dcos_auth/authorizer.cpp:835:23: current parser token ')'
2.      ../dcos_auth/authorizer.cpp:93:1: parsing namespace 'mesos'
3.      ../dcos_auth/authorizer.cpp:94:1: parsing namespace 'dcos'
4.      ../dcos_auth/authorizer.cpp:686:1: parsing struct/union/class body 'DCOSAuthorizerProcess'
5.      ../dcos_auth/authorizer.cpp:809:3: parsing function body 'getToken'
6.      ../dcos_auth/authorizer.cpp:809:3: in compound statement ('{}')
7.      ../dcos_auth/authorizer.cpp:815:39: in compound statement ('{}')
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.8.0 (tags/RELEASE_380/final)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /usr/local/bin
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/kj/ffppgfr54x95xb9b4nhjqccw0000gn/T/authorizer-3a1f74.cpp
clang: note: diagnostic msg: /var/folders/kj/ffppgfr54x95xb9b4nhjqccw0000gn/T/authorizer-3a1f74.sh
clang: note: diagnostic msg:

********************
rnk commented 8 years ago

r284999 recently fixed one way to reach this crash. I'll mark this fixed for now. If you hit the same bug again with a new compiler, feel free to reopen.

llvmbot commented 8 years ago

The file sadly cannot be attached, because it contains code I cannot share (plus, is too big to be attached)