Skip to content

Instantly share code, notes, and snippets.

@eupraxic
Created June 7, 2015 22:38
Show Gist options
  • Save eupraxic/87fdfefe702c51d5944d to your computer and use it in GitHub Desktop.
Save eupraxic/87fdfefe702c51d5944d to your computer and use it in GitHub Desktop.
more stacktrace: panic: runtime error: invalid memory address or nil pointer dereference
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x40 pc=0x81184a]
goroutine 23 [running]:
github.com/ethereum/go-ethereum/miner.(*worker).isBlockLocallyMined(0xc2183e0380, 0x875d7, 0xc20af12180)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:355 +0xca
github.com/ethereum/go-ethereum/miner.(*worker).logLocalMinedBlocks(0xc2183e0380, 0xc21d8df400)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:363 +0xd9
github.com/ethereum/go-ethereum/miner.(*worker).commitNewWork(0xc2183e0380)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:419 +0x3ec
github.com/ethereum/go-ethereum/miner.(*worker).update(0xc2183e0380)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:199 +0x364
created by github.com/ethereum/go-ethereum/miner.newWorker
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/worker.go:128 +0x310
goroutine 1 [select, 43 minutes]:
main.(*jsre).interactive(0xc2185b0d80)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/js.go:212 +0x6a7
main.console(0xc20800aa80)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:310 +0x366
github.com/codegangsta/cli.Command.Run(0xcbdef0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdda970, 0x30, 0xf6d630, ...)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:118 +0x104b
github.com/codegangsta/cli.(*App).Run(0xc208102000, 0xc20800a000, 0xe, 0xe, 0x0, 0x0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:177 +0xdf6
main.main()
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:268 +0x80
goroutine 5 [select]:
github.com/ethereum/go-ethereum/logger.dispatchLoop()
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/sys.go:65 +0x6d1
created by github.com/ethereum/go-ethereum/logger.init·1
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/sys.go:44 +0x25
goroutine 8 [chan receive]:
github.com/ethereum/go-ethereum/logger/glog.(*loggingT).flushDaemon(0x14be760)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:897 +0x78
created by github.com/ethereum/go-ethereum/logger/glog.init·1
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:428 +0x77
goroutine 7 [syscall, 43 minutes]:
os/signal.loop()
/usr/lib/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/lib/go/src/os/signal/signal_unix.go:27 +0x35
goroutine 17 [syscall, 43 minutes, locked to thread]:
runtime.goexit()
/usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 9 [syscall, 43 minutes]:
syscall.Syscall(0x0, 0x3, 0xc208184000, 0x8000, 0xc216459e70, 0x442f0a, 0xc208181670)
/usr/lib/go/src/syscall/asm_linux_amd64.s:21 +0x5
syscall.read(0x3, 0xc208184000, 0x8000, 0x8000, 0xc208181668, 0x0, 0x0)
/usr/lib/go/src/syscall/zsyscall_linux_amd64.go:867 +0x6e
syscall.Read(0x3, 0xc208184000, 0x8000, 0x8000, 0x20, 0x0, 0x0)
/usr/lib/go/src/syscall/syscall_unix.go:136 +0x58
os.(*File).read(0xc20803a0d8, 0xc208184000, 0x8000, 0x8000, 0x2, 0x0, 0x0)
/usr/lib/go/src/os/file_unix.go:191 +0x5e
os.(*File).Read(0xc20803a0d8, 0xc208184000, 0x8000, 0x8000, 0x2, 0x0, 0x0)
/usr/lib/go/src/os/file.go:95 +0x91
io.Copy(0x7f1f852649e0, 0xc20803a008, 0x7f1f85264a30, 0xc20803a0d8, 0x2, 0x0, 0x0)
/usr/lib/go/src/io/io.go:362 +0x1f6
created by main.console
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:291 +0x10c
goroutine 1024 [select, 5 minutes]:
github.com/ethereum/go-ethereum/p2p.(*protoRW).ReadMsg(0xc2183ae410, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/peer.go:298 +0x1c4
github.com/ethereum/go-ethereum/eth.(*ProtocolManager).handleMsg(0xc2183d3b00, 0xc2158bdc80, 0x0, 0x0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/eth/handler.go:178 +0x71
github.com/ethereum/go-ethereum/eth.(*ProtocolManager).handle(0xc2183d3b00, 0xc2158bdc80, 0x0, 0x0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/eth/handler.go:170 +0x60d
github.com/ethereum/go-ethereum/eth.func·003(0xc2183a4d00, 0x7f1f80cdd170, 0xc2183ae410, 0x0, 0x0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/eth/handler.go:87 +0xd0
github.com/ethereum/go-ethereum/p2p.func·002()
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/peer.go:257 +0x88
created by github.com/ethereum/go-ethereum/p2p.(*Peer).startProtocols
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/peer.go:266 +0x335
goroutine 11 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc20800ab60)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x21e
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x24c
goroutine 480584 [select]:
github.com/ethereum/go-ethereum/p2p.(*Peer).pingLoop(0xc21c8bc100)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/peer.go:161 +0x259
created by github.com/ethereum/go-ethereum/p2p.(*Peer).run
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/peer.go:121 +0xb4
goroutine 22 [select]:
github.com/ethereum/go-ethereum/core.(*ChainManager).update(0xc20829d8c0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/chain_manager.go:754 +0x580
created by github.com/ethereum/go-ethereum/core.NewChainManager
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/chain_manager.go:145 +0x9cd
goroutine 14 [chan receive]:
github.com/ethereum/go-ethereum/logger.sysLoop(0x7f1f85265d30, 0xc208113b90, 0xc2080532c0, 0xc20801e4a0)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/sys.go:101 +0x5a
created by github.com/ethereum/go-ethereum/logger.func·001
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/sys.go:61 +0x176
goroutine 15 [select, 42 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc208218160)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:120 +0x48c
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:126 +0x849
goroutine 16 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc208218160)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go:82 +0x14a
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:127 +0x863
goroutine 34 [select, 42 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc208218160)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:812 +0x858
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:130 +0x8a7
goroutine 35 [select, 43 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc208218160)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:759 +0x283
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:131 +0x8c1
goroutine 36 [select, 43 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc208218160)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x197
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:132 +0x8db
goroutine 37 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc20800a460)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x21e
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x24c
goroutine 38 [select, 22 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc208074840)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:120 +0x48c
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:126 +0x849
goroutine 39 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc208074840)
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go:82 +0x14a
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/al/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:127 +0x863
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment