I experienced the same problem many times from different dry run . It always happened after many hours running and suddenly client stop synchronize with main chain and block number count stop . if I quit the client and re-run it following error will appear and client crashed
(wallet closed) >>> open doggy
Program received signal SIGSEGV, Segmentation fault.
_int_malloc (av=0x7ffff697e760 <main_arena>, bytes=128) at malloc.c:3302
3302 malloc.c: No such file or directory.
(gdb)
then I will reboot my linux box and delete the "peers.leveldb" folder and restart my client then client will restart but keeping on disconnecting form peer as I posted in my last post.
the only way for me to get back to normal is to delete all the /.BitSharesXTS folder and re-sync the block chain form beginning
more info below
doggy (unlocked) >>> info
{
"blockchain_head_block_num": 0,
"blockchain_head_block_age": "15 seconds old",
"blockchain_head_block_timestamp": "20140702T132130",
"blockchain_average_delegate_participation": 0,
"blockchain_blocks_left_in_round": 101,
"blockchain_confirmation_requirement": 202,
"blockchain_share_supply": 199999999981923,
"blockchain_random_seed": "0000000000000000000000000000000000000000",
"blockchain_database_version": 109,
"blockchain_version": 104,
"network_num_connections": 1,
"network_num_connections_max": 200,
"network_protocol_version": 104,
"ntp_time": "20140702T132145",
"ntp_error": -0.0023029999999999999,
"wallet_open": true,
"wallet_unlocked": true,
"wallet_unlocked_until": "77 days in the future",
"wallet_unlocked_until_timestamp": "20140917T171137",
"wallet_block_production_enabled": true,
"wallet_next_block_production_time": null,
"wallet_next_block_production_timestamp": null,
"wallet_version": 101
}
--- there are now 1 active connections to the p2p network
I am disconnecting peer 114.215.104.153:36016 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 176.9.234.167:39844 for reason: You offered us a block that we reject as invalid
--- there are now 0 active connections to the p2p network
doggy (unlocked) >>>
[detached from 1587.bts]
coins@coins:~$ ^C
coins@coins:~$ screen -r bts
I am disconnecting peer 107.170.30.182:8701 for reason: You offered us a block that we reject as invalid
--- there are now 0 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- syncing with p2p network, 1716 blocks left to fetch
--- there are now 2 active connections to the p2p network
I am disconnecting peer 107.170.90.142:8701 for reason: You offered us a block that we reject as invalid
--- there are now 3 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 5 active connections to the p2p network
I am disconnecting peer 84.238.140.192:36350 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 176.9.234.167:39931 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 128.199.180.112:8701 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 106.187.91.24:35790 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 114.215.104.153:36016 for reason: You offered us a block that we reject as invalid
--- there are now 0 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- syncing with p2p network, 1718 blocks left to fetch
I am disconnecting peer 176.9.234.167:39967 for reason: You offered us a block that we reject as invalid
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- syncing with p2p network, 1719 blocks left to fetch
--- there are now 4 active connections to the p2p network
--- there are now 5 active connections to the p2p network
--- there are now 6 active connections to the p2p network
I am disconnecting peer 107.170.30.182:8703 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 107.170.170.214:8701 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 162.243.160.72:46456 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 92.243.18.20:8701 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 188.138.107.159:8701 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 128.199.180.19:8701 for reason: You offered us a block that we reject as invalid
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
I am disconnecting peer 146.185.186.245:54482 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 106.185.24.234:8701 for reason: You offered us a block that we reject as invalid
--- there are now 1 active connections to the p2p network
--- syncing with p2p network, 1720 blocks left to fetch
I am disconnecting peer 176.9.234.167:39978 for reason: You offered us a block that we reject as invalid
--- there are now 0 active connections to the p2p network
doggy (unlocked) >>> info
{
"blockchain_head_block_num": 0,
"blockchain_head_block_age": "18 seconds old",
"blockchain_head_block_timestamp": "20140702T132445",
"blockchain_average_delegate_participation": 0,
"blockchain_blocks_left_in_round": 101,
"blockchain_confirmation_requirement": 202,
"blockchain_share_supply": 199999999981923,
"blockchain_random_seed": "0000000000000000000000000000000000000000",
"blockchain_database_version": 109,
"blockchain_version": 104,
"network_num_connections": 0,
"network_num_connections_max": 200,
"network_protocol_version": 104,
"ntp_time": "20140702T132503",
"ntp_error": -0.0023029999999999999,
"wallet_open": true,
"wallet_unlocked": true,
"wallet_unlocked_until": "77 days in the future",
"wallet_unlocked_until_timestamp": "20140917T171137",
"wallet_block_production_enabled": true,
"wallet_next_block_production_time": null,
"wallet_next_block_production_timestamp": null,
"wallet_version": 101
}
--- there are now 1 active connections to the p2p network
--- syncing with p2p network, 1722 blocks left to fetch
I am disconnecting peer 176.9.234.167:39984 for reason: You offered us a block that we reject as invalid
--- there are now 0 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- syncing with p2p network, 1723 blocks left to fetch
I am disconnecting peer 176.9.234.167:39997 for reason: You offered us a block that we reject as invalid
client keep on been disconnected form peers.
--- there are now 1 active connections to the p2p network
I am disconnecting peer 114.215.104.153:36016 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 176.9.234.167:39844 for reason: You offered us a block that we reject as invalid
--- there are now 0 active connections to the p2p network
This peer is showing up on both of our seed nodes....
Peer 209.141.182.156:8701 disconnected us: You offered us a block that we reject as invalid
We are looking into the cause of this message... so don't take it personally if a peer rejects you right now.
Very interesting you are rejecting the very first block as invalid...
If you start with a fresh data directory do you always get this problem?
Ok, so I think I can summarize your problem as:
1) log files getting to large (32 bit machine?)
2) crashing that leaves the database in inconsistent state.
3) unable to synchronize with a database in an inconsistent state.
Our solutions are:
1) We need to add extra validation checks on startup
2) We are putting in code today to greatly reduce logging now that we have found most issues.