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

MCOL-371 fix mutex free crash #40

Merged
merged 1 commit into from Oct 24, 2016
Merged

MCOL-371 fix mutex free crash #40

merged 1 commit into from Oct 24, 2016

Conversation

LinuxJedi
Copy link
Contributor

It is possible for an exception to be thrown when a memory limit is hit
whilst a mutex is lock. That mutex is never unlocked and in Ubuntu 16.04
release build it can cause a crash when freed.

This patch catches the exception, releases the lock and then re-throws.

It is possible for an exception to be thrown when a memory limit is hit
whilst a mutex is lock. That mutex is never unlocked and in Ubuntu 16.04
release build it can cause a crash when freed.

This patch catches the exception, releases the lock and then re-throws.
@davidhall586 davidhall586 merged commit e4de86b into develop Oct 24, 2016
@LinuxJedi LinuxJedi deleted the MCOL-371 branch November 4, 2016 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants