crash in java.lang.UnsupportedOperationException: JNI Function called before it was loaded at org.mozilla.gecko.gfx.NativePanZoomController.getOverScrollMode(Native Method)

RESOLVED FIXED in Firefox 45

Status

()

Firefox for Android
General
--
critical
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: WG9s, Assigned: kats)

Tracking

({crash, topcrash-android-armv7})

Trunk
Firefox 45
ARM
Android
crash, topcrash-android-armv7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox45 fixed, fennec45+)

Details

(crash signature)

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
This bug was filed from the Socorro interface and is 
report bp-b252670b-b0db-4073-906c-1804f2151202.
=============================================================
(Reporter)

Comment 1

2 years ago
For the past couple of days, I have been getting this crash often upon launch8ing the browser.

I have only had this occur on my Samsung Galaxy tab 2 7.0.  I do not get this issue on my nexus 7 2012.
OS: Unspecified → Android
Hardware: Unspecified → ARM
Version: unspecified → Trunk
(Reporter)

Updated

2 years ago
Keywords: topcrash-android-armv7
Blocks: 1206872
tracking-fennec: --- → ?
Assignee: nobody → bugmail.mozilla
From the crash-stats there's also a lot of crashes with the signature java.lang.UnsupportedOperationException: JNI Function called before it was loaded at org.mozilla.gecko.gfx.NativePanZoomController.handleTouchEvent(Native Method) 

Both of these are happening because native functions are getting called in NativePanZoomController before libxul is loaded, and the function implementations are actually available. We should avoid doing those calls. I'll cook up some patches for this.
Created attachment 8697394 [details] [diff] [review]
Part 1 - Make the overscroll methods non-native

These don't need to be native right now. Maybe not ever.
Attachment #8697394 - Flags: review?(rbarker)
Created attachment 8697397 [details] [diff] [review]
Part 2 - Guard some more native function calls for APZ
Attachment #8697397 - Flags: review?(rbarker)
Attachment #8697394 - Flags: review?(rbarker) → review+
Attachment #8697397 - Flags: review?(rbarker) → review+

Comment 5

2 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/6fb0e753c32b
https://hg.mozilla.org/integration/mozilla-inbound/rev/2bf33b959e6d

Comment 6

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/6fb0e753c32b
https://hg.mozilla.org/mozilla-central/rev/2bf33b959e6d
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox45: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
(Reporter)

Updated

2 years ago
Blocks: 1231915
tracking-fennec: ? → 45+
You need to log in before you can comment on or make changes to this bug.