Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Flacky crash when building for ARM Chromium 62+ #34861

Open Quuxplusone opened 6 years ago

Quuxplusone commented 6 years ago
Bugzilla Link PR35888
Status NEW
Importance P normal
Reported by Lorenzo Tilve (ltilve@igalia.com)
Reported on 2018-01-10 08:55:38 -0800
Last modified on 2018-02-06 08:15:32 -0800
Version 5.0
Hardware PC Linux
CC dgregor@apple.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
When compiling a version of Chromium 62/63 for ARM, the build seems to be
crashing in some cases at this point:

[21324/30694] ../../../../../../bin/clang++-4.0 -MMD -MF
obj/content/browser/browser/navigation_url_loader_network_service.o.d -
DENABLE_SCREEN_CAPTURE=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -
DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -
DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
DCR_CLANG_REVISION=\"313786-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -
D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG -DNVALGRIND -
DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -
DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib/arm-linux-gnueabihf\" -
DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -
DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -
DUSE_EGL -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -
DHAVE_PTHREAD -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -
DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -
DUCHAR_TYPE=uint16_t -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -
DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -
DSK_SUPPORT_GPU=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -
DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DFEATURE_ENABLE_VOICEMAIL -
DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -
DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -
DNO_MAIN_THREAD_WRAPPING -DFLAC__NO_DLL -I../.. -Igen -I/usr/include/atk-1.0 -
I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -
I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -
I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -
I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-
2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libpng16
-I../../third_party/libwebp/src -I../../third_party/khronos -I../../gpu -
I../../third_party/protobuf/src -I../../third_party/ced/src -
I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -
I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -
I../../third_party/skia/include/config -I../../third_party/skia/include/core -
I../../third_party/skia/include/effects -I../../third_party/skia/include/encode
-I../../third_party/skia/include/gpu -I../../third_party/skia/include/images -
I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -
I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -
I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -
I../../third_party/skia/third_party/vulkan -I../../third_party/skia/src/gpu -
I../../third_party/skia/src/sksl -I../../third_party/leveldatabase -
I../../third_party/leveldatabase/src -
I../../third_party/leveldatabase/src/include -
I../../third_party/webrtc_overrides -I../../testing/gtest/include -
I../../third_party/webrtc -I../../third_party/webrtc_overrides -
I../../third_party/webrtc -I../../third_party/protobuf/src -Igen/protoc_out -
Igen/components/metrics/proto -I../../third_party/boringssl/src/include -
I/usr/include/nss -I/usr/include/nspr -I../../third_party/libwebm/source -Igen -
I../../third_party/WebKit -Igen/third_party/WebKit -I../../v8/include -
Igen/v8/include -I../../third_party/mesa/src/include -
I../../third_party/WebKit/Source -I../../third_party/WebKit -Igen/blink -
Igen/third_party/WebKit -I../../third_party/angle/src/common/third_party/base -
Igen/angle -I../../third_party/brotli/include -
I../../third_party/libyuv/include -I../../third_party/re2/src -
I../../third_party/zlib -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-
gnueabihf/dbus-1.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -
fstack-protector -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -no-
canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard
-mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -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-user-defined-warnings -O2 -fno-ident -fdata-sections -ffunction-
sections -fomit-frame-pointer -gdwarf-3 -g1 -fvisibility=hidden -Wheader-
hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-
destructors -Wno-unused-local-typedef -Wno-unused-function -Wno-header-guard -
std=gnu++14 -fno-rtti -nostdinc++ -
isystem../../buildtools/third_party/libc++/trunk/include -
isystem../../buildtools/third_party/libc++abi/trunk/include -
isystem../../buildtools/third_party/libunwind/trunk/include -fno-exceptions -
fvisibility-inlines-hidden -c
../../content/browser/loader/navigation_url_loader_network_service.cc -o
obj/content/browser/browser/navigation_url_loader_network_service.o
FAILED: obj/content/browser/browser/navigation_url_loader_network_service.o
../../../../../../bin/clang++-4.0 -MMD -MF
obj/content/browser/browser/navigation_url_loader_network_service.o.d -
DENABLE_SCREEN_CAPTURE=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -
DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -
DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
DCR_CLANG_REVISION=\"313786-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -
D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG -DNVALGRIND -
DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -
DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib/arm-linux-gnueabihf\" -
DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -
DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -
DUSE_EGL -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -
DHAVE_PTHREAD -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -
DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -
DUCHAR_TYPE=uint16_t -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -
DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -
DSK_SUPPORT_GPU=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -
DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DFEATURE_ENABLE_VOICEMAIL -
DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -
DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -
DNO_MAIN_THREAD_WRAPPING -DFLAC__NO_DLL -I../.. -Igen -I/usr/include/atk-1.0 -
I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -
I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -
I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -
I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-
2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libpng16
-I../../third_party/libwebp/src -I../../third_party/khronos -I../../gpu -
I../../third_party/protobuf/src -I../../third_party/ced/src -
I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -
I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -
I../../third_party/skia/include/config -I../../third_party/skia/include/core -
I../../third_party/skia/include/effects -I../../third_party/skia/include/encode
-I../../third_party/skia/include/gpu -I../../third_party/skia/include/images -
I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -
I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -
I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -
I../../third_party/skia/third_party/vulkan -I../../third_party/skia/src/gpu -
I../../third_party/skia/src/sksl -I../../third_party/leveldatabase -
I../../third_party/leveldatabase/src -
I../../third_party/leveldatabase/src/include -
I../../third_party/webrtc_overrides -I../../testing/gtest/include -
I../../third_party/webrtc -I../../third_party/webrtc_overrides -
I../../third_party/webrtc -I../../third_party/protobuf/src -Igen/protoc_out -
Igen/components/metrics/proto -I../../third_party/boringssl/src/include -
I/usr/include/nss -I/usr/include/nspr -I../../third_party/libwebm/source -Igen -
I../../third_party/WebKit -Igen/third_party/WebKit -I../../v8/include -
Igen/v8/include -I../../third_party/mesa/src/include -
I../../third_party/WebKit/Source -I../../third_party/WebKit -Igen/blink -
Igen/third_party/WebKit -I../../third_party/angle/src/common/third_party/base -
Igen/angle -I../../third_party/brotli/include -
I../../third_party/libyuv/include -I../../third_party/re2/src -
I../../third_party/zlib -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-
gnueabihf/dbus-1.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -
fstack-protector -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -no-
canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard
-mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -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-user-defined-warnings -O2 -fno-ident -fdata-sections -ffunction-
sections -fomit-frame-pointer -gdwarf-3 -g1 -fvisibility=hidden -Wheader-
hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-
destructors -Wno-unused-local-typedef -Wno-unused-function -Wno-header-guard -
std=gnu++14 -fno-rtti -nostdinc++ -
isystem../../buildtools/third_party/libc++/trunk/include -
isystem../../buildtools/third_party/libc++abi/trunk/include -
isystem../../buildtools/third_party/libunwind/trunk/include -fno-exceptions -
fvisibility-inlines-hidden -c
../../content/browser/loader/navigation_url_loader_network_service.cc -o
obj/content/browser/browser/navigation_url_loader_network_service.o
Stack dump:
0.  Program arguments: ../../../../../../bin/clang++-4.0 -cc1 -triple thumbv7--
linux-gnueabihf -emit-obj -disable-free -disable-llvm-verifier -discard-value-
names -main-file-name navigation_url_loader_network_service.cc -mrelocation-
model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -
masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu
cortex-a8 -target-feature -fp-only-sp -target-feature -d16 -target-feature
+vfp3 -target-feature -fp16 -target-feature -vfp4 -target-feature -fp-armv8 -
target-feature +neon -target-feature -crypto -target-abi aapcs-linux -mfloat-
abi hard -dwarf-column-info -debug-info-kind=line-tables-only -dwarf-version=3 -
debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-notes-file
/usr/src/packages/BUILD/chromium-browser-
63.0.3239.84/out/Release/obj/content/browser/browser/navigation_url_loader_network_service.gcno
-nostdinc++ -resource-dir ../../../../../../bin/../lib/clang/4.0.1 -dependency-
file obj/content/browser/browser/navigation_url_loader_network_service.o.d -MT
obj/content/browser/browser/navigation_url_loader_network_service.o -isystem
../../buildtools/third_party/libc++/trunk/include -isystem
../../buildtools/third_party/libc++abi/trunk/include -isystem
../../buildtools/third_party/libunwind/trunk/include -D ENABLE_SCREEN_CAPTURE=1
-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 NO_TCMALLOC -D FULL_SAFE_BROWSING -D
SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D OFFICIAL_BUILD -D CHROMIUM_BUILD
-D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D
CR_CLANG_REVISION="313786-1" -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -
D _FORTIFY_SOURCE=2 -D _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D
_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D NDEBUG -D NVALGRIND -D
DYNAMIC_ANNOTATIONS_ENABLED=0 -D CONTENT_IMPLEMENTATION -D
V8_USE_EXTERNAL_STARTUP_DATA -D ATK_LIB_DIR="/usr/lib/arm-linux-gnueabihf" -D
GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -D
GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -D GL_GLEXT_PROTOTYPES -D USE_GLX -
D USE_EGL -D GOOGLE_PROTOBUF_NO_RTTI -D GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -
D HAVE_PTHREAD -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D
U_STATIC_IMPLEMENTATION -D ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D
UCHAR_TYPE=uint16_t -D SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D
SK_HAS_PNG_LIBRARY -D SK_HAS_WEBP_LIBRARY -D SK_HAS_JPEG_LIBRARY -D
SK_SUPPORT_GPU=1 -D LEVELDB_PLATFORM_CHROMIUM=1 -D
WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -D FEATURE_ENABLE_VOICEMAIL -D
GTEST_RELATIVE_PATH -D WEBRTC_CHROMIUM_BUILD -D WEBRTC_POSIX -D WEBRTC_LINUX -D
WTF_USE_WEBAUDIO_FFMPEG=1 -D WTF_USE_DEFAULT_RENDER_THEME=1 -D
NO_MAIN_THREAD_WRAPPING -D FLAC__NO_DLL -I ../.. -I gen -I /usr/include/atk-1.0
-I /usr/include/glib-2.0 -I /usr/lib/arm-linux-gnueabihf/glib-2.0/include -I
/usr/include/glib-2.0 -I /usr/lib/arm-linux-gnueabihf/glib-2.0/include -I
/usr/include/pango-1.0 -I /usr/include/harfbuzz -I /usr/include/pango-1.0 -I
/usr/include/cairo -I /usr/include/glib-2.0 -I /usr/lib/arm-linux-
gnueabihf/glib-2.0/include -I /usr/include/pixman-1 -I /usr/include/uuid -I
/usr/include/libpng16 -I ../../third_party/libwebp/src -I
../../third_party/khronos -I ../../gpu -I ../../third_party/protobuf/src -I
../../third_party/ced/src -I ../../third_party/icu/source/common -I
../../third_party/icu/source/i18n -I ../../skia/config -I ../../skia/ext -I
../../third_party/skia/include/c -I ../../third_party/skia/include/config -I
../../third_party/skia/include/core -I ../../third_party/skia/include/effects -
I ../../third_party/skia/include/encode -I ../../third_party/skia/include/gpu -
I ../../third_party/skia/include/images -I ../../third_party/skia/include/lazy -
I ../../third_party/skia/include/pathops -I ../../third_party/skia/include/pdf -
I ../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports -
I ../../third_party/skia/include/utils -I
../../third_party/skia/third_party/vulkan -I ../../third_party/skia/src/gpu -I
../../third_party/skia/src/sksl -I ../../third_party/leveldatabase -I
../../third_party/leveldatabase/src -I
../../third_party/leveldatabase/src/include -I
../../third_party/webrtc_overrides -I ../../testing/gtest/include -I
../../third_party/webrtc -I ../../third_party/webrtc_overrides -I
../../third_party/webrtc -I ../../third_party/protobuf/src -I gen/protoc_out -I
gen/components/metrics/proto -I ../../third_party/boringssl/src/include -I
/usr/include/nss -I /usr/include/nspr -I ../../third_party/libwebm/source -I
gen -I ../../third_party/WebKit -I gen/third_party/WebKit -I ../../v8/include -
I gen/v8/include -I ../../third_party/mesa/src/include -I
../../third_party/WebKit/Source -I ../../third_party/WebKit -I gen/blink -I
gen/third_party/WebKit -I ../../third_party/angle/src/common/third_party/base -
I gen/angle -I ../../third_party/brotli/include -I
../../third_party/libyuv/include -I ../../third_party/re2/src -I
../../third_party/zlib -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-
gnueabihf/dbus-1.0/include -internal-isystem /usr/local/include -internal-
isystem ../../../../../../bin/../lib/clang/4.0.1/include -internal-externc-
isystem /usr/include/arm-linux-gnueabihf -internal-externc-isystem /include -
internal-externc-isystem /usr/include -O2 -Wall -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-user-defined-warnings -Wheader-hygiene -Wstring-conversion -
Wtautological-overlap-compare -Wexit-time-destructors -Wno-unused-local-typedef
-Wno-unused-function -Wno-header-guard -std=gnu++14 -fdeprecated-macro -fdebug-
compilation-dir /usr/src/packages/BUILD/chromium-browser-
63.0.3239.84/out/Release -ferror-limit 19 -fmessage-length 0 -fvisibility
hidden -fvisibility-inlines-hidden -pthread -stack-protector 1 -stack-protector-
buffer-size 4 -fallow-half-arguments-and-returns -fno-rtti -fno-signed-char -
fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-
loops -vectorize-slp -o
obj/content/browser/browser/navigation_url_loader_network_service.o -x c++
../../content/browser/loader/navigation_url_loader_network_service.cc
1.  ../../content/browser/loader/navigation_url_loader_network_service.cc:104:9:
current parser token ')'
2.  ../../content/browser/loader/navigation_url_loader_network_service.cc:48:1:
parsing namespace 'content'
3.  ../../content/browser/loader/navigation_url_loader_network_service.cc:50:1:
parsing namespace 'content::(anonymous)'
4.  ../../net/traffic_annotation/network_traffic_annotation.h:85:39:
instantiating function definition 'net::DefineNetworkTrafficAnnotation<22,
1187>'
5.  ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<21>'
6.  ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<20>'
7.  ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<19>'
8.  ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<18>'
9.  ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<17>'
10. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<16>'
11. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<15>'
12. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<14>'
13. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<13>'
14. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<12>'
15. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<11>'
16. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<10>'
17. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<9>'
18. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<8>'
19. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<7>'
20. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<6>'
21. ../../net/traffic_annotation/network_traffic_annotation.h:14:20:
instantiating function definition '(anonymous namespace)::recursive_hash<5>'
clang++-4.0: error: unable to execute command: Segmentation fault
clang++-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.1-8bem1 (tags/RELEASE_401/final)
Target: arm--linux-gnueabihf
Thread model: posix
InstalledDir: ../../../../../../bin
clang++-4.0: 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++-4.0: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++-4.0: note: diagnostic msg: /tmp/navigation_url_loader_network_service-
6e0b53.cpp
clang++-4.0: note: diagnostic msg: /tmp/navigation_url_loader_network_service-
6e0b53.sh
clang++-4.0: note: diagnostic msg:

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

Which happens when processing this annotation
https://chromium.googlesource.com/chromium/src.git/+/62.0.3178.1/content/browser/loader/navigation_url_loader_network_service.cc#87

We have been investigating if it could be related with a couple of fixed issues
that have similar errors https://bugs.llvm.org/show_bug.cgi?id=30274 /
https://bugs.llvm.org/show_bug.cgi?id=29087, but still using with a fresher
llvm-toolchain-5.0 (1:5.0.1-2), seems to fail on complete the build
deterministically.
Quuxplusone commented 6 years ago

That trace was produced on a build that failed with clang-4.0, but a similar error happens with clang-5.0.

Quuxplusone commented 6 years ago
The issue is still present when building Chromium 64 on the same part of the
code, which is processing the following annotation:

const net::NetworkTrafficAnnotationTag kNavigationUrlLoaderTrafficAnnotation =
    net::DefineNetworkTrafficAnnotation("navigation_url_loader", R"(
      semantics {
        sender: "Navigation URL Loader"
        description:
          "This request is issued by a main frame navigation to fetch the "
          "content of the page that is being navigated to."
        trigger:
          "Navigating Chrome (by clicking on a link, bookmark, history item, "
          "using session restore, etc)."
        data:
          "Arbitrary site-controlled data can be included in the URL, HTTP "
          "headers, and request body. Requests may include cookies and "
          "site-specific credentials."
        destination: WEBSITE
      }
      policy {
        cookies_allowed: YES
        cookies_store: "user"
        setting: "This feature cannot be disabled."
        chrome_policy {
          URLBlacklist {
            URLBlacklist: { entries: '*' }
          }
        }
        chrome_policy {
          URLWhitelist {
            URLWhitelist { }
          }
        }
      }
      comments:
        "Chrome would be unable to navigate to websites without this type of "
        "request. Using either URLBlacklist or URLWhitelist policies (or a "
        "combination of both) limits the scope of these requests."
      )");

https://chromium.googlesource.com/chromium/src.git/+/64.0.3282.119/content/browser/loader/navigation_url_loader_network_service.cc#81