mosuka / blast

Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Apache License 2.0
1.08k stars 76 forks source link

I have got a SIGSEGV: segmentation violation #151

Open egorsmkv opened 2 years ago

egorsmkv commented 2 years ago

The log of the fault is:

{"_level_":"info","_timestamp_":"2021-09-13T16:46:06.974Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:06Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":65.33899688720703}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:07.546Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:07Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":66.99500274658203}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:12.059Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:08Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":3512.781005859375}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:12.717Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:12Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":81.07099914550781}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:13.284Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:13Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":62.42599868774414}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:13.884Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:13Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":62.15800094604492}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:14.458Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:14Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":62.27199935913086}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:17.916Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:14Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":2952.0869140625}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:18.576Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:18Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":65.94300079345703}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:19.159Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:19Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":67.53099822998047}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:19.734Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:19Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":64.96900177001953}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:20.300Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:20Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":63.33300018310547}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:20.879Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:20Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":74.35600280761719}
{"_level_":"info","_timestamp_":"2021-09-13T16:46:21.443Z","_name_":"blast.grpc","_caller_":"zap/server_interceptors.go:39","_message_":"finished unary call with code OK","grpc.start_time":"2021-09-13T16:46:21Z","system":"grpc","span.kind":"server","grpc.service":"index.Index","grpc.method":"Set","grpc.code":"OK","grpc.time_ms":60.96799850463867}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:08.645Z","_name_":"blast","_caller_":"server/grpc_server.go:66","_message_":"disabling TLS"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:299","_message_":"start to restore items"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.357Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"error","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:331","_message_":"failed to unmarshal fields bytes to map","error":"unexpected end of JSON input"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.358Z","_name_":"blast","_caller_":"server/raft_fsm.go:345","_message_":"finished to restore items","count":0,"time":0.001544075}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.361Z","_name_":"blast","_caller_":"server/raft_server.go:155","_message_":"Raft server started","raft_address":":7000"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.361Z","_name_":"blast","_caller_":"server/grpc_service.go:59","_message_":"gRPC service started"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.361Z","_name_":"blast","_caller_":"server/grpc_server.go:119","_message_":"gRPC server started","grpc_address":":9000"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.361Z","_name_":"blast","_caller_":"server/grpc_gateway.go:147","_message_":"gRPC gateway started","http_address":":8000"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.363Z","_name_":"blast","_caller_":"server/grpc_service.go:71","_message_":"start to update cluster info"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:12.363Z","_name_":"blast","_caller_":"server/raft_server.go:179","_message_":"start to update cluster info"}
{"_level_":"info","_timestamp_":"2021-09-13T18:26:13.867Z","_name_":"blast","_caller_":"server/raft_server.go:513","_message_":"detected a leader ID","id":"node1"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xe32efa]

goroutine 197 [running]:
github.com/mosuka/blast/client.(*GRPCClient).Set(...)
    /go/src/github.com/mosuka/blast/client/grpc_client.go:169
github.com/mosuka/blast/server.(*GRPCService).Set(0xc00021e0e0, 0x127fe80, 0xc0084fe4b0, 0xc0084e7040, 0xc00021e0e0, 0x0, 0x0)
    /go/src/github.com/mosuka/blast/server/grpc_service.go:370 +0x3fa
github.com/mosuka/blast/protobuf._Index_Set_Handler.func1(0x127fe80, 0xc0084fe4b0, 0x1079040, 0xc0084e7040, 0x10, 0xc04803d115bdc454, 0x12c28949d, 0x1901e80)
    /go/src/github.com/mosuka/blast/protobuf/index.pb.go:2505 +0x8b
github.com/grpc-ecosystem/go-grpc-middleware/logging/zap.UnaryServerInterceptor.func1(0x127fe80, 0xc0084fe3f0, 0x1079040, 0xc0084e7040, 0xc0003411e0, 0xc000341220, 0x3, 0x3, 0x7f538dcbf648, 0xc00007d260)
    /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.0/logging/zap/server_interceptors.go:31 +0x10c
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1(0x127fe80, 0xc0084fe3f0, 0x1079040, 0xc0084e7040, 0x10, 0xc0084e7090, 0xc0003412a0, 0x203000)
    /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.0/chain.go:25 +0x63
github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).UnaryServerInterceptor.func1(0x127fe80, 0xc0084fe3f0, 0x1079040, 0xc0084e7040, 0xc0003411e0, 0xc000341260, 0xa7f69a, 0x10738a0, 0xc0003412a0, 0xc0003411e0)
    /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-prometheus@v1.2.0/server_metrics.go:107 +0xad
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1(0x127fe80, 0xc0084fe3f0, 0x1079040, 0xc0084e7040, 0xc0003af800, 0x0, 0xc000427b30, 0x41cc98)
    /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.0/chain.go:25 +0x63
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1(0x127fe80, 0xc0084fe3f0, 0x1079040, 0xc0084e7040, 0xc0003411e0, 0xc000341220, 0xc000427ba0, 0x4db0c6, 0x10941a0, 0xc0084fe3f0)
    /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.0/chain.go:34 +0xd7
github.com/mosuka/blast/protobuf._Index_Set_Handler(0x10ed1c0, 0xc00021e0e0, 0x127fe80, 0xc0084fe3f0, 0xc000030c00, 0xc0004506c0, 0x127fe80, 0xc0084fe3f0, 0xc0076c6960, 0x60)
    /go/src/github.com/mosuka/blast/protobuf/index.pb.go:2507 +0x150
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000ae000, 0x128cfe0, 0xc0084e8c00, 0xc0003af800, 0xc0004504e0, 0x184d8b0, 0x0, 0x0, 0x0)
    /go/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x522
google.golang.org/grpc.(*Server).handleStream(0xc0000ae000, 0x128cfe0, 0xc0084e8c00, 0xc0003af800, 0x0)
    /go/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0xcc5
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0004a1d20, 0xc0000ae000, 0x128cfe0, 0xc0084e8c00, 0xc0003af800)
    /go/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xa5
created by google.golang.org/grpc.(*Server).serveStreams.func1
    /go/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xa5
egorsmkv commented 2 years ago

I was using the docker version of Blast: mosuka/blast:v0.10.0.

After restarting the contrainer this SIGSEGV is returning and it crashes again.

So blast IS NOT PRODUCTION READY at the moment, unfortunately.