baskar007 / sqlite3-android

Automatically exported from code.google.com/p/sqlite3-android
0 stars 0 forks source link

JNI Warning and SIGSEGV #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the attached sample app
2. Run the app on the emulator

What is the expected output? What do you see instead?
The database queries at Application:55 should execute fine, this would be 
indicated by the MainActivity starting, and staying visible.
Instead, there is a native error (logcat output attached) and the process is 
killed.

Anyone else had this error?

Original issue reported on code.google.com by kec...@gmail.com on 4 May 2011 at 3:36

Attachments:

GoogleCodeExporter commented 8 years ago
 The function of encryption is not working. I compile the jni code of the file called "common-jni-src-2011-02-17.zip" and enable  the encryption.I call the function "_key" after sqlite3_open() and then insert some data into the Datebase.And I get the wrong message "WARN/System.err(479): SQLite3.Exception: database disk image is malformed ". When I ues other tool to open the DB ,it works.I can see all the data of the DB.So I would ask whether I do something wrong nor it is not wroking at all.PS.I run the app on the SIMULATOR.

Original comment by johnx...@gmail.com on 15 Jun 2011 at 2:53