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

Potential race in dependency manager #1496

Closed
hellt opened this issue Aug 4, 2023 · 0 comments
Closed

Potential race in dependency manager #1496

hellt opened this issue Aug 4, 2023 · 0 comments

Comments

@hellt
Copy link
Member

hellt commented Aug 4, 2023

DEBU[0000] node creation graph is successfully validated as being acyclic 
fatal error: concurrent map read and map write

goroutine 74 [running]:
github.com/srl-labs/containerlab/clab/dependency_manager.(*dependencyNode).getStateWG(...)
        /root/srl-labs/containerlab/clab/dependency_manager/dependency_manager.go:72
github.com/srl-labs/containerlab/clab/dependency_manager.(*dependencyNode).WaitFor(0xc000e1a540, 0xc001140db0?)
        /root/srl-labs/containerlab/clab/dependency_manager/dependency_manager.go:80 +0x38
github.com/srl-labs/containerlab/clab/dependency_manager.(*defaultDependencyManager).WaitForNodes(0xc000b620f8, {0xc000524670?, 0x1, 0x0?}, 0x3423460?)
        /root/srl-labs/containerlab/clab/dependency_manager/dependency_manager.go:190 +0x85
github.com/srl-labs/containerlab/clab.(*CLab).CreateLinks.func1(0xc000e43140)
        /root/srl-labs/containerlab/clab/clab.go:523 +0x238
created by github.com/srl-labs/containerlab/clab.(*CLab).CreateLinks
        /root/srl-labs/containerlab/clab/clab.go:510 +0xce
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

2 participants