问题描述
tiup playground 部署集群之后,TiFLash 异常退出
tiup playground 启动集群
[tidb@ansible ~]$ tiup playground v4.0.8 --db 2 --kv 2 --host 10.0.17.58
Found playground newer version:
The latest version: v1.3.0
Local installed version: v1.2.3
Update current component: tiup update playground
Update all components: tiup update --all
Starting component playground
: /home/tidb/.tiup/components/playground/v1.2.3/tiup-playground v4.0.8 --db 2 --kv 2 --host 10.0.17.58
Playground Bootstrapping…
Start pd instance
Start tikv instance
Start tikv instance
Start tidb instance
Start tidb instance
Waiting for tidb 10.0.17.58:4000 ready … ?
Waiting for tidb 10.0.17.58:4000 ready … Done
Waiting for tidb 10.0.17.58:4001 ready … Done
Waiting for tikv 10.0.17.58:20160 ready … Done
Waiting for tikv 10.0.17.58:20161 ready … Done
Start tiflash instance
Waiting for tiflash 10.0.17.58:3930 ready … Done
CLUSTER START SUCCESSFULLY, Enjoy it ^-^
To connect TiDB: mysql --host 10.0.17.58 --port 4000 -u root
To connect TiDB: mysql --host 10.0.17.58 --port 4001 -u root
To view the dashboard: http://10.0.17.58:2379/dashboard
To view the Prometheus: http://10.0.17.58:9090
To view the Grafana: http://10.0.17.58:3000
tiflash quit: signal: segmentation fault (core dumped) <------------------TiFlash 异常退出
Logging debug to /home/tidb/.tiup/data/SK02eyp/tiflash-0/log/tiflash.log
Logging errors to /home/tidb/.tiup/data/SK02eyp/tiflash-0/log/tiflash_error.log
…
check detail log from: /home/tidb/.tiup/data/SK02eyp/tiflash-0/tiflash.log
TiFlash 报错日志如下
2020.12.23 21:26:12.191519 [ 5 ] BaseDaemon: ########################################
2020.12.23 21:26:12.191693 [ 5 ] BaseDaemon: (from thread 4) Received signal Segmentation fault (11).
2020.12.23 21:26:12.191739 [ 5 ] BaseDaemon: Address: NULL pointer.
2020.12.23 21:26:12.191774 [ 5 ] BaseDaemon: Access: read.
2020.12.23 21:26:12.191809 [ 5 ] BaseDaemon: Unknown si_code.
2020.12.23 21:26:12.226731 [ 5 ] BaseDaemon: 0. /lib64/libc.so.6() [0x3267c36ba2]
2020.12.23 21:26:12.226784 [ 5 ] BaseDaemon: 1. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash() [0x6f9ae82]
2020.12.23 21:26:12.226876 [ 5 ] BaseDaemon: 2. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(DB::DiagnosticsService::LinuxCpuTime::curr
ent()+0x391) [0x6fac7a1]
2020.12.23 21:26:12.226952 [ 5 ] BaseDaemon: 3. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(DB::DiagnosticsService::server_info(grpc_i
mpl::ServerContext*, diagnosticspb::ServerInfoRequest const*, diagnosticspb::ServerInfoResponse*)+0x5bc) [0x6fa6cdc]
2020.12.23 21:26:12.227095 [ 5 ] BaseDaemon: 4. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(std::_Function_handler<grpc::Status (diagn
osticspb::Diagnostics::Service*, grpc_impl::ServerContext*, diagnosticspb::ServerInfoRequest const*, diagnosticspb::ServerInfoResponse*), std::Mem_fn<grpc::
Status (diagnosticspb::Diagnostics::Service::)(grpc_impl::ServerContext, diagnosticspb::ServerInfoRequest const*, diagnosticspb::ServerInfoResponse*)> >::
M_invoke(std::_Any_data const&, diagnosticspb::Diagnostics::Service*&&, grpc_impl::ServerContext*&&, diagnosticspb::ServerInfoRequest const*&&, diagnosticspb
::ServerInfoResponse*&&)+0x39) [0x7560de9]
2020.12.23 21:26:12.227170 [ 5 ] BaseDaemon: 5. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(grpc::Status grpc::internal::CatchingFunct
ionHandler<grpc::internal::RpcMethodHandler<diagnosticspb::Diagnostics::Service, diagnosticspb::ServerInfoRequest, diagnosticspb::ServerInfoResponse>::RunHan
dler(grpc::internal::MethodHandler::HandlerParameter const&)::{lambda()#1}>(grpc::internal::RpcMethodHandler<diagnosticspb::Diagnostics::Service, diagnostics
pb::ServerInfoRequest, diagnosticspb::ServerInfoResponse>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&)::{lambda()#1}&&)+0x54) [0x756ca
34]
2020.12.23 21:26:12.227229 [ 5 ] BaseDaemon: 6. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(grpc::internal::RpcMethodHandler<diagnosti
cspb::Diagnostics::Service, diagnosticspb::ServerInfoRequest, diagnosticspb::ServerInfoResponse>::RunHandler(grpc::internal::MethodHandler::HandlerParameter
const&)+0x4e6) [0x756f7c6]
2020.12.23 21:26:12.227276 [ 5 ] BaseDaemon: 7. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(grpc_impl::Server::SyncRequest::CallData::
ContinueRunAfterInterception()+0x161) [0x782d891]
2020.12.23 21:26:12.227330 [ 5 ] BaseDaemon: 8. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(grpc_impl::Server::SyncRequestThreadManage
r::DoWork(void*, bool, bool)+0x430) [0x782ee50]
2020.12.23 21:26:12.227392 [ 5 ] BaseDaemon: 9. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(grpc::ThreadManager::MainWorkLoop()+0x9b)
[0x7834a8b]
2020.12.23 21:26:12.227442 [ 5 ] BaseDaemon: 10. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash(grpc::ThreadManager::WorkerThread::Run()+
0xc) [0x7834b6c]
2020.12.23 21:26:12.227479 [ 5 ] BaseDaemon: 11. /home/tidb/.tiup/components/tiflash/v4.0.8/tiflash/tiflash() [0x7babc33]
2020.12.23 21:26:12.227515 [ 5 ] BaseDaemon: 12. /lib64/libpthread.so.0() [0x3268406d14]