{"action":"created","issue":{"url":"https://api.github.com/repos/ethcore/parity/issues/2640","repository_url":"https://api.github.com/repos/ethcore/parity","labels_url":"https://api.github.com/repos/ethcore/parity/issues/2640/labels{/name}","comments_url":"https://api.github.com/repos/ethcore/parity/issues/2640/comments","events_url":"https://api.github.com/repos/ethcore/parity/issues/2640/events","html_url":"https://github.com/ethcore/parity/issues/2640","id":183252001,"number":2640,"title":"Block import fails while syncing","user":{"login":"benjaminion","id":20796281,"avatar_url":"https://avatars.githubusercontent.com/u/20796281?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminion","html_url":"https://github.com/benjaminion","followers_url":"https://api.github.com/users/benjaminion/followers","following_url":"https://api.github.com/users/benjaminion/following{/other_user}","gists_url":"https://api.github.com/users/benjaminion/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminion/subscriptions","organizations_url":"https://api.github.com/users/benjaminion/orgs","repos_url":"https://api.github.com/users/benjaminion/repos","events_url":"https://api.github.com/users/benjaminion/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-16T06:27:33Z","updated_at":"2016-10-17T16:02:47Z","closed_at":"2016-10-17T07:25:29Z","body":"During a fresh sync from scratch (i.e. delete 906a34e69aec8c0d directory before starting), the latest release crashes as follows.\r\n\r\nNotes,\r\n* This has happened multiple times, but with different block numbers below 2 million\r\n* I've done many syncs with previous versions which sailed past this point\r\n* I had not halted Parity, nor had there been any OOM error during this run - it was a straight run from scratch. It was not resource constrained.\r\n\r\nParity version (was pulled from https://hub.docker.com/r/ethcore/parity/builds/)\r\n```\r\n# docker run ethcore/parity --version\r\nParity\r\n  version Parity/v1.3.8-beta-e0778fc-20161015/x86_64-linux-gnu/rustc1.12.0\r\n```\r\n\r\nCommand line:\r\n```\r\n/build/parity/target/release/parity --db-compaction hdd --cache-size-db 512 --pruning fast --pruning-history 512 --no-dapps --no-ipc\r\n```\r\n\r\nConsole output:\r\n```\r\n2016-10-16 00:54:57 UTC Syncing #1834040 1a3a…e292    122 blk/s  535 tx/s  23 Mgas/s    1246+29946 Qed   #1865252    1/22/25 peers     28 MiB db    6 MiB chain   25 MiB queue    9 MiB sync\r\n2016-10-16 00:55:02 UTC Syncing #1834497 3809…eaa7     89 blk/s  652 tx/s  18 Mgas/s     328+30416 Qed   #1865252    0/24/25 peers     31 MiB db    6 MiB chain   24 MiB queue    9 MiB sync\r\n2016-10-16 00:55:05 UTC Block import failed for #1834765 (4129…2bbd)\r\nError: Trie(IncompleteDatabase(ae9043ce5f6478392a06ca613ab9fe32936ef3c46a9d86d7b2b34715c3119512))\r\nthread 'IO Worker #2' panicked at 'DB flush failed.: \"Corruption: block checksum mismatch\"', ../src/libcore/result.rs:788\r\nstack backtrace:\r\nthread 'IO Worker #1' panicked at 'DB flush failed.: \"Corruption: block checksum mismatch\"', ../src/libcore/result.rs:788\r\n   1:     0x7f1de0da08c9 - <unknown>\r\n   2:     0x7f1de0da859c - <unknown>\r\n   3:     0x7f1de0da7469 - <unknown>\r\n   4:     0x7f1de0da7b58 - <unknown>\r\n   5:     0x7f1de0da79b2 - <unknown>\r\n   6:     0x7f1de0da7920 - <unknown>\r\n   7:     0x7f1de0da78a1 - <unknown>\r\n   8:     0x7f1de0de485f - <unknown>\r\n   9:     0x7f1de08a1708 - <unknown>\r\n  10:     0x7f1de094d1ed - <unknown>\r\n  11:     0x7f1de084a1e5 - <unknown>\r\n  12:     0x7f1de0db0086 - <unknown>\r\n  13:     0x7f1de08b320e - <unknown>\r\n  14:     0x7f1de0da6102 - <unknown>\r\n  15:     0x7f1ddf4c6183 - start_thread\r\n  16:     0x7f1ddfee237c - clone\r\n  17:                0x0 - <unknown>\r\nstack backtrace:\r\n   1:     0x7f1de0da08c9 - <unknown>\r\n   2:     0x7f1de0da859c - <unknown>\r\n   3:     0x7f1de0da7469 - <unknown>\r\n   4:     0x7f1de0da7b58 - <unknown>\r\n   5:     0x7f1de0da79b2 - <unknown>\r\n   6:     0x7f1de0da7920 - <unknown>\r\n   7:     0x7f1de0da78a1 - <unknown>\r\n   8:     0x7f1de0de485f - <unknown>\r\n   9:     0x7f1de08a1708 - <unknown>\r\n  10:     0x7f1de094d1ed - <unknown>\r\n  11:     0x7f1de084a1e5 - <unknown>\r\n  12:     0x7f1de0db0086 - <unknown>\r\n  13:     0x7f1de08b320e - <unknown>\r\n  14:     0x7f1de0da6102 - <unknown>\r\n  15:     0x7f1ddf4c6183 - start_thread\r\n  16:     0x7f1ddfee237c - clone\r\n  17:                0x0 - <unknown>\r\nthread 'IO Worker #3' panicked at 'Expected in-chain blocks.', ../src/libcore/option.rs:700\r\nstack backtrace:\r\n   1:     0x7f1de0da08c9 - <unknown>\r\n   2:     0x7f1de0da859c - <unknown>\r\n   3:     0x7f1de0da7469 - <unknown>\r\n   4:     0x7f1de0da7b58 - <unknown>\r\n   5:     0x7f1de0da79b2 - <unknown>\r\n   6:     0x7f1de0da7920 - <unknown>\r\n   7:     0x7f1de0da78a1 - <unknown>\r\n   8:     0x7f1de0de485f - <unknown>\r\n   9:     0x7f1de0de48d5 - <unknown>\r\n  10:     0x7f1de099c85e - <unknown>\r\n  11:     0x7f1de08ce73f - <unknown>\r\n  12:     0x7f1de099c64b - <unknown>\r\n  13:     0x7f1de094ce63 - <unknown>\r\n  14:     0x7f1de084a1e5 - <unknown>\r\n  15:     0x7f1de0db0086 - <unknown>\r\n  16:     0x7f1de08b320e - <unknown>\r\n  17:     0x7f1de0da6102 - <unknown>\r\n  18:     0x7f1ddf4c6183 - start_thread\r\n  19:     0x7f1ddfee237c - clone\r\n  20:                0x0 - <unknown>\r\n2016-10-16 00:55:05 UTC Finishing work, please wait...\r\n```\r\n\r\nSoftware environment:\r\n* Docker version 1.11.2, build 3a84010\r\n\r\nHardware environment:\r\n* QNAP NAS TS253A\r\n* 8GB RAM, 7GB allocated to docker container, using approx 2.5GB while running at this point with 5GB free on the machine.\r\n* 2.8TB available HDD space (hdd, not ssd).\r\n"},"comment":{"url":"https://api.github.com/repos/ethcore/parity/issues/comments/254251629","html_url":"https://github.com/ethcore/parity/issues/2640#issuecomment-254251629","issue_url":"https://api.github.com/repos/ethcore/parity/issues/2640","id":254251629,"user":{"login":"benjaminion","id":20796281,"avatar_url":"https://avatars.githubusercontent.com/u/20796281?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminion","html_url":"https://github.com/benjaminion","followers_url":"https://api.github.com/users/benjaminion/followers","following_url":"https://api.github.com/users/benjaminion/following{/other_user}","gists_url":"https://api.github.com/users/benjaminion/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminion/subscriptions","organizations_url":"https://api.github.com/users/benjaminion/orgs","repos_url":"https://api.github.com/users/benjaminion/repos","events_url":"https://api.github.com/users/benjaminion/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminion/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T16:02:47Z","updated_at":"2016-10-17T16:02:47Z","body":"Just happened again. Exactly the same error, but different block number.  As above, a clean sync from scratch with no stoppages or resource constraints. Fairly certain this differs from #2603.\r\n```\r\n2016-10-17 15:51:25 UTC Block import failed for #1548592 (0a49…3f49)\r\nError: Trie(IncompleteDatabase(268cd1dafb99fdacfd620648a917e36d1ec106353eb41e10dd6ac83fda498f69))\r\nthread 'IO Worker #2' panicked at 'DB flush failed.: \"Corruption: block checksum mismatch\"', ../src/libcore/result.rs:788\r\n```"}}
{"actor":{"display_login":"benjaminion"}}