Closed Bug 1529585 Opened 5 years ago Closed 3 years ago

Crash in [@ java.lang.IllegalArgumentException: at android.content.ContentResolver.delete(ContentResolver.java)]

Categories

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

defect

Tracking

(firefox65 wontfix, firefox66 wontfix, firefox67 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- affected

People

(Reporter: marcia, Unassigned)

Details

(Keywords: crash)

Crash Data

This bug is for crash report bp-eaf740ab-ead8-4126-adc6-a4a710190221.

Seen while looking at release crash stats: https://bit.ly/2tFDoKF. #25 overall on 65.0.1

Crash happens on 65/66 but no crashes seen on 67. (92.03% in signature vs 57.47% overall) moz_crash_reason = null

Fairly wide variety of phones and APIs are involved, although 30% are API 28 ((30.51% in signature vs 06.29% overall) android_version = 28 (REL)). Comments are not useful.

Java stack trace:

java.lang.IllegalArgumentException
	at android.content.ContentResolver.delete(ContentResolver.java:1790)
	at org.mozilla.gecko.db.LocalBrowserDB.expireHistory(LocalBrowserDB.java:848)
	at org.mozilla.gecko.GeckoApplication$1.run(GeckoApplication.java:205)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:43)
Unredacted stack:

java.lang.IllegalArgumentException: Unknown URL content://org.mozilla.firefox.db.browser/history/old?profile=default&priority=NORMAL
at android.content.ContentResolver.delete(ContentResolver.java:1790)
at org.mozilla.gecko.db.LocalBrowserDB.expireHistory(LocalBrowserDB.java:848)
at org.mozilla.gecko.GeckoApplication$1.run(GeckoApplication.java:205)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:43)

The OnePlus5 and OnePlus5T make up ~20% of affected devices.

Sorina, can you or your team try to reproduce the crash if you have a OnePlus5?

Flags: needinfo?(sorina.florean)
Priority: -- → P2

Vlad mentions that this may have something to do with profiles.

Investigated on 66.0b11 and 65.0.1 with OnePlus 5T(Android 9) and couldn't reproduce the crash. Steps performed: fresh install, login into Facebook (there were 2 comments), visited sites, switched to guest session, downloaded and deleted files. I've also talked with Vlad to give me a hint and these days I'll come back with the results. I'll keep the needinfo.

Tested again and still couldn't reproduce the crash on OnePLus. Talked with Vlad and the extra steps were putting the app in the background using different scenarios with default profile.

Flags: needinfo?(sorina.florean)
Assignee: nobody → brad.arant

Brought this through debug and the URL which shows as invalid is the typical user URL and I cannot recreate the error even when I tweak the URL. Also, the remaining parameters are NULL so they should not be the issue either.

Is this still a wontfix or should it be a worksforme?

Sorina, Is it possible to recreate this on latest build and report the stack trace for any new information?

(In reply to Brad Arant from comment #8)

Sorina, Is it possible to recreate this on latest build and report the stack trace for any new information?

Tested on the latest Nightly build with OnePlus device and couldn't reproduce the issue following the possible scenarios posted here.

Assignee: brad.arant → nobody
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.