Crash in [@ java.lang.NullPointerException: at org.mozilla.gecko.gfx.SurfaceAllocator.acquireSurface(SurfaceAllocator.java)]
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: RyanVM, Assigned: jnicol)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
|
Details | Review |
Crash report: https://crash-stats.mozilla.org/report/index/24ae9dfd-6ed7-4d9d-8b0a-f3b900220310
Currently the #1 overall topcrash in Fenix 99.0.0-beta.1 and #3 overall for 98.1.1. Regression from bug 1750234 maybe?
Java stack trace:
java.lang.NullPointerException
at org.mozilla.gecko.gfx.SurfaceAllocator.acquireSurface(SurfaceAllocator.java:8)
Reporter | ||
Comment 1•3 years ago
|
||
The timing of these crashes corresponds exactly with bug 1750234.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Ugh, I added some code that uses the object before the null check. Not very clever of me.
Assignee | ||
Comment 3•3 years ago
|
||
This prevents a java NullPointerException when the
RemoteSurfaceAllocator returns a null Surface to the local
SurfaceAllocator instance.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 4•3 years ago
|
||
This is quickly turning into a topcrash for 98. We should keep it on the radar for a dot release.
Assignee | ||
Comment 6•3 years ago
|
||
Comment on attachment 9267322 [details]
Bug 1759045 - Add null check to SurfaceAllocator.acquireSurface. r?agi
Beta/Release Uplift Approval Request
- User impact if declined: Content process crashes on android
- 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): Adds null check before using object. The calling code already handles a null return, this just guards against null before using the object for some recently added code.
- String changes made/needed:
Comment 7•3 years ago
|
||
bugherder |
Comment 8•3 years ago
|
||
Comment on attachment 9267322 [details]
Bug 1759045 - Add null check to SurfaceAllocator.acquireSurface. r?agi
Approved for 99.0b3. Thanks.
Comment 9•3 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 10•3 years ago
|
||
Comment on attachment 9267322 [details]
Bug 1759045 - Add null check to SurfaceAllocator.acquireSurface. r?agi
Approved for Fenix/Focus 98.3.0.
Reporter | ||
Comment 11•3 years ago
|
||
bugherder uplift |
Description
•