{"action":"closed","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/536","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/536/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/536/events","html_url":"https://github.com/ethereum/cpp-ethereum/issues/536","id":49814211,"number":536,"title":"InvalidLogBloom exception downloading blockchain","user":{"login":"subtly","id":6557250,"avatar_url":"https://avatars.githubusercontent.com/u/6557250?v=3","gravatar_id":"","url":"https://api.github.com/users/subtly","html_url":"https://github.com/subtly","followers_url":"https://api.github.com/users/subtly/followers","following_url":"https://api.github.com/users/subtly/following{/other_user}","gists_url":"https://api.github.com/users/subtly/gists{/gist_id}","starred_url":"https://api.github.com/users/subtly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subtly/subscriptions","organizations_url":"https://api.github.com/users/subtly/orgs","repos_url":"https://api.github.com/users/subtly/repos","events_url":"https://api.github.com/users/subtly/events{/privacy}","received_events_url":"https://api.github.com/users/subtly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/labels/bug","name":"bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-23T04:21:36Z","updated_at":"2015-01-13T14:17:57Z","closed_at":"2015-01-13T14:17:57Z","body":"To reproduce: \r\nstop alethzero, delete blockchain, set breakpoint on line ~670 in State.cpp, Go!\r\n\r\nIn State::enact(), line ~668 the logBloom() method returns 0x0 whereas m_currentBlock.logBloom and bi.logBloom both return a value which is not 0. Notably prior to this, RLP(_block)[1] appears to be empty.\r\n\r\n[]Q [ 05:14:45 | p2p ] OK - ready for chain insertion.\r\n-N- [ 05:14:45 | p2p | 33 ] 2 imported OK, 30 with unknown parents, 0 with future timestamps, 0  already known, 0  repeats received.\r\n-N- [ 05:14:45 | p2p | 33 ] Transition! Blocks from Blocks , syncing \r\n=B= [ 05:14:45 | eth ] Attempting import of de65edd8… ...\r\n!!! [ 05:14:45 | eth ] Bad log bloom!\r\n=B= [ 05:14:45 | eth ]    Malformed block: /Users/nessence/code/cpp-ethereum-origin/libethereum/State.cpp(671): Throw in function u256 dev::eth::State::enact(bytesConstRef, const dev::eth::BlockChain *, bool)\r\nDynamic exception type: N5boost16exception_detail10clone_implIN3dev3eth15InvalidLogBloomEEE\r\nstd::exception::what: std::exception\r\n\r\n!!! [ 05:14:45 | eth ] Unexpected exception! /Users/nessence/code/cpp-ethereum-origin/libethereum/State.cpp(671): Throw in function u256 dev::eth::State::enact(bytesConstRef, const dev::eth::BlockChain *, bool)\r\nDynamic exception type: N5boost16exception_detail10clone_implIN3dev3eth15InvalidLogBloomEEE\r\nstd::exception::what: std::exception\r\n[PN3dev11tag_commentE] = Malformed block \r\n\r\n[]Q [ 05:14:45 | eth ] Queuing block de65edd8… for import...\r\n[]Q [ 05:14:45 | eth ] Already known.\r\n=B= [ 05:14:45 | eth ] 60ee5922b20b3646a437bb0aa3e5dbe8ea931cc8d100daab36e4d541fa047929 : Unknown parent de65edd85892a0098b30c8a9e81706fa580b70d6817dcb9f733dfbd4c562ed39\r\n!!! [ 05:14:45 | eth ] Unknown parent of block!!! 60ee5922… /Users/nessence/code/cpp-ethereum-origin/libethereum/BlockChain.cpp(278): Throw in function h256s dev::eth::BlockChain::import(const bytes &, const dev::OverlayDB &)\r\nDynamic exception type: N5boost16exception_detail10clone_implIN3dev3eth13UnknownParentEEE\r\nstd::exception::what: std::exception\r\n\r\n[]Q [ 05:14:45 | eth ] Queuing block 60ee5922… for import...\r\n[]Q [ 05:14:45 | eth ] Already known.\r\n=B= [ 05:14:45 | eth ] bfabe87b360931aa78e2217fd2bfaa8f3588952169909967ab859c7b67bd2825 : Unknown parent 60ee5922b20b3646a437bb0aa3e5dbe8ea931cc8d100daab36e4d541fa047929\r\n!!! [ 05:14:45 | eth ] Unknown parent of block!!! bfabe87b… /Users/nessence/code/cpp-ethereum-origin/libethereum/BlockChain.cpp(278): Throw in function h256s dev::eth::BlockChain::import(const bytes &, const dev::OverlayDB &)\r\nDynamic exception type: N5boost16exception_detail10clone_implIN3dev3eth13UnknownParentEEE\r\nstd::exception::what: std::exception"}}