We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run make test, package keystore sometimes panic:
make test
? github.com/XinFinOrg/XDPoSChain/internal/ethapi [no test files] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x5d221c] goroutine 25 [running]: github.com/XinFinOrg/XDPoSChain/accounts/keystore.skipKeyFile({0x0, 0x0}) /home/me/XDPoSChain/accounts/keystore/file_cache.go:97 +0x1c github.com/XinFinOrg/XDPoSChain/accounts/keystore.(*fileCache).scan(0xc0000fc290, {0xc0000d0060, 0x18}) /home/me/XDPoSChain/accounts/keystore/file_cache.go:64 +0x437 github.com/XinFinOrg/XDPoSChain/accounts/keystore.(*accountCache).scanAccounts(0xc0000fc240) /home/me/XDPoSChain/accounts/keystore/account_cache.go:235 +0x38 github.com/XinFinOrg/XDPoSChain/accounts/keystore.(*watcher).loop(0xc0000d51e0) /home/me/XDPoSChain/accounts/keystore/watch.go:104 +0x46b created by github.com/XinFinOrg/XDPoSChain/accounts/keystore.(*watcher).start in goroutine 21 /home/me/XDPoSChain/accounts/keystore/watch.go:52 +0x66 FAIL github.com/XinFinOrg/XDPoSChain/internal/guide 5.611s ok github.com/XinFinOrg/XDPoSChain/internal/jsre (cached)
Another test fail case:
The text was updated successfully, but these errors were encountered:
fix panic caused by skipKeyFile (XinFinOrg#440)
f11bf73
Closed by #441.
Sorry, something went wrong.
Merge pull request #441 from gzliudan/fix-issue-440
8563ee3
Fix panic during test (#440)
Successfully merging a pull request may close this issue.
When I run
make test
, package keystore sometimes panic:Another test fail case:
The text was updated successfully, but these errors were encountered: