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

Log error on failure to attach to shared memory #2065

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

matt335672
Copy link
Member

Relates to #1928

If xrdp had logged a message when the race condition with the shared memory happened, this would have been a lot easier to find. This PR will generate this error in the log if the shared memory fails to attach:-

[20211130-10:51:00] [ERROR] Can't attach to shared memory id 32787 from id 32780 [Invalid argument]

A devel error log is also generated if the message flags value is not recognised.

@matt335672 matt335672 merged commit 54fbae2 into neutrinolabs:devel Dec 1, 2021
@matt335672 matt335672 deleted the shm_logging branch December 1, 2021 09:23
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.

2 participants