-
Notifications
You must be signed in to change notification settings - Fork 915
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] Segfault reading parquet file in C++ when libcudf is built with GCC 12.3.0 #16408
Comments
Just to add that this can also by reproduced by the C++ unit tests. For GCC 11.4 they all pass for me locally, whereas for GCC 12.3.0 I get the following failures (running from the build tree):
|
I have been able to replicate these results when building with gcc-12 |
All of the failures have the same stack trace. Example:
Output:
|
This was referenced Jul 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Reading a parquet file written by Apache Arrow fails when compiling
libcudf
with GCC 12.3.0 results in a segfault -cudf::io::read_parquet
function. The docs about building from source state GCC version 11.4+.Steps/Code to reproduce bug
Build
libcudf
with GCC 11.4.0 and GCC 12.3.0 on Ubuntu 22.04. Following the C++ guide it looked like GCC 12.3.0 would be OK, everything compiled without issue but I see segfaults when loading parquet files written by Apache Arrow.From the
cpp
directory I configuredlibcudf
to compile with the default compiler (GCC 12.3.0) and the GCC 11.4.0 compiler.I used the following Python snippet to create a parquet file:
Create a conda environment to write an example file:
This was used to create
exmaple.parquet
that was placed in the directory the executable was run from (source tree in this case).I then used the following
CMakeLists.txt
to build the reader:The
main.cpp
was:Building the example code against the two libraries produced:
When running in
gdb
I have a backtrace indicating that the metadata reading is failing.Backtrace
Expected behavior
I expected the parquet read call to succeed with the
libcudf
build with both compiler versions.Environment overview (please complete the following information)
Environment details
Please run and paste the output of the
cudf/print_env.sh
script here, to gather any other relevant environment detailsClick here to see environment details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: