Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

clang segfault #38649

Closed Quuxplusone closed 5 years ago

Quuxplusone commented 5 years ago
Bugzilla Link PR39676
Status RESOLVED FIXED
Importance P normal
Reported by Fred Douglas (fredlas@google.com)
Reported on 2018-11-15 06:45:55 -0800
Last modified on 2019-01-16 11:14:13 -0800
Version 7.0
Hardware PC Linux
CC htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk, rnk@google.com
Fixed by commit(s)
Attachments LLVM_CRASH_cds_incremental-7a5517.sh (39204 bytes, text/plain)
Blocks
Blocked by
See also
In file included from source/common/upstream/cds_incremental.cc:11:
In file included from bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_factory_lib/common/config/incremental_subscription_factory.h:10:
bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_lib/common/config/incremental_subscription_impl.h:20:81:
error: expected '{' after base class list
class IncrementalSubscriptionImpl : public IncrementalSubscription<ResourceType>
                                                                                ^
bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_lib/common/config/incremental_subscription_impl.h:21:114:
error: expected ';' after class
                                    Grpc::TypedAsyncStreamCallbacks<envoy::api::v2::IncrementalDiscoveryResponse>
                                                                                                                 ^
                                                                                                                 ;
Stack dump:
0.      Program arguments: /usr/local/google/home/fredlas/clang7/bin/clang -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-
llvm-verifier -discard-value-names -main-file-name cds_incremental.cc -
mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -
fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-
array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -coverage-
notes-file /proc/self/cwd/bazel-out/k8-
fastbuild/bin/source/common/upstream/_objs/cds_incremental_lib/cds_incremental.pic.gcno
-resource-dir /usr/local/google/home/fredlas/clang7/lib/clang/7.0.0 -dependency-
file bazel-out/k8-
fastbuild/bin/source/common/upstream/_objs/cds_incremental_lib/cds_incremental.pic.d
-MT bazel-out/k8-
fastbuild/bin/source/common/upstream/_objs/cds_incremental_lib/cds_incremental.pic.o
-sys-header-deps -iquote . -iquote bazel-out/k8-fastbuild/genfiles -iquote
bazel-out/k8-fastbuild/bin -iquote external/bazel_tools -iquote bazel-out/k8-
fastbuild/genfiles/external/bazel_tools -iquote bazel-out/k8-
fastbuild/bin/external/bazel_tools -iquote external/com_google_absl -iquote
bazel-out/k8-fastbuild/genfiles/external/com_google_absl -iquote bazel-out/k8-
fastbuild/bin/external/com_google_absl -iquote
external/com_github_gabime_spdlog -iquote bazel-out/k8-
fastbuild/genfiles/external/com_github_gabime_spdlog -iquote bazel-out/k8-
fastbuild/bin/external/com_github_gabime_spdlog -iquote
external/com_github_fmtlib_fmt -iquote bazel-out/k8-
fastbuild/genfiles/external/com_github_fmtlib_fmt -iquote bazel-out/k8-
fastbuild/bin/external/com_github_fmtlib_fmt -iquote
external/com_google_protobuf -iquote bazel-out/k8-
fastbuild/genfiles/external/com_google_protobuf -iquote bazel-out/k8-
fastbuild/bin/external/com_google_protobuf -iquote external/envoy_deps -iquote
bazel-out/k8-fastbuild/genfiles/external/envoy_deps -iquote bazel-out/k8-
fastbuild/bin/external/envoy_deps -iquote external/envoy_api -iquote bazel-
out/k8-fastbuild/genfiles/external/envoy_api -iquote bazel-out/k8-
fastbuild/bin/external/envoy_api -iquote external/com_github_gogo_protobuf -
iquote bazel-out/k8-fastbuild/genfiles/external/com_github_gogo_protobuf -
iquote bazel-out/k8-fastbuild/bin/external/com_github_gogo_protobuf -iquote
external/googleapis -iquote bazel-out/k8-fastbuild/genfiles/external/googleapis
-iquote bazel-out/k8-fastbuild/bin/external/googleapis -iquote
external/com_lyft_protoc_gen_validate -iquote bazel-out/k8-
fastbuild/genfiles/external/com_lyft_protoc_gen_validate -iquote bazel-out/k8-
fastbuild/bin/external/com_lyft_protoc_gen_validate -iquote
external/com_github_cyan4973_xxhash -iquote bazel-out/k8-
fastbuild/genfiles/external/com_github_cyan4973_xxhash -iquote bazel-out/k8-
fastbuild/bin/external/com_github_cyan4973_xxhash -iquote
external/com_github_tencent_rapidjson -iquote bazel-out/k8-
fastbuild/genfiles/external/com_github_tencent_rapidjson -iquote bazel-out/k8-
fastbuild/bin/external/com_github_tencent_rapidjson -iquote
external/com_github_circonus_labs_libcircllhist -iquote bazel-out/k8-
fastbuild/genfiles/external/com_github_circonus_labs_libcircllhist -iquote
bazel-out/k8-fastbuild/bin/external/com_github_circonus_labs_libcircllhist -
isystem external/com_github_gabime_spdlog/include -isystem bazel-out/k8-
fastbuild/genfiles/external/com_github_gabime_spdlog/include -isystem bazel-
out/k8-fastbuild/bin/external/com_github_gabime_spdlog/include -isystem
external/com_github_fmtlib_fmt/include -isystem bazel-out/k8-
fastbuild/genfiles/external/com_github_fmtlib_fmt/include -isystem bazel-out/k8-
fastbuild/bin/external/com_github_fmtlib_fmt/include -isystem
external/com_google_protobuf/src -isystem bazel-out/k8-
fastbuild/genfiles/external/com_google_protobuf/src -isystem bazel-out/k8-
fastbuild/bin/external/com_google_protobuf/src -isystem
external/envoy_deps/thirdparty_build/include -isystem bazel-out/k8-
fastbuild/genfiles/external/envoy_deps/thirdparty_build/include -isystem bazel-
out/k8-fastbuild/bin/external/envoy_deps/thirdparty_build/include -isystem
external/com_github_tencent_rapidjson/include -isystem bazel-out/k8-
fastbuild/genfiles/external/com_github_tencent_rapidjson/include -isystem bazel-
out/k8-fastbuild/bin/external/com_github_tencent_rapidjson/include -isystem
external/com_github_circonus_labs_libcircllhist/src -isystem bazel-out/k8-
fastbuild/genfiles/external/com_github_circonus_labs_libcircllhist/src -isystem
bazel-out/k8-fastbuild/bin/external/com_github_circonus_labs_libcircllhist/src -
U _FORTIFY_SOURCE -D __CLANG_SUPPORT_DYN_ANNOTATION__ -D FMT_HEADER_ONLY -D
SPDLOG_FMT_EXTERNAL -I bazel-out/k8-
fastbuild/bin/source/common/upstream/_virtual_includes/cds_incremental_lib -I
bazel-out/k8-
fastbuild/bin/include/envoy/config/_virtual_includes/incremental_subscription_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/stats/_virtual_includes/stats_macros -I bazel-
out/k8-fastbuild/bin/include/envoy/stats/_virtual_includes/stats_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/common/_virtual_includes/interval_set_interface -I
bazel-out/k8-fastbuild/bin/include/envoy/common/_virtual_includes/base_includes
-I bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/fmt_lib -I
bazel-out/k8-fastbuild/bin/source/common/protobuf/_virtual_includes/protobuf -I
bazel-out/k8-
fastbuild/bin/include/envoy/event/_virtual_includes/dispatcher_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/event/_virtual_includes/deferred_deletable -I bazel-
out/k8-fastbuild/bin/include/envoy/event/_virtual_includes/file_event_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/event/_virtual_includes/signal_interface -I bazel-
out/k8-fastbuild/bin/include/envoy/common/_virtual_includes/time_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/event/_virtual_includes/timer_interface -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/thread_lib -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/assert_lib -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/minimal_logger_lib -
I bazel-out/k8-
fastbuild/bin/source/common/common/_virtual_includes/lock_guard_lib -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/thread_annotations -
I bazel-out/k8-
fastbuild/bin/include/envoy/thread/_virtual_includes/thread_interface -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/macros -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/non_copyable -I
bazel-out/k8-fastbuild/bin/source/common/event/_virtual_includes/libevent_lib -
I bazel-out/k8-
fastbuild/bin/source/common/common/_virtual_includes/c_smart_ptr_lib -I bazel-
out/k8-
fastbuild/bin/include/envoy/filesystem/_virtual_includes/filesystem_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/connection_handler_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/listen_socket_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/address_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/api/_virtual_includes/os_sys_calls_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/listener_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/connection_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/filter_interface -I bazel-
out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/transport_socket_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/buffer/_virtual_includes/buffer_interface -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/byte_order_lib -I
bazel-out/k8-
fastbuild/bin/include/envoy/ssl/_virtual_includes/connection_interface -I bazel-
out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/host_description_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/health_check_host_monitor_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/outlier_detection_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/stream_info/_virtual_includes/stream_info_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/stream_info/_virtual_includes/filter_state_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/http/_virtual_includes/protocol_interface -I bazel-
out/k8-fastbuild/bin/include/envoy/ssl/_virtual_includes/context_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/dns_interface -I bazel-
out/k8-
fastbuild/bin/include/envoy/local_info/_virtual_includes/local_info_interface -
I bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/cleanup_lib
-I bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/resources_lib -I bazel-
out/k8-fastbuild/bin/source/common/singleton/_virtual_includes/const_singleton -
I bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_factory_lib
-I bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_lib
-I bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/utility_lib -I bazel-
out/k8-fastbuild/bin/source/common/config/_virtual_includes/json_utility_lib -I
bazel-out/k8-
fastbuild/bin/include/envoy/json/_virtual_includes/json_object_interface -I
bazel-out/k8-fastbuild/bin/source/common/protobuf/_virtual_includes/utility_lib
-I bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/hash_lib -
I bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/utility_lib
-I bazel-out/k8-
fastbuild/bin/source/common/filesystem/_virtual_includes/filesystem_lib -I
bazel-out/k8-fastbuild/bin/source/common/api/_virtual_includes/os_sys_calls_lib
-I bazel-out/k8-
fastbuild/bin/source/common/singleton/_virtual_includes/threadsafe_singleton -I
bazel-out/k8-fastbuild/bin/source/common/buffer/_virtual_includes/buffer_lib -I
bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/stack_array -
I bazel-out/k8-
fastbuild/bin/source/common/json/_virtual_includes/json_loader_lib -I bazel-
out/k8-fastbuild/bin/include/envoy/config/_virtual_includes/grpc_mux_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/config/_virtual_includes/subscription_interface -I
bazel-out/k8-fastbuild/bin/include/envoy/registry/_virtual_includes/registry -I
bazel-out/k8-
fastbuild/bin/include/envoy/server/_virtual_includes/filter_config_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/server/_virtual_includes/admin_interface -I bazel-
out/k8-
fastbuild/bin/include/envoy/server/_virtual_includes/config_tracker_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/http/_virtual_includes/codes_interface -I bazel-
out/k8-fastbuild/bin/include/envoy/http/_virtual_includes/filter_interface -I
bazel-out/k8-fastbuild/bin/include/envoy/http/_virtual_includes/codec_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/http/_virtual_includes/header_map_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/access_log/_virtual_includes/access_log_interface -
I bazel-out/k8-fastbuild/bin/include/envoy/grpc/_virtual_includes/status -I
bazel-out/k8-
fastbuild/bin/include/envoy/router/_virtual_includes/router_interface -I bazel-
out/k8-
fastbuild/bin/include/envoy/config/_virtual_includes/typed_metadata_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/tracing/_virtual_includes/http_tracer_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/resource_manager_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/retry_interface -I bazel-
out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/upstream_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/load_balancer_type_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/locality_lib -I bazel-
out/k8-fastbuild/bin/include/envoy/common/_virtual_includes/callback -I bazel-
out/k8-fastbuild/bin/include/envoy/runtime/_virtual_includes/runtime_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/ssl/_virtual_includes/context_manager_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/ssl/_virtual_includes/context_config_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/ssl/_virtual_includes/certificate_validation_context_config_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/ssl/_virtual_includes/tls_certificate_config_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/http/_virtual_includes/query_params_interface -I
bazel-out/k8-fastbuild/bin/include/envoy/init/_virtual_includes/init_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/network/_virtual_includes/drain_decision_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/ratelimit/_virtual_includes/ratelimit_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/server/_virtual_includes/overload_manager_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/thread_local/_virtual_includes/thread_local_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/singleton/_virtual_includes/manager_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/singleton/_virtual_includes/instance_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/cluster_manager_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/health_checker_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/load_balancer_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/upstream/_virtual_includes/thread_local_cluster_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/grpc/_virtual_includes/async_client_manager_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/grpc/_virtual_includes/async_client_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/http/_virtual_includes/async_client_interface -I
bazel-out/k8-
fastbuild/bin/include/envoy/http/_virtual_includes/message_interface -I bazel-
out/k8-fastbuild/bin/include/envoy/http/_virtual_includes/conn_pool_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/secret/_virtual_includes/secret_manager_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/secret/_virtual_includes/secret_provider_interface -
I bazel-out/k8-
fastbuild/bin/include/envoy/secret/_virtual_includes/secret_callbacks_interface
-I bazel-out/k8-
fastbuild/bin/include/envoy/tcp/_virtual_includes/conn_pool_interface -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/hex_lib -I bazel-
out/k8-fastbuild/bin/source/common/grpc/_virtual_includes/common_lib -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/empty_string -I
bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/enum_to_int -
I bazel-out/k8-fastbuild/bin/source/common/grpc/_virtual_includes/status_lib -I
bazel-out/k8-fastbuild/bin/source/common/http/_virtual_includes/headers_lib -I
bazel-out/k8-fastbuild/bin/source/common/http/_virtual_includes/message_lib -I
bazel-out/k8-fastbuild/bin/source/common/http/_virtual_includes/header_map_lib -
I bazel-out/k8-fastbuild/bin/source/common/http/_virtual_includes/utility_lib -
I bazel-out/k8-fastbuild/bin/source/common/http/_virtual_includes/exception_lib
-I bazel-out/k8-
fastbuild/bin/source/common/network/_virtual_includes/utility_lib -I bazel-
out/k8-fastbuild/bin/source/common/network/_virtual_includes/address_lib -I
bazel-out/k8-
fastbuild/bin/source/common/json/_virtual_includes/config_schemas_lib -I bazel-
out/k8-fastbuild/bin/source/common/stats/_virtual_includes/stats_lib -I bazel-
out/k8-fastbuild/bin/source/common/stats/_virtual_includes/histogram_lib -I
bazel-out/k8-
fastbuild/bin/source/common/stats/_virtual_includes/metric_impl_lib -I bazel-
out/k8-fastbuild/bin/source/common/stats/_virtual_includes/raw_stat_data_lib -I
bazel-out/k8-
fastbuild/bin/source/common/stats/_virtual_includes/stat_data_allocator_lib -I
bazel-out/k8-
fastbuild/bin/source/common/stats/_virtual_includes/source_impl_lib -I bazel-
out/k8-fastbuild/bin/source/common/stats/_virtual_includes/stats_options_lib -I
bazel-out/k8-
fastbuild/bin/source/common/stats/_virtual_includes/symbol_table_lib -I bazel-
out/k8-
fastbuild/bin/include/envoy/stats/_virtual_includes/symbol_table_interface -I
bazel-out/k8-
fastbuild/bin/source/common/stats/_virtual_includes/tag_extractor_lib -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/perf_annotation_lib
-I bazel-out/k8-fastbuild/bin/source/common/stats/_virtual_includes/utility_lib
-I bazel-out/k8-
fastbuild/bin/include/envoy/server/_virtual_includes/options_interface -I bazel-
out/k8-fastbuild/bin/source/common/stats/_virtual_includes/stats_matcher_lib -I
bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/matchers_lib -
I bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/metadata_lib -I bazel-
out/k8-fastbuild/bin/source/common/stats/_virtual_includes/tag_producer_lib -I
bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/well_known_names -I bazel-
out/k8-fastbuild/bin/source/common/common/_virtual_includes/backoff_lib -I
bazel-out/k8-
fastbuild/bin/include/envoy/common/_virtual_includes/backoff_strategy_interface
-I bazel-out/k8-
fastbuild/bin/source/common/common/_virtual_includes/token_bucket_impl_lib -I
bazel-out/k8-
fastbuild/bin/include/envoy/common/_virtual_includes/token_bucket_interface -D
TCMALLOC -D ENVOY_HANDLE_SIGNALS -D ENVOY_HOT_RESTART -D ENVOY_GOOGLE_GRPC -D
__DATE__="redacted" -D __TIMESTAMP__="redacted" -D __TIME__="redacted" -
internal-isystem /usr/lib/gcc/x86_64-linux-
gnu/7.3.0/../../../../include/c++/7.3.0 -internal-isystem /usr/lib/gcc/x86_64-
linux-gnu/7.3.0/../../../../include/x86_64-linux-gnu/c++/7.3.0 -internal-
isystem /usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/x86_64-linux-
gnu/c++/7.3.0 -internal-isystem /usr/lib/gcc/x86_64-linux-
gnu/7.3.0/../../../../include/c++/7.3.0/backward -internal-isystem
/usr/local/include -internal-isystem
/usr/local/google/home/fredlas/clang7/lib/clang/7.0.0/include -internal-externc-
isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -
internal-externc-isystem /usr/include -Wall -Wall -Wextra -Werror -Wnon-virtual-
dtor -Woverloaded-virtual -Wold-style-cast -Wvla -Wno-builtin-macro-redefined -
Wthread-safety -Wgnu-conditional-omitted-operand -std=c++14 -fdeprecated-macro -
fdebug-compilation-dir /proc/self/cwd -ferror-limit 19 -fmessage-length 0 -
stack-protector 1 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -
fdiagnostics-show-option -fcolor-diagnostics -o bazel-out/k8-
fastbuild/bin/source/common/upstream/_objs/cds_incremental_lib/cds_incremental.pic.o
-x c++ source/common/upstream/cds_incremental.cc -faddrsig
1.      bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_lib/common/config/incremental_subscription_impl.h:21:43:
at annotation token
2.      bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_lib/common/config/incremental_subscription_impl.h:13:1:
parsing namespace 'Envoy'
3.      bazel-out/k8-
fastbuild/bin/source/common/config/_virtual_includes/incremental_subscription_lib/common/config/incremental_subscription_impl.h:14:1:
parsing namespace 'Envoy::Config'
#0 0x0000000001cece54 PrintStackTraceSignalHandler(void*)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x1cece54)
#1 0x0000000001ceae7e llvm::sys::RunSignalHandlers()
(/usr/local/google/home/fredlas/clang7/bin/clang+0x1ceae7e)
#2 0x0000000001ced012 SignalHandler(int)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x1ced012)
#3 0x00007f4dd16320c0 __restore_rt (/lib/x86_64-linux-
gnu/libpthread.so.0+0x110c0)
#4 0x00000000035d25a4 clang::NestedNameSpecifier::print(llvm::raw_ostream&,
clang::PrintingPolicy const&) const
(/usr/local/google/home/fredlas/clang7/bin/clang+0x35d25a4)
#5 0x00000000035d25b9 clang::NestedNameSpecifier::print(llvm::raw_ostream&,
clang::PrintingPolicy const&) const
(/usr/local/google/home/fredlas/clang7/bin/clang+0x35d25b9)
#6 0x00000000035d25b9 clang::NestedNameSpecifier::print(llvm::raw_ostream&,
clang::PrintingPolicy const&) const
(/usr/local/google/home/fredlas/clang7/bin/clang+0x35d25b9)
#7 0x000000000345c4dd
clang::FormatASTNodeDiagnosticArgument(clang::DiagnosticsEngine::ArgumentKind,
long, llvm::StringRef, llvm::StringRef,
llvm::ArrayRef<std::pair<clang::DiagnosticsEngine::ArgumentKind, long> >,
llvm::SmallVectorImpl<char>&, void*, llvm::ArrayRef<long>)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x345c4dd)
#8 0x0000000001e3478b clang::Diagnostic::FormatDiagnostic(char const*, char
const*, llvm::SmallVectorImpl<char>&) const
(/usr/local/google/home/fredlas/clang7/bin/clang+0x1e3478b)
#9 0x00000000022ecc85
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level,
clang::Diagnostic const&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x22ecc85)
#10 0x0000000001e39c4e
clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const
(/usr/local/google/home/fredlas/clang7/bin/clang+0x1e39c4e)
#11 0x0000000001e343e3 clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x1e343e3)
#12 0x0000000002d7f158 clang::Sema::EmitCurrentDiagnostic(unsigned int)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2d7f158)
#13 0x000000000321e41d clang::Sema::ActOnTemplateIdType(clang::CXXScopeSpec&,
clang::SourceLocation, clang::OpaquePtr<clang::TemplateName>,
clang::IdentifierInfo*, clang::SourceLocation, clang::SourceLocation,
llvm::MutableArrayRef<clang::ParsedTemplateArgument>, clang::SourceLocation,
bool, bool) (/usr/local/google/home/fredlas/clang7/bin/clang+0x321e41d)
#14 0x0000000002bfd921 clang::Parser::AnnotateTemplateIdTokenAsType(bool)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2bfd921)
#15 0x0000000002b7a81b
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier,
clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b7a81b)
#16 0x0000000002b63bfe
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b63bfe)
#17 0x0000000002b639c3
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b639c3)
#18 0x0000000002b620f6
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b620f6)
#19 0x0000000002b9002a
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&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b9002a)
#20 0x0000000002b8fbf8 clang::Parser::ParseNamespace(clang::DeclaratorContext,
clang::SourceLocation&, clang::SourceLocation)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b8fbf8)
#21 0x0000000002b783ed
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b783ed)
#22 0x0000000002b61be7
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b61be7)
#23 0x0000000002b9002a
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&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b9002a)
#24 0x0000000002b8fbf8 clang::Parser::ParseNamespace(clang::DeclaratorContext,
clang::SourceLocation&, clang::SourceLocation)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b8fbf8)
#25 0x0000000002b783ed
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b783ed)
#26 0x0000000002b61be7
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b61be7)
#27 0x0000000002b6149b
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b6149b)
#28 0x0000000002b5c9d7 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2b5c9d7)
#29 0x00000000022a6717 clang::FrontendAction::Execute()
(/usr/local/google/home/fredlas/clang7/bin/clang+0x22a6717)
#30 0x0000000002251518
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x2251518)
#31 0x000000000233a7a5
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/google/home/fredlas/clang7/bin/clang+0x233a7a5)
#32 0x0000000000933d7f cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/local/google/home/fredlas/clang7/bin/clang+0x933d7f)
#33 0x0000000000932343 main
(/usr/local/google/home/fredlas/clang7/bin/clang+0x932343)
#34 0x00007f4dd05f52b1 __libc_start_main (/lib/x86_64-linux-
gnu/libc.so.6+0x202b1)
#35 0x000000000092f779 _start
(/usr/local/google/home/fredlas/clang7/bin/clang+0x92f779)
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/google/home/fredlas/clang7/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ 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/cds_incremental-7a5517.cpp
clang: note: diagnostic msg: /tmp/cds_incremental-7a5517.sh
clang: note: diagnostic msg:

********************
Quuxplusone commented 5 years ago

Attached LLVM_CRASH_cds_incremental-7a5517.sh (39204 bytes, text/plain): run script

Quuxplusone commented 5 years ago

I couldn't attach the preprocessed source, either as is or compressed, due to the upload file size limit. I uploaded it to Google Drive instead: https://drive.google.com/file/d/1cNr7jjax5tIwd_yfE2wW-4109EQlcrFr/view?usp=sharing

Quuxplusone commented 5 years ago

I downloaded the sources, and this doesn't reproduce with the latest clang for me.