Skip to content

Fix tear down issues #69

Closed
Closed

Description

@wjwwood

Through out the rmw implementations there are missing destroy functions and plenty of places in rclcpp where they are not being used as a result.

This has been causing issues for me when testing out my prototype for the intra-process comms. So I've been working on fixing it. I'll open some pull requests soon and attach them to this issue.

Activity

  1. added
    in progress
    on Jun 25, 2015
  2. self-assigned this
    on Jun 25, 2015
  3. wjwwood commented on Jun 30, 2015

    @wjwwood
    MemberAuthor

    I've finished my preliminary pull requests (which are connected to this one) but I still need to run the style tool over them and run the tests. However, they are big change sets and the general ideas are done. Please start to have a look at them as soon as possible. I'll try to get the style checks out of the way tonight to comments on those.

  4. wjwwood commented on Jun 30, 2015

    @wjwwood
    MemberAuthor

    I fixed any outstanding style issues according to ament_uncrustify. I'll run the tests in the morning and the examples too. Those will likely produce some new errors, caught and uncaught, which are a result of these changes.

  5. jackieokay commented on Jun 30, 2015

    @jackieokay
    Contributor

    Can we add some tests to explicitly check proper teardown in these libraries, and/or a regression test that reproduces the blocking in teardown issue you mentioned in #51?

  6. wjwwood commented on Jun 30, 2015

    @wjwwood
    MemberAuthor

    Can we add some tests to explicitly check proper teardown in these libraries, and/or a regression test that reproduces the blocking in teardown issue you mentioned in #51?

    I think the current tests will test most of the code paths I've changed here. But I can look at adding a test that reproduces the segfault's I was getting with my prototype.

  7. added
    in review
    and removed
    in progress
    on Jun 30, 2015
  8. wjwwood commented on Jul 15, 2015

    @wjwwood
    MemberAuthor

    Ok, I've rebased and run uncrustify over the pr's.

    There are still a few failing tests, but they all seem to be related to not being able to register the type in connext_dynamic when a static or dynamic array are involved.

    I'll have a look at it tomorrow with @dirk-thomas, but I don't expect any earth shattering changes to come from it.

    There are quite a few things that remain to be done, but I'm going to focus on fixing the tests and then make tickets for the others lingering items. So if you want to make a final review of the pr's please do so now. Thanks.

  9. dirk-thomas commented on Jul 15, 2015

    @dirk-thomas
    Member

    See ros2/rmw_connext#45 (comment) for the fix of the rmw_connext_dynamic_cpp PR.

  10. wjwwood commented on Jul 15, 2015

    @wjwwood
    MemberAuthor

    The OS X job has passed all tests, I'll merge and close/update other tickets.

  11. dirk-thomas commented on Jul 15, 2015

    @dirk-thomas
    Member

    @wjwwood Can you please add the kb reference about OS X to the example wiki page.

  12. wjwwood commented on Jul 15, 2015

    @wjwwood
    MemberAuthor

    @dirk-thomas it's on the Jenkins Slave setup wiki page (internal.local). I can add a note about it, but it isn't always necessary, maybe hardware dependent or something because I didn't have to do it on my machine.

  13. removed
    in review
    on Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions