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

fatal error: concurrent map writes introduced with https://github.com/netbirdio/netbird/commit/4a1aee1ae0188191fc97bb732727820260770d7c #1759

Closed
hurricanehrndz opened this issue Mar 28, 2024 · 0 comments · Fixed by #1760
Labels
bug Something isn't working client triage-needed

Comments

@hurricanehrndz
Copy link
Contributor

Describe the problem

fatal error: concurrent map writes introduced with 4a1aee1

Specifically lines such as these, Routes is a map with no mutex locking, but adding a mutex to the struct directly will not work. At least that is my impression because the struct is copied and updated in several places

To Reproduce
Run any version of netbird with patch 4a1aee1

Steps to reproduce the behavior:
Start netbird service on macos
Connect
Watch service restart

Expected behavior
No fatal crash

A clear and concise description of what you expected to happen.

Are you using NetBird Cloud?

Please specify whether you use NetBird Cloud or self-host NetBird's control plane.

NetBird version

netbird version
0.26.4
NetBird status -d output:
NA
If applicable, add the `netbird status -d' command output.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client triage-needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants