Closed Bug 1413242 Opened 7 years ago Closed 7 years ago

Crash in java.lang.NullPointerException: NativeException NullHandle() [with T = nsWindow::GeckoViewSupport] at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)

Categories

(Core Graveyard :: Widget: Android, defect, P1)

57 Branch
Unspecified
Android
defect

Tracking

(fennec+, firefox56 wontfix, firefox57 wontfix, firefox58 affected)

RESOLVED WORKSFORME
Tracking Status
fennec + ---
firefox56 --- wontfix
firefox57 --- wontfix
firefox58 --- affected

People

(Reporter: marcia, Assigned: jchen)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file, 1 obsolete file)

This bug was filed from the Socorro interface and is 
report bp-b7a63426-2a08-4b96-a1e0-06cf90171031.
=============================================================

Seen while looking at Beta crash stats: http://bit.ly/2iQgsWR. Crashes started using 56 and have continued into 57. 58 is also affected.

Code was touched in Bug 1382861 back in the 56 timeframe. ni on :jchen for some insight
Flags: needinfo?(nchen)
Also NI James, Nicole for triaging and investigation help. Thanks guys!
Flags: needinfo?(snorp)
Flags: needinfo?(nyee)
Assignee: nobody → nchen
Status: NEW → ASSIGNED
Depends on: 1413698
Flags: needinfo?(nchen)
Set the GeckoView window to null after closing it so we don't try to
reuse it again.

I think we only need this for 57 Beta, because bug 1413698 will address this
issue for 58.
Attachment #8924666 - Flags: review?(snorp)
tracking-fennec: --- → +
Flags: needinfo?(snorp)
Priority: -- → P1
Attachment #8924666 - Flags: review?(snorp) → review+
Hey Ritu,

Looks like we are able to fix this for 57.
Flags: needinfo?(nyee)
Comment on attachment 8924666 [details] [diff] [review]
Set window to null after closing (v1)

Approval Request Comment
[Feature/Bug causing the regression]: N/A
[User impact if declined]: Possible random crashes when using Fennec
[Is this code covered by automated tests?]: No
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: Very little
[Why is the change risky/not risky?]: This is a speculative fix, but it shouldn't have any negative impact even if it does not work.
[String changes made/needed]: None
Attachment #8924666 - Flags: approval-mozilla-beta?
~580 crashes/week on Fennec 56 release, to give an idea of the scale of the issue. Wontfix for 56.
Low volume crash on 57 beta, too late to fix for 57. We could still take a fix for 58, though.
Comment on attachment 8924666 [details] [diff] [review]
Set window to null after closing (v1)

I don't believe the crash volume here justifies this for Fennec RC
Attachment #8924666 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Jim can we land this is 58 please.
Flags: needinfo?(nchen)
I think bug 1413698 fixes this bug for 58.
Flags: needinfo?(nchen)
Jim can we verify that Bug 1413698 fixes this bug then close out this bug?
Flags: needinfo?(nchen)
Right now it's hard to say. We'll have to keep an eye on future crashes.
Flags: needinfo?(nchen)
No crash on 59 so far.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Attachment #8941208 - Flags: review?(snorp)
Attachment #8941208 - Attachment is obsolete: true
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: