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

Address valgrind issue #8717

Merged
merged 1 commit into from Mar 14, 2017
Merged

Address valgrind issue #8717

merged 1 commit into from Mar 14, 2017

Conversation

dschwen
Copy link
Member

@dschwen dschwen commented Mar 13, 2017

Closes #8619

@dschwen
Copy link
Member Author

dschwen commented Mar 13, 2017

Why is this failing the python tests?! @aeslaughter , any idea?

@@ -44,6 +44,8 @@ MemoryUsage::MemoryUsage(const InputParameters & parameters)
: GeneralPostprocessor(parameters),
_mem_type(getParam<MooseEnum>("mem_type").getEnum<MemType>()),
_value_type(getParam<MooseEnum>("value_type").getEnum<ValueType>()),
_value(0.0),
_peak_value(0.0),
Copy link
Member

Choose a reason for hiding this comment

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

Oh man! I even noticed that you didn't initialize these in my review but I figured it was ok because you set them to zero in initialize. I guess I should have gone with my gut...

@dschwen
Copy link
Member Author

dschwen commented Mar 14, 2017

I guess the variable that was only initialized on timeStepSetup didn't get initialized for output on initial (maybe neither did the other one...).

@dschwen
Copy link
Member Author

dschwen commented Mar 14, 2017

Fixes the valgrind issue. Test failure is an unrelated python test.

@moosebuild
Copy link
Contributor

Job TBB test:linux-gnu on 91be98a : invalidated by @brianmoose

mooseutils/tests.vector_postprocessors failed, seeing if it is reproducible

@brianmoose
Copy link
Contributor

The valgrind test is "failed but allowed" due to a failing Json python unit test. Hopefully fixed in #8718

@permcody permcody merged commit 4df27b5 into idaholab:devel Mar 14, 2017
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

5 participants