Open PedroTadim opened 2 weeks ago
Hi @PedroTadim, thank you for a report!
I can't reproduce the crash, what are the versions of the clickhouse-cpp
and of the clickhouse server
? How did you built the clickhouse-cpp
?
Hello, I built the latest clickhouse binaries from source with this cmake command:
cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DENABLE_LIBRARIES=1 -DENABLE_TESTS=0 -DENABLE_UTILS=0 -DENABLE_THINLTO=0 -DENABLE_NURAFT=1 -DENABLE_SIMDJSON=1 -DENABLE_JEMALLOC=0 -DENABLE_LIBURING=1 -DENABLE_YAML_CPP=1 -DCMAKE_BUILD_TYPE=Debug -DSANITIZE=address
Ok, latest means master
? hm... is there a reason why you haven't used an pre-existing release (official or alternative) ?
Also, what is the clickhouse-cpp
version you are using and how did you build it?
I've tested clickhouse-cpp
master against clickhouse/clickhouse-server
docker images ver 23.8, 24.3, and 24.8 on x86_64 and wasn't able to reproduce the issue
I updated the example to read input from the given file
I compiled both clickhouse-cpp
and clickhouse/clickhouse-server
from master on debug
Updated example
Compile, link and run this modified example program, while running the input from this file: issue.zip
A SEGV will happen:
A proper error message should be thrown when a type is not supported instead of crashing