Closed Georgi87 closed 9 years ago
please always state at least version or branch & revision you built from. fast moving target...
Sorry forgot: I installed the latest dev version using the building instructions on ubuntu. How can I get the revision?
Welcome to the FRONTIER Geth Version: 0.9.8 Protocol Version: 60 Network Id: 0 GO: go1.4.2 OS: linux GOPATH= GOROOT=/usr/lib/go
The current version is 0.9.9. I believe this issue is supposed to be fixed on develop.
My bad, upgraded now to 0.9.9
The error is still there:
stefan@ubuntu:~$ geth --mine --rpc --unlock primary --maxpeers 0 --minerthreads 1 --networkid 0
Welcome to the FRONTIER
I0413 16:14:16.255112 47666 backend.go:183] Protocol Version: 60, Network Id: 0
I0413 16:14:16.255494 47666 backend.go:193] Blockchain DB Version: 1
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4b8e2a]
goroutine 1 [running]:
github.com/ethereum/go-ethereum/core/types.(*Block).Hash(0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/core/types/block.go:313 +0xca
github.com/ethereum/go-ethereum/core.(*ChainManager).setLastBlock(0xc2080b6410)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/core/chain_manager.go:177 +0x152
github.com/ethereum/go-ethereum/core.NewChainManager(0x7ff6f41fcc68, 0xc2080e68a0, 0x7ff6f41fcc68, 0xc2080e6a80, 0xc2080c9170, 0x1)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/core/chain_manager.go:99 +0x1ba
github.com/ethereum/go-ethereum/eth.New(0xc2080722a0, 0x4, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/eth/backend.go:209 +0x1218
main.run(0xc2080721c0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:278 +0x6d
github.com/codegangsta/cli.(*App).Run(0xc2080bc000, 0xc20800a000, 0xb, 0xb, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:182 +0xe5c
main.main()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:269 +0xc7
goroutine 6 [select]:
github.com/ethereum/go-ethereum/logger.dispatchLoop()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/logger/sys.go:65 +0x6d1
created by github.com/ethereum/go-ethereum/logger.init·1
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/logger/sys.go:44 +0x25
goroutine 7 [chan receive]:
github.com/ethereum/go-ethereum/logger/glog.(*loggingT).flushDaemon(0x12c9ea0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:897 +0x78
created by github.com/ethereum/go-ethereum/logger/glog.init·1
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:428 +0x77
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 9 [syscall]:
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 10 [IO wait]:
net.(*pollDesc).Wait(0xc2080ec1b0, 0x72, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080ec1b0, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc2080ec150, 0x0, 0x7ff6f41fa2c8, 0xc20802abb0)
/usr/lib/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208036068, 0x6252d4, 0x0, 0x0)
/usr/lib/go/src/net/tcpsock_posix.go:234 +0x4e
net/http.tcpKeepAliveListener.Accept(0xc208036068, 0x0, 0x0, 0x0, 0x0)
/usr/lib/go/src/net/http/server.go:1976 +0x4c
net/http.(*Server).Serve(0xc208102000, 0x7ff6f41fcb90, 0xc208036068, 0x0, 0x0)
/usr/lib/go/src/net/http/server.go:1728 +0x92
net/http.(*Server).ListenAndServe(0xc208102000, 0x0, 0x0)
/usr/lib/go/src/net/http/server.go:1718 +0x154
net/http.ListenAndServe(0xc42770, 0xe, 0x0, 0x0, 0x0, 0x0)
/usr/lib/go/src/net/http/server.go:1808 +0xba
main.func·006()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:263 +0x48
created by main.main
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:264 +0x31
goroutine 11 [chan receive]:
github.com/ethereum/go-ethereum/cmd/utils.func·001()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/cmd/utils/cmd.go:52 +0x116
created by github.com/ethereum/go-ethereum/cmd/utils.HandleInterrupt
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/cmd/utils/cmd.go:56 +0xb5
goroutine 12 [chan receive]:
github.com/ethereum/go-ethereum/p2p/nat.func·004(0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:141 +0x175
github.com/ethereum/go-ethereum/p2p/nat.func·005()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:184 +0x2f
created by github.com/ethereum/go-ethereum/p2p/nat.startautodisc
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:184 +0x19c
goroutine 18 [chan receive]:
github.com/ethereum/go-ethereum/p2p/nat.discoverUPnP(0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natupnp.go:111 +0x109
github.com/ethereum/go-ethereum/p2p/nat.func·002()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:138 +0x28
created by github.com/ethereum/go-ethereum/p2p/nat.func·004
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:138 +0xcb
goroutine 19 [select]:
github.com/ethereum/go-ethereum/p2p/nat.discoverPMP(0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natpmp.go:70 +0x39d
github.com/ethereum/go-ethereum/p2p/nat.func·003()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:139 +0x28
created by github.com/ethereum/go-ethereum/p2p/nat.func·004
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:139 +0x121
goroutine 20 [sleep]:
github.com/huin/goupnp/httpu.(*HTTPUClient).Do(0xc208101280, 0xc2080349c0, 0x7d2b7500, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/httpu/httpu.go:84 +0xabe
github.com/huin/goupnp/ssdp.SSDPRawSearch(0xc208101280, 0xd10610, 0x31, 0x2, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/ssdp/ssdp.go:53 +0x654
github.com/huin/goupnp.DiscoverDevices(0xd10610, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go:55 +0x129
github.com/ethereum/go-ethereum/p2p/nat.discover(0xc208102120, 0xd10610, 0x31, 0xe75d70)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natupnp.go:119 +0x40
created by github.com/ethereum/go-ethereum/p2p/nat.discoverUPnP
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natupnp.go:97 +0x84
goroutine 21 [sleep]:
github.com/huin/goupnp/httpu.(*HTTPUClient).Do(0xc208100100, 0xc208034270, 0x7d2b7500, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/httpu/httpu.go:84 +0xabe
github.com/huin/goupnp/ssdp.SSDPRawSearch(0xc208100100, 0xd10670, 0x31, 0x2, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/ssdp/ssdp.go:53 +0x654
github.com/huin/goupnp.DiscoverDevices(0xd10670, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go:55 +0x129
github.com/ethereum/go-ethereum/p2p/nat.discover(0xc208102120, 0xd10670, 0x31, 0xe75d78)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natupnp.go:119 +0x40
created by github.com/ethereum/go-ethereum/p2p/nat.discoverUPnP
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natupnp.go:109 +0xbd
goroutine 22 [IO wait]:
net.(*pollDesc).Wait(0xc2080ec680, 0x72, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080ec680, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).readFrom(0xc2080ec620, 0xc20802ab20, 0xc, 0xc, 0x0, 0x0, 0x0, 0x7ff6f41fa2c8, 0xc20802ab30)
/usr/lib/go/src/net/fd_unix.go:269 +0x4a1
net.(*UDPConn).ReadFromUDP(0xc208036040, 0xc20802ab20, 0xc, 0xc, 0x2, 0x0, 0x0, 0x0)
/usr/lib/go/src/net/udpsock_posix.go:67 +0x124
github.com/jackpal/go-nat-pmp.(*Client).rpc(0xc2081011c0, 0xc20808bede, 0x2, 0x2, 0xc, 0xc20802ab20, 0xc, 0xc, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go:126 +0x37a
github.com/jackpal/go-nat-pmp.(*Client).GetExternalAddress(0xc2081011c0, 0x0, 0x0, 0x0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go:50 +0xc8
github.com/ethereum/go-ethereum/p2p/nat.func·006()
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natpmp.go:57 +0xa5
created by github.com/ethereum/go-ethereum/p2p/nat.discoverPMP
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/p2p/nat/natpmp.go:62 +0x1a1
goroutine 14 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc20802d680)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:111 +0x284
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x7dd
goroutine 15 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc20802d680)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:666 +0x877
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x821
goroutine 16 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc20802d680)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:615 +0x21a
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x83b
goroutine 34 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc20802d680)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/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
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:121 +0x855
goroutine 35 [select]:
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).update(0xc2080e68a0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/ethdb/database.go:127 +0x46e
created by github.com/ethereum/go-ethereum/ethdb.NewLDBDatabase
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/ethdb/database.go:38 +0x1c5
goroutine 36 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc20802d200)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:111 +0x284
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x7dd
goroutine 37 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc20802d200)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:666 +0x877
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x821
goroutine 38 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc20802d200)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:615 +0x21a
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x83b
goroutine 39 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc20802d200)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/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
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:121 +0x855
goroutine 40 [select]:
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).update(0xc2080e6a80)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/ethdb/database.go:127 +0x46e
created by github.com/ethereum/go-ethereum/ethdb.NewLDBDatabase
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/ethdb/database.go:38 +0x1c5
goroutine 41 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc20802d8c0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:111 +0x284
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x7dd
goroutine 42 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc20802d8c0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:666 +0x877
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x821
goroutine 43 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc20802d8c0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:615 +0x21a
created by github.com/syndtr/goleveldb/leveldb.openDB
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x83b
goroutine 44 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc20802d8c0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/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
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:121 +0x855
goroutine 45 [select]:
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).update(0xc2080c8cc0)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/ethdb/database.go:127 +0x46e
created by github.com/ethereum/go-ethereum/ethdb.NewLDBDatabase
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/ethdb/database.go:38 +0x1c5
goroutine 23 [chan receive]:
github.com/ethereum/go-ethereum/logger.sysLoop(0x7ff6f41fb200, 0xc2080e9be0, 0xc20805c5a0, 0xc20801f960)
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/logger/sys.go:101 +0x5a
created by github.com/ethereum/go-ethereum/logger.func·001
/build/buildd/ethereum-0.9.9+393SNAPSHOT20150413215505trusty/obj-x86_64-linux-gnu/src/github.com/ethereum/go-ethereum/logger/sys.go:61 +0x176
Please delete ~/.ethereum
once before running geth
.
I deleted it and still have the issue that I get Invalid Block and cannot continue mining:
I0413 23:39:58.011499 48125 chain_manager.go:484] INVALID block #294 (2965e325)
I0413 23:39:58.011566 48125 chain_manager.go:485] Block's parent unknown 811d808e62a75665058879b51167347d8ee1fee2f13578650b25707835f8bf05
I0413 23:39:58.011935 48125 worker.go:314] commit new work on block 294 with 0 txs & 0 uncles
After I sent the following transaction to the network:
data: "0x5ae33b80000000000000000000000000000000007284937b4192c9b1a5b78582328302d900000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000015f90000000000000000000000000000000000000000000000000000000005541dd85000000000000000000000000cfb03b4d7aa863dd2c5de3b156cb3b7748e322220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
from: "0x54b0c552ab7ad338bb55b4caffab5b85d7e1a1e2"
gas: "0x2dc6c0"
gasPrice: "0x15f90"
to: "0x314b0344530609a88ce6f8e515bbd5a455bc08a7"
value: "0x8ac7230489e80000"
After restarting geth I get the stack trace of my last comment,
Even if I delete the .ethereum folder I still have the old DAG cache. Are there other folder I should delete upon upgrade go-ethereum?
no other files. /tmp/dag
is relevant only if you are mining. This will change when #555 is done.
Seems to be fixed with latest version! Thanks :)
Unfortunately the error still exists. Sometimes sending transactions to contracts causes the geth to fail due to an unknown block parent.
Could you give me an example?
I am also experiencing this error, running geth on Windows 8. I updated my code to the very latest version and re-built geth, and deleted the Ethereum folder from C:\Users...\AppData\Roaming just to be safe.
When running geth with no arguments, I get this error:
Welcome to the FRONTIER
I0418 12:40:26.989963 2300 backend.go:184] Protocol Version: 60, Network Id: 0
I0418 12:40:26.989963 2300 backend.go:194] Blockchain DB Version: 1
I0418 12:40:26.991963 2300 chain_manager.go:186] Last block (#0) fd4af92a79c7fc2fd8bf0d342f2e832e1d4f485c85b9152d2039e03bc604fdca TD=0
I0418 12:40:26.991963 2300 ethash.go:94] Making cache
I0418 12:40:31.358561 2300 ethash.go:99] Took: 4.3665977s
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x63106b]
goroutine 1 [running]:
sync/atomic.LoadUint64(0x13045944, 0x144b9da0, 0x12ffba00)
c:/go/src/sync/atomic/asm_386.s:165 +0xb
github.com/ethereum/go-ethereum/miner.(*worker).commitNewWork(0x130458c0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/worker.go:319 +0x4dc
github.com/ethereum/go-ethereum/miner.newWorker(0x0, 0x0, 0x0, 0x0, 0x0, 0x31aa98, 0x130441b0, 0x8)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/worker.go:106 +0x27f
github.com/ethereum/go-ethereum/miner.New(0x31aa98, 0x130441b0, 0x31aa58, 0x1303bf20, 0x8, 0x130455f0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/miner.go:27 +0x49
github.com/ethereum/go-ethereum/eth.New(0x12f50150, 0x4, 0x0, 0x0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/eth/backend.go:217 +0x145d
main.run(0x12f500e0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:278 +0x53
github.com/codegangsta/cli.(*App).Run(0x12fae900, 0x12f420e0, 0x1, 0x1, 0x0, 0x0)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:182 +0xc03
main.main()
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:269 +0xa3
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
c:/go/src/runtime/asm_386.s:2287 +0x1
goroutine 6 [select]:
github.com/ethereum/go-ethereum/logger.dispatchLoop()
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/logger/sys.go:65 +0x58c
created by github.com/ethereum/go-ethereum/logger.init·1
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/logger/sys.go:44 +0x25
goroutine 7 [chan receive]:
github.com/ethereum/go-ethereum/logger/glog.(*loggingT).flushDaemon(0xedf620)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:897 +0x76
created by github.com/ethereum/go-ethereum/logger/glog.init·1
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:428 +0x6e
goroutine 9 [syscall]:
os/signal.loop()
c:/go/src/os/signal/signal_unix.go:21 +0x21
created by os/signal.init·1
c:/go/src/os/signal/signal_unix.go:27 +0x34
goroutine 10 [IO wait]:
net.(*pollDesc).Wait(0x1302e1b0, 0x72, 0x0, 0x0)
c:/go/src/net/fd_poll_runtime.go:84 +0x42
net.(*ioSrv).ExecIO(0x13012000, 0x1302e118, 0xa3c958, 0x8, 0x13036038, 0x1302e2a0, 0x0, 0x0)
c:/go/src/net/fd_windows.go:188 +0x265
net.(*netFD).acceptOne(0x1302e0e0, 0x1302e1c0, 0x2, 0x2, 0x1302e118, 0x419398, 0x0, 0x0)
c:/go/src/net/fd_windows.go:558 +0x3ee
net.(*netFD).accept(0x1302e0e0, 0x0, 0x0, 0x0)
c:/go/src/net/fd_windows.go:585 +0x119
net.(*TCPListener).AcceptTCP(0x13036030, 0x12f21200, 0x0, 0x0)
c:/go/src/net/tcpsock_posix.go:234 +0x48
net/http.tcpKeepAliveListener.Accept(0x13036030, 0x0, 0x0, 0x0, 0x0)
c:/go/src/net/http/server.go:1976 +0x48
net/http.(*Server).Serve(0x12f9e000, 0x317198, 0x13036030, 0x0, 0x0)
c:/go/src/net/http/server.go:1728 +0x7b
net/http.(*Server).ListenAndServe(0x12f9e000, 0x0, 0x0)
c:/go/src/net/http/server.go:1718 +0x101
net/http.ListenAndServe(0xa6afb8, 0xe, 0x0, 0x0, 0x0, 0x0)
c:/go/src/net/http/server.go:1808 +0x9e
main.func·006()
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:263 +0x3e
created by main.main
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:264 +0x28
goroutine 11 [chan receive]:
github.com/ethereum/go-ethereum/cmd/utils.func·001()
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/cmd/utils/cmd.go:52 +0xcf
created by github.com/ethereum/go-ethereum/cmd/utils.HandleInterrupt
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/cmd/utils/cmd.go:56 +0xa0
goroutine 12 [chan send]:
github.com/ethereum/go-ethereum/p2p/nat.func·005()
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:184 +0x59
created by github.com/ethereum/go-ethereum/p2p/nat.startautodisc
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:184 +0x160
goroutine 62 [select]:
github.com/ethereum/go-ethereum/event/filter.(*Filters).loop(0x1304a190)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/event/filter/filter.go:57 +0x260
created by github.com/ethereum/go-ethereum/event/filter.(*Filters).Start
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/event/filter/filter.go:32 +0x2f
goroutine 65 [chan receive]:
github.com/ethereum/go-ethereum/logger.sysLoop(0x315cc8, 0x12f42c08, 0x12f9f2c0, 0x12f81340)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/logger/sys.go:101 +0x50
created by github.com/ethereum/go-ethereum/logger.func·001
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/logger/sys.go:61 +0x134
goroutine 13 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x12fcc700)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:111 +0x246
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x6be
goroutine 14 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x12fcc700)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:666 +0x68e
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x6f8
goroutine 15 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x12fcc700)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:615 +0x1e0
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x70d
goroutine 16 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x12fcc700)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x150
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:121 +0x722
goroutine 50 [select]:
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).update(0x1300e500)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:127 +0x38a
created by github.com/ethereum/go-ethereum/ethdb.NewLDBDatabase
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:38 +0x182
goroutine 51 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x12fcc8c0)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:111 +0x246
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x6be
goroutine 52 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x12fcc8c0)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:666 +0x68e
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x6f8
goroutine 53 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x12fcc8c0)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:615 +0x1e0
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x70d
goroutine 54 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x12fcc8c0)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x150
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:121 +0x722
goroutine 55 [select]:
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).update(0x12fabee0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:127 +0x38a
created by github.com/ethereum/go-ethereum/ethdb.NewLDBDatabase
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:38 +0x182
goroutine 56 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x12fcca80)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:111 +0x246
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x6be
goroutine 57 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x12fcca80)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:666 +0x68e
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x6f8
goroutine 58 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x12fcca80)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:615 +0x1e0
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x70d
goroutine 59 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0x12fcca80)
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x150
created by github.com/syndtr/goleveldb/leveldb.openDB
c:/Central/source/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:121 +0x722
goroutine 60 [select]:
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).update(0x1301e4c0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:127 +0x38a
created by github.com/ethereum/go-ethereum/ethdb.NewLDBDatabase
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:38 +0x182
goroutine 61 [select]:
github.com/ethereum/go-ethereum/core.(*ChainManager).update(0x130455f0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/core/chain_manager.go:593 +0x4ff
created by github.com/ethereum/go-ethereum/core.NewChainManager
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/core/chain_manager.go:107 +0x2ca
goroutine 63 [select]:
github.com/ethereum/go-ethereum/miner.(*worker).update(0x130458c0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/worker.go:158 +0x766
created by github.com/ethereum/go-ethereum/miner.newWorker
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/worker.go:103 +0x25c
goroutine 64 [chan receive]:
github.com/ethereum/go-ethereum/miner.(*worker).wait(0x130458c0)
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/worker.go:191 +0x61
created by github.com/ethereum/go-ethereum/miner.newWorker
C:/Central/Source/go/src/github.com/ethereum/go-ethereum/miner/worker.go:104 +0x271
Here's the output of doing geth version:
Welcome to the FRONTIER
Geth
Version: 0.9.9
Protocol Version: 60
Network Id: 0
GO: go1.4.2
OS: windows
GOPATH=C:\Central\Source\go
GOROOT=C:\Go\
Only happens to me sometimes, when I send a transaction like the following:
data: "0x5ae33b80000000000000000000000000000000007284937b4192c9b1a5b78582328302d900000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000015f90000000000000000000000000000000000000000000000000000000005541dd85000000000000000000000000cfb03b4d7aa863dd2c5de3b156cb3b7748e322220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
from: "0x54b0c552ab7ad338bb55b4caffab5b85d7e1a1e2"
gas: "0x2dc6c0"
gasPrice: "0x15f90"
to: "0x314b0344530609a88ce6f8e515bbd5a455bc08a7"
value: "0x8ac7230489e80000"
@Georgi87 could you repast the crash log perhaps? All file numbers are missing in your first report
Used to experience this error, haven't experienced it since .9.11, can you check if it's been fixed for you too @Georgi87?
@Georgi87 and in terms of ethereum-time, you're on an old version :-)
I will checkout the latest today and see if there are any issues left. :)
I could not reproduce this error anymore in the latest version. Thanks for your effort!
The issue seems to be resolved for me now too. Glad to see you guys making good progress, looking forward to Frontier!
After I suddenly got some blocks with invalid parents I tried to restart the client and got this error: