Closed Bug 1639900 Opened 6 years ago Closed 6 years ago

Crash in [@ java.lang.IllegalAccessError: at -$$LambdaGroup$ks$6wlOWxpBX5IB3EKmBlOnnnSy-s4.invoke(com.android.tools.r8.jetbrains.kotlin-style lambda group:2)]

Categories

(Focus :: General, defect)

Unspecified
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Assigned: jonalmeida)

References

Details

(Keywords: crash)

Crash Data

This bug is for crash report bp-4cb713af-1606-4c3b-acd8-3fb960200521.

I have no reason to believe this is actually a security bug, but I don't have any other Focus components to file this under at the moment. From what I can see this kind of crash exists in previous versions too, though the signature changes with every new release. This is the #3 overall topcrash for Focus 8.3.0 at the moment.

Java stack trace:

java.lang.IllegalAccessError
	at -$$LambdaGroup$ks$6wlOWxpBX5IB3EKmBlOnnnSy-s4.invoke(com.android.tools.r8.jetbrains.kotlin-style lambda group:2)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:6)
	at org.mozilla.focus.activity.CustomTabActivity.getCustomTabSession(Unknown Source:7)
	at org.mozilla.focus.activity.CustomTabActivity.access$getCustomTabSession$p(CustomTabActivity.kt:1)
	at -$$LambdaGroup$ks$6wlOWxpBX5IB3EKmBlOnnnSy-s4.invoke(com.android.tools.r8.jetbrains.kotlin-style lambda group:4)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:6)
	at org.mozilla.focus.activity.CustomTabActivity.getCurrentSessionForActivity(Unknown Source:7)
	at org.mozilla.focus.activity.MainActivity.showBrowserScreenForCurrentSession(MainActivity.kt:1)
	at org.mozilla.focus.activity.MainActivity.onCreate(MainActivity.kt:17)
	at org.mozilla.focus.activity.CustomTabActivity.onCreate(CustomTabActivity.kt:7)
	at android.app.Activity.performCreate(Activity.java:7383)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3250)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3405)
	at android.app.ActivityThread.-wrap12(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
	at android.os.Handler.dispatchMessage(Handler.java:108)
	at android.os.Looper.loop(Looper.java:166)
	at android.app.ActivityThread.main(ActivityThread.java:7523)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Version: 5.2 → ---
Crash Signature: [@ java.lang.IllegalAccessError: at -$$LambdaGroup$ks$6wlOWxpBX5IB3EKmBlOnnnSy-s4.invoke(com.android.tools.r8.jetbrains.kotlin-style lambda group:2) ]
Component: Security: Android → Stability

#3 overall topcrash for Focus 8.4.0 at the moment.

I've linked this bug to the original Focus bug that was filed.

This is my proposed patch for the fix which is linked to that issue as well: https://github.com/mozilla-mobile/focus-android/pull/4575

Assignee: nobody → jonalmeida942
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Flags: needinfo?(jonalmeida942)
Resolution: FIXED → ---

So I looked into this and was hoping to have a fix go in with 8.5.1. It seems like the crash signature is similar but it caused from a different entry point now. I'll try to get a fix for it when I can reliably reproduce the issue to ensure my fix works.

Keeping NI till then.

I'm closing this bug to track it on a separate issue since the original STR are no longer reproducing the crash: https://github.com/mozilla-mobile/focus-android/issues/4597

Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Flags: needinfo?(jonalmeida942)
Resolution: --- → MOVED

Given that it's still reporting into Socorro the same way, I think we can leave this open for now with a link to the new issue?

Status: RESOLVED → REOPENED
Resolution: MOVED → ---

Not seeing any new reports with this signature so far with 8.6.2 \m/

Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Component: Stability → General
You need to log in before you can comment on or make changes to this bug.