eos
eos copied to clipboard
segmentation fault (core dumped) on launch
This is the error I'm getting:
ubuntu@ip-172-31-19-115:~/Ghostbusters/ghostbusters-hkeosarielle/bios-files$ nodeos --config-dir ./ --data-dir ./ --delete-all-blocks --genesis-json ./genesis.json
248759ms thread-0 chain_plugin.cpp:151 plugin_initialize ] initializing chain plugin
248759ms thread-0 chain_plugin.cpp:229 plugin_initialize ] Deleting state database and blocks
248760ms thread-0 chain_plugin.cpp:280 plugin_initialize ] Using genesis state provided in '/home/ubuntu/Ghostbusters/ghostbusters-hkeosarielle/bios-files/./genesis.json'
248760ms thread-0 chain_plugin.cpp:299 plugin_initialize ] Starting up fresh blockchain with provided genesis state.
248788ms thread-0 http_plugin.cpp:264 plugin_initialize ] configured http to listen on 127.0.0.1:18886
248788ms thread-0 net_plugin.cpp:2798 plugin_initialize ] Initialize net plugin
248788ms thread-0 net_plugin.cpp:2819 plugin_initialize ] host: 192.168.100.33 port: 19875
248788ms thread-0 net_plugin.cpp:2891 plugin_initialize ] my node_id is 43add057399278eefaa70c2ee5792cb079cda0ee86253c88efa5516ab6b260eb
248788ms thread-0 http_plugin.cpp:236 operator() ] configured http with Access-Control-Allow-Origin: *
248788ms thread-0 main.cpp:104 main ] nodeos version 00c78697
248788ms thread-0 main.cpp:105 main ] eosio root is /home/ubuntu/.local/share
248788ms thread-0 controller.cpp:1091 startup ] No head block in fork db, perhaps we need to replay
248788ms thread-0 controller.cpp:310 initialize_fork_db ] Initializing new blockchain with genesis state
248816ms thread-0 fork_database.cpp:95 close ] num_blocks_in_fork_db: 1
Segmentation fault (core dumped)
Core file and backtrace?
No additional file seems to be generated, as shown below when I run ls right after. I'm running on the dawn-v4.2.0 tag and the OS is Ubuntu 18.04.
ubuntu@ip-172-31-19-115:~/Ghostbusters/ghostbusters-hkeosarielle/bios-files$ nodeos --config-dir ./ --data-dir ./ --delete-all-blocks --genesis-json ./genesis.json
1852195ms thread-0 chain_plugin.cpp:151 plugin_initialize ] initializing chain plugin
1852195ms thread-0 chain_plugin.cpp:229 plugin_initialize ] Deleting state database and blocks
1852197ms thread-0 chain_plugin.cpp:280 plugin_initialize ] Using genesis state provided in '/home/ubuntu/Ghostbusters/ghostbusters-hkeosarielle/bios-files/./genesis.json'
1852197ms thread-0 chain_plugin.cpp:299 plugin_initialize ] Starting up fresh blockchain with provided genesis state.
1852224ms thread-0 http_plugin.cpp:264 plugin_initialize ] configured http to listen on 127.0.0.1:18886
1852224ms thread-0 net_plugin.cpp:2798 plugin_initialize ] Initialize net plugin
1852224ms thread-0 net_plugin.cpp:2819 plugin_initialize ] host: 192.168.100.33 port: 19875
1852224ms thread-0 net_plugin.cpp:2891 plugin_initialize ] my node_id is e877c39706898d6e41914a1a5dcbec3319fde26f9b08eed4b3aca23a6fb9ad9d
1852224ms thread-0 http_plugin.cpp:236 operator() ] configured http with Access-Control-Allow-Origin: *
1852224ms thread-0 main.cpp:104 main ] nodeos version 00c78697
1852224ms thread-0 main.cpp:105 main ] eosio root is /home/ubuntu/.local/share
1852224ms thread-0 controller.cpp:1091 startup ] No head block in fork db, perhaps we need to replay
1852224ms thread-0 controller.cpp:310 initialize_fork_db ] Initializing new blockchain with genesis state
1852253ms thread-0 fork_database.cpp:95 close ] num_blocks_in_fork_db: 1
Segmentation fault (core dumped)
ubuntu@ip-172-31-19-115:~/Ghostbusters/ghostbusters-hkeosarielle/bios-files$ ls
00_CONFIG.conf 01_BIOS_CONTRACT.sh 03_TOKENMSIG_CONTRACTS.sh 05_SYSTEM_CONTRACTS.sh bios-instructions.md cleos.sh generate-config.sh resignAuth.sh state stdout.txt
00_WALLET_IMPORT.sh 02_SYSTEM_ACCOUNTS.sh 04_TOKEN_CREATE_ISSUE.sh 06_SET_ABPs.sh blocks config.ini genesis.json start.sh stderr.txt stop.sh
Here is the config.ini file. Removed endpoints and private keys. I've tried running it again after commenting out the genesis-json = ... part but this made no difference.
ubuntu@ip-172-31-19-115:~/Ghostbusters/ghostbusters-hkeosarielle/bios-files$ cat config.ini
### EOS Ghostbusters Testnet Bios Node Config file. Autogenerated by script.
get-transactions-time-limit = 3
genesis-json = "/home/ubuntu/Ghostbusters/ghostbusters-hkeosarielle/bios-files/genesis.json"
block-log-dir = "/home/ubuntu/Ghostbusters/ghostbusters-hkeosarielle/bios-files/blocks"
http-server-address = 127.0.0.1:18886
p2p-listen-endpoint =
p2p-server-address =
access-control-allow-origin = *
allowed-connection = specified
log-level-net-plugin = info
max-clients = 120
connection-cleanup-period = 30
network-version-match = 1
sync-fetch-span = 2000
enable-stale-production = true
required-participation = 33
plugin = eosio::chain_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::history_plugin
plugin = eosio::history_api_plugin
plugin = eosio::producer_plugin
agent-name = eosio
peer-private-key = ["EOS6furoSvrpCMY9E1HfNySwmxS1B9xXTSKEH33zAiBttaukDTUBX",""]
private-key = ["EOS6furoSvrpCMY9E1HfNySwmxS1B9xXTSKEH33zAiBttaukDTUBX",""]
producer-name = eosio
p2p-peer-address = 192.168.100.33:19876
peer-key = "EOS6furoSvrpCMY9E1HfNySwmxS1B9xXTSKEH33zAiBttaukDTUBX"
run it in lldb or gdb and catch crash?