Closed Bug 1476716 Opened 6 years ago Closed 6 years ago

Crash in java.lang.SecurityException: COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead at android.app.DownloadManager$CursorTranslator.getString(DownloadManager.java)

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
critical

Tracking

(firefox61 unaffected, firefox62 unaffected, firefox63 verified)

VERIFIED FIXED
Firefox 63
Tracking Status
firefox61 --- unaffected
firefox62 --- unaffected
firefox63 --- verified

People

(Reporter: marcia, Assigned: petru)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is
report bp-3b43d4db-7fb6-4d34-bf09-6b25b0180718.
=============================================================

Possible regression from Bug 1407046: https://bit.ly/2JxesdK. The crash started in Build 20180717100050.

Java stack trace:

java.lang.SecurityException: COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead
	at android.app.DownloadManager$CursorTranslator.getString(DownloadManager.java:1810)
	at org.mozilla.gecko.DownloadsIntegration$Download.fromCursor(DownloadsIntegration.java:75)
	at org.mozilla.gecko.DownloadsIntegration.removeDownload(DownloadsIntegration.java:206)
	at org.mozilla.gecko.DownloadsIntegration.handleMessage(DownloadsIntegration.java:96)
	at org.mozilla.gecko.EventDispatcher$2.run(EventDispatcher.java:344)
	at android.os.Handler.handleCallback(Handler.java:790)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:164)
	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:43)
Probably bug 1473872, actually.
Hardware: Unspecified → All
Assignee: nobody → petru.lingurar
Status: NEW → ASSIGNED
Reproduced this crash by deleting a bookmark from about:downloads on Nightly 07/19.
Devices:
Samsung Galaxy S8 (Android 8.0)
Nokia 6 (Android 7.1.1)
Huawei Nexus 6P (Android 8.1.0)

Not reproducing on: 
HTC Desire 820 (Android 6.0.1)
*deleting a download from about:downloads, of course. Sorry for the confusion.
Attachment #8993376 - Flags: review?(sdaswani) → review?(nchen)
Comment on attachment 8993376 [details]
Bug 1476716 - Use DownloadManager.COLUMN_LOCAL_URI to query downloads;

https://reviewboard.mozilla.org/r/258154/#review265246
Attachment #8993376 - Flags: review?(nchen) → review+
Keywords: checkin-needed
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0eac2c4ac99c
Use DownloadManager.COLUMN_LOCAL_URI to query downloads; r=jchen
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0eac2c4ac99c
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Verified as fixed on Nightly 07/20.
Devices:
Google Pixel (Android P beta)
Samsung Galaxy S8 (Android 8.0)
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: