-
Notifications
You must be signed in to change notification settings - Fork 41
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: Seg Fault when st_aswkb()
to arrow
#236
Comments
Hi! |
@Maxxen any chance you had some time to look at this? I noticed that when I'm on duckdb 0.9.1 I don't hit this problem. It also seems to be only happening on mac M2 arm64 (also in Sonoma 14.3), none of the folks with linux machines have been able to reproduce. But I can consistently reproduce it. I tried also |
Hi! Me and @Tishj sat down and looked through this and we think we've figured out what the issue is. Thankfully it seems to originate in spatial (related to state kept around in the st_read table function binding) and not DuckDB core so even if I wont have time to fix this until after next DuckDB release we should be able to squash it In the following stable spatial version. |
I think this may have been fixed in #271, could you try with v0.10.0 and the latest nightly build (I just merged so its gonna be an hour or two until it gets uploaded) and see if it still occurs? If its still occurring I'll sit down with Thijs again and do a proper debugging session. |
Max, I'll give this a try tomorrow and I'll get back to you. |
@Maxxen I run the reproducer with duckdb v0.10.0 and installing the spatial extension from the nightly and did not seg fault 🎉 What's the release cycle for the spatial extension, so we can update couple of things in our end? Currently this issue breaks some of our geospatial blogs rendering. |
@Maxxen Any idea when the next release of this extension will ship? I'm hitting this segfault pretty regularly now. |
@cpcloud Yes! Next DuckDB release is scheduled for next week, and the latest spatial extension will be distributed alongside it. |
Re: Release cycle. DuckDB extensions don't really support versioning yet so the release cycle of our extensions is more or less tied to DuckDB's own release cycle. Previously when DuckDB itself had longer releases cycles (like the almost 6 months between 0.8 and 0.9) we basically "overwrote" extensions for the latest stable version manually every now and then with a later build to push bugfixes and/or new features, but I think now that we are trying to do shorter bug-fix release cycles for DuckDB (1-2 months) we won't be doing that anymore. |
Closing this one as it is resolved in the recent release. Thanks for your work @Maxxen |
Minimal reproducible example
duckdb version: 0.9.2
OS: MacOS Sonoma 14.2.1 - M2 arm64
I ran this script on lldb, and I had to attach it to a pyarrow 12 to (same reason of than duckdb/duckdb#9371 (comment))
run on
lldb
The text was updated successfully, but these errors were encountered: