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

Remove problematic test causing segfaults #954

Merged
merged 9 commits into from
May 19, 2023

Conversation

dagardner-nv
Copy link
Contributor

Description

  • Add missing pybind11 link target to cudf_helpers_target. This was causing a build failure when MRC was pulled in via CPM but not when in the conda env.
  • Remove tests/test_appshield_source_stage.py::test_post_build_single this test wasn't very useful.
  • The issue is that the test mocked the MRC builder, but not the MRC operators. Leaving operator instances and thus instances of PyFuncWrapper orphaned and not destructed at the end of the test.
  • Most of the time the PyFuncWrapper instances were destructed at the end of the test, but at times it would be destructed later on a thread which had already destructed other PyFuncWrapper instances and would trigger a an abort from within pybind11.

fixes #934

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

operators. This ended up with an unexpected situation of MRC operators and
thus instances of PyFuncWrapper which were left orphaned and not destructed
properly.

This test wasn't testing much that wouldn't already be covered by our
integration tests, and was causing segfaults elsewhere covered in
issue 934
@dagardner-nv dagardner-nv requested a review from a team as a code owner May 19, 2023 18:24
@dagardner-nv dagardner-nv added bug Something isn't working non-breaking Non-breaking change 3 - Ready for Review labels May 19, 2023
@dagardner-nv
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 8d43c5b into nv-morpheus:branch-23.07 May 19, 2023
@dagardner-nv dagardner-nv deleted the david-segfaults-934 branch May 19, 2023 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: tests/test_dfp.py intermittently Segmentation faults
2 participants