apache / apache/incubator-pegasus

pegasus shell crashed when it starts

Open
#643 1 comment 0 reactions 0 assignees View on GitHub
type/bug
Dominant language
C++
Stars
2.1k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

1. What did you do?
```shell
$ ./run.sh shell -n ***
INFO: parse meta_list from /***
W2020-11-11 19:20:05.527 (1605093605527024651 1b656) unknown.io-thrd.112214: overwrite default thread pool for task RPC_CM_QUERY_PARTITION_CONFIG_BY_INDEX from THREAD_POOL_META_SERVER to THREAD_POOL_DEFAULT
W2020-11-11 19:20:05.527 (1605093605527140243 1b656) unknown.io-thrd.112214: overwrite default thread pool for task RPC_CM_QUERY_PARTITION_CONFIG_BY_INDEX_ACK from THREAD_POOL_META_SERVER to THREAD_POOL_DEFAULT
./run.sh: line 1577: 112214 Segmentation fault ./pegasus_shell ${CONFIG} $CLUSTER_NAME
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the crash with `./run.sh shell -n ***` and inspect the command path around `run.sh` line 1577, where `pegasus_shell` is launched. Collect more diagnostic information for the segmentation fault and trace the startup failure; done means the shell starts without crashing for the reported command.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.