Skip to content

Backport fixes: QueryProfiler/libunwind stability, V8 PKU crash guard, Docker Python UDF install#1091

Merged
yokofly merged 8 commits intodevelopfrom
port-storage-enhance-and-correct-query-profiler
Jan 23, 2026
Merged

Backport fixes: QueryProfiler/libunwind stability, V8 PKU crash guard, Docker Python UDF install#1091
yokofly merged 8 commits intodevelopfrom
port-storage-enhance-and-correct-query-profiler

Conversation

@yokofly
Copy link
Copy Markdown
Collaborator

@yokofly yokofly commented Jan 22, 2026

Changes included:

  • QueryProfiler/libunwind: backport crash fixes for async stack unwinding; updates contrib/libunwind
    submodule.
  • V8 (Linux x86 PKU): normalize/guard PKRU on V8 entry and around isolate lifecycle to avoid rare
    SEGV_PKUERR crashes. downgrade v8 to lts 138 ver #1017
  • Docker: improve Python package install for Python UDF (pip/setuptools/wheel/truststore installed with
    --prefix, avoids mixed/duplicate setuptools state).

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 179c6cc11b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

yokofly and others added 3 commits January 23, 2026 07:08
…d update) (#11324)

* ClickHouse/ClickHouse#63865 from azat/fix-query-profiler-SIGSEGV

Fix SIGSEGV due to CPU/Real profiler

* ClickHouse/ClickHouse#60468 from ClickHouse/libunwind-fix-crash

Fix crash in libunwind while interpreting debug info

* ClickHouse/ClickHouse#65509 Update libunwind to 18.1.7

* ClickHouse/ClickHouse#66850 from ClickHouse/revert-libunwind-patch

Revert libunwind patch

* ClickHouse/ClickHouse#66977 from ClickHouse/uwo

Apply libunwind fix

* ClickHouse/ClickHouse#68312 from ClickHouse/muslwind

Apply libunwind changes needed for musl

* ClickHouse/ClickHouse#76107 from ClickHouse/owo

Apply libunwind fix for DwarfFDECache

* ClickHouse/ClickHouse#76136 from ClickHouse/revert-76107-owo

Revert "Apply libunwind fix for DwarfFDECache"

* ClickHouse/ClickHouse#76178 from ClickHouse/unw

Apply libunwind fix for DwarfFDECache, attempt 2

* Update libunwind to aec8e58

* ClickHouse/ClickHouse#67152 from ClickHouse/ohno

Uncomment accidentally commented out code in QueryProfiler

* ClickHouse/ClickHouse#64058  aarch64 sigaltstack size fix

* ClickHouse/ClickHouse#58607 Added null guards to avoid potential demangle crashes

---------

Co-authored-by: Nikita Mikhaylov <[email protected]>
Co-authored-by: Alexey Milovidov <[email protected]>
Co-authored-by: Michael Kolupaev <[email protected]>
Co-authored-by: Antonio Andelic <[email protected]>
Co-authored-by: Max Kainov <[email protected]>
@yokofly yokofly marked this pull request as draft January 23, 2026 07:09
@yokofly yokofly force-pushed the port-storage-enhance-and-correct-query-profiler branch from 179c6cc to 697d062 Compare January 23, 2026 07:48
@yokofly
Copy link
Copy Markdown
Collaborator Author

yokofly commented Jan 23, 2026

@codex review

@yokofly yokofly marked this pull request as ready for review January 23, 2026 07:51
@yokofly yokofly changed the title Port storage enhance and correct query profiler Backport fixes: QueryProfiler/libunwind stability, V8 PKU crash guard, Docker Python UDF install Jan 23, 2026
@yokofly yokofly merged commit a925748 into develop Jan 23, 2026
20 checks passed
@yokofly yokofly deleted the port-storage-enhance-and-correct-query-profiler branch January 23, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant