Closed Bug 762562 Opened 12 years ago Closed 5 years ago

crash in [android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox16- affected, firefox17 affected, firefox19 affected)

RESOLVED WONTFIX
Tracking Status
firefox16 - affected
firefox17 --- affected
firefox19 --- affected

People

(Reporter: nhirata, Unassigned)

Details

(Keywords: crash, reproducible, Whiteboard: [native-crash][startupcrash])

Crash Data

This bug was filed from the Socorro interface and is 
report bp-be2a3f1e-5715-453e-b7e0-b823c2120606 .
============================================================= 
android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file
	at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1013)
	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)
	at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:241)
	at org.mozilla.gecko.Favicons$DatabaseHelper.getFaviconUrlForPageUrl(Favicons.java:91)
	at org.mozilla.gecko.Favicons$LoadFaviconTask.doInBackground(Favicons.java:308)
	at org.mozilla.gecko.Favicons$LoadFaviconTask.doInBackground(Favicons.java:195)
	at android.os.AsyncTask$2.call(AsyncTask.java:264)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
	at java.util.concurrent.FutureTask.run(FutureTask.java:137)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
	at java.lang.Thread.run(Thread.java:856)

1. Reproduce by taking a profile from : 
http://people.mozilla.com/~nhirata/Profiles/XUL/
2. unzip and push using adb push mozilla /data/data/org.mozilla.fennec/files/mozilla
3. launch fennec
4. look at logcat

It's an error due to not having permissions.  Logging so that people know to shell and chmod the files/mozilla and profile directories on their android device before trying to dig further.  

Is there any way to prevent a crash?  Maybe pop a new profile if the current one has issues?
Keywords: reproducible
OS: All → Android
Hardware: All → ARM
Whiteboard: [native-crash], reproducible → [native-crash][startupcrash]
Does this have a user effect? Sounds like this would be really uncommon.
I don't think it would truly affect the end user.  The only time I would think that it might would be only for advanced users that try to restore their profiles manually after rooting their phones and forgot to chmod their profile.
Cool - in that case, I don't think we need to track for release.
Version: Firefox 16 → Trunk
Crash Signature: [@ android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)] → [@ android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)] [@ android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file at android.…
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.