Skip to content

Backport #126292 to 26.10: Fix heap-use-after-free in TablesDependencyGraph and reject a materialized view selecting from itself - #126850

Merged
PedroTadim merged 1 commit into
26.10from
backport/26.10/126292
Oct 20, 2026
Merged

PedroTadim merged 1 commit into
26.10from
backport/26.10/126292

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #126292

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.10.2.38

…cyGraph` and reject a materialized view selecting from itself
@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Oct 20, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [486b074]

Summary: ❌

job_name test_name status info comment
Stress test (amd_tsan) FAIL
Logical error: '!part.empty()' (STID: 2508-3010) FAIL cidb

@groeneai

Copy link
Copy Markdown
Collaborator

CI finish ledger - 486b074

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Stress test (amd_tsan) / Logical error: '!part.empty()' (STID: 2508-3010) not from this backport (it touches materialized view dependencies only): the server-side AST fuzzer rewrote the row policy of 05400_merge_child_row_policy to ALTER ROW POLICY p_05400_in ... USING a IN (SELECT number FROM numbers(viewExplain(..., (SELECT ... PREWHERE equals({fuzz_param_0:Identifier}, ...))))), and the next SELECT count() FROM m_policy_in aborted while converting the empty identifier back to AST under ReadFromMerge::RowPolicyData. The same STID hit 7 other PRs in 30 days #122688 (mine, open)

CIDB has no other FAIL or ERROR row on this head.

Session id: cron:clickhouse-maint-slot-14:20261020-040500

@PedroTadim
PedroTadim merged commit 73df630 into 26.10 Oct 20, 2026
46 of 49 checks passed
@PedroTadim
PedroTadim deleted the backport/26.10/126292 branch October 20, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants