Skip to content

UndefinedBehaviorSanitizer : downcast of address 0x7f39a019f970 which does not point to an object of type 'DB::ColumnVector<Int128>' #55016

@Avogar

Description

@Avogar

https://s3.amazonaws.com/clickhouse-test-reports/54427/c5f2d2aaeee75637916bc517b131c02e584d5749/fuzzer_astfuzzerubsan/report.html

How to reproduce:

:) SELECT if(number % 2, materialize([9223372036854775806]), [2, 65537, -9223372036854775808]) AS res FROM numbers(10)

/build/src/Common/assert_cast.h:50:12: runtime error: downcast of address 0x55c678f8e140 which does not point to an object of type 'DB::ColumnVector<Int128>'
0x55c678f8e140: note: object is of type 'DB::ColumnVector<long>'
 00 00 00 00  a0 31 c1 6b c6 55 00 00  01 00 00 00 00 00 00 00  40 d2 a7 43 c6 55 00 00  40 d2 a7 43
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'DB::ColumnVector<long>'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /build/src/Common/assert_cast.h:50:12 in

Introduced in #54553

Metadata

Metadata

Assignees

Labels

fuzzProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions