Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

status-node err :panic: runtime error: invalid memory address or nil pointer dereference #24

Open
lulei0215 opened this issue May 11, 2021 · 6 comments

Comments

@lulei0215
Copy link

Welcome to Spacemesh. Connected to api server at localhost:9092 (GRPC API 2.0). >> Insecure Connection. Use only with a local trusted server <<

Network id: 29
Max transactions per second: 16
Layers per epoch: 288
Layer duration: 300 seconds
Current layer: 1951
Current epoch: 6
Genesis time: 2021-05-04 23:15:48 +0800 CST
Your console window is too small...$ status-node
Version: v0.1.15
Build: a0df2b8f87d05085182e7e2989d09901aca8dc3c
API server: localhost:9092 (GRPC API 2.0). >> Insecure Connection. Use only with a local trusted server <<
Synced: false
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x9a63c8]

goroutine 1 [running]:
github.com/spacemeshos/CLIWallet/repl.(*repl).nodeInfo(0xc00049e240)
/home/ll/go/src/awesomeProject/cli-wallet/repl/node_commands.go:27 +0x4e8
github.com/spacemeshos/CLIWallet/repl.(*repl).executor(0xc00049e240, 0xafaeb4, 0xb)
/home/ll/go/src/awesomeProject/cli-wallet/repl/repl.go:191 +0x19c
github.com/c-bata/go-prompt.(*Prompt).Run(0xc000475580)
/home/ll/go/pkg/mod/github.com/c-bata/go-prompt@v0.2.3/prompt.go:85 +0x7b0
github.com/spacemeshos/CLIWallet/repl.runPrompt(0xc0004a4010, 0xc0004a4020, 0xc000321e48, 0x18)
/home/ll/go/src/awesomeProject/cli-wallet/repl/prompt.go:25 +0x110
github.com/spacemeshos/CLIWallet/repl.Start(0xbefda8, 0xc00041cb70)

@avive
Copy link
Contributor

avive commented May 11, 2021

Please run with node v0.1.32 build f2edc21fba85df7d4a8ce05a07cd4c878dee58ea. Looks like you are running an older node.
https://github.com/spacemeshos/go-spacemesh/releases/tag/v0.1.32
You should get something like this w/o panic:

$ status-node

Version: v0.1.32
Build: f2edc21fba85df7d4a8ce05a07cd4c878dee58ea
API server: localhost:9092 (GRPC API 2.0). >> Insecure Connection. Use only with a local trusted server <<
Synced: true
Synced layer: 1959
Current layer: 1959
Verified layer: 1958
Peers: 8

@lulei0215
Copy link
Author

what do you mean =》I run the 0.1.32 version of the code on the horse,It's ok, right?

@lulei0215
Copy link
Author

But isn’t the released version 0.1.15?

@lulei0215
Copy link
Author

When will version 0. 2 come out

@avive
Copy link
Contributor

avive commented May 26, 2021

The current testnet is netid=30. Please use the go-spacemesh and cliwallets releases for this network using the info in the github repos readmes, and let us know if the issue is still reproducible.

@avive
Copy link
Contributor

avive commented Aug 2, 2021

Need to try to repro with most recent releases of smrepl and node

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

No branches or pull requests

3 participants
@avive @lulei0215 and others