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

[BUG] SIGSEGV with sample iloc #11349

Closed
pprados opened this issue Jul 26, 2022 · 1 comment · Fixed by #11354
Closed

[BUG] SIGSEGV with sample iloc #11349

pprados opened this issue Jul 26, 2022 · 1 comment · Fixed by #11354
Assignees
Labels
bug Something isn't working Python Affects Python cuDF API.

Comments

@pprados
Copy link

pprados commented Jul 26, 2022

Describe the bug
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) with a ilog and None value.

Steps/Code to reproduce bug

$ conda create -n bug -y -c rapidsai -c nvidia -c conda-forge cudf==22.06 cudatoolkit=11.5
$ conda activate bug
$ python --version
Python 3.9.13
$ python
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:56:21) 
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
import cudf
import pandas as pd
import numpy as np
pdf = pd.DataFrame({'a': [0, 1, 2, 3],'b': [0.1, 0.2, None, 0.4]})
df = cudf.from_pandas(pdf)
print(df)
df.iloc[0]  # Crash

Expected behavior
With None or np.NaN, the python process crash

Environment overview (please complete the following information)

  • Python 3.9.13
  • conda conda 4.12.0
  • cudf-22.6.0-py3.9
  • Environment location: Bare-metal
  • OS: Ubuntu 20.04.4 LTS
  • Method of cuDF install: conda create -n bug -y -c rapidsai -c nvidia -c conda-forge cudf==22.06 cudatoolkit=11.5

Environment details
Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details.
I not found the script print_env.sh

@pprados pprados added Needs Triage Need team to review and classify bug Something isn't working labels Jul 26, 2022
@shwina shwina self-assigned this Jul 26, 2022
@shwina shwina added Python Affects Python cuDF API. and removed Needs Triage Need team to review and classify labels Jul 26, 2022
@shwina
Copy link
Contributor

shwina commented Jul 26, 2022

Thanks for reporting! This is a pretty serious bug, and we'll get to the bottom of it ASAP!

rapids-bot bot pushed a commit that referenced this issue Jul 28, 2022
This PR fixes a subtle bug leading to a segfault when constructing a `Column` from a `column_view`.

Closes #11349

Authors:
  - Ashwin Srinath (https://github.com/shwina)

Approvers:
  - https://github.com/brandon-b-miller
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Matthew Roeschke (https://github.com/mroeschke)
  - Lawrence Mitchell (https://github.com/wence-)

URL: #11354
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants