You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.
I tried running the code through valgrind, but it doesn't seem to give me anything useful. Except perhaps that it seems to be telling me that the segfault is in finalize:
==31159== by 0x713477E: sqlite3_finalize (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
==31159== by 0x5D936C9: cursor::Drop$Cursor::drop::h96b05de1db21bd53ioao::v0.1
If I comment out the bind_param line, the program runs fine. And it only seems to happen with Text. Integer doesn't segfault.
The text was updated successfully, but these errors were encountered:
Hi!
First of all, cool project ;-)
I tried it out (am still new to Rust) and arrived at a segfault. Thought you'd like to know about it if you don't already.
I'm running the master version of both rustsqlite and Rust.
It may just be a transitioning thing (I know Rust is changing and breaking all the time), but it's a bit difficult for me to tell the difference.
Anyway, here's the code:
https://gist.github.com/brinchj/7363049
I tried running the code through valgrind, but it doesn't seem to give me anything useful. Except perhaps that it seems to be telling me that the segfault is in finalize:
==31159== by 0x713477E: sqlite3_finalize (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
==31159== by 0x5D936C9: cursor::Drop$Cursor::drop::h96b05de1db21bd53ioao::v0.1
If I comment out the bind_param line, the program runs fine. And it only seems to happen with Text. Integer doesn't segfault.
The text was updated successfully, but these errors were encountered: