Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try send coins - panic: runtime error: invalid memory address or nil pointer dereference #19434

Closed
Master-01 opened this issue Apr 10, 2019 · 3 comments

Comments

@Master-01
Copy link

Hellow!

System information

Geth version: v1.8.25 (console)
OS & Version: Windows 7 (latest updates)
Run command: bin\geth.exe --syncmode="light" --datadir="walletdir" --rpc --rpccorsdomain="https://wallet.ethereum.org"
--unlock="* * mywallet * * " --password="* * myfile password * *"

Issue

I runned latest geth.exe and unlock my wallet, then I go to the page at "https://wallet.ethereum.org/" and I see my coins there, I click "SEND" there and put address where to transfer my coins and the amount, after which I get an error in the geth console:

Console

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code = 0x0 addr = 0x0 pc = 0xb38c57]
goroutine 32 [running]:
github.com/ethereum/go-ethereum/les.(*peer).GetRequestCost(0xc0002d2160, 0xc, 0x1, 0x0) C: /gopath/src/github.com/ethereum/go-ethereum/les/peer.go: 166 + 0xa7
github.com/ethereum/go-ethereum/les.(*LesTxRelay).send.func1(0x158fea0, 0xc0002d2160, 0xc026561d01) C: /gopath/src/github.com/ethereum/go-ethereum/les/txrelay.go: 121 + 0x55
github.com/ethereum/go-ethereum/les.(*requestDistributor).nextRequest(0xc0001920f0, 0x0, 0x0, 0x0, 0x0) C: /gopath/src/github.com/ethereum/go-ethereum/les/distributor.go: 195 + 0x2b8
github.com/ethereum/go-ethereum/les.(*requestDistributor).loop(0xc0001920f0) C: /gopath/src/github.com/ethereum/go-ethereum/les/distributor.go: 129 + 0x86
created by github.com/ethereum/go-ethereum/les.newRequestDistributor C: /gopath/src/github.com/ethereum/go-ethereum/les/distributor.go: 80 + 0x100

And geth terminated!

What to do? How to transfer my coins from my wallet?

@Master-01 Master-01 changed the title panic: runtime error: invalid memory address or nil pointer dereference try send coins - panic: runtime error: invalid memory address or nil pointer dereference Apr 10, 2019
@karalabe
Copy link
Member

We're releasing a hotfix for this in a couple of hours.

@rs-blashyrkh
Copy link

Same bug with 1.8.23, it began 1-2 days ago. Upgrade to 1.8.25 didn't help. Sync mode is "light" too.

@karalabe
Copy link
Member

This issue has been fixed in #19437, and just shipped in Geth v1.8.26. Please allow half an hour or so for the binaries to be built and pushed out. Sorry for any inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants