Closed Bug 1440904 Opened 6 years ago Closed 5 years ago

Crash in java.lang.NullPointerException: NativeException NullHandle() [T = nsWindow::NPZCSupport] at org.mozilla.gecko.gfx.NativePanZoomController.handleMotionEvent(Native Method)

Categories

(GeckoView :: General, defect, P2)

Unspecified
Android
defect

Tracking

(firefox-esr52 unaffected, firefox58 unaffected, firefox59 unaffected, firefox60 wontfix, firefox61 unaffected, firefox64 unaffected, firefox65 unaffected, firefox66 unaffected)

RESOLVED WORKSFORME
Tracking Status
firefox-esr52 --- unaffected
firefox58 --- unaffected
firefox59 --- unaffected
firefox60 --- wontfix
firefox61 --- unaffected
firefox64 --- unaffected
firefox65 --- unaffected
firefox66 --- unaffected

People

(Reporter: calixte, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

This bug was filed from the Socorro interface and is
report bp-25e09ccb-e252-4744-90bd-abb560180224.
=============================================================

java.lang.NullPointerException: NativeException NullHandle() [T = nsWindow::NPZCSupport]
	at org.mozilla.gecko.gfx.NativePanZoomController.handleMotionEvent(Native Method)
	at org.mozilla.gecko.gfx.NativePanZoomController.handleMotionEvent(NativePanZoomController.java:88)
	at org.mozilla.gecko.gfx.NativePanZoomController.onTouchEvent(NativePanZoomController.java:179)
	at org.mozilla.geckoview.GeckoView.onTouchEvent(GeckoView.java:447)
	at android.view.View.dispatchTouchEvent(View.java:10775)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2859)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2535)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2865)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2492)
        ...

=============================================================

There is 1 crash in nightly 60 with buildid 20180223100121. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1432235.

[1] https://hg.mozilla.org/mozilla-central/rev?node=60e0b03bcb63
Flags: needinfo?(esawin)
Flags: needinfo?(bugmail)
I have nothing to contribute here, seems like a Java/JNI issue. Maybe escalate to snorp/jchen if Eugen is non-responsive.
Flags: needinfo?(bugmail)
Bug 1432235 has only moved files around, which is why it's showing up in blame for a lot of unrelated issues.
Flags: needinfo?(esawin)
If this was a pre-existing issue with different filenames it would be good to find the bug for the old version and dupe it to this one, or at least link them somehow.
I don't know of an existing bug and crash-stats isn't being helpful.
Randall, I think you could reproduce this issue?
Flags: needinfo?(rbarker)
(In reply to Eugen Sawin [:esawin] from comment #4)
> I don't know of an existing bug and crash-stats isn't being helpful.
> Randall, I think you could reproduce this issue?

I was getting this crash when the GeckoSession had been closed with closeWindow() but was still receiving touch events.
Flags: needinfo?(rbarker)
Should we be tracking this?
Flags: needinfo?(dbolter)
Milan, yes thanks.
Flags: needinfo?(dbolter)
Resolving as WFM because there have been no crash reports since 60.0.2.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → GeckoView
You need to log in before you can comment on or make changes to this bug.