Closed Bug 863980 Opened 12 years ago Closed 9 years ago

java.lang.IllegalStateException: Couldn''t read <rc> from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString at org.mozilla.gecko.AllPagesTab.storeFaviconsInMemCache

Categories

(Firefox for Android Graveyard :: General, defect)

19 Branch
All
Android
defect
Not set
critical

Tracking

(firefox20 affected, firefox21 affected, firefox22- affected, firefox23- affected, firefox24 affected)

RESOLVED WORKSFORME
Tracking Status
firefox20 --- affected
firefox21 --- affected
firefox22 - affected
firefox23 - affected
firefox24 --- affected

People

(Reporter: scoobidiver, Unassigned)

Details

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

Crash Data

With combined signatures, it's #26 crasher in 20.0.1, #36 in 21.0b2, and #67 in 22.0a2. It might be a regression from bug 785945. Here is a crash report: bp-15dd2497-a53c-4d5c-80e8-93aac2130419. java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method) at android.database.CursorWindow.getString(CursorWindow.java:442) at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51) at android.database.CursorWrapper.getString(CursorWrapper.java:114) at org.mozilla.gecko.AllPagesTab.storeFaviconsInMemCache(AllPagesTab.java:806) at org.mozilla.gecko.AllPagesTab$8.doInBackground(AllPagesTab.java:833) at org.mozilla.gecko.AllPagesTab$8.doInBackground(AllPagesTab.java:829) at org.mozilla.gecko.util.GeckoAsyncTask$BackgroundTaskRunnable.run(GeckoAsyncTask.java:34) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31) More reports at: https://crash-stats.mozilla.com/query/query?product=FennecAndroid&query_search=signature&query_type=contains&query=Make+sure+the+Cursor+is+initialized+correctly+before+accessing+data+from+it.+at+android.database.CursorWindow.nativeGetString&do_query=1
It's currently #9 top crasher in 21.0 with many duplicates.
It's still #10 top crasher in 21.0 and also #24 in 22.0b1.
It's #8 crasher in 21.0 and #10 in 22.0b4. It still occurs in 24.0a1/20130608: bp-bee894ee-185b-40c0-8d95-f98362130609.
Is this a Firefox 20 regression, device regression, or Android version regression?
(In reply to Alex Keybl [:akeybl] from comment #4) > Is this a Firefox 20 regression, device regression, or Android version > regression? It seems to happen on ICS and above. It's something that has increased slowly across all channels: #8 in 21.0, #21 at the end of 20.0.1, #37 at the end of 19.0.2. #1 at the end of 22.0? I think the cache becomes corrupted while it grows
Crash Signature: , col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method)] → , col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method)] [@ java.lang.IllegalStateException: Couldn''t read row 16, col 0 from CursorWindow.…
This is not currently a 23.0a2 topcrasher, not tracking.
Will wait until it's on Beta to see how it goes.
Hardware: ARM → All
Now that we've shipped beta 1 can we get an update on the volume of this crash?
Flags: needinfo?(twalker)
Flags: needinfo?(scoobidiver)
Looking at the top six signatures from comment 0 I still see crashes in 23b1 though the total number of crashes looks to be around 10 - 15 for those six signatures. Is this lower than the 22 cycle (I suspect it is)?
Flags: needinfo?(twalker)
With every combined signatures, it's #4 top crasher in 22.0, #8 in 23.0b1, and were #14 in 22.0b6 one week ago (Beta and Release populations are different). If you compare two Betas, it's higher in 23.0 than in 22.0.
Flags: needinfo?(scoobidiver)
Adding needsurls and qawanted to start. Next step is to find an engineering owner to take a look at the stack. mfinkle?
Flags: needinfo?(mark.finkle)
Keywords: needURLs, qawanted
QA would like to not use qawanted in conjunction with other specific requests (ie steps-wanted or needURLs). I'm not sure how widely that has been announced, but removing that keyword.
Keywords: qawantedsteps-wanted
just a few urls from crash stats Total Count URL 8 about:home 5 about:blank 3 about:privatebrowsing 1 https://addons.mozilla.org/en-US/android/addon/quitnow/?src=api
Keywords: needURLs
This code is completely rewritten with the new Home page work, scheduled to land in Fx26. Since we have suffered with it this long, I'd rather wait for the new code to land and see what shakes out. The way we are using cursors has changed significantly.
Flags: needinfo?(mark.finkle)
Not tracking for 23 then due to comment 15 - we'll wait it out for the re-worked page.
Not a top crash in 23 and the about:home rewrite will change this a lot.
Keywords: topcrash
Crash Signature: , col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method)] [@ java.lang.IllegalStateException: Couldn''t read row 16, col 0 from CursorWindow.… → , col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method)] [@ java.lang.IllegalStateException: Couldn''t read row 16, col 0 from CursorWindow. …
This went away.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard

Removing steps-wanted keyword because this bug has been resolved.

Keywords: steps-wanted

Removing steps-wanted keyword because this bug has been resolved.

You need to log in before you can comment on or make changes to this bug.