Skip to content

Fix a server crash when the flameGraph aggregate function is constructed without a query context - #121894

Merged
PedroTadim merged 4 commits into
ClickHouse:masterfrom
groeneai:fix-flamegraph-creator-null-settings
Sep 25, 2026
Merged

PedroTadim merged 4 commits into
ClickHouse:masterfrom
groeneai:fix-flamegraph-creator-null-settings

Conversation

@groeneai

@groeneai groeneai commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fixed a server crash when the flameGraph aggregate function was constructed on a thread without a query context, for example while attaching a stored table whose column type names AggregateFunction(flameGraph, ...).

Description

On v26.8 and v26.9, attaching a stored table whose column type names AggregateFunction(flameGraph, ...) crashes the process with SIGSEGV before any query runs.

Found by the AST fuzzer on master: AST fuzzer (amd_release, oracle) at 5a72ff95, a bystander commit. No related issue.

Root cause. AggregateFunctionFactory::getImpl takes a creator's settings from the current thread's query context and passes nullptr when the thread has none (AggregateFunctionFactory.cpp:269-277). createAggregateFunctionFlameGraph read that pointer unconditionally, so the privilege check itself was the faulting instruction.

How it was reached. CancellationChecker (a BackgroundSchedulePool task, no query context) timed out a distributed query, and RemoteQueryExecutorReadContext::cancelBefore() drained the packet on the cancelling thread. Fibers switch stacks, not threads, and CurrentThread is thread-local, so the PacketReceiver fiber ran context-less while NativeReader::read() parsed a block header naming such a column.

Change. The creator honours the nullability. Permissive rather than fail-closed: with no query context there is no principal to authorize, and fail-closed would instead fail NativeReader::read() inside a drain loop meant to resynchronise the connection.

Other aggregate functions. Censused mechanically, table below: this was the only creator that read the pointer without checking it.

Validation. 05243_flamegraph_attach_without_query_context reproduces the crash with two clickhouse-local invocations and was verified to fail without the src/ change. Where a context exists nothing changes: with allow_introspection_functions = 0, SELECT, CREATE TABLE, CAST, format() and the combinator forms all still return FUNCTION_NOT_ALLOWED, and all four flameGraph tests pass 40/40 under randomized settings.

Census: what every const Settings * reader in src/ does when the pointer is null

Every function in src/ whose signature takes a const Settings *, which is the whole creator and window-creator surface, grouped by what it does with the pointer.

Group Sites On a null pointer
parameter left unnamed 126 cannot read it
named, never dereferenced 33 only forwards it
dereferenced, checked, permissive (if (settings && ...)) 6 constructs the function: the timeSeries* family, uniqExact's parallel-merge choice, and now flameGraph
dereferenced, checked, refusing (settings == nullptr || ...) 3 throws: sequenceNextNode, rank, denseRank
dereferenced unchecked 0 (1 before this PR) crashes: flameGraph, fixed here
dereferenced, outside the creator surface 4 connection handshake, tracing, codec choice

Negative control: the same census run against the pre-fix file reports createAggregateFunctionFlameGraph as an unchecked dereference, so it can fail.

The three refusing creators make a table whose column type names them fail to load, measured on this build; that is pre-existing, orthogonal to the crash, and not touched here.


Workflow [PR]
Sync PR [sync-upstream/pr/121894]

Version info

  • Merged into: 26.10.1.674-master (included in 26.10 and later)
  • Backported to: 26.9.2.40, 26.8.11.54, 26.7.14.52, 26.3.33.158

AggregateFunctionFactory takes the settings it hands to a creator from the
current thread's query context (AggregateFunctionFactory.cpp:269-277) and passes
a null pointer when the thread has no query context.
createAggregateFunctionFlameGraph read that pointer unconditionally on its first
line, so constructing the function from a context-less thread dereferenced
address 0 and crashed the server with SIGSEGV.

The AST fuzzer reached it on master through the distributed-query client read
path: CancellationChecker, a BackgroundSchedulePool task with no query context,
timed out a distributed query, and RemoteQueryExecutorReadContext::cancelBefore()
drained the pending packet on the cancelling thread. Fibers switch stacks but not
threads and CurrentThread is thread-local, so the PacketReceiver fiber saw the
pool's context-less ThreadStatus while NativeReader::read() parsed the block
header's AggregateFunction(flameGraph, ...) column type.

The pointer is nullable by construction, so the creator now honours that. The
check is permissive rather than fail-closed because a null pointer means the
construction belongs to no user query: allow_introspection_functions is a
per-query user setting, and with no principal there is nothing to authorize.
Refusing instead would fail NativeReader::read() inside a drain loop whose whole
purpose is to leave the connection synchronised (and whose exception
AsyncTaskExecutor::Routine swallows), and would leave a stored table of that type
unattachable, since the attach is where the type name is parsed.
Where a query context exists nothing changes: with
allow_introspection_functions = 0, naming the function in a SELECT, CREATE TABLE,
CAST or format schema still returns FUNCTION_NOT_ALLOWED, and
04114_aggregate_function_flamegraph.sql asserts that identically with and without
this change. A construction on a context-less thread (the drain above, or
attaching a stored table) now succeeds instead of crashing, which grants no new
capability: such a column can only be created by a statement that passed the
check, and reading an existing one already behaved this way on master.

A census of every creator that dereferences the pointer found this to be the only
unguarded one, so the fix is single-site: sequenceNextNode, uniqExact, the four
TimeSeries sites, rank and denseRank all null-check it already.

Two regression tests, complementary.
05243_flamegraph_attach_without_query_context covers the user-facing route: one
clickhouse-local process creates the table and a second one attaches it, which
parses the column type on a thread that has no query context. The gtest pins the
factory-level invariant, which no single statement isolates deterministically:
the drain above needs a cancellation to land while such a block header is in
flight; it runs on a plain std::thread, which never gets a ThreadStatus, and
asserts that precondition so the oracle cannot go vacuous.
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding labels Sep 24, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex). Five gate rounds on this branch,
finding counts 1, 1, 2, 1, 0; the final round returned zero findings against the shipped tree. Across
all five the src/ guard expression, its throw and its message never changed: every finding was
about a claim, a comment or a test.

# Sev Finding Verdict Evidence / action
1 ❌ Requiring authorization before a context-less-created flameGraph instance is used by a user query, on the ground that this change creates the exposure (raised in two rounds) DISAGREE, terminal Factual half confirmed: a context-less construction retains an executable instance in DataTypeAggregateFunction, and buildStates plus finalizeAggregation can drive it without returning through the factory. The conclusion does not follow. Measured base-vs-fix: on the unmodified binary, in one process with no restart, a connection that never enabled allow_introspection_functions (asserted in band with getSetting) already inserts into and finalizes such a column, with byte-identical output on both builds. The context-less attach is therefore not a necessary step of the disclosure; it only decides whether the process survives the attach. Reaching the column still requires a privileged creation: from a setting-off connection CREATE TABLE returns Code: 446 identically on both builds. A crash is not an access control.
2 💡 The enforcement point for allow_introspection_functions on this path is construction-time only, so a column created while the setting was on stays readable by a session with it off pre-existing, disclosed, not addressed here Current behaviour on master, independent of this change. Moving the gate would alter a pre-existing surface for every existing holder of such a column and put a check in the per-block finalization path. The description does not claim otherwise: its authorization statement is scoped to constructions a user statement names, and is backed by the base-vs-fix runs above.
3 ❌ The regression test asserted only that the second process survived, running a constant query that would still have printed on a build with the defect restored AGREE, fixed It now reads the attached table, so opening the table is what the output depends on. Demonstrated by mutation: suppressing the creating statement makes the new oracle fail where the old one passed.
4 ⚠️ The stateless test's only prose described the C++ implementation (factory, creator, null settings pointer) instead of what the test covers, and the file had no header comment AGREE, fixed A functional test's comments should survive refactoring of the code underneath them, so the file now opens by stating the user-visible symptom it pins, and the mechanism stays in the commit message in the form that was measured.
5 ⚠️ A justification asserting that a context-less construction is unreachable from a single statement AGREE, fixed False, and this PR's own crash stack is the counterexample: one distributed query, cancelled, drained its pending packet on a thread with no query context, and the type name in that packet's block header was parsed there. The accurate statement is that no single statement isolates the invariant deterministically, which is why a unit test pins it. Removed from the test comment, corrected in the commit message, narrowed in the description.
6 💡 A guard comment claiming every user-reachable construction surface stays gated AGREE, fixed Removed; the new stateless test is its counterexample.
7 💡 A census count quoted over a narrower scope than the sentence claimed AGREE, fixed Replaced by naming the sibling guards (sequenceNextNode, uniqExact, the four TimeSeries sites, rank, denseRank), so the single-site claim is checkable by grep. The census was rebuilt independently in five separate rounds and agreed each time: exactly one unguarded dereference.
8 💡 A description sentence claiming such a state could not arrive from outside a query at all AGREE, fixed Refuted on the code and removed.

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are terminal
per finding. Findings on hunks unchanged by a fix round are auto-dropped.

Session id: cron:clickhouse-review-slot-9:20260924-031200

@clickhouse-gh clickhouse-gh Bot closed this Sep 24, 2026
@clickhouse-gh clickhouse-gh Bot reopened this Sep 24, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, on two independent routes, neither of them a rate. unit_tests_dbms --gtest_filter='AggregateFunctionFactory.CreatorIsConstructibleWithoutAQueryContext' faults on every run of the unfixed tree; so does 05243_flamegraph_attach_without_query_context, which creates the table in one clickhouse-local process and attaches it in a second.
b Root cause explained? Yes. AggregateFunctionFactory::getImpl takes a creator's settings from the current thread's query context and passes nullptr when the thread has none (AggregateFunctionFactory.cpp:269-277); this creator dereferenced it unconditionally at AggregateFunctionFlameGraph.cpp:694, so the privilege check was the faulting instruction.
c Fix matches root cause? Yes. The guard goes in the callee that violated its parameter's documented nullability, not at the crash site one frame away and not in NativeReader/DataTypeFactory. No widened bound, no tag, no data reduction.
d Test intent preserved / new tests added? Yes. Two new regression tests, complementary: a gtest pinning the factory-level invariant (it asserts its own precondition, so the oracle cannot go vacuous) and the stateless 05243_flamegraph_attach_without_query_context pinning the user-facing attach route. No existing test weakened, edited or renamed. 04114_aggregate_function_flamegraph.sql:67-69 already asserts the refusal and is the positive control; it passes on both the fixed and the unfixed build.
e Both directions demonstrated? Yes, for each test, on two Build-ID-distinct binaries. Without the src/ change the gtest gives SIGSEGV, settings=0x0, at :694 via getImpl:283 and get:132, matching the fuzzer stack (gdb backtrace captured), and 05243 fails with the same SIGSEGV; with the change both pass (gtest 50/50 on repeat, 05243 50/50 with settings randomization on and 50/50 without). On the unfixed build the three pre-existing flameGraph tests all pass, so the new stateless test is the only one that catches this.
f Fix is general across code paths? Yes, and single-site by measurement. Two independent censuses of every const Settings * dereference agree on the set: the sites are in src/AggregateFunctions plus WindowTransform.cpp:3101 and :3178, namely sequenceNextNode, uniqExact, the four TimeSeries sites (covering 23 timeSeries*ToGrid names), rank and denseRank, all of which already null-check; createAggregateFunctionFlameGraph was the only unguarded one, so every site is guarded after this change. flameGraph registers no window_creator; combinators take no Settings.
g Fix generalizes across inputs (params/datatypes/wrappers)? Yes. Verified with allow_introspection_functions = 0 and = 1 across both trace types (Array(UInt64), Array(String)), the 1-arg and 3-arg forms, the -If/-Array combinator wrappers, and four type-name-parse entry points (SELECT, CREATE TABLE, CAST, format()). Only-null arguments cannot reach the creator: .returns_default_when_only_null = true collapses them to the nothing* placeholder.
h Backward compatible? (maintainer-approved exception only) Yes. No setting added, changed or removed, so no SettingsChangesHistory.cpp entry is owed; no serialization format, no versioned state, no revision gate. The only behaviour change is on the settings == nullptr path, whose prior behaviour was the crash.
i Invariants and contracts preserved? Yes. The invariant is that every AggregateFunctionCreator tolerates settings == nullptr; this change makes it true for the last violator and documents it at the typedef. Trust boundary measured base-vs-fix rather than argued: every construction surface I measured (SELECT, CREATE TABLE, CAST, a format schema and the -If/-Array combinator forms) returns Code: 446 identically on both builds, and evaluating an already-created column behaves identically too. The gate is construction-time only by design, so a column created under the setting is already readable on unmodified master by a connection that never enabled it; the only delta is that a construction on a thread with no query context no longer crashes. The throw and its message are unchanged, check() still runs on every path, and error/early-return paths are untouched.

Session id: cron:clickhouse-impl-slot-4:20260924-014900

@groeneai
groeneai requested review from azat and rschu1ze September 24, 2026 03:49
@clickhouse-gh

clickhouse-gh Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [83e8470]

Summary: ✅


AI Review

Summary

This PR fixes the flameGraph aggregate-function creator to honor the existing nullable Settings * contract, so constructing AggregateFunction(flameGraph, ...) without a query context no longer dereferences a null pointer during attach or other type-parsing paths. I did not find a correctness, compatibility, or coverage issue in the current diff.

Missing context / blind spots
  • ⚠️ Full CI on commit 83e8470ac508c0f82809376896d1a4b3794ee8c8 is still running. Style check and Fast test are already green, but the build matrix and deeper test jobs were still pending during this review.
Final Verdict

✅ No review findings in the current diff. No inline comments were posted.

LLVM Coverage Report

Measured on commit 83e8470.

Metric Baseline Current Δ
Lines 88.10% 88.20% +0.10%
Functions 91.70% 91.70% +0.00%
Branches 79.40% 79.50% +0.10%

Changed lines: Changed C/C++ lines covered: 3/3 (100.00%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added pr-bugfix Pull request with bugfix, not backported by default comp-aggregate-functions Aggregate function implementations (sum, avg, count, quantile, combinators, etc.). labels Sep 24, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 83e8470ac with master 68694750f (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

7 translation units recompiled, 7 s compile time in total, 7 of them have a recent master baseline.

Job report

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 373f91a

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
Performance Comparison (arm_release, master_head, 4/6) false red of the dashboard gate. The shard's own report says 4 too long, 1 slower, 7 unstable; 1 confirmed regression(s) on the performance dashboard. This diff cannot reach the measured queries: the whole source change is a null-context guard in AggregateFunctionFlameGraph.cpp plus a two-line factory accessor used only by a gtest, while the shard's single slower query is right_full_hash_join_with_multi_disjunct #4, a join fixture that constructs no aggregate function. 54 red perf shards over 39 pull requests carry this shape today. #121847 (merged 2026-09-23 23:29Z) is measured PRESENT in the tree this job built (fe207714d60b, the job's confirmed checkout), and the two mechanisms it fixes are UTC timestamps in CIDB and the 10 s threshold-fetch timeout, neither of which is this red, so it does not own this row ClickHouse/performance-comparison#5 (external): the dashboard's confidence scoring, which #121847's own description names as where noisy confirmed_regression verdicts are handled. That repository is not publicly readable, so its state cannot be measured from here
Mergeable Check, PR rollup rows, red only because of the shard above, with no independent failure of their own ClickHouse/performance-comparison#5 (external), the same dashboard-side owner as the red-maker above

All 176 check-runs completed (134 pass, 39 not selected, 3 red), Finish Workflow green with the last
completion at 08:54:34Z, CH Inc sync green, and CIDB carries no FAIL or ERROR test row on this head.
The Finish Workflow / Post Hooks failure CIDB holds at 03:51:08Z on this same head belongs to a
superseded earlier attempt of that job, whose live check-run is green, so it earns no row. The 1 slower
and 7 unstable entries are per-query verdicts inside the shard above, not separate job failures.

Session id: cron:our-pr-ci-monitor:20260924-090214

@PedroTadim PedroTadim self-assigned this Sep 24, 2026
if (!(*settings)[Setting::allow_introspection_functions])
/// The factory passes null when there is no query context to take settings from, and with no
/// principal there is nothing to authorize.
if (settings && !(*settings)[Setting::allow_introspection_functions])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@groeneai there could be other aggregates with the same issue? Can you investigate?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Investigated. I censused every function in src/ whose signature takes a const Settings *, which is the entire creator and window-creator surface, and classified what each does with the pointer:

Group Sites On a null pointer
parameter left unnamed 126 cannot read it
named, never dereferenced 33 only forwards it
dereferenced, checked, permissive (if (settings && ...)) 6 constructs the function: the timeSeries* family, uniqExact's parallel-merge choice, and flameGraph with this PR
dereferenced, checked, refusing (settings == nullptr || ...) 3 throws: sequenceNextNode (AggregateFunctionSequenceNextNode.cpp:463), rank and denseRank (WindowTransform.cpp:3101, :3178)
dereferenced unchecked 1 crashes: flameGraph, fixed here
dereferenced outside the creator surface 4 connection handshake, tracing, codec choice

Negative control: the same census run against the pre-fix file reports createAggregateFunctionFlameGraph as an unchecked dereference, so it is able to fail.

So no other aggregate function has this crash. The three refusing creators do have a problem of their own, which I measured on this build: a table created legally cannot be loaded back, and neither a query-level SET nor a server-level default helps, because the loading thread has no settings at all.

$ clickhouse local --path d -q "SET enable_funnel_functions = 1; CREATE TABLE t (c AggregateFunction(sequenceNextNode('forward', 'head'), DateTime, Nullable(String), UInt8)) ENGINE = Memory"
$ clickhouse local --path d -q "SELECT count() FROM t"
Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `enable_funnel_functions` setting to enable it: Cannot attach table `default`.`t` from metadata file [...] (UNKNOWN_AGGREGATE_FUNCTION)

AggregateFunction(rank, UInt64) behaves the same way with allow_rank_dense_rank_arguments = 1, failing to load with NUMBER_OF_ARGUMENTS_DOESNT_MATCH. Both are pre-existing and are a policy change rather than a crash fix, so I kept this PR to the crash and will send them separately. Tell me if you would rather have them here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Opened #121996 for the three refusing sites from that census (sequenceNextNode, rank, denseRank), using the same permissive shape as this PR.

@@ -0,0 +1,57 @@
#include <gtest/gtest.h>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@groeneai remove the gtest, we already have the shell one

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed in 8e6250d. 05243_flamegraph_attach_without_query_context is now the only regression test, and it still reproduces the crash without the src/ change.

The stateless test 05243_flamegraph_attach_without_query_context already
reproduces the crash end to end, so the gtest only restated it at a lower
level. Requested in review.

A census of every function in src/ taking a `const Settings *` (172 sites:
126 leave the parameter unnamed, 33 name it without reading it, 13
dereference it and all 13 null-check first) confirms the flameGraph creator
was the only unguarded dereference, so the fix stays single-site.
@Algunenano Algunenano added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Sep 24, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 8e6250d

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
Fast test (arm_darwin) / 03312_squashing_with_low_card_mem_usage runner disk exhaustion: Code: 243 ... Cannot reserve 317.68 MiB, not enough space, raised while the test writes its part. Not reachable from this diff (a null-context guard in AggregateFunctionFlameGraph.cpp plus a factory accessor): the same test fails with the same code on 15 other pull requests in the last 24 hours, all on the same macOS runner class #113605 (mine, open)
Performance Comparison (arm_release, master_head, 4/6) dashboard-verdict red. The shard's own report says 4 too long, 3 unstable; 1 confirmed regression(s) on the performance dashboard, while the shard's own old-vs-new comparison flags zero slower queries on this head (positive control: 2872 slower rows over 413 pull requests in the last 3 days, 4 of them on this PR's previous head). The three unstable queries are count_from_formats #78, set_index #0 and set_index #1, none of which constructs an aggregate function, so this diff cannot reach them. 73 pull requests carry the same shard verdict in the last 3 days. The ClickHouse-side arm #121847 (merged 2026-09-23) is measured present in the tree this job actually built (43f5018ebb8c, the job's confirmed checkout) and the verdict fired anyway, so it does not own this row ClickHouse/performance-comparison#5 (external): the dashboard confidence scoring, which @ fm4v named on 2026-09-23 as where these verdicts are handled after #121847. That repository is not publicly readable, so its state cannot be measured from here
Mergeable Check, PR rollup rows, red only because of the two checks above, with no independent failure of their own #113605 (mine, open) and ClickHouse/performance-comparison#5 (external), the owners of the two rows above
Sync - CH Inc sync (private, not actionable by me)

All 172 check-runs completed (128 pass, 39 not selected, 5 red), last completion 17:02:40Z, and CIDB
carries exactly one FAIL test row on this head, the 03312 row above.

Session id: cron:our-pr-ci-monitor:20260924-173442

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - aa6a7b0

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
Stateless tests (amd_asan_ubsan, db disk, distributed plan, targeted) job error before any test ran: Failed to load test selection: CIDB query failed ... play.clickhouse.com Read timed out (read timeout=60); 69 PRs hit this same signature between 09:09Z and 20:03Z a fix task is created (investigating at full effort, fixing-PR link to follow here)
Stateless tests (arm_asan_ubsan, targeted) same test-selection read timeout against the CI database, same outage window a fix task is created (investigating at full effort, fixing-PR link to follow here)
Finish Workflow / Post Hooks cascade of the errored targeted shard: it dropped Bugfix validation, so the new-tests hook found no validating job a fix task is created (investigating at full effort, fixing-PR link to follow here)
Mergeable Check, PR aggregator statuses reporting the rows above, no independent failure a fix task is created (investigating at full effort, fixing-PR link to follow here)

Session id: cron:our-pr-ci-monitor:20260924-210057

@PedroTadim
PedroTadim added this pull request to the merge queue Sep 25, 2026
Merged via the queue into ClickHouse:master with commit 9eb7f55 Sep 25, 2026
176 checks passed
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 25, 2026
@robot-ch-test-poll robot-ch-test-poll added pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Sep 25, 2026
clickhouse-gh Bot added a commit that referenced this pull request Sep 25, 2026
Backport #121894 to 26.9: Fix a server crash when the flameGraph aggregate function is constructed without a query context
clickhouse-gh Bot added a commit that referenced this pull request Sep 25, 2026
Backport #121894 to 26.8: Fix a server crash when the flameGraph aggregate function is constructed without a query context
clickhouse-gh Bot added a commit that referenced this pull request Sep 25, 2026
Backport #121894 to 26.7: Fix a server crash when the flameGraph aggregate function is constructed without a query context
PedroTadim added a commit that referenced this pull request Sep 25, 2026
Backport #121894 to 26.3: Fix a server crash when the flameGraph aggregate function is constructed without a query context
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Oct 2, 2026
…Graph aggregate function is constructed without a query context
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Oct 2, 2026
…Graph aggregate function is constructed without a query context
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Oct 2, 2026
…Graph aggregate function is constructed without a query context
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Oct 2, 2026
…Graph aggregate function is constructed without a query context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-aggregate-functions Aggregate function implementations (sum, avg, count, quantile, combinators, etc.). groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants