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

A strange seg fault in action #6383

Closed
YaqiWang opened this issue Feb 24, 2016 · 0 comments
Closed

A strange seg fault in action #6383

YaqiWang opened this issue Feb 24, 2016 · 0 comments
Labels
C: Framework P: minor A defect that does not affect the accuracy of results. T: defect An anomaly, which is anything that deviates from expectations.

Comments

@YaqiWang
Copy link
Contributor

Description of the enhancement or error report

It turns out the error is caused by the code which should be calling _problem->addInitialCondition() but calling _problem->addScalarKernel() due to a copy-paste bug. Although the error should be expected but should not be seg fault inside NonlinearSystem::checkKernelCoverage(). Apparently, MOOSE is happy to treat a scalar IC as a scalar kernel and somehow successfully add it and mess things up.

Rationale for the enhancement or information for reproducing the error

Although I did not try, it should be reproduceable with the input file.

Identified impact

(i.e. Internal object changes, limited interface changes, public API change, or a list of specific applications impacted)
An error detection can be added to avoid such an input error or action error. It will not affect our codes because we are bug free ;-)

@permcody permcody added C: Framework P: minor A defect that does not affect the accuracy of results. T: defect An anomaly, which is anything that deviates from expectations. labels Feb 24, 2016
permcody added a commit to permcody/moose that referenced this issue Mar 1, 2016
permcody added a commit to permcody/moose that referenced this issue Mar 1, 2016
permcody added a commit to permcody/moose that referenced this issue Mar 1, 2016
SudiptaBiswas pushed a commit to SudiptaBiswas/moose that referenced this issue Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: minor A defect that does not affect the accuracy of results. T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

No branches or pull requests

2 participants