Closed Bug 1499618 Opened 3 years ago Closed 3 years ago

Crash in java.lang.IllegalArgumentException: at android.database.AbstractCursor.getColumnIndexOrThrow(


(Firefox for Android Graveyard :: General, defect, P1)

Firefox 64


(firefox-esr60 unaffected, firefox62 unaffected, firefox63 unaffected, firefox64 disabled, firefox65 fixed)

Firefox 65
Tracking Status
firefox-esr60 --- unaffected
firefox62 --- unaffected
firefox63 --- unaffected
firefox64 --- disabled
firefox65 --- fixed


(Reporter: calixte, Assigned: andrei.a.lazar)


(Blocks 1 open bug)


(Keywords: crash, regression, topcrash, Whiteboard: --do_not_change--[priority:high])

Crash Data


(1 file)

This bug was filed from the Socorro interface and is
report bp-3bf6035f-60da-4df1-863f-72d990181017.

Java stack trace:

	at android.database.AbstractCursor.getColumnIndexOrThrow(
	at android.database.CursorWrapper.getColumnIndexOrThrow(
	at org.mozilla.gecko.util.ContentUriUtils.getDataColumn(
	at org.mozilla.gecko.util.ContentUriUtils.getPath(
	at org.mozilla.gecko.util.FileUtils.getFilePathFromUri(
	at org.mozilla.gecko.IntentHelper.openNoHandler(
	at org.mozilla.gecko.IntentHelper.handleMessage(
	at org.mozilla.gecko.EventDispatcher$
	at android.os.Handler.handleCallback(
	at android.os.Handler.dispatchMessage(
	at android.os.Looper.loop(
	at java.lang.reflect.Method.invoke(Native Method)

There are 8 crashes (from 4 installations) in nightly 64 with buildid 20181016100107. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1406903.

Flags: needinfo?(andrei.a.lazar)
Assignee: nobody → andrei.a.lazar
Flags: needinfo?(andrei.a.lazar)
 - Samsung Galaxy S7 (8);
 - Nexus 6P (8.1.0);
 - OnePlus 5T (8.1.0);
 - Nokia 6 (7.1.1);
 - Google Pixel (9);
 - Huawei P9 Lite (6);
 - Huawei MediaPad M2 (5.1.1).


Tested in the following scenarios:
 - Update Nightly using the Play Store and launch;
 - Uninstall and reinstall Nightly from the Play Store;
 - Uninstall and install Nightly from the archive;
 - Steps from Bug 1406903 Comment 0.

In none of these scenarios did Nightly crash on any of the devices I've tested this with. Will continue investigating and come back if anything of relevance pops up.
Hardware: Unspecified → ARM
Whiteboard: --do_not_change--[priority:high]
Added fallback for the cases where trying to obtain a file absolute path from external storage was throwing an exception.
Depends on: 1501688
This is the #3 top crash in Fennec 64b3.
Priority: -- → P1
Maybe we should just backout bug 1406903 from Beta to give this feature one more version to stabilise?
(In reply to Jan Henning [:JanH] from comment #4)
> Maybe we should just backout bug 1406903 from Beta to give this feature one
> more version to stabilise?

Given the fact that we now have two regressions, this bug and Bug 1502721 it might not be a bad idea. Julien - thoughts?
Flags: needinfo?(jcristau)
Sounds reasonable to me.
Flags: needinfo?(jcristau)
See Also: → 1506649
Keywords: checkin-needed
That was an r+ with comments.
Keywords: checkin-needed
Seeing that Andrei is away, until next week, I'll fix them and push this myself.
Flags: needinfo?(jh+bugzilla)
Pushed by
Crash in java.lang.IllegalArgumentException: at android.database.AbstractCursor.getColumnIndexOrThrow( r=JanH
Flags: needinfo?(jh+bugzilla)
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Duplicate of this bug: 1532013
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.