{"action":"created","issue":{"url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/issues/195","repository_url":"https://api.github.com/repos/libbitcoin/libbitcoin-server","labels_url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/issues/195/comments","events_url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/issues/195/events","html_url":"https://github.com/libbitcoin/libbitcoin-server/issues/195","id":156391044,"number":195,"title":"Segfault stopping server during initial block download [master]","user":{"login":"RojavaCrypto","id":19536664,"avatar_url":"https://avatars.githubusercontent.com/u/19536664?v=3","gravatar_id":"","url":"https://api.github.com/users/RojavaCrypto","html_url":"https://github.com/RojavaCrypto","followers_url":"https://api.github.com/users/RojavaCrypto/followers","following_url":"https://api.github.com/users/RojavaCrypto/following{/other_user}","gists_url":"https://api.github.com/users/RojavaCrypto/gists{/gist_id}","starred_url":"https://api.github.com/users/RojavaCrypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RojavaCrypto/subscriptions","organizations_url":"https://api.github.com/users/RojavaCrypto/orgs","repos_url":"https://api.github.com/users/RojavaCrypto/repos","events_url":"https://api.github.com/users/RojavaCrypto/events{/privacy}","received_events_url":"https://api.github.com/users/RojavaCrypto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-23T23:49:00Z","updated_at":"2016-05-24T00:28:43Z","closed_at":null,"body":"CTRL-C while downloading blocks (after sync) results in segmentation fault.\r\n\r\n    19:34:57.109754 INFO [session] Channel stopped on slot (3) channel is stopped\r\n    19:34:57.111295 INFO [database] Unmapping: \"mainnet/block_table\" [10534384]\r\n    19:34:57.296938 INFO [database] Unmapping: \"mainnet/block_index\" [1068724]\r\n    19:34:57.418963 INFO [database] Unmapping: \"mainnet/history_table\" [394971820]\r\n    Segmentation fault (core dumped)\r\n\r\ngdb shows `libbitcoin::from_little_endian_unsafe<unsigned int, unsigned char*> ()` with `error: Cannot access memory at address`. Stack trace shows `libbitcoin::database::history_database::add_input()` and `block_chain_impl::import()` further up.\r\n\r\nError is deterministically reproducible."},"comment":{"url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/issues/comments/221134662","html_url":"https://github.com/libbitcoin/libbitcoin-server/issues/195#issuecomment-221134662","issue_url":"https://api.github.com/repos/libbitcoin/libbitcoin-server/issues/195","id":221134662,"user":{"login":"evoskuil","id":1369335,"avatar_url":"https://avatars.githubusercontent.com/u/1369335?v=3","gravatar_id":"","url":"https://api.github.com/users/evoskuil","html_url":"https://github.com/evoskuil","followers_url":"https://api.github.com/users/evoskuil/followers","following_url":"https://api.github.com/users/evoskuil/following{/other_user}","gists_url":"https://api.github.com/users/evoskuil/gists{/gist_id}","starred_url":"https://api.github.com/users/evoskuil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evoskuil/subscriptions","organizations_url":"https://api.github.com/users/evoskuil/orgs","repos_url":"https://api.github.com/users/evoskuil/repos","events_url":"https://api.github.com/users/evoskuil/events{/privacy}","received_events_url":"https://api.github.com/users/evoskuil/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T00:28:43Z","updated_at":"2016-05-24T00:28:43Z","body":"I'm getting close to completing my work to remove czmq across all repos (in addition to the removal of czmqpp and libsodium). During this I'm reworking the node/server startup/shutdown code as well. I don't think there will be an impact on the above issue, as it feels like the issue is a lapse in thread safety in the database. But once I'm done with this work I'll give it a close look."}}
{"actor":{"display_login":"evoskuil"}}