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 a mac the socket api crash #8664

Merged
merged 1 commit into from
May 28, 2021
Merged

Fix a mac the socket api crash #8664

merged 1 commit into from
May 28, 2021

Conversation

TheOneRing
Copy link
Contributor

No description provided.

@TheOneRing TheOneRing requested review from dschmidt and fmoc May 27, 2021 14:44
@TheOneRing TheOneRing force-pushed the work/fix_concurrency_issue branch from f2540a2 to 64227d0 Compare May 27, 2021 14:47
@jnweiger
Copy link
Contributor

@michaelstingl this calls for a 2.8.2 and delays ownbrander deployment. Do you agree?

@michaelstingl
Copy link
Contributor

@michaelstingl this calls for a 2.8.2 and delays ownbrander deployment. Do you agree?

yes, understood 👍

@TheOneRing
Copy link
Contributor Author

The crash reports we get are all on mac, so its probably related to the special rpc implementation on mac....

@TheOneRing TheOneRing force-pushed the work/fix_concurrency_issue branch 3 times, most recently from d848a4a to 2cc549b Compare May 28, 2021 11:17
@TheOneRing TheOneRing changed the title Fix a concurrency related crash in the socket api Fix a mac the socket api crash May 28, 2021
On mac SocketApiSocket::writeData can emit disconnected()
This caused a modification of the map containing the sockets during the iteration
and thus a crash.
@TheOneRing TheOneRing force-pushed the work/fix_concurrency_issue branch from 2cc549b to f0c0dfd Compare May 28, 2021 11:41
@TheOneRing TheOneRing merged commit 38c74af into 2.8 May 28, 2021
@delete-merged-branch delete-merged-branch bot deleted the work/fix_concurrency_issue branch May 28, 2021 11:41
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

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.

4 participants