Closed Bug 1508641 Opened 6 years ago Closed 3 years ago

Crash in java.lang.OutOfMemoryError: at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)

Categories

(Firefox for Android Graveyard :: General, defect, P3)

Unspecified
Android
defect

Tracking

(firefox-esr60 unaffected, firefox63 wontfix, firefox64+ wontfix, firefox65 wontfix, firefox66 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr60 --- unaffected
firefox63 --- wontfix
firefox64 + wontfix
firefox65 --- wontfix
firefox66 --- wontfix

People

(Reporter: marcia, Unassigned)

References

Details

(Keywords: crash, regression)

Crash Data

This bug was filed from the Socorro interface and is
report bp-1c736932-a5bc-407a-88f8-fc04c0181119.
=============================================================

Seen while looking at 64 crash stats: https://bit.ly/2DCcARJ. Although present on release, 64.0b9 crash rate seems to be increasing and is approaching the same number of crashes as 63.0.2 release. APIs from 28 down to 19 are affected. Pixel 2 and Pixel 2 XL devices are in the affected list. 65 does not appear to be affected.

ni on Eitan as I think he is doing some work in 65 in this area. Maybe nothing we can do about it because it is an OOM?

There seems to be some accessibility signatures in the stack:

mozilla::a11y::AccessibleWrap::CreateBundle(int, mozilla::a11y::roles::Role, unsigned long long, nsTString<char16_t> const&, nsTString<char16_t> const&, nsTString<char16_t> const&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, double, double, double, double, nsIPersistentProperties*, nsTArray<int> const&) const 	accessible/android/AccessibleWrap.cpp:349
5 	libxul.so 	mozilla::a11y::AccessibleWrap::ToBundle() 	accessible/android/AccessibleWrap.cpp:534
6 	libxul.so 	mozilla::a11y::SessionAccessibility::SendWindowContentChangedEvent(mozilla::a11y::AccessibleWrap*) 	accessible/android/SessionAccessibility.cpp:213
7 	libxul.so 	mozilla::a11y::AccessibleWrap::HandleAccEvent(mozilla::a11y::AccEvent*) 	accessible/android/AccessibleWrap.cpp:146
8 	libxul.so 	nsEventShell::FireEvent(mozilla::a11y::AccEvent*) 	accessible/base/nsEventShell.cpp:46
9 	libxul.so 	mozilla::a11y::NotificationController::ProcessMutationEvents() 	accessible/base/NotificationController.cpp:588
10 	libxul.so 	mozilla::a11y::NotificationController::WillRefresh(mozilla::TimeStamp) 	accessible/base/NotificationController.cpp:877

Java stack trace:

java.lang.OutOfMemoryError
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:499)
Flags: needinfo?(eitan)
Tracking for 64 since the crash rate seems quite high.
Priority: -- → P1
This was fixed in 65 in bug 1501496, and a followup bug 1505515.

From my understanding they will be approved and uplifted.

I'm worried because this might be indicative of a memory leak, but at least for 64 those patches should remedy it.
Flags: needinfo?(eitan)
Depends on: 1501496
On 65 nightly, there were single crashes on the 20, 21 and 23rd builds after the patches landed, but since that build no further crashes. On 64b12, we have 4 crashes so far. We can keep an eye out and see how volume continues in beta.
Looks like volume dropped from 64.0b11 to 64.0b12 and remains low in 64.0b13.  Enough to call this fixed?
Not high volume on release/beta, but probably also for the geckoview team.
Whiteboard: [geckoview]
Priority: P1 → P3
Low volume crash, marking fix-optional to remove this from regression triage. 
Happy to still take a patch in nightly.

There have only been 15 reports from Fennec 65 and 4 from Fennec 66.0a1. I don't think we need to track this for GV.

Whiteboard: [geckoview]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.