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

Linux Crash on Gateway Registration #54

Closed
TYKUHN2 opened this issue Jul 9, 2019 · 1 comment
Closed

Linux Crash on Gateway Registration #54

TYKUHN2 opened this issue Jul 9, 2019 · 1 comment
Assignees
Labels

Comments

@TYKUHN2
Copy link
Member

TYKUHN2 commented Jul 9, 2019

Linux GEDS servers crash on a gateway registrations. The issue has been pushed back but still persist (specifically in Poll::add due to sock existing in the epoll context for some reason)

@TYKUHN2 TYKUHN2 added the bug label Jul 9, 2019
@TYKUHN2 TYKUHN2 added this to the GERTe v1.1 milestone Jul 9, 2019
@TYKUHN2 TYKUHN2 self-assigned this Jul 9, 2019
@TYKUHN2
Copy link
Member Author

TYKUHN2 commented Jul 11, 2019

Cause of the crash analysis:
In order to post-construct the registered gateway, the unregistered gateway was moved within the newly allocated Gateway object. This move occurred before any form of network poll updating. This caused the network poll to incorrectly read an uninitialized portion of memory to find and remove or add a socket. To fix this, the socket is independently stored with the thread dependent on it.

@TYKUHN2 TYKUHN2 closed this as completed Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant