Skip to content

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Oct 23, 2015

No description provided.

@jsquyres
Copy link
Member

@rhc54 Does this fix #1065?

@jsquyres
Copy link
Member

Ah, you said at the bottom of #1065 that this PR is the fix for it. :-)

Pro tip (if you care): if you put "Fixes #1065" in the commit message, it'll auto-close that issue when this PR is merged. 😄

rhc54 pushed a commit that referenced this pull request Oct 23, 2015
Release the allocator list items from the list before destructing
@rhc54 rhc54 merged commit 39cfdbb into open-mpi:master Oct 23, 2015
@bosilca
Copy link
Member

bosilca commented Oct 24, 2015

By looking at the proposed patch I have the impression that it does not fix the issue, but instead it hide it. The objects from the seg_list are never released (unlike the subject of this patch suggest), instead they are simply removed from the list (allowing the list destructor to succeed as the list is now empty). Thus, this looks like a potential memory leak to me.

@rhc54
Copy link
Contributor Author

rhc54 commented Oct 24, 2015

You may well be correct - I wasn't entirely sure why releasing the items was causing a problem, but this seemed to fix it. We hit a similar issue in the oshmem area, but that was clearly a case where the list objects held some memory that was getting double-free'd. Someone should take a look at the underlying objects to understand why releasing them in that location is an issue.

@rhc54 rhc54 deleted the topic/alloc branch October 28, 2015 02:40
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Sep 19, 2016
…verbs-stuff

usnic: remove need for hwloc verbs helper
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.

3 participants