-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[C++] [Python] Fix improper initialization of ConversionOptions
#34150
Comments
take |
rtpsw
added a commit
to rtpsw/arrow
that referenced
this issue
Feb 13, 2023
rtpsw
added a commit
to rtpsw/arrow
that referenced
this issue
Feb 13, 2023
westonpace
pushed a commit
that referenced
this issue
Feb 17, 2023
fatemehp
pushed a commit
to fatemehp/arrow
that referenced
this issue
Feb 24, 2023
…ionOptions (apache#34156) This PR fixes a bug that caused a crash. See apache#34150 for more details. * Closes: apache#34150 Authored-by: Yaron Gvili <rtpsw@hotmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
fatemehp
pushed a commit
to fatemehp/arrow
that referenced
this issue
Feb 24, 2023
…version option defaults (apache#34209) * Closes: apache#34150 Authored-by: Weston Pace <weston.pace@gmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
In a debugging session, I observed that
ConversionOptions
being passed from_substrait.pyx
was improperly initialized, leading to a SIGSEGV. In particular, the extension provider member had a different value thandefault_extension_provider()
returns. I suspect this is becauseConversionOptions
is currently a POD, whose initialization of the extension provider member occurs before that ofg_default_extension_provider
being returned fromdefault_extension_provider
. The fix should ensure correct order of initialization. In addition, the definition ofCConversionOptions
inlibarrow_substrait.pxd
should be updated to matchConversionOptions
.Component(s)
C++, Python
The text was updated successfully, but these errors were encountered: