SQLite Forum

Random crash doing SELECT
Hi. You haven't provided much information, so, from what I can quickly come up to debug your problem would be to try to print to a text file or the screen output what is the content of:

"SELECT \"tile_blob\" FROM \"tiles_table\"\n    WHERE \"tile_meta\" = @tile_meta AND \"tile_id\" = @tile_id;"

Once you get that, use the sqlite3 tool and connect to the DB and try pasting that result on the tool and see if you get a result, or if it also crashes. Other than this, I don't know how else to help you.