{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1955","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1955/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1955/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1955/events","html_url":"https://github.com/ethereum/go-ethereum/issues/1955","id":114484760,"number":1955,"title":"panic during normal operation","user":{"login":"dooglus","id":573356,"avatar_url":"https://avatars.githubusercontent.com/u/573356?v=3","gravatar_id":"","url":"https://api.github.com/users/dooglus","html_url":"https://github.com/dooglus","followers_url":"https://api.github.com/users/dooglus/followers","following_url":"https://api.github.com/users/dooglus/following{/other_user}","gists_url":"https://api.github.com/users/dooglus/gists{/gist_id}","starred_url":"https://api.github.com/users/dooglus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dooglus/subscriptions","organizations_url":"https://api.github.com/users/dooglus/orgs","repos_url":"https://api.github.com/users/dooglus/repos","events_url":"https://api.github.com/users/dooglus/events{/privacy}","received_events_url":"https://api.github.com/users/dooglus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-01T18:34:11Z","updated_at":"2016-01-09T00:03:22Z","closed_at":"2016-01-09T00:03:22Z","body":"I ran 'geth console' for the first time in a couple of months. It was syncing nicely, but taking a long time. I left it syncing overnight.\r\n\r\nWhen I woke up it had crashed:\r\n\r\n    I1031 22:31:46.461670   14813 chain_manager.go:661] imported 0 block(s) (0 queued 1 ignored) including 0 txs in 3.692291ms. #394027 [9f77491e / 9f77491e]\r\n    I1031 22:31:46.832677   14813 chain_manager.go:661] imported 0 block(s) (0 queued 1 ignored) including 0 txs in 3.243659ms. #394028 [303713cb / 303713cb]\r\n    I1031 22:35:48.788118   14813 chain_manager.go:661] imported 18 block(s) (0 queued 1 ignored) including 19 txs in 759.116517ms. #394186 [7f193310 / 89962d49]\r\n    I1031 22:36:04.148215   14813 chain_manager.go:661] imported 36 block(s) (0 queued 0 ignored) including 298 txs in 2.264619122s. #394222 [209583b1 / ab0bfbb5]\r\n    I1031 22:36:04.285215   14813 chain_manager.go:661] imported 2 block(s) (0 queued 0 ignored) including 2 txs in 136.95346ms. #394224 [3b5c05b0 / 2e1dde4f]\r\n    panic: runtime error: invalid memory address or nil pointer dereference\r\n    [signal 0xb code=0x1 addr=0x1d pc=0x8c89e5]\r\n\r\n    goroutine 60 [running]:\r\n    github.com/ethereum/go-ethereum/trie.CompactHexDecode(0xc20a5b8ec0, 0x1e, 0x1e, 0x0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/encoding.go:67 +0xd5\r\n    github.com/ethereum/go-ethereum/trie.CompactDecode(0xc20a5b8ec0, 0x1e, 0x1e, 0x0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/encoding.go:46 +0x66\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).mknode(0xc20a83e680, 0xc20ec40050, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:339 +0x126\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).trans(0xc20a83e680, 0x7fe38b301b10, 0xc20b4d2870, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:365 +0x10a\r\n    github.com/ethereum/go-ethereum/trie.(*FullNode).branch(0xc20cc057a0, 0x7fe38b301b03, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/fullnode.go:85 +0x96\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).get(0xc20a83e680, 0x7fe38b301b68, 0xc20cc057a0, 0xc20d4de234, 0x3d, 0x3d, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:248 +0x134\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).get(0xc20a83e680, 0x7fe38b301b68, 0xc20cc05680, 0xc20d4de233, 0x3e, 0x3e, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:248 +0x1c7\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).get(0xc20a83e680, 0x7fe38b301b68, 0xc20b15dd40, 0xc20d4de232, 0x3f, 0x3f, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:248 +0x1c7\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).get(0xc20a83e680, 0x7fe38b301b68, 0xc20cebd320, 0xc20d4de231, 0x40, 0x40, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:248 +0x1c7\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).get(0xc20a83e680, 0x7fe38b301b68, 0xc20cebd680, 0xc20d4de230, 0x41, 0x41, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:248 +0x1c7\r\n    github.com/ethereum/go-ethereum/trie.(*Trie).Get(0xc20a83e680, 0xc20a5b85a0, 0x20, 0x20, 0x0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:154 +0x114\r\n    github.com/ethereum/go-ethereum/trie.(*SecureTrie).Get(0xc20a7d3378, 0xc20a5b8560, 0x14, 0x14, 0x0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/secure_trie.go:42 +0x11c\r\n    github.com/ethereum/go-ethereum/core/state.(*StateDB).GetStateObject(0xc20f375ea0, 0x1c9c39232539c145, 0x68680cb4ead1ee2, 0xc2c2fa89c1, 0x28)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/statedb.go:223 +0x191\r\n    github.com/ethereum/go-ethereum/core/state.(*StateDB).GetOrNewStateObject(0xc20f375ea0, 0x1c9c39232539c145, 0x68680cb4ead1ee2, 0xc2fa89c1, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/statedb.go:240 +0x3d\r\n    github.com/ethereum/go-ethereum/core.(*StateTransition).From(0xc209c84d90, 0xc20b4d24b0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state_transition.go:120 +0xd1\r\n    github.com/ethereum/go-ethereum/core.(*StateTransition).preCheck(0xc209c84d90, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state_transition.go:168 +0x56\r\n    github.com/ethereum/go-ethereum/core.(*StateTransition).transitionState(0xc209c84d90, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state_transition.go:190 +0x7e\r\n    github.com/ethereum/go-ethereum/core.ApplyMessage(0x7fe38114c758, 0xc20d4de1e0, 0x7fe38114c700, 0xc20820d320, 0x7fe38114a5e0, 0xc20f375f40, 0x0, 0x0, 0x0, 0xc92c60, ...)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state_transition.go:98 +0x9e\r\n    github.com/ethereum/go-ethereum/core.(*BlockProcessor).ApplyTransaction(0xc2081771d0, 0x7fe38114a5e0, 0xc20f375f40, 0xc20f375ea0, 0xc21108f440, 0xc20820d320, 0xc20c433a80, 0xc20e30ca01, 0x52edd4, 0xcdaac0, ...)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/block_processor.go:96 +0x256\r\n    github.com/ethereum/go-ethereum/miner.(*Work).commitTransaction(0xc2092da4e0, 0xc20820d320, 0xc2081771d0, 0x0, 0x0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:622 +0xd4\r\n    github.com/ethereum/go-ethereum/miner.(*Work).commitTransactions(0xc2092da4e0, 0xc20c668000, 0x44a, 0x44a, 0xc20921e140, 0xc2081771d0)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:600 +0xbc2\r\n    github.com/ethereum/go-ethereum/miner.(*worker).commitNewWork(0xc209190a50)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:500 +0x8d2\r\n    github.com/ethereum/go-ethereum/miner.(*worker).update(0xc209190a50)\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:224 +0x364\r\n    created by github.com/ethereum/go-ethereum/miner.newWorker\r\n    \t/home/chris/Programs/ether/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:140 +0x37c\r\n    $ \r\n\r\nIt reports this version string:\r\n\r\n    I1101 10:13:37.109228   23385 cmd.go:125] Starting Geth/v1.1.2-58766921/linux/go1.4.2\r\n\r\nI realise I'm running an old version and that this bug may already have been fixed, but thought I should report it anyway since I can't find mention of it in the issues list."},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/170161181","html_url":"https://github.com/ethereum/go-ethereum/issues/1955#issuecomment-170161181","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1955","id":170161181,"user":{"login":"fjl","id":6915,"avatar_url":"https://avatars.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T00:03:22Z","updated_at":"2016-01-09T00:03:22Z","body":"I'll close his for now since the new code is very different and this issue hasn't popped up again."}}