-
Notifications
You must be signed in to change notification settings - Fork 494
SNOW-1989239: Segmentation fault while parsing response with invalid datetime #2216
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
Comments
hi there - thanks for reporting this issue and very appreciate for all these details and the sharp repro! 💯 |
Not good indeed. Thank you! |
PR #2227 open for remediation |
PR is now merged and awaiting release. a temporal We'll remove this flag in the future and have only the new behaviour where the errors are immediately surfaced. |
released with Snowflake Python Driver v3.14.1 |
Thank you David! |
Python version
3.8,3.11
Operating system and processor architecture
macOS-15.2-arm64-arm-64bit,Linux-6.12.5-linuxkit-x86_64-with-glibc2.36
Installed packages
What did you do?
Given the following
query.sql
content:The code below results in segmentation fault:
We have a couple of such cases atm, and all of them share these features:
57168
)I've managed to trace the error, and it happens while parsing the output from Snowflake. Here's the content of payload.b64 that I've intercepted from the query above, and an example to reproduce
I guess that the problem should be somewhere in
CArrowChunkIterator
.It reproduces on the current main. Here's a PR that has these test cases: #2217
What did you expect to see?
Python exception or at least
None
. But not segmentation faultCan you set logging to DEBUG and collect the logs?
The text was updated successfully, but these errors were encountered: