AccountManager call causes StrictMode exception in about:home

RESOLVED FIXED in Firefox 13

Status

()

defect
P3
normal
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: lucasr, Assigned: lucasr)

Tracking

Trunk
Firefox 13
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
02-23 07:23:21.169: DEBUG/StrictMode(2643): StrictMode policy violation; ~duration=600 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=279 violation=2
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:745)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1352)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1242)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1196)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1278)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.accounts.AccountManagerService.getAccountsByType(AccountManagerService.java:373)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.accounts.AccountManagerService.getAccounts(AccountManagerService.java:1255)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.accounts.IAccountManager$Stub.onTransact(IAccountManager.java:94)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.Binder.execTransact(Binder.java:320)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at dalvik.system.NativeStart.run(Native Method)
02-23 07:23:21.169: DEBUG/StrictMode(2643): # via Binder call with stack:
02-23 07:23:21.169: DEBUG/StrictMode(2643): android.os.StrictMode$LogStackTrace
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.StrictMode.readAndHandleBinderCallViolations(StrictMode.java:1059)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.Parcel.readExceptionCode(Parcel.java:1304)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.Parcel.readException(Parcel.java:1273)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.accounts.IAccountManager$Stub$Proxy.getAccounts(IAccountManager.java:475)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.accounts.AccountManager.getAccounts(AccountManager.java:366)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.accounts.AccountManager.addOnAccountsUpdatedListener(AccountManager.java:1735)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at org.mozilla.gecko.AboutHomeContent.init(AboutHomeContent.java:142)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at org.mozilla.gecko.GeckoApp$AboutHomeRunnable.run(GeckoApp.java:1164)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.Handler.handleCallback(Handler.java:587)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.Handler.dispatchMessage(Handler.java:92)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.os.Looper.loop(Looper.java:130)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at android.app.ActivityThread.main(ActivityThread.java:3683)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at java.lang.reflect.Method.invokeNative(Native Method)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at java.lang.reflect.Method.invoke(Method.java:507)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
02-23 07:23:21.169: DEBUG/StrictMode(2643):     at dalvik.system.NativeStart.main(Native Method)
Priority: -- → P3
Attachment #600021 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/489762c61b5e
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
You need to log in before you can comment on or make changes to this bug.