New issue
Advanced search Search tips

Issue 780458 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

clang crash when jumbo compiling //net with massive jumbo sizes

Project Member Reported by brat...@opera.com, Nov 1 2017

Issue description

We are considering having all files in a target in a single jumbo unit to catch all possible code conflicts, but when trying that out I crashed clang (Linux, x64)

This was in chromium master so a pretty new clang I assume.

Output below. Will attach the generated files. (The preprocessed cpp file was 800k lines, about 4-5x as much as normal but not totally out there)

[1016/1604] CXX obj/net/net/net_jumbo_1.o
FAILED: obj/net/net/net_jumbo_1.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/net/net/net_jumbo_1.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"315613-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_GLIBCXX_DEBUG=1 -DDLOPEN_KERBEROS -DNET_IMPLEMENTATION -DUSE_KERBEROS -DENABLE_BUILT_IN_DNS -DUSE_GCONF -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DPROTOBUF_USE_DLLS -DBORINGSSL_SHARED_LIBRARY -DUSE_GIO -DGLIB_DISABLE_DEPRECATION_WARNINGS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I. -I../.. -Igen -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I/usr/include/nss -I/usr/include/nspr -I../../third_party/zlib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/brotli/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -m64 -march=x86-64 -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-tautological-unsigned-zero-compare -Wno-null-pointer-arithmetic -Wno-tautological-unsigned-enum-zero-compare -O0 -fno-omit-frame-pointer -g2 -gsplit-dwarf -ggnu-pubnames -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wno-header-guard -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++14 -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fno-exceptions -fvisibility-inlines-hidden -c gen/net/base/net_jumbo_1.cc -o obj/net/net/net_jumbo_1.o
In file included from gen/net/base/net_jumbo_1.cc:282:
./../../net/http/transport_security_persister.cc:102:6: error: redefinition of 'IsDynamicExpectCTEnabled'
bool IsDynamicExpectCTEnabled() {
     ^
./../../net/http/transport_security_state.cc:67:6: note: previous definition is here
bool IsDynamicExpectCTEnabled() {
     ^
In file included from gen/net/base/net_jumbo_1.cc:348:
./../../net/proxy/multi_threaded_proxy_resolver.cc:153:7: error: redefinition of 'Job'
class Job : public base::RefCountedThreadSafe<Job> {
      ^
./../../net/cert_net/cert_net_fetcher_impl.cc:304:7: note: previous definition is here
class Job : public URLRequest::Delegate {
      ^
In file included from gen/net/base/net_jumbo_1.cc:348:
./../../net/proxy/multi_threaded_proxy_resolver.cc:262:71: error: only virtual member functions can be marked 'override'
  void Run(scoped_refptr<base::SingleThreadTaskRunner> origin_runner) override {
                                                                      ^~~~~~~~~
./../../net/proxy/multi_threaded_proxy_resolver.cc:257:13: error: use of undeclared identifier 'TYPE_CREATE_RESOLVER'
      : Job(TYPE_CREATE_RESOLVER, CompletionCallback()),
            ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:279:10: error: use of undeclared identifier 'was_cancelled'
    if (!was_cancelled()) {
         ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:280:14: error: use of undeclared identifier 'executor'
      DCHECK(executor());
             ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:281:7: error: use of undeclared identifier 'executor'
      executor()->set_resolver(std::move(resolver_));
      ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:283:5: error: 'OnJobCompleted' is a private member of 'net::(anonymous namespace)::Job'
    OnJobCompleted();
    ^
./../../net/cert_net/cert_net_fetcher_impl.cc:354:8: note: declared private here
  void OnJobCompleted(Error error);
       ^
In file included from gen/net/base/net_jumbo_1.cc:348:
./../../net/proxy/multi_threaded_proxy_resolver.cc:283:20: error: too few arguments to function call, single argument 'error' was not specified
    OnJobCompleted();
    ~~~~~~~~~~~~~~ ^
./../../net/cert_net/cert_net_fetcher_impl.cc:589:1: note: 'OnJobCompleted' declared here
void Job::OnJobCompleted(Error error) {
^
In file included from gen/net/base/net_jumbo_1.cc:348:
./../../net/proxy/multi_threaded_proxy_resolver.cc:311:27: error: only virtual member functions can be marked 'override'
  void WaitingForThread() override {
                          ^~~~~~~~~
./../../net/proxy/multi_threaded_proxy_resolver.cc:316:35: error: only virtual member functions can be marked 'override'
  void FinishedWaitingForThread() override {
                                  ^~~~~~~~~
./../../net/proxy/multi_threaded_proxy_resolver.cc:329:71: error: only virtual member functions can be marked 'override'
  void Run(scoped_refptr<base::SingleThreadTaskRunner> origin_runner) override {
                                                                      ^~~~~~~~~
./../../net/proxy/multi_threaded_proxy_resolver.cc:301:13: error: use of undeclared identifier 'TYPE_GET_PROXY_FOR_URL'
      : Job(TYPE_GET_PROXY_FOR_URL, callback),
            ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:317:12: error: use of undeclared identifier 'executor'
    DCHECK(executor());
           ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:325:46: error: use of undeclared identifier 'executor'
        NetLog::IntCallback("thread_number", executor()->thread_number()));
                                             ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:330:31: error: use of undeclared identifier 'executor'
    ProxyResolver* resolver = executor()->resolver();
                              ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:347:10: error: use of undeclared identifier 'was_cancelled'
    if (!was_cancelled()) {
         ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:351:7: error: use of undeclared identifier 'RunUserCallback'
      RunUserCallback(result_code);
      ^
./../../net/proxy/multi_threaded_proxy_resolver.cc:353:5: error: 'OnJobCompleted' is a private member of 'net::(anonymous namespace)::Job'
    OnJobCompleted();
    ^
./../../net/cert_net/cert_net_fetcher_impl.cc:354:8: note: declared private here
  void OnJobCompleted(Error error);
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
clang++: /b/build/slave/linux_upload_clang/build/src/third_party/llvm/include/llvm/ADT/SmallVector.h:168: llvm::SmallVectorTemplateCommon::reference llvm::SmallVectorTemplateCommon<clang::SwitchStmt *, void>::back() [T = clang::SwitchStmt *]: Assertion `!empty()' failed.
#0 0x0000000001d95d84 (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1d95d84)
#1 0x0000000001d960e6 (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1d960e6)
#2 0x00007fd203c49390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#3 0x00007fd2027b3428 gsignal /build/glibc-bfm8X4/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
#4 0x00007fd2027b502a abort /build/glibc-bfm8X4/glibc-2.23/stdlib/abort.c:91:0
#5 0x00007fd2027abbd7 __assert_fail_base /build/glibc-bfm8X4/glibc-2.23/assert/assert.c:92:0
#6 0x00007fd2027abc82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
#7 0x00000000032bb319 clang::Sema::ActOnFinishSwitchStmt(clang::SourceLocation, clang::Stmt*, clang::Stmt*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x32bb319)
#8 0x0000000002bf0919 clang::Parser::ParseSwitchStatement(clang::SourceLocation*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bf0919)
#9 0x0000000002beda16 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2beda16)
#10 0x0000000002bed2f0 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bed2f0)
#11 0x0000000002bf4661 clang::Parser::ParseCompoundStatementBody(bool) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bf4661)
#12 0x0000000002bedd7a clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bedd7a)
#13 0x0000000002bed2f0 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bed2f0)
#14 0x0000000002bf0b92 clang::Parser::ParseWhileStatement(clang::SourceLocation*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bf0b92)
#15 0x0000000002bedfef clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bedfef)
#16 0x0000000002bed2f0 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bed2f0)
#17 0x0000000002bf4661 clang::Parser::ParseCompoundStatementBody(bool) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bf4661)
#18 0x0000000002bf4f73 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bf4f73)
#19 0x0000000002b634f8 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b634f8)
#20 0x0000000002b7b79c clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b7b79c)
#21 0x0000000002b62549 clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b62549)
#22 0x0000000002b61e93 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b61e93)
#23 0x0000000002b610e4 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b610e4)
#24 0x0000000002b8f82d clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b8f82d)
#25 0x0000000002b8efd7 clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b8efd7)
#26 0x0000000002b770bc clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b770bc)
#27 0x0000000002b60189 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b60189)
#28 0x0000000002b8f82d clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b8f82d)
#29 0x0000000002b8efd7 clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b8efd7)
#30 0x0000000002b770bc clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b770bc)
#31 0x0000000002b60189 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b60189)
#32 0x0000000002b5f679 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b5f679)
#33 0x0000000002b5ab26 clang::ParseAST(clang::Sema&, bool, bool) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b5ab26)
#34 0x0000000002319210 clang::FrontendAction::Execute() (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2319210)
#35 0x00000000022da9d1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x22da9d1)
#36 0x00000000023adc0b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x23adc0b)
#37 0x0000000000853399 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x853399)
#38 0x0000000000850ec6 main (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x850ec6)
#39 0x00007fd20279e830 __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:325:0
#40 0x000000000084de42 _start (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x84de42)
Stack dump:
0.	Program arguments: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name net_jumbo_1.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -enable-split-dwarf -debug-info-kind=limited -debugger-tuning=gdb -ggnu-pubnames -split-dwarf-file obj/net/net/net_jumbo_1.dwo -coverage-notes-file /home/bratell/src/chromium/src/out/Default/obj/net/net/net_jumbo_1.gcno -nostdinc++ -resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/6.0.0 -dependency-file obj/net/net/net_jumbo_1.o.d -MT obj/net/net/net_jumbo_1.o -isystem ../../buildtools/third_party/libc++/trunk/include -isystem ../../buildtools/third_party/libc++abi/trunk/include -D V8_DEPRECATION_WARNINGS -D USE_UDEV -D USE_AURA=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D USE_X11=1 -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D CR_CLANG_REVISION="315613-1" -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D COMPONENT_BUILD -D _DEBUG -D DYNAMIC_ANNOTATIONS_ENABLED=1 -D WTF_USE_DYNAMIC_ANNOTATIONS=1 -D _GLIBCXX_DEBUG=1 -D DLOPEN_KERBEROS -D NET_IMPLEMENTATION -D USE_KERBEROS -D ENABLE_BUILT_IN_DNS -D USE_GCONF -D GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -D GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -D GOOGLE_PROTOBUF_NO_RTTI -D GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -D HAVE_PTHREAD -D PROTOBUF_USE_DLLS -D BORINGSSL_SHARED_LIBRARY -D USE_GIO -D GLIB_DISABLE_DEPRECATION_WARNINGS -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D UCHAR_TYPE=uint16_t -I . -I ../.. -I gen -I /usr/include/gconf/2 -I /usr/include/dbus-1.0 -I /usr/lib/x86_64-linux-gnu/dbus-1.0/include -I /usr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I ../../third_party/protobuf/src -I gen/protoc_out -I ../../third_party/protobuf/src -I ../../third_party/boringssl/src/include -I /usr/include/nss -I /usr/include/nspr -I ../../third_party/zlib -I /usr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I ../../third_party/ced/src -I ../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -I ../../third_party/brotli/include -D __DATE__= -D __TIME__= -D __TIMESTAMP__= -internal-isystem /usr/local/include -internal-isystem ../../third_party/llvm-build/Release+Asserts/lib/clang/6.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O0 -Wno-builtin-macro-redefined -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-tautological-unsigned-zero-compare -Wno-null-pointer-arithmetic -Wno-tautological-unsigned-enum-zero-compare -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wno-header-guard -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++14 -fdeprecated-macro -fdebug-compilation-dir /home/bratell/src/chromium/src/out/Default -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -pthread -stack-protector 1 -stack-protector-buffer-size 4 -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -mllvm -instcombine-lower-dbg-declare=0 -load ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-ipc -o obj/net/net/net_jumbo_1.o -x c++ gen/net/base/net_jumbo_1.cc 
1.	./../../net/quic/core/quic_framer.cc:1200:3: current parser token '}'
2.	./../../net/quic/core/quic_connection.cc:40:1: parsing namespace 'net'
3.	./../../net/quic/core/quic_framer.cc:34:1: parsing namespace 'net::net'
4.	./../../net/quic/core/quic_framer.cc:1028:67: parsing function body
5.	./../../net/quic/core/quic_framer.cc:1028:67: in compound statement ('{}')
6.	./../../net/quic/core/quic_framer.cc:1033:36: in compound statement ('{}')
clang++: error: unable to execute command: Aborted
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0 (trunk 315613)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/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: /tmp/net_jumbo_1-c9a3f0.cpp
clang++: note: diagnostic msg: /tmp/net_jumbo_1-c9a3f0.sh
clang++: note: diagnostic msg: 

********************

 

Comment 1 by brat...@opera.com, Nov 1 2017

clang_crash_jumbo.zip
5.7 MB Download

Comment 2 by brat...@opera.com, Nov 1 2017

The crash might be related to the errors or the files with the errors. When I removed them from the jumbo unit it stopped crashing.
Components: Build

Comment 4 by brat...@opera.com, Feb 16 2018

Status: Archived (was: Untriaged)

Sign in to add a comment