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

fix: Fix sigsegv in cranectld #368

Merged
merged 3 commits into from
Nov 20, 2024
Merged

fix: Fix sigsegv in cranectld #368

merged 3 commits into from
Nov 20, 2024

Conversation

L-Xiafeng
Copy link
Collaborator

m_pending_task_map_ entry not erased.

@L-Xiafeng L-Xiafeng added the bug Something isn't working label Nov 19, 2024
@L-Xiafeng L-Xiafeng changed the title fix: fix sigsegv in cranectld fix: Fix sigsegv in cranectld Nov 19, 2024
@L-Xiafeng L-Xiafeng requested a review from RileyWen November 19, 2024 09:47
m_pending_task_map_ entry not erased.

Signed-off-by: Li Junlin <xiafeng.li@foxmail.com>
add lock to avoid data race

Signed-off-by: Li Junlin <xiafeng.li@foxmail.com>
Signed-off-by: RileyW <wrllrwwrllrw@gmail.com>
@RileyWen RileyWen merged commit 25bc351 into master Nov 20, 2024
1 check passed
@RileyWen RileyWen deleted the bugfix/sigsegv branch November 20, 2024 04:58
huerni pushed a commit that referenced this pull request Jan 7, 2025
* fix: fix sigsegv in cranectld
m_pending_task_map_ entry not erased.

Signed-off-by: Li Junlin <xiafeng.li@foxmail.com>

* fix: Data race in ConnectCranedNode_
add lock to avoid data race

Signed-off-by: Li Junlin <xiafeng.li@foxmail.com>

* Refactor.

Signed-off-by: RileyW <wrllrwwrllrw@gmail.com>

---------

Signed-off-by: Li Junlin <xiafeng.li@foxmail.com>
Signed-off-by: RileyW <wrllrwwrllrw@gmail.com>
Co-authored-by: RileyW <wrllrwwrllrw@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants