Skip to content

Runtime error on connection problem #86

Closed
@oldjus

Description

@oldjus

Ihors-MacBook-Air:~ istar$ ethereum -mine
2014/06/23 16:37:34 UPnP failed write udp4: i/o timeout
2014/06/23 16:37:34 [CHAIN] Last known block height #0
2014/06/23 16:37:34 Last block: 114fffb06203466bbc6351bac2f0c1948ce49c0a9d5ba032155c45318fc7ff85
2014/06/23 16:37:34 Starting Ethereum v0.5.14
2014/06/23 16:37:34 Ready and accepting connections
2014/06/23 16:37:34 [SERV] Retrieving seed nodes
2014/06/23 16:37:34 [SERV] Found DNS Go Peer: 94.242.229.217:30303
2014/06/23 16:37:35 [SERV] Found DNS Bootstrap Peer: 54.200.139.158:30303
2014/06/23 16:37:36 [SERV] Added peer (94.242.229.217:30303) 1 / 10
2014/06/23 16:37:36 Requesting blockchain 114fffb0... from peer 94.242.229.217:30303
2014/06/23 16:37:36 [PEER] connected 94.242.229.217:30303 Ethereum(G)/v0.5.14//linux/Go [Peer discovery | Block chain relaying | Transaction relaying]
2014/06/23 16:37:39 [PEER] Can't send message: write tcp 94.242.229.217:30303: broken pipe
2014/06/23 16:37:39 [PEER] Can't send message: write tcp 94.242.229.217:30303: broken pipe
2014/06/23 16:37:42 Miner started
2014/06/23 16:37:42 (+) 88d1a8addcb43265c76d3ba4478fb9ab44a9ad66
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x88 pc=0x4092b8e]

goroutine 65 [running]:
runtime.panic(0x45bf9e0, 0x4a4bc04)
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/panic.c:279 +0xf5
github.com/ethereum/eth-go/ethchain.(_Block).CalcGasLimit(0xc208920360, 0x0, 0x14)
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethchain/block.go:162 +0xae
github.com/ethereum/eth-go/ethminer.(_Miner).mineNewBlock(0xc208940120)
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethminer/miner.go:144 +0x267
github.com/ethereum/eth-go/ethminer.(_Miner).listener(0xc208940120)
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethminer/miner.go:117 +0xa2e
created by github.com/ethereum/eth-go/ethminer.(_Miner).Start
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethminer/miner.go:60 +0x2f

goroutine 16 [chan receive]:
main.main()
/private/tmp/go-ethereum-iN4S/src/ethereum/ethereum.go:192 +0xbd8

goroutine 19 [finalizer wait]:
runtime.park(0x4027280, 0x4a71ca8, 0x4a4eec9)
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x4a71ca8, 0x4a4eec9)
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1445

goroutine 17 [syscall]:
runtime.goexit()
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1445

goroutine 20 [syscall]:
os/signal.loop()
/usr/local/Cellar/go/1.3/libexec/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/usr/local/Cellar/go/1.3/libexec/src/pkg/os/signal/signal_unix.go:27 +0x32

goroutine 22 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc20807e000)
/usr/local/opt/eth-go/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:117 +0x202
created by github.com/syndtr/goleveldb/leveldb.openDB
/usr/local/opt/eth-go/src/github.com/syndtr/goleveldb/leveldb/db.go:116 +0x46c

goroutine 23 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compaction(0xc20807e000)
/usr/local/opt/eth-go/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:447 +0x77d
created by github.com/syndtr/goleveldb/leveldb.openDB
/usr/local/opt/eth-go/src/github.com/syndtr/goleveldb/leveldb/db.go:119 +0x4ae

goroutine 24 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0xc20807e000)
/usr/local/opt/eth-go/src/github.com/syndtr/goleveldb/leveldb/db_write.go:36 +0x14c
created by github.com/syndtr/goleveldb/leveldb.openDB
/usr/local/opt/eth-go/src/github.com/syndtr/goleveldb/leveldb/db.go:120 +0x4c6

goroutine 26 [select]:
github.com/ethereum/eth-go/ethchain.(_TxPool).queueHandler(0xc208004f00)
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:204 +0x53b
created by github.com/ethereum/eth-go/ethchain.(_TxPool).Start
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:277 +0x2f

goroutine 28 [chan receive]:
main.func·002()
/private/tmp/go-ethereum-iN4S/src/ethereum/ethereum.go:27 +0xf0
created by main.RegisterInterrupt
/private/tmp/go-ethereum-iN4S/src/ethereum/ethereum.go:30 +0x63

goroutine 29 [IO wait]:
net.runtime_pollWait(0x4c2b630, 0x72, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/netpoll.goc:146 +0x66
net.(_pollDesc).Wait(0xc2080294f0, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(_pollDesc).WaitRead(0xc2080294f0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(_netFD).accept(0xc208029490, 0x4847688, 0x0, 0x4c296a0, 0x23)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_unix.go:409 +0x343
net.(_TCPListener).AcceptTCP(0xc2080580d8, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/tcpsock_posix.go:234 +0x5d
net.(_TCPListener).Accept(0xc2080580d8, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/tcpsock_posix.go:244 +0x4b
github.com/ethereum/eth-go.(_Ethereum).peerHandler(0xc2080260b0, 0x4c2ba70, 0xc2080580d8)
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethereum.go:423 +0x30
created by github.com/ethereum/eth-go.(*Ethereum).Start
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethereum.go:350 +0x2ce

goroutine 30 [chan receive]:
github.com/ethereum/eth-go.(_Ethereum).ReapDeadPeerHandler(0xc2080260b0)
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethereum.go:332 +0x66
created by github.com/ethereum/eth-go.(_Ethereum).Start
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/ethereum.go:358 +0x1a8

goroutine 33 [sleep]:
time.Sleep(0x12a05f200)
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/time.goc:39 +0x31
net.func·019()
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/dnsclient_unix.go:183 +0x56
created by net.loadConfig
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/dnsclient_unix.go:212 +0x153

goroutine 34 [IO wait]:
net.runtime_pollWait(0x4c2b4d0, 0x77, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/netpoll.goc:146 +0x66
net.(_pollDesc).Wait(0xc208029790, 0x77, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(_pollDesc).WaitWrite(0xc208029790, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_poll_runtime.go:93 +0x42
net.(_netFD).connect(0xc208029730, 0x0, 0x0, 0x4c2a6e8, 0xc208952400, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_unix.go:104 +0x17a
net.(_netFD).dial(0xc208029730, 0x4c2baa8, 0x0, 0x4c2baa8, 0xc208902ff0, 0xecb3a24a9, 0x32dcd8ec, 0x4a74120, 0x4847688, 0x0, ...)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/sock_posix.go:121 +0x3b2
net.socket(0x46492c0, 0x3, 0x2, 0x1, 0x0, 0xc208902f00, 0x4c2baa8, 0x0, 0x4c2baa8, 0xc208902ff0, ...)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/sock_posix.go:91 +0x424
net.internetSocket(0x46492c0, 0x3, 0x4c2baa8, 0x0, 0x4c2baa8, 0xc208902ff0, 0xecb3a24a9, 0x32dcd8ec, 0x4a74120, 0x1, ...)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/ipsock_posix.go:137 +0x161
net.dialTCP(0x46492c0, 0x3, 0x0, 0xc208902ff0, 0xecb3a24a9, 0x32dcd8ec, 0x4a74120, 0x4c9ebc0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/tcpsock_posix.go:156 +0x13a
net.dialSingle(0x46492c0, 0x3, 0xc208952360, 0x14, 0x0, 0x0, 0x4c2ba40, 0xc208902ff0, 0xecb3a24a9, 0x32dcd8ec, ...)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/dial.go:238 +0x3ef
net.func·016(0xecb3a24a9, 0x32dcd8ec, 0x4a74120, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/dial.go:164 +0x132
net.dial(0x46492c0, 0x3, 0x4c2ba40, 0xc208902ff0, 0x4c9ee40, 0xecb3a24a9, 0x32dcd8ec, 0x4a74120, 0x0, 0x0, ...)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_unix.go:40 +0x75
net.(*Dialer).Dial(0xc20890e300, 0x46492c0, 0x3, 0xc208952360, 0x14, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/dial.go:171 +0x44f
net.DialTimeout(0x46492c0, 0x3, 0xc208952360, 0x14, 0x2540be400, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.3/libexec/src/pkg/net/dial.go:151 +0xda
github.com/ethereum/eth-go.func·010()
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/peer.go:176 +0x64
created by github.com/ethereum/eth-go.NewOutboundPeer
/private/tmp/go-ethereum-iN4S/src/github.com/ethereum/eth-go/peer.go:190 +0x149

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions