Skip to content

Failure: PR #1015 Stress test (amd_debug) - Segmentation fault (signal 11, NULL pointer) during SELECT shardNum() #1169

@CarlosFelipeOR

Description

@CarlosFelipeOR

Version: 25.8.9.20448.altinityantalya

Description

A segmentation fault occurred during the execution of the stress tests in workflow run
PR #1015, specifically in the job “Stress test (amd_debug)”, which was triggered by Pull Request #1161.
The failure was detected by the ClickHouse server, which terminated with signal 11 (Segmentation fault) caused by a NULL pointer read during query processing.

The crash happens while executing the following query:

SELECT shardNum() AS _shard_num, __table1.key
FROM test_1.dist_2 AS __table1
ORDER BY shardNum(), __table1.key

Main Error Extract

<Fatal> BaseDaemon: Received signal 11
<Fatal> BaseDaemon: Signal description: Segmentation fault
<Fatal> BaseDaemon: Address: NULL pointer. Access: read. Address not mapped to object.

The stack trace indicates the failure occurs inside the AST type promotion / casting logic, referencing the following files:

Common/typeid_cast.h
Common/TypePromotion.h
Interpreters/executeQuery.cpp
Server/TCPHandler.cpp

Access job report to check the full error message


CI Run

https://github.com/Altinity/ClickHouse/actions/runs/19671147070/job/56352115318

Artifacts and Reports

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions