在鲲鹏920上编译运行clickhouse22.8,运行后出现Segmentation fault
版本
v22.8.9.24-lts
编译参数
CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja -DENABLE_JEMALLOC=OFF ..
编译后运行clickhouse start,出现Segmentation fault
出错信息如下:
2023.03.02 14:37:20.756250 [ 2170295 ] {} Pipe: Pipe capacity is 1.00 MiB
2023.03.02 14:37:21.608831 [ 2170295 ] {} : Starting ClickHouse 22.8.9.1 with revision 54465, build id: 5ECA55F20D26198699F89E567C0BB987F84B722C, PID 2170295
2023.03.02 14:37:21.608969 [ 2170295 ] {} Application: starting up
2023.03.02 14:37:21.608985 [ 2170295 ] {} Application: OS name: Linux, version: 4.19.90-17.5.ky10.aarch64, architecture: aarch64
2023.03.02 14:37:21.609211 [ 2170296 ] {} BaseDaemon: Received signal 11
2023.03.02 14:37:41.619326 [ 2170282 ] {} Application: Child process was terminated by signal 11.
gdb跟踪结果如下:
(gdb) bt #0 0x0000fffff7dee2d4 in calloc () from /lib64/libc.so.6
#1 0x0000fffff7da93f4 in ?? () from /lib64/libc.so.6
#2 0x0000fffff7da949c in ?? () from /lib64/libc.so.6
#3 0x000000001421a8c4 in __cxa_thread_atexit_impl ()
#4 0x000000000940c1b4 in DB::ThreadStatus::ThreadStatus() ()
#5 0x000000000940cdd0 in DB::MainThreadStatus::getInstance() ()
#6 0x00000000094450d0 in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&) ()
#7 0x00000000126317bc in Poco::Util::Application::run() ()
#8 0x0000000009443e50 in DB::Server::run() ()
#9 0x0000000012646a1c in Poco::Util::ServerApplication::run(int, char**) ()
#10 0x00000000094420b4 in mainEntryClickHouseServer(int, char**) ()
#11 0x00000000093e0114 in main ()
增加之前版本的编译参数-DENABLE_TCMALLOC=OFF无效,-DUSE_UNWIND=OFF 链接时报错,请问有在鲲鹏920上适配过clickhouse22.8的吗?
在鲲鹏920上编译运行clickhouse22.8,运行后出现Segmentation fault
版本
v22.8.9.24-lts
编译参数
CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja -DENABLE_JEMALLOC=OFF ..
编译后运行clickhouse start,出现Segmentation fault
出错信息如下:
2023.03.02 14:37:20.756250 [ 2170295 ] {} Pipe: Pipe capacity is 1.00 MiB
2023.03.02 14:37:21.608831 [ 2170295 ] {} : Starting ClickHouse 22.8.9.1 with revision 54465, build id: 5ECA55F20D26198699F89E567C0BB987F84B722C, PID 2170295
2023.03.02 14:37:21.608969 [ 2170295 ] {} Application: starting up
2023.03.02 14:37:21.608985 [ 2170295 ] {} Application: OS name: Linux, version: 4.19.90-17.5.ky10.aarch64, architecture: aarch64
2023.03.02 14:37:21.609211 [ 2170296 ] {} BaseDaemon: Received signal 11
2023.03.02 14:37:41.619326 [ 2170282 ] {} Application: Child process was terminated by signal 11.
gdb跟踪结果如下:
(gdb) bt #0 0x0000fffff7dee2d4 in calloc () from /lib64/libc.so.6
#1 0x0000fffff7da93f4 in ?? () from /lib64/libc.so.6
#2 0x0000fffff7da949c in ?? () from /lib64/libc.so.6
#3 0x000000001421a8c4 in __cxa_thread_atexit_impl ()
#4 0x000000000940c1b4 in DB::ThreadStatus::ThreadStatus() ()
#5 0x000000000940cdd0 in DB::MainThreadStatus::getInstance() ()
#6 0x00000000094450d0 in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&) ()
#7 0x00000000126317bc in Poco::Util::Application::run() ()
#8 0x0000000009443e50 in DB::Server::run() ()
#9 0x0000000012646a1c in Poco::Util::ServerApplication::run(int, char**) ()
#10 0x00000000094420b4 in mainEntryClickHouseServer(int, char**) ()
#11 0x00000000093e0114 in main ()
增加之前版本的编译参数-DENABLE_TCMALLOC=OFF无效,-DUSE_UNWIND=OFF 链接时报错,请问有在鲲鹏920上适配过clickhouse22.8的吗?