startup Crash in [@ java.lang.NoClassDefFoundError: at com.sun.jna.Structure.validateFields(Structure.java)]
Categories
(Focus :: General, defect)
Tracking
(firefox138 unaffected, firefox139+ fixed, firefox140+ fixed)
Tracking | Status | |
---|---|---|
firefox138 | --- | unaffected |
firefox139 | + | fixed |
firefox140 | + | fixed |
People
(Reporter: aryx, Assigned: RyanVM)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
186 crashes from 126 installs of Focus 139.0 on Android 5 and 6 (API versions 21-23).
Crash report: https://crash-stats.mozilla.org/report/index/5104190d-ee64-4457-8d7e-6bd270250522
Top 10 frames:
0 com.sun.jna.Structure validateFields Structure.java:48
1 com.sun.jna.Structure <init> Structure.java:15
2 com.sun.jna.Structure <init> Structure.java:6
3 com.sun.jna.Structure <init> Structure.java:3
4 com.sun.jna.Structure <init> Structure.java:1
5 mozilla.appservices.rust_log_forwarder.UniffiRustCallStatus <init> rust_log_forwarder.kt:1
6 mozilla.appservices.rust_log_forwarder.Rust_log_forwarderKt setLogger rust_log_forwarder.kt:5
7 org.mozilla.focus.FocusApplication onCreate FocusApplication.kt:54
8 android.app.Instrumentation callApplicationOnCreate Instrumentation.java:1014
9 android.app.ActivityThread handleBindApplication ActivityThread.java:4762
Comment 2•3 months ago
•
|
||
I think it might be this one
- 139 upgraded JNA from 5.6.0 to 5.17.0 (PR)
- That issue mentions they dropped support for JDK 6 and 7 in
5.14.0
. Are older android versions on older JDKs? I'm not sure how that works.
Comment 3•3 months ago
|
||
A comment in that issue says "Android has natively supported Java 8 Lambda since Nougat (API 24, Android 7.0).", which seems to line up with this.
Assignee | ||
Comment 4•3 months ago
•
|
||
Ugh, I don't think we can address this in time for 139.0 at this point. AFAICT, our only option is going to be to revert the JNA bump from Glean/AppServices and create dot releases that we can then backport to v139. And we'll be stuck on JNA 5.14.0 until we eventually bump our minimum Android version to 7 or higher.
Assignee | ||
Comment 5•3 months ago
|
||
What I don't understand is why only Focus is hitting this crash.
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Comment 6•3 months ago
|
||
Comment 7•3 months ago
|
||
The bug is marked as tracked for firefox139 (beta) and tracked for firefox140 (nightly). However, the bug still isn't assigned.
:bclark, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Comment 8•3 months ago
|
||
Assignee | ||
Comment 9•3 months ago
|
||
Focus 139.0rc3 (build ID #20250523173407) has been rolling out to the Open Testing track since yesterday and so far there have been no reports from builds newer than 20250519150218. It's looking very promising that the JNA revert resolved this but we can wait another day or two for wider rollout before closing the bug out.
Assignee | ||
Comment 10•3 months ago
|
||
Fixed by the blocking bugs.
Description
•