Ubuntu 14.04 crash on startup of ethereal

tym4ttym4t Nagata-ku, Kobe-shi, Hyogo-ken, JapanMember Posts: 71 ✭✭✭
2014/05/25 19:09:19 [CHAIN] Last known block height #0
2014/05/25 19:09:19 Last block: c305511e7cb9b33767e50f5e94ecd7b1c51359a04f45183860ec6808d80b0d3f
2014/05/25 19:09:19 Starting Ethereum GUI v0.5.0 RC9
2014/05/25 19:09:19 Ready and accepting connections
2014/05/25 19:09:19 [SERV] Retrieving seed nodes
2014/05/25 19:09:19 qxcbconnection.cpp:679: QXcbConnection: XCB error: 152 (Unknown), sequence: 158, resource id: 0, major code: 142 (Unknown), minor code: 20
2014/05/25 19:09:19 [SERV] Found DNS Go Peer: 94.242.229.217:30303
2014/05/25 19:09:19 [SERV] Adding peer (94.242.229.217:30303) 1 / 10
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x18 pc=0x4dc499]

goroutine 17 [running]:
runtime.panic(0x88e0a0, 0x101c908)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/ethereum/eth-go.(*Peer).pushHandshake(0xc210079240, 0xe, 0xc21007d64f)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/peer.go:534 +0x59
github.com/ethereum/eth-go.(*Peer).Start(0xc210079240)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/peer.go:496 +0x168
github.com/ethereum/eth-go.func·009()
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/peer.go:182 +0x1e3
created by github.com/ethereum/eth-go.NewOutboundPeer
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/peer.go:183 +0x14f

goroutine 1 [syscall]:
net._C2func_getaddrinfo(0x7f74d40008c0, 0x0, 0xc2109ae030, 0xc210e4b100, 0x8, ...)
net/_obj/_cgo_defun.c:50 +0x36
net.cgoLookupIPCNAME(0xc2109b0260, 0x15, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/cgo_unix.go:96 +0x174
net.cgoLookupIP(0xc2109b0260, 0x15, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/cgo_unix.go:148 +0x69
net.cgoLookupHost(0xc2109b0260, 0x15, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/cgo_unix.go:27 +0x7b
net.lookupHost(0xc2109b0260, 0x15, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/lookup_unix.go:56 +0x63
net.LookupHost(0xc2109b0260, 0x15, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/lookup.go:25 +0x63
github.com/ethereum/eth-go.(*Ethereum).Seed(0xc210072160)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethereum.go:378 +0x651
github.com/ethereum/eth-go.(*Ethereum).Start(0xc210072160, 0xc2109c0101)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethereum.go:350 +0x1ab
main.main()
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/ethereum.go:126 +0x794

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

goroutine 4 [syscall]:
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1394

goroutine 6 [syscall]:
github.com/go-qml/qml._Cfunc_applicationExec(0x10497b0)
github.com/go-qml/qml/_obj/_cgo_defun.c:57 +0x31
github.com/go-qml/qml.guiLoop()
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/go-qml/qml/bridge.go:43 +0x132
created by github.com/go-qml/qml.Init
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/go-qml/qml/qml.go:44 +0xa0

goroutine 7 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc21007c480)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:115 +0x1c5
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db.go:114 +0x402

goroutine 8 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compaction(0xc21007c480)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:437 +0x75f
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db.go:117 +0x443

goroutine 9 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0xc21007c480)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db_write.go:36 +0x142
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db.go:118 +0x45a

goroutine 10 [select]:
github.com/ethereum/eth-go/ethchain.(*TxPool).queueHandler(0xc210039c60)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:174 +0x2c8
created by github.com/ethereum/eth-go/ethchain.(*TxPool).Start
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:245 +0x2e

goroutine 11 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc21007c6c0)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:115 +0x1c5
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db.go:114 +0x402

goroutine 12 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compaction(0xc21007c6c0)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:437 +0x75f
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db.go:117 +0x443

goroutine 13 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0xc21007c6c0)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db_write.go:36 +0x142
created by github.com/syndtr/goleveldb/leveldb.openDB
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/syndtr/goleveldb/leveldb/db.go:118 +0x45a

goroutine 14 [IO wait]:
net.runtime_pollWait(0x7f751ac35618, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2109b3b50, 0x72, 0x7f751ac32110, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2109b3b50, 0xb, 0x7f751ac32110)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc2109b3af0, 0x9fd1c0, 0x0, 0x7f751ac32110, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc210000a40, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc210000a40, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27
github.com/ethereum/eth-go.(*Ethereum).peerHandler(0xc210072160, 0x7f751ac34678, 0xc210000a40)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethereum.go:412 +0x2d
created by github.com/ethereum/eth-go.(*Ethereum).Start
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethereum.go:339 +0x2a5

goroutine 15 [chan receive]:
github.com/ethereum/eth-go.(*Ethereum).ReapDeadPeerHandler(0xc210072160)
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethereum.go:321 +0x67
created by github.com/ethereum/eth-go.(*Ethereum).Start
/home/aeufemio/go/src/github.com/ethereum/go-ethereum/ethereal/src/github.com/ethereum/eth-go/ethereum.go:347 +0x18e

Comments

  • MaranMaran Member Posts: 7
    This should be fixed in develop since this morning.
  • tym4ttym4t Nagata-ku, Kobe-shi, Hyogo-ken, JapanMember Posts: 71 ✭✭✭
    Thanks.

    Also have to use the new return lambda { } instead of init {} and main{} as such.

    this.store[this.origin()] = 10**20


    return lambda {
    big to = this.data[0]
    big from = this.origin()
    big value = this.data[1]

    if this.store[from] > value {
    this.store[from] = this.store[from] - value
    this.store[to] = this.store[to] + value
    }
    }
Sign In or Register to comment.