-
Notifications
You must be signed in to change notification settings - Fork 235
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
Segmentation fault in new extension loading API #1473
Comments
Still haven't gotten around to spend much more time on this but at least I wanted to share a minimal reproduction with you: https://github.com/ignatz/libsql_ext |
…TENSION config command - see tursodatabase#1473
Hi @ignatz! I guess I found an issue in BTW, it seems to me that |
👏 Is there any particular reason why you folks rely on sqlite3_db_config, it seems you're bindgening also the type-safe bindings: libsql/libsql-ffi/bundled/bindings/bindgen.rs Line 2096 in fbce426
|
But actually I don't have any context here, so maybe @MarinPostma can comment on this is more details. |
Hi folks,
I was enjoying the recent addition of extension loading. Everything worked smoothly with the simple "sqlite/ext/misc/uuid.c".
However, when building in release mode, I suddenly get a segmentation fault. I played with the different build profiles to further narrow it down. Even when building with debug presets and just bumping opt-level from zero to one, does it for me.
Throwing it in the debugger leads to
or the entire function in question
I haven't looked more into it yet, since it's getting late but maybe there's something that sticks out to you folks.
The text was updated successfully, but these errors were encountered: