-
Notifications
You must be signed in to change notification settings - Fork 15k
Labels
backend:X86crashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]
Description
We found this when qualifying a new toolchain. The revision range is between 8b93f27 and 242ebcf.
I was wondering if anyone else has run into this? I've been at the dev meeting this week, and we weren't paying all that much attention to our CI while that was going on.
Error output:
[98810/154458](639) CXX x64-coverage/obj/src/lib/elfldltl/test/elfldltl-unittests.symbol-tests.cc.o
FAILED: [code=1] x64-coverage/obj/src/lib/elfldltl/test/elfldltl-unittests.symbol-tests.cc.o
../../build/rbe/reclient_cxx.sh --working-subdir=out/not-default --exec_strategy=remote_local_fallback --preserve_unchanged_output_mtime -- ../../prebuilt/third_party/clang/linux-x64/bin/clang++ -MD -MF x64-coverage/obj/src/lib/elfldltl/test/elfldltl-unittests.symbol-tests.cc.o.d -DTOOLCHAIN_VERSION=i2065Fhwg9LXYjwVynnninFWj46HGvsLAgGZHfBE8dMC -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -DZX_ASSERT_LEVEL=2 -D_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST -I../.. -Ix64-coverage/gen -I../../src/lib/elfldltl/include -I../../sdk/lib/fit/include -I../../sdk/lib/stdcompat/include -I../../zircon/system/ulib/fbl/include -I../../zircon/system/ulib/zx/include -I../../src/zircon/lib/zircon/include -Ifidling/gen/zircon/vdso/zx/zither/legacy_syscall_cdecl -I../../src/lib/elfldltl/testing/include -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/src/googletest/include -I../../sdk -Ix64-coverage/gen/sdk -I../../sdk/lib/fit-promise/include -I../../sdk/lib/syslog/cpp/include -I../../sdk/lib/async-loop/include -I../../sdk/lib/async/include -Ifidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/cpp -Ifidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp -Ifidling/gen/sdk/fidl/fuchsia.diagnostics.types/fuchsia.diagnostics.types/cpp -I../../sdk/lib/fidl/cpp/include -I../../sdk/lib/fidl/cpp/wire/include -I../../sdk/lib/fidl_base/include -I../../zircon/system/ulib/sync/include -I../../sdk/lib/fidl/include -Ifidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp -I../../src/lib/symbolizer-markup/include -I../../src/lib/trivial-allocator/include -I../../sdk/lib/fdio/include -fcolor-diagnostics -fcrash-diagnostics-dir=clang-crashreports -fcrash-diagnostics=all -gen-reproducer=error -fstack-size-section -fstack-clash-protection -ffp-contract=off --sysroot=x64-coverage/gen/zircon/public/sysroot --target=x86_64-unknown-fuchsia -ffuchsia-api-level=4293918720 -march=x86-64-v2 -mtune=generic -mbranches-within-32B-boundaries -ffile-compilation-dir=. -no-canonical-prefixes -fno-omit-frame-pointer -momit-leaf-frame-pointer -fdata-sections -ffunction-sections -O1 -Xclang -debug-info-kind=constructor -g3 -grecord-gcc-switches -gdwarf-5 -gz=zstd -Wall -Wextra -Wconversion -Wextra-semi -Wimplicit-fallthrough -Wnewline-eof -Wstrict-prototypes -Wwrite-strings -Wno-sign-conversion -Wno-unused-parameter -Wnonportable-system-include-path -Wno-missing-field-initializers -Wno-extra-qualification -Wno-cast-function-type-mismatch -Wno-unknown-warning-option -Wno-missing-template-arg-list-after-template-kw -Wno-deprecated-pragma -Wno-nontrivial-memaccess -fvisibility=hidden -Werror -Wa,--fatal-warnings -ftrivial-auto-var-init=pattern -Wthread-safety -Wno-unknown-warning-option -Wno-thread-safety-reference-return -mllvm -profile-correlate=binary -mllvm -enable-single-byte-coverage=true -mllvm -system-headers-coverage -fprofile-instr-generate -fcoverage-mapping -fprofile-list=x64-coverage/profile-source-files.list -Wno-undef -Wno-character-conversion -fvisibility-inlines-hidden -std=c++20 -Wno-deprecated-this-capture -fno-exceptions -fno-rtti -ftemplate-backtrace-limit=0 -c ../../src/lib/elfldltl/test/symbol-tests.cc -o x64-coverage/obj/src/lib/elfldltl/test/elfldltl-unittests.symbol-tests.cc.o
fatal error: error in backend: SmallVector unable to grow. Requested capacity (4294967296) is larger than maximum value for size type (4294967295)
clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Fuchsia clang version 22.0.0git (https://llvm.googlesource.com/llvm-project 242ebcf13e037df08725150ad39ae156bb0ab1b0)
Target: x86_64-unknown-fuchsia
Thread model: posix
InstalledDir: ../../prebuilt/third_party/clang/linux-x64/bin
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: clang-crashreports/symbol-tests-e49965.cpp
clang++: note: diagnostic msg: clang-crashreports/symbol-tests-e49965.sh
clang++: note: diagnostic msg:
********************
I'm trying to reduce the following reproducer:
Metadata
Metadata
Assignees
Labels
backend:X86crashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]