Closed Bug 738066 Opened 12 years ago Closed 3 years ago

StrictModeDiskReadViolation from AwesomeBar.openUserEnteredAndFinish()

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cpeterson, Unassigned)

References

Details

I randomly hit this StrictMode warning when launching Fennec on my Galaxy Nexus:

StrictMode policy violation; ~duration=454 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=23 violation=2
	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:745)
	at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1486)
	at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:330)
	at org.mozilla.fennec_cpeterson.db.BrowserProvider.query(BrowserProvider.java:1254)
	at android.content.ContentProvider$Transport.query(ContentProvider.java:187)
	at android.content.ContentResolver.query(ContentResolver.java:262)
	at org.mozilla.gecko.db.LocalBrowserDB.getUrlForKeyword(LocalBrowserDB.java:424)
	at org.mozilla.gecko.db.BrowserDB.getUrlForKeyword(BrowserDB.java:158)
	at org.mozilla.gecko.AwesomeBar.openUserEnteredAndFinish(AwesomeBar.java:352)
	at org.mozilla.gecko.AwesomeBar.access$300(AwesomeBar.java:88)
	at org.mozilla.gecko.AwesomeBar$5.onKey(AwesomeBar.java:230)
	at android.view.View.dispatchKeyEvent(View.java:3903)
	at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
	at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
	at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
	at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:789)
	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1742)
	at com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1147)
	at android.app.Activity.dispatchKeyEvent(Activity.java:2079)
	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1714)
	at android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2641)
	at android.view.ViewRoot.handleMessage(ViewRoot.java:2032)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:130)
	at android.app.ActivityThread.main(ActivityThread.java:3691)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
	at dalvik.system.NativeStart.main(Native Method)
on the panda boards, I see this on the robocop test for testBookmarklets.  This happens when we send the enter key.
Component: General → Awesomescreen
Hardware: ARM → All
Hardware: All → ARM
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.