Open
Bug 1792944
Opened 3 years ago
Updated 3 years ago
DownloadDialogFragment: DiskReadViolation
Categories
(Firefox for Android :: Downloads, defect, P5)
Tracking
()
NEW
People
(Reporter: csadilek, Unassigned)
Details
From github: https://github.com/mozilla-mobile/android-components/issues/7403.
Just got this in Focus. Looks like
DownloadDialogFragmentindirectly does File I/O on the main thread.D StrictMode policy violation; ~duration=75 ms: android.os.strictmode.DiskReadViolation D at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1589) D at libcore.io.BlockGuardOs.access(BlockGuardOs.java:71) D at libcore.io.ForwardingOs.access(ForwardingOs.java:72) D at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:7351) D at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:281) D at java.io.File.exists(File.java:815) D at mozilla.components.support.utils.DownloadUtils.uniqueFileName(DownloadUtils.kt:83) D at mozilla.components.support.utils.DownloadUtils.guessFileName(DownloadUtils.kt:65) D at mozilla.components.feature.downloads.DownloadDialogFragment.setDownload(DownloadDialogFragment.kt:36) D at mozilla.components.feature.downloads.DownloadsFeature.showDialog(DownloadsFeature.kt:183) D at mozilla.components.feature.downloads.DownloadsFeature.processDownload(DownloadsFeature.kt:128) D at mozilla.components.feature.downloads.DownloadsFeature.access$processDownload(DownloadsFeature.kt:56) D at mozilla.components.feature.downloads.DownloadsFeature$onPermissionsResult$1.invoke(DownloadsFeature.kt:164) D at mozilla.components.feature.downloads.DownloadsFeature$onPermissionsResult$1.invoke(DownloadsFeature.kt:56) D at mozilla.components.feature.downloads.DownloadsFeature.withActiveDownload(DownloadsFeature.kt:211) D at mozilla.components.feature.downloads.DownloadsFeature.onPermissionsResult(DownloadsFeature.kt:162) D at org.mozilla.focus.fragment.BrowserFragment.onRequestPermissionsResult(BrowserFragment.kt:608)┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(cpeterson)
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•3 years ago
|
Flags: needinfo?(cpeterson)
Priority: P3 → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•