ClickHouse/contrib
Azat Khuzhin 94041d193c Fix SIGSEGV due to CPU/Real profiler
The problem was due to incorrect unwinding due from signal handlers,
which leads to incorrect DWARF (FDE/CIE) interpretation.

After this patch I was not able to reproduce the crash for couple of
hours, while before it was very stable (I've reduced the minimal
threshold for query_profiler_real_time_period_ns), using simply:

    $ clickhouse-benchmark --port 19000 -q "SELECT * FROM remote('127.{1..10}', system, one)" --query_profiler_real_time_period_ns=1

Note, I'm using here remote() for fibers, that has stack with guard
pages that helps with reproducing the crash more faster.

P.S. I also have another implementation of this fix, without patching
unwind and using info from signal context directly, and even though it
is better, because you don't need to trip extra frames and you can use
all the 45 frames for something useful, it is too complex, so let's go
with a simpler patch first, and I think it could be even backported.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-15 18:22:59 +02:00
..
abseil-cpp@3bd86026c9 Bump absl to HEAD 2023-11-16 11:50:25 +00:00
abseil-cpp-cmake Useless changes 2024-05-09 03:58:34 +02:00
aklomp-base64@e77bd70bdd Replace Turbo-Base64 with aklomp/base64 2023-09-06 13:01:38 +00:00
aklomp-base64-cmake Fix build 2023-09-08 13:10:35 +00:00
AMQP-CPP@00f09897ce Fix: RabbitMQ OpenSSL dynamic loading issue (#56703) 2023-11-14 15:36:50 +01:00
amqpcpp-cmake Update CMakeLists.txt 2022-10-04 19:59:08 +02:00
annoy@f2ac8e7b48 update submodule 2022-09-20 11:29:13 +03:00
annoy-cmake add words about setting to docs 2022-09-05 13:20:49 +00:00
arrow@8f36d71d18 Update contrib to new commit 2024-04-03 15:24:44 +00:00
arrow-cmake Remove more trash 2023-11-17 08:42:39 +01:00
avro@d43acc84d3 update submodule 2024-01-16 02:27:08 +00:00
avro-cmake Remove the code 2024-04-08 19:27:46 +02:00
aws@2e12d7c6da Fix leak-san false positive 2024-04-08 11:04:43 +00:00
aws-c-auth@baeffa791d impl 2024-01-27 21:30:49 +01:00
aws-c-cal@1586846816 Fix Darwin builds (aarch64 and x86_64) 2024-04-08 11:04:06 +00:00
aws-c-common@80f21b3cac impl 2024-01-27 21:30:49 +01:00
aws-c-compression@99ec79ee29 impl 2024-01-27 21:30:49 +01:00
aws-c-event-stream@08f24e384e impl 2024-01-27 21:30:49 +01:00
aws-c-http@a082f8a206 impl 2024-01-27 21:30:49 +01:00
aws-c-io@11ce3c750a impl 2024-01-27 21:30:49 +01:00
aws-c-mqtt@6d36cd3726 impl 2024-01-27 21:30:49 +01:00
aws-c-s3@de36fee8fe impl 2024-01-27 21:30:49 +01:00
aws-c-sdkutils@fd8c0ba2e2 impl 2024-01-27 21:30:49 +01:00
aws-checksums@321b805559 impl 2024-01-27 21:30:49 +01:00
aws-cmake fix build 2024-01-28 14:36:22 +01:00
aws-crt-cpp@f532d6abc0 fix build 2024-01-28 14:36:22 +01:00
aws-s2n-tls@9a1e754540 impl 2024-01-27 21:30:49 +01:00
azure@6262a76ef4 fix possible endless loop while reading from azure 2024-04-30 16:14:37 +00:00
azure-cmake Bump Azure to v1.11 2024-04-17 09:09:05 +00:00
boost@ae94606a70 Bump boost to 1.83 2023-08-27 14:47:52 +00:00
boost-cmake Avro format support zstd codec 2024-01-15 09:14:18 +00:00
brotli@63be8a9940 Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
brotli-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
bzip2@bf905ea225
bzip2-cmake Cosmetics 2022-06-01 11:02:39 +02:00
c-ares@6360e96b5c Bump to v1.19.1 2023-05-31 18:13:18 +00:00
c-ares-cmake contrib/c-ares: add illumos as a platform 2024-03-21 11:20:16 +00:00
capnproto@976209a6d1 Better 2023-05-31 19:22:44 +00:00
capnproto-cmake Remove leftovers of GCC support in cmake rules 2024-05-07 21:07:02 +02:00
cassandra@f4a31e92a2
cassandra-cmake Remove more trash 2023-11-17 08:42:39 +01:00
cctz@7918cb7afe Update tzdata to 2024a 2024-03-04 14:15:15 +01:00
cctz-cmake Attempt to fix LTO 2023-07-24 00:03:40 +02:00
cityhash102 Adapt changes around SipHash 2023-07-19 10:01:58 -07:00
cld2@bc6d493a2f
cld2-cmake Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
consistent-hashing Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
corrosion@d5bdbfacb4 Use a rust workspace 2024-04-09 00:50:40 +02:00
corrosion-cmake Update condition required to define Rust target toolchain in corrosion-cmake 2024-01-29 13:54:44 +01:00
cppkafka@9c5ea0e332 contrib: update cppkafka to v0.4.1@9c5ea0e3 2024-03-19 14:54:00 +00:00
cppkafka-cmake Cosmetics 2022-06-01 11:02:39 +02:00
crc32-s390x@30980583bf Include crc32_s390x as a submodule library 2022-12-01 07:43:32 -08:00
crc32-s390x-cmake fix cmake 2022-12-06 14:02:22 -08:00
crc32-vpmsum@4521554393 Changes to support the CRC32 in PowerPC to address the WeakHash collision issue. Update the reference to support the hash values based on the specific platform 2023-01-10 21:20:13 -08:00
crc32-vpmsum-cmake Addressed the review comments 2023-01-11 17:00:10 -08:00
croaring@9b7cc0ff1c Update croaring to v2.0.4 2023-10-13 14:35:02 +00:00
croaring-cmake Bump croaring to 2.0.2 2023-09-29 10:43:40 +00:00
curl@de7b3e8921 Unfork and update curl to 8.7.1 2024-04-26 18:58:13 +02:00
curl-cmake fix-curl-cmake 2024-04-26 18:58:20 +02:00
cyrus-sasl@e6466edfd6
cyrus-sasl-cmake contrib/cyrus-sasl: use hidden library 2022-01-21 10:11:22 +03:00
datasketches-cpp@c3abaaefe5 impl (#55787) 2023-10-23 20:50:40 +02:00
datasketches-cpp-cmake Remove unbundled datasketches support 2022-01-20 10:02:00 +03:00
double-conversion@4f7a25d8ce Actually bump the submodule 2024-04-02 16:04:24 +00:00
double-conversion-cmake Upgrade double-conversion to 3.3.0 2024-04-02 13:51:36 +00:00
dragonbox@923705af6f
dragonbox-cmake contrib/dragonbox: add ALIAS library 2022-01-21 10:11:22 +03:00
expected@3f0ca7b192 Add expected submodule 2024-04-12 14:29:39 +00:00
expected-cmake Add expected submodule 2024-04-12 14:29:39 +00:00
fast_float@7eae925b51
fast_float-cmake contrib/fast_float: use hidden library 2022-01-21 10:11:22 +03:00
fastops@1460583af7
fastops-cmake Simplify 2023-11-17 17:02:52 +00:00
flatbuffers@eb3f827948
fmtlib@b6f4ceaed0 Update fmtlib (7.0.0 -> 8.1.1) 2022-02-01 14:30:03 +03:00
fmtlib-cmake Cosmetics 2022-06-01 11:02:39 +02:00
FP16@0a92994d72 Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
FP16-cmake Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
google-benchmark@2257fa4d6a Add google benchmark to contrib (#43779) 2022-12-08 13:38:08 +01:00
google-benchmark-cmake Add google benchmark to contrib (#43779) 2022-12-08 13:38:08 +01:00
google-protobuf@0fae801fb4 Update protobuf to v25.1 2024-03-01 17:03:10 +02:00
google-protobuf-cmake Update protobuf to v25.1 2024-03-01 17:03:10 +02:00
googletest@e47544ad31 Update googletest 2023-09-28 09:39:57 +02:00
googletest-cmake Fix global context for tests with --gtest_filter 2023-10-13 13:44:30 +02:00
grpc@77b2737a70 Fix gRPC build fix on Mac 2023-11-21 16:28:27 +01:00
grpc-cmake Own CMake for GRPC 2023-11-19 15:42:35 +01:00
gwpasan-cmake not compile gwp in non-linux environment 2023-01-17 23:06:44 +01:00
h3@c7f46cfd71
h3-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
hive-metastore@809a77d435
hive-metastore-cmake Cosmetics 2022-06-01 11:02:39 +02:00
icu@a56dde820d Updated BLAKE3 to compile for aarch64 2022-03-13 22:46:22 +03:00
icu-cmake support icudata on s390x platform 2023-01-25 22:53:03 +00:00
icudata@c8e717892a support icudata on s390x platform 2023-01-25 22:53:03 +00:00
idna@3c8be01d42 Revert "Revert "Implement punycode encoding/decoding"" 2024-01-03 08:03:01 +00:00
idna-cmake Revert "Revert "Implement punycode encoding/decoding"" 2024-01-03 08:03:01 +00:00
idxd-config@a836ce0e42 upgrade qpl to v1.2.0 and libaccel to v4.0 2023-07-16 17:22:01 -04:00
idxd-config-cmake refine content of cmake for qpl 2023-05-08 16:43:37 -04:00
incbin@6e576cae5a Use incbin for resources, part 1 2023-07-23 06:11:03 +02:00
incbin-cmake Fix Darwin 2023-07-24 00:53:11 +02:00
isa-l@9f2b68f057 Update HDFS: Support for erasure codes 2023-04-24 09:59:16 +08:00
isa-l-cmake Enable ISA-L for x86-64 only 2023-08-21 06:05:04 -07:00
jemalloc@41a859ef73 updated 2022-07-17 12:17:16 +02:00
jemalloc-cmake Merge pull request #58648 from ClickHouse/jemalloc-disable-muzzy-decay 2024-01-17 16:23:25 +01:00
krb5@71b06c2276 Update to 1.21-clickhouse 2023-08-18 20:18:30 +00:00
krb5-cmake Fix the build (after boringssl submodule removal) 2024-04-08 11:02:41 +00:00
lemmagen-c@59537bdcf5
lemmagen-c-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
libarchive@ee45796171 Update libarchive 2023-07-28 08:54:25 +00:00
libarchive-cmake add support for .tar.zst and tar.xz 2024-02-29 05:20:53 -08:00
libbcrypt@8aa32ad94e Add bcrypt authentification type 2023-01-04 15:33:16 +00:00
libbcrypt-cmake Add bcrypt authentification type 2023-01-04 15:33:16 +00:00
libcpuid@503083acb7 Fix submodules 2022-09-30 20:31:01 +03:00
libcpuid-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
libcxx-cmake Remove <regex> from libcxx 2024-01-10 17:39:07 +00:00
libcxxabi-cmake merge fixes 2023-11-28 18:24:05 +01:00
libdivide@3bd3438857 Update libdivide 2022-12-13 10:45:01 +01:00
libdivide-cmake Update libdivide 2022-12-13 10:45:01 +01:00
libfarmhash Fix farmhash for s390x 2023-03-03 09:29:35 -08:00
libfiu@b85edbde4c Fix build of libfiu on clang-16 2023-05-11 04:43:00 +02:00
libfiu-cmake address comments 2023-05-10 13:56:17 +02:00
libfuzzer-cmake move libfuzzer to dedicated contrib/libfuzzer-cmake 2022-10-21 14:04:01 +00:00
libgsasl@0fb79e7609 Fix CVE-2022-2469 2023-05-31 18:48:41 +00:00
libgsasl-cmake compile the new libgsasl with supportting three modes(privacy/integrity/authentication) 2022-06-04 23:30:38 +08:00
libhdfs3@0d04201c45 Add positional read in libhdfs3 2024-03-04 10:12:27 +08:00
libhdfs3-cmake Compatibility with Musl in HDFS and RocksDB 2023-11-26 02:27:53 +01:00
libmetrohash Enable clang-tidy in headers 2024-03-18 08:00:09 +00:00
libpq@2446f2c856 Fix 01747_system_session_log_long 2024-04-08 11:04:49 +00:00
libpq-cmake Fix the build (after boringssl submodule removal) 2024-04-08 11:02:41 +00:00
libpqxx@c995193a3a Update Libpqxx for Mem Leak 2023-11-26 02:12:41 +00:00
libpqxx-cmake contrib/libpqxx: use hidden library 2022-01-21 10:11:23 +03:00
libprotobuf-mutator@a304ec48dc updated 2022-07-17 12:17:16 +02:00
libprotobuf-mutator-cmake Update libprotobuf-mutator + fix build (#38834) 2022-07-05 12:31:50 +02:00
librdkafka@2d2aab6f5b atomic_set_in_librdkafka: update librdkafka submodule 2023-12-12 16:48:13 +00:00
librdkafka-cmake s390x support 2023-01-23 14:20:49 +00:00
libssh@ed4011b918 Upgrade to v0.9.8 2024-02-07 15:56:01 +00:00
libssh-cmake Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32 2024-04-15 16:35:10 +00:00
libstemmer_c@c753054304
libstemmer-c-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
libunwind@ba533a7246 Fix SIGSEGV due to CPU/Real profiler 2024-05-15 18:22:59 +02:00
libunwind-cmake Fix stacktraces on MacOS (#59690) 2024-02-09 14:53:03 +01:00
liburing@f4e42a515c upd 2024-02-26 13:54:57 +01:00
liburing-cmake Update liburing CmakeLists.txt 2023-02-07 18:11:43 +01:00
libuv@4482964660 Update libuv 2024-02-08 18:53:24 +01:00
libuv-cmake Use PROJECT_*_DIR instead of CMAKE_*_DIR. 2023-05-18 23:23:39 +08:00
libxml2@223cb03a5d Revert "Update libxml2 version to address some bogus security issues" 2024-02-01 14:46:16 +01:00
libxml2-cmake Revert "Update libxml2 version to address some bogus security issues" 2024-02-01 14:46:16 +01:00
llvm-project@d2142eed98 Fix stacktraces on MacOS (#59690) 2024-02-09 14:53:03 +01:00
llvm-project-cmake Fixes 2024-01-30 10:18:59 +01:00
lz4@145f3804ca Go back to upstream lz4 2024-05-09 17:06:26 +02:00
lz4-cmake Enable producing endianness-independent output in lz4 2023-08-24 13:55:13 -07:00
magic_enum@38f86e4d09
magic-enum-cmake contrib/magic-enum: use hidden library 2022-01-21 10:11:23 +03:00
mariadb-connector-c@e39608998f Remove zlib in mariadb-connector-c 2022-06-29 10:03:55 -07:00
mariadb-connector-c-cmake Implement the missing parts 2024-01-01 18:30:06 +01:00
miniselect@be0af6bd0b
miniselect-cmake Move miniselect 2022-01-20 10:01:59 +03:00
minizip-ng@f3d400e999 Fix submodules 2022-06-10 22:33:45 +03:00
minizip-ng-cmake Cosmetics 2022-06-01 11:02:39 +02:00
morton-nd@3795491a4a add Morton Coding (ZCurve) 2022-10-19 15:59:25 +02:00
morton-nd-cmake add Morton Coding (ZCurve) 2022-10-19 15:59:25 +02:00
msgpack-c@46684265d5 Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
msgpack-c-cmake
murmurhash Fix murmurhash for s390x 2023-02-28 10:08:57 -08:00
nanodbc@df52a1232d
nanodbc-cmake Cosmetics 2022-06-01 11:02:39 +02:00
nats-io@1e2597c546 fix build with clang-15 2022-08-01 18:00:54 +02:00
nats-io-cmake fix build with clang-15 2022-08-01 18:00:54 +02:00
nlp-data@5591f91f5e
NuRaft@cb5dc3c906 With better name 2024-04-04 17:14:55 +02:00
nuraft-cmake Add comment 2024-04-04 16:36:12 +02:00
openldap@5671b80e36 Fix build 2023-08-18 20:14:22 +00:00
openldap-cmake Sort files 2023-08-21 07:50:53 +00:00
openssl@f7b8721dfc Fix race in X509 store in OpenSSL (#63049) 2024-04-29 11:32:57 +00:00
openssl-cmake Remove leftovers of GCC support in cmake rules 2024-05-07 21:07:02 +02:00
orc@e24f2c2a3c Fix ORC commit 2023-11-02 13:17:19 +00:00
pdqsort Revert "Merge pull request #55682 from ClickHouse/revert-35961-decimal-column-improve-get-permutation" 2023-10-25 21:48:13 +03:00
pdqsort-cmake Move pdqsort 2022-01-20 10:01:59 +03:00
pocketfft@9efd4da52c Revert "Implemented series period detect method using pocketfft lib" 2023-12-05 18:17:07 +03:00
pocketfft-cmake Revert "Implemented series period detect method using pocketfft lib" 2023-12-05 18:17:07 +03:00
QAT-ZSTD-Plugin@e5a134e12d Implement hardware-assisted(QAT) ZSTD compression 2023-12-05 17:47:18 -05:00
QAT-ZSTD-Plugin-cmake add USE_QAT into build_options 2024-01-08 11:05:36 -05:00
qatlib@abe15d7bfc Implement hardware-assisted(QAT) ZSTD compression 2023-12-05 17:47:18 -05:00
qatlib-cmake Cosmetics 2024-01-07 16:47:12 +00:00
qpl@d4715e0e79 upgrade to qpl 1.4.0 2024-02-04 13:10:24 -05:00
qpl-cmake fixed reported code issues 2023-12-12 11:15:11 -05:00
rapidjson@800ca2f38f Fix rapidjson submodule 2024-02-23 10:41:06 +01:00
rapidjson-cmake
re2@a807e8a3aa Bump re2 to latest main 2023-09-11 07:51:46 +00:00
re2-cmake Own CMake for Abseil 2023-11-17 11:32:27 +01:00
replxx@5d04501f93 Fix submodules 2022-09-30 20:31:01 +03:00
replxx-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
robin-map@851a59e0e3 Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
robin-map-cmake Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
rocksdb@dead55e60b Remove <regex> from libcxx 2024-01-10 17:39:07 +00:00
rocksdb-cmake Compatibility with Musl in HDFS and RocksDB 2023-11-26 02:27:53 +01:00
rust_vendor@08e82ca654 Remove windows dependencies from vendor crates 2024-04-09 19:25:24 +02:00
s2geometry@0547c38371 Bump abseil to latest HEAD 2023-09-14 17:10:40 +00:00
s2geometry-cmake Bump abseil to latest HEAD 2023-09-14 17:10:40 +00:00
sentry-native@bc359f86cb Cut useless code 2023-12-08 23:20:20 +01:00
sentry-native-cmake Remove leftovers of GCC support in cmake rules 2024-05-07 21:07:02 +02:00
simdjson@6060be2fdf Upgrade simdjson to v3.6.3 2024-01-24 15:06:30 +00:00
simdjson-cmake
SimSIMD@de2cb75b9e Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
SimSIMD-cmake Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
snappy@6ebb5b1ab8 upgrade snappy to 1.1.10 2023-08-22 14:27:44 +08:00
snappy-cmake Fix the compilation error that occurs when opening avx series instructions (#55049) 2023-10-18 15:04:27 +02:00
sparse-checkout Fix sparse checkout 2024-04-08 11:02:49 +00:00
sparsehash-c11@cf0bffaa45
sparsehash-c11-cmake
sqids-cpp@a471f53672 Update submodule 2024-01-05 22:01:35 +00:00
sqids-cpp-cmake Revert "Revert "Add sqid() function"" 2023-12-05 10:50:30 +00:00
sqlite-amalgamation@2059807989 Update SQLite to 3.41.2 2023-03-28 10:51:27 +00:00
sqlite-cmake contrib/sqlite: add hidden library 2022-01-21 10:11:23 +03:00
sysroot@39c4713334 Update to final sysroot 2024-04-11 18:52:12 +02:00
thrift@2a93df80f2 updated 2022-07-17 12:17:16 +02:00
thrift-cmake Simpler CMake 2023-11-17 08:07:32 +01:00
ulid-c@c433b6783c Fix include 2023-02-14 16:45:46 +00:00
ulid-c-cmake Fix include 2023-02-14 16:45:46 +00:00
unixodbc@18e0ebe2a1 updated files 2023-02-14 05:25:50 -08:00
unixodbc-cmake Clarifications 2023-11-26 02:27:54 +01:00
usearch@955c6f9c11 Small usearch index improvements: metrics and f16 2023-09-14 11:24:47 +00:00
usearch-cmake Make usearch dependencies separate submodules 2023-08-17 12:38:06 +00:00
vectorscan@38431d1117 Switch to upstream repository of vectorscan 2023-05-23 22:13:35 +02:00
vectorscan-cmake fix: repair aarch64 build 2022-09-13 20:51:51 +00:00
wordnet-blast@1d16ac2803
wordnet-blast-cmake contrib/wordnet-blast: use hidden library 2022-01-21 10:11:23 +03:00
wyhash@991aa3dab6 wyhash 2022-04-21 02:26:37 +03:00
wyhash-cmake Update CMakeLists.txt 2022-05-09 08:48:51 -04:00
xxHash@bbb27a5efb chore: update xxhash to v0.8.2 2024-03-25 01:40:03 +05:30
xxHash-cmake chore: update xxhash to v0.8.2 2024-03-25 01:40:03 +05:30
xz@869b9d1b4e
xz-cmake Remove more garbage 2023-11-14 07:24:41 +01:00
yaml-cpp@f91e938341 Bump yaml-cpp after PR merge 2024-05-10 20:05:51 +02:00
yaml-cpp-cmake contrib/yaml-cpp: use hidden library 2022-01-21 10:11:23 +03:00
zlib-ng@50f0eae1a4 update zlib-ng to latest 2022-10-18 17:38:06 -05:00
zlib-ng-cmake Use PROJECT_*_DIR instead of CMAKE_*_DIR. 2023-05-18 23:23:39 +08:00
zstd@63779c7982 Bump ZSTD to 1.5.5-pre 2023-04-13 12:11:43 +00:00
zstd-cmake Remove ZSTD version from CMake output 2023-02-23 20:27:30 +00:00
CMakeLists.txt Merge pull request #62634 from liuneng1994/std-except-parseDateTIme 2024-04-16 13:42:10 +00:00
update-submodules.sh fix build 2024-01-28 15:48:49 +01:00