Closed Bug 1836432 Opened 2 years ago Closed 2 years ago

Crash in [@ java.lang.OutOfMemoryError] by GeckoAppShell.getDNSDomains

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect

Tracking

(firefox114 wontfix, firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox114 --- wontfix
firefox115 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

GeckoAppShell.getDNSDomains should use exceptionMode = nsresult since nsAndroidNetworkLinkService::GetDnsSuffixList can return nsresult.


Crash report: https://crash-stats.mozilla.org/report/index/1e376190-b75a-4798-9c52-f4eb00230602

Java stack trace:

java.lang.OutOfMemoryError

Summary: Crash in [@ java.lang.OutOfMemoryError] → Crash in [@ java.lang.OutOfMemoryError] by GeckoAppShell.getDNSDomains

There is some OOM errors by GeckoAppShell.getDNSDomains. Since
nsAndroidNetworkLinkService::GetDnsSuffixList can returns nsresult, we
should return error instead of crash.

Crash Signature: [@ java.lang.OutOfMemoryError] → [@ java.lang.OutOfMemoryError] [@ mozilla::jni::Accessor::EndAccess<T>]
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/c77b553a85b1 Use nsresult exception mode for GeckoAppShell.getDNSDomains. r=geckoview-reviewers,necko-reviewers,valentin,ohall
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Regressions: 1802843
No longer regressions: 1802843
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: