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

Add more valgrind suppressions + fixes #273

Closed
wants to merge 5 commits into from
Closed

Conversation

RogerZhongAWS
Copy link
Contributor

@RogerZhongAWS RogerZhongAWS commented May 20, 2022

Motivation

  • Cleaning up valgrind output

Modifications

Change summary

Fixed problems that are for certain related to device client

  • invalid memory access in StdOutLogger (use after free)
  • minor leak in pubsub

Added valgrind suppressions for everything else (direct and indirect leaks from elsewhere)

Testing

Tested by running valgrind on device client with no features, + jobs, + ST, + DD, + pubsub, + fp, + shadows, + sensor publish
Still not 100% clean, may need followup PR's to address everything.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@RogerZhongAWS
Copy link
Contributor Author

maybe using multiple suppression files would be better..

source/main.cpp Outdated Show resolved Hide resolved
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.

2 participants