-
Notifications
You must be signed in to change notification settings - Fork 141
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
[BUG]: MessageMeta.copy_dataframe()
causes SIGSEGV error with certain cudf
dataframes
#1934
Comments
Hi @ashsong-nv! Thanks for submitting this issue - our team has been notified and we'll get back to you as soon as we can! |
Attempted to repro with the RAPIDS 24.10 update from #1874: Scenario 1 passes with:
Scenario 2 fails with:
|
using
|
The issues seems to occur at this line:
when
|
I tried setting From the looks of it, |
Narrowed this down to a bug in CUDF. rapidsai/cudf#17193 |
) Closes #1934 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Christopher Harris (https://github.com/cwharris) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: #2004
Fixed |
Version
24.10
Which installation method(s) does this occur on?
Source
Describe the bug.
The
MessageMeta.copy_dataframe()
method crashes with a SIGSEGV error when called on cudf dataframes that meet any of the following edge case conditions:cudf
dataframes withListDtype(object)
columns that originally contained a mix oflist[str]
andNone
values, but are filtered to just the row with theNone
value.The error doesn't occur when directly creating a deep copy of the dataframe, or when using
MessageMeta.mutable_dataframe()
.Please see attached reproducer Python script for more comprehensive tests of the various edge cases.
messagemeta_copydataframe_sigsegv_reproducer.txt
Minimum reproducible example
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
I originally discovered this issue when working with a morpheus pipeline that had message payloads converted from messy API JSON responses. The crash happened in the
MonitorStage
atmonitor_controller.check_df() L195
Code of Conduct
The text was updated successfully, but these errors were encountered: