-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
lotus-storage-miner fatal error #1930
Comments
I also got the same error. use the latest master run 2k localnet do pledge frequently
error log:
|
Kubuxu
pushed a commit
that referenced
this issue
Jun 24, 2020
Also race fix: depends on ipfs/go-blockservice#65 Resolves #2092, #2099, #2108, #1930, #2110 Signed-off-by: Jakub Sztandera <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug:
fatal error: concurrent map read and map write
goroutine 780 [running]:
runtime.throw(0x2946e4e, 0x21)
/usr/local/go/src/runtime/panic.go:1112 +0x72 fp=0xc00a72bad8 sp=0xc00a72baa8 pc=0x544652
runtime.mapaccess1_fast64(0x2695720, 0xc0006d7f80, 0x2b9b, 0xc00af711a0)
/usr/local/go/src/runtime/map_fast64.go:21 +0x196 fp=0xc00a72bb00 sp=0xc00a72bad8 pc=0x5215e6
github.com/filecoin-project/lotus/chain/events.(*heightEvents).headChangeAt.func1(0x2b9b, 0xc00011abc0)
/builds/ForceMining/lotus-force/chain/events/events_height.go:40 +0x76 fp=0xc00a72bbe8 sp=0xc00a72bb00 pc=0x10decf6
github.com/filecoin-project/lotus/chain/events.(*heightEvents).headChangeAt(0xc007aba3f8, 0xc00798fff8, 0x1, 0x1, 0xc007c8a008, 0x1, 0x1, 0x0, 0x0)
/builds/ForceMining/lotus-force/chain/events/events_height.go:53 +0x407 fp=0xc00a72bd08 sp=0xc00a72bbe8 pc=0x10dd1c7
github.com/filecoin-project/lotus/chain/events.(*Events).headChange(0xc007aba3c0, 0xc00798fff8, 0x1, 0x1, 0xc007c8a008, 0x1, 0x1, 0x0, 0x0)
/builds/ForceMining/lotus-force/chain/events/events.go:185 +0xe4 fp=0xc00a72bd98 sp=0xc00a72bd08 pc=0x10dada4
github.com/filecoin-project/lotus/chain/events.(*Events).listenHeadChangesOnce(0xc007aba3c0, 0x2ced980, 0xc0006dc340, 0x0, 0x0)
/builds/ForceMining/lotus-force/chain/events/events.go:164 +0x5cd fp=0xc00a72bf20 sp=0xc00a72bd98 pc=0x10da88d
code:
func (e *heightEvents) headChangeAt(rev, app []*types.TipSet) error {
... ...
for _, ts := range rev {
revert := func(h abi.ChainEpoch, ts *types.TipSet) {
for _, tid := range e.htHeights[h] {
...
}
}
Branch:
interopnet
The text was updated successfully, but these errors were encountered: