Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

network/simulation: Goroutine leak (simultaneously alive, limit exceeded) #1142

Closed
frncmx opened this issue Jan 21, 2019 · 1 comment · Fixed by ethereum/go-ethereum#19004
Assignees
Labels

Comments

@frncmx
Copy link
Contributor

frncmx commented Jan 21, 2019

race: limit on 8128 simultaneously alive goroutines is exceeded, dying

How to reproduce?
time go test -race -count 100 github.com/ethereum/go-ethereum/swarm/network/simulation...

Output

WARN [01-21|14:38:42.366|p2p/simulations/network.go:570]      Can't stop node                          id=c64bb2e7299b3155 err="node not started"
WARN [01-21|14:38:42.370|p2p/simulations/network.go:570]      Can't stop node                          id=6c6cf63e67a108b9 err="node not started"
WARN [01-21|14:38:42.379|p2p/simulations/network.go:570]      Can't stop node                          id=d52b6a5367235153 err="node not started"
WARN [01-21|14:38:42.473|p2p/simulations/network.go:184]      Node startup failed                      id=8011a7c6f6a30768 err="duplicate service: *simulation.noopService"
WARN [01-21|14:38:42.474|p2p/simulations/network.go:570]      Can't stop node                          id=8011a7c6f6a30768 err="node not started"
race: limit on 8128 simultaneously alive goroutines is exceeded, dying
FAIL	github.com/ethereum/go-ethereum/swarm/network/simulation	186.563s
ok  	github.com/ethereum/go-ethereum/swarm/network/simulations	1.070s
ok  	github.com/ethereum/go-ethereum/swarm/network/simulations/discovery	1.102s

real	3m9.438s
user	3m16.485s
sys	0m20.138s
@frncmx
Copy link
Contributor Author

frncmx commented Feb 8, 2019

fixed in ethereum/go-ethereum#19004

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.