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

Reactor task in Service Participant has stale reference #1231

Merged
merged 1 commit into from Aug 6, 2019

Conversation

jrw972
Copy link
Contributor

@jrw972 jrw972 commented Aug 5, 2019

A ReactorTask is an ACE::Task_Base which caches a references to its
Thread_Manager. If the Service_Participant is shutdown and ACE is
restarted (ACE::fini, ACE::init), then this reference is stale and
shows up as an access violation in the Restart test.

Solution: Reset the reference when the ReactorTask is stop so that it
will use the correct Thread_Mananger when restarted.

A ReactorTask is an ACE::Task_Base which caches a references to its
Thread_Manager.  If the Service_Participant is shutdown and ACE is
restarted (ACE::fini, ACE::init), then this reference is stale and
shows up as an access violation in the Restart test.

Solution: Reset the reference when the ReactorTask is stop so that it
will use the correct Thread_Mananger when restarted.
@jrw972 jrw972 requested a review from mitza-oci August 5, 2019 20:20
@jrw972 jrw972 self-assigned this Aug 5, 2019
Copy link
Member

@mitza-oci mitza-oci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merge after CI checks complete

@mitza-oci mitza-oci merged commit 2bd9d32 into OpenDDS:master Aug 6, 2019
mitza-oci added a commit that referenced this pull request Aug 14, 2019
Reactor task in Service Participant has stale reference

(cherry picked from commit 2bd9d32)

# Conflicts:
#	tools/IntermediateTypeLang/cpp/rapidjson
@jrw972 jrw972 deleted the reactor-task-reference branch November 1, 2019 15:48
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.

None yet

2 participants