Crash in [@ java.lang.NullPointerException: at org.mozilla.geckoview.ContentInputStream.isReadable(ContentInputStream.java)]
Categories
(GeckoView :: PDF Viewer, defect, P1)
Tracking
(firefox123 wontfix, firefox124 fixed, firefox125 fixed)
People
(Reporter: cpeterson, Assigned: calixte)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-release+
|
Details | Review |
https://crash-stats.mozilla.org/report/index/b2d7eb9b-64f8-4dde-ae90-d1b520240205
This crash looks like a regression in 122.
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.content.res.AssetFileDescriptor.close()' on a null object reference
at org.mozilla.geckoview.ContentInputStream.isReadable(ContentInputStream.java:37)
at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:611)
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:owlish, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•1 year ago
|
||
I think ContentIntputStream is currently only(?) used for reading content URI PDFs to show in the PDF viewer.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Comment 6•1 year ago
|
||
The patch landed in nightly and beta is affected.
:calixte, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox124towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 7•1 year ago
|
||
Comment on attachment 9390596 [details]
Bug 1881927 - Don't crash when the file descriptor for a content:// uri is null r=#geckoview-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: Some users could have some crash when they try to open a pdf from another app
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small change which adds a null check
- String changes made/needed:
- Is Android affected?: Yes
Comment 8•1 year ago
|
||
Comment on attachment 9390596 [details]
Bug 1881927 - Don't crash when the file descriptor for a content:// uri is null r=#geckoview-reviewers
Approved for 124.0.2 dot release
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•