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

Fix memory corruption in Ogre2GpuRays (Fortress) #787

Merged

Conversation

darksylinc
Copy link
Contributor

Order of destruction was inverted

Signed-off-by: Matias N. Goldberg [email protected]

🦟 Bug fix

No ticket was filed for this bug.

Summary

This bug was discovered thanks to CI and Valgrind in PR #785

This is a backport to Fortress.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@darksylinc darksylinc requested a review from iche033 as a code owner December 11, 2022 20:41
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Dec 11, 2022
Order of destruction was inverted

Signed-off-by: Matias N. Goldberg <[email protected]>
@darksylinc darksylinc force-pushed the matias-gpuRaysCorruption branch from 76f9cf1 to 07aa91b Compare December 11, 2022 20:45
@codecov
Copy link

codecov bot commented Dec 11, 2022

Codecov Report

Merging #787 (07aa91b) into ign-rendering6 (e6c3b72) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           ign-rendering6     #787   +/-   ##
===============================================
  Coverage           77.84%   77.85%           
===============================================
  Files                 146      146           
  Lines               13404    13404           
===============================================
+ Hits                10435    10436    +1     
+ Misses               2969     2968    -1     
Impacted Files Coverage Δ
ogre2/src/Ogre2GpuRays.cc 95.51% <100.00%> (ø)
...e/ignition/rendering/base/BaseGaussianNoisePass.hh 100.00% <0.00%> (+3.33%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@darksylinc darksylinc changed the title Fix memory corruption in Ogre2GpuRays Fix memory corruption in Ogre2GpuRays (Fortress) Dec 11, 2022
@ahcorde ahcorde merged commit a056220 into gazebosim:ign-rendering6 Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants