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

Remove unregisterMessageHandler from NetMsgRegistrar thread #779

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

vaibhavhd
Copy link
Contributor

@vaibhavhd vaibhavhd commented Jan 26, 2021

Fixes: sonic-net/sonic-buildimage#6466

This is a temporary fix to avoid double-free memory corruption (and core) that is consistently seen in syncd shutdown in KVM switch.
The call made to unregisterMessageHandler as part of NetMsgRegistrar thread causes, double-free memory corruption in one of the executing threads.

@kcudnik
Copy link
Collaborator

kcudnik commented Jan 26, 2021

just confirmed that this fixes issue

@vaibhavhd vaibhavhd requested a review from kcudnik January 26, 2021 22:14
@vaibhavhd vaibhavhd marked this pull request as ready for review January 26, 2021 22:14
@kcudnik
Copy link
Collaborator

kcudnik commented Jan 27, 2021

retest vs please

@kcudnik kcudnik merged commit b1edaef into sonic-net:master Jan 27, 2021
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
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

Successfully merging this pull request may close these issues.

[KVM][warm reboot] syncd crashes during shutdown with double-free-corruption
2 participants