SNOW-1989239: Segmentation fault while parsing response with invalid datetime #2216
Labels
bug
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-triage_done
Initial triage done, will be further handled by the driver team
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: