Open Quuxplusone opened 5 years ago
Bugzilla Link | PR43340 |
Status | NEW |
Importance | P normal |
Reported by | Zachary Wasserman (zachwass2000@gmail.com) |
Reported on | 2019-09-17 08:58:19 -0700 |
Last modified on | 2019-09-17 08:59:50 -0700 |
Version | 8.0 |
Hardware | PC Linux |
CC | blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Contents of EC2Client-8392bf.sh:
# Crash reproducer for clang version 8.0.1
# Driver args: "--driver-mode=g++" "--sysroot=/usr/local/osquery-toolchain" "-
D" "AWS_SDK_VERSION_MAJOR=1" "-D" "AWS_SDK_VERSION_MINOR=7" "-D"
"AWS_SDK_VERSION_PATCH=161" "-D" "ENABLE_OPENSSL_ENCRYPTION" "-D" "NDEBUG" "-I"
"/home/vagrant/installed_formulas/openssl/include" "-I"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-sdk-cpp_src/aws-cpp-
sdk-core/include/aws/core/external" "-isystem"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-sdk-cpp_src/aws-cpp-
sdk-ec2/include" "-isystem" "/vagrant/libraries/cmake/source_migration/aws-sdk-
cpp/aws-sdk-cpp_src/aws-cpp-sdk-core/include" "-isystem"
"/home/vagrant/libs/src/aws-sdk-cpp/aws-cpp-sdk-core/include" "-isystem"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-c-event-
stream_src/include" "-isystem" "/vagrant/libraries/cmake/source_migration/aws-
sdk-cpp/aws-c-common_src/include" "-isystem" "/home/vagrant/libs/src/aws-sdk-
cpp/aws-c-common/include" "-isystem"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-
checksums_src/include" "-O2" "-g" "-D" "NDEBUG" "-fPIC" "-Qunused-arguments" "-
Wno-shadow-field" "-Wall" "-Wextra" "-Wno-unused-local-typedef" "-Wno-
deprecated-register" "-Wno-unknown-warning-option" "-Wstrict-aliasing" "-Wno-
missing-field-initializers" "-Wchar-subscripts" "-Wpointer-arith" "-Wformat" "-
Wformat-security" "-Werror=format-security" "-Wuseless-cast" "-Wno-zero-length-
array" "-Wno-unused-parameter" "-Wno-gnu-case-range" "-fpermissive" "-fstack-
protector-all" "-fdata-sections" "-ffunction-sections" "-fvisibility=hidden" "-
fvisibility-inlines-hidden" "-fstandalone-debug" "-pipe" "-pedantic" "-Oz" "-
Wno-c++11-extensions" "-Woverloaded-virtual" "-Wnon-virtual-dtor" "-Weffc++" "-
g0" "-Wno-everything" "-Wno-all" "-Wno-error" "-std=gnu++14" "-o"
"CMakeFiles/thirdparty_aws_ec2.dir/aws-sdk-cpp_src/aws-cpp-sdk-
ec2/source/EC2Client.cpp.o" "-c" "/vagrant/libraries/cmake/source_migration/aws-
sdk-cpp/aws-sdk-cpp_src/aws-cpp-sdk-ec2/source/EC2Client.cpp"
# Original command: "/usr/local/osquery-toolchain/usr/bin/clang-8" "-cc1" "-
triple" "x86_64-osquery-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-
verifier" "-discard-value-names" "-main-file-name" "EC2Client.cpp" "-
mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-fmath-
errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-
array" "-target-cpu" "x86-64" "-dwarf-column-info" "-debugger-tuning=gdb" "-
momit-leaf-frame-pointer" "-ffunction-sections" "-fdata-sections" "-coverage-
notes-file" "/home/vagrant/libs/src/aws-sdk-
cpp/CMakeFiles/thirdparty_aws_ec2.dir/aws-sdk-cpp_src/aws-cpp-sdk-
ec2/source/EC2Client.cpp.gcno" "-resource-dir" "/usr/local/osquery-
toolchain/usr/lib/clang/8.0.1" "-isystem"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-sdk-cpp_src/aws-cpp-
sdk-ec2/include" "-isystem" "/vagrant/libraries/cmake/source_migration/aws-sdk-
cpp/aws-sdk-cpp_src/aws-cpp-sdk-core/include" "-isystem"
"/home/vagrant/libs/src/aws-sdk-cpp/aws-cpp-sdk-core/include" "-isystem"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-c-event-
stream_src/include" "-isystem" "/vagrant/libraries/cmake/source_migration/aws-
sdk-cpp/aws-c-common_src/include" "-isystem" "/home/vagrant/libs/src/aws-sdk-
cpp/aws-c-common/include" "-isystem"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-
checksums_src/include" "-D" "AWS_SDK_VERSION_MAJOR=1" "-D"
"AWS_SDK_VERSION_MINOR=7" "-D" "AWS_SDK_VERSION_PATCH=161" "-D"
"ENABLE_OPENSSL_ENCRYPTION" "-D" "NDEBUG" "-I"
"/home/vagrant/installed_formulas/openssl/include" "-I"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-sdk-cpp_src/aws-cpp-
sdk-core/include/aws/core/external" "-D" "NDEBUG" "-isysroot"
"/usr/local/osquery-toolchain" "-internal-isystem" "/usr/local/osquery-
toolchain/usr/bin/../include/c++/v1" "-internal-isystem" "/usr/local/osquery-
toolchain/usr/local/include" "-internal-isystem" "/usr/local/osquery-
toolchain/usr/lib/clang/8.0.1/include" "-internal-externc-isystem"
"/usr/local/osquery-toolchain/include" "-internal-externc-isystem"
"/usr/local/osquery-toolchain/usr/include" "-Oz" "-Wno-shadow-field" "-Wall" "-
Wextra" "-Wno-unused-local-typedef" "-Wno-deprecated-register" "-Wno-unknown-
warning-option" "-Wstrict-aliasing" "-Wno-missing-field-initializers" "-Wchar-
subscripts" "-Wpointer-arith" "-Wformat" "-Wformat-security" "-Werror=format-
security" "-Wuseless-cast" "-Wno-zero-length-array" "-Wno-unused-parameter" "-
Wno-gnu-case-range" "-Wno-c++11-extensions" "-Woverloaded-virtual" "-Wnon-
virtual-dtor" "-Weffc++" "-Wno-everything" "-Wno-all" "-Wno-error" "-pedantic"
"-std=gnu++14" "-fdeprecated-macro" "-fdebug-compilation-dir"
"/home/vagrant/libs/src/aws-sdk-cpp" "-ferror-limit" "19" "-fmessage-length"
"202" "-fvisibility" "hidden" "-fvisibility-inlines-hidden" "-stack-protector"
"3" "-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-
option" "-fcolor-diagnostics" "-vectorize-slp" "-o"
"CMakeFiles/thirdparty_aws_ec2.dir/aws-sdk-cpp_src/aws-cpp-sdk-
ec2/source/EC2Client.cpp.o" "-x" "c++"
"/vagrant/libraries/cmake/source_migration/aws-sdk-cpp/aws-sdk-cpp_src/aws-cpp-
sdk-ec2/source/EC2Client.cpp" "-faddrsig"
"/usr/local/osquery-toolchain/usr/bin/clang-8" "-cc1" "-triple" "x86_64-osquery-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "EC2Client.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-dwarf-column-info" "-debugger-tuning=gdb" "-momit-leaf-frame-pointer" "-ffunction-sections" "-fdata-sections" "-coverage-notes-file" "/home/vagrant/libs/src/aws-sdk-cpp/CMakeFiles/thirdparty_aws_ec2.dir/aws-sdk-cpp_src/aws-cpp-sdk-ec2/source/EC2Client.cpp.gcno" "-D" "AWS_SDK_VERSION_MAJOR=1" "-D" "AWS_SDK_VERSION_MINOR=7" "-D" "AWS_SDK_VERSION_PATCH=161" "-D" "ENABLE_OPENSSL_ENCRYPTION" "-D" "NDEBUG" "-D" "NDEBUG" "-Oz" "-Wno-shadow-field" "-Wall" "-Wextra" "-Wno-unused-local-typedef" "-Wno-deprecated-register" "-Wno-unknown-warning-option" "-Wstrict-aliasing" "-Wno-missing-field-initializers" "-Wchar-subscripts" "-Wpointer-arith" "-Wformat" "-Wformat-security" "-Werror=format-security" "-Wuseless-cast" "-Wno-zero-length-array" "-Wno-unused-parameter" "-Wno-gnu-case-range" "-Wno-c++11-extensions" "-Woverloaded-virtual" "-Wnon-virtual-dtor" "-Weffc++" "-Wno-everything" "-Wno-all" "-Wno-error" "-pedantic" "-std=gnu++14" "-fdeprecated-macro" "-ferror-limit" "19" "-fmessage-length" "202" "-fvisibility" "hidden" "-fvisibility-inlines-hidden" "-stack-protector" "3" "-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-vectorize-slp" "-x" "c++" "EC2Client-8392bf.cpp" "-faddrsig"