When I use sqlite3 in adb shell, the error “Segmentation fault”:
shell@android:/data/data/com.yh.web/databases $ ll
ll
-rwxrwxrwx app_106 app_106 12288 2013-09-16 12:33 webview.db
-rwxrwxrwx app_106 app_106 32768 2013-09-16 12:33 webview.db-shm
-rwxrwxrwx app_106 app_106 12608 2013-09-16 12:33 webview.db-wal
shell@android:/data/data/com.yh.web/databases $ sqlite3 webview.db
sqlite3 webview.db
[1] + Stopped (signal) sqlite3 webview.db
shell@android:/data/data/com.yh.web/databases $
[1] + Segmentation fault sqlite3 webview.db
The sqlite3 is not exist in my phone at first, I pull it from Android virtual machine, and push it to my phone. solve it by Why do I get a "sqlite3: not found" error on a rooted Nexus One when I try to open a database using the adb shell?
What's wrong and how can i resolve it, please help me, Thanks!