Closed Bug 1570341 Opened 5 years ago Closed 5 years ago

Crash in java.lang.IllegalStateException: at org.mozilla.geckoview.GeckoView.setSession(SourceFile:349)

Categories

(Firefox for Android Graveyard :: First Run, defect)

Firefox 70
ARM
Android
defect
Not set
normal

Tracking

(firefox70 affected)

RESOLVED DUPLICATE of bug 1570661
Tracking Status
firefox70 --- affected

People

(Reporter: andrei, Unassigned)

Details

Crash Data

Environment:

Device: Samsung Galaxy s10+(Android 9)
Build: Nightly 70.a1

Steps to reproduce:

  1. Launch Fennec while connected to mobile data.
  2. Close Fennec.
  3. Switch from mobile data to Wi-Fi.
  4. Re-launch Fennec.

Expected result:

Fennec opens correctly.

Actual behavior:

Fennec crashes at launch after switching the internet connection from mobile data to Wi-Fi.

Stack Trace:

java.lang.IllegalStateException at org.mozilla.geckoview.GeckoView.setSession(SourceFile:349) at org.mozilla.geckoview.GeckoView.restoreSession(SourceFile:508) at org.mozilla.geckoview.GeckoView.onRestoreInstanceState(SourceFile:499) at android.view.View.dispatchRestoreInstanceState(View.java:20276) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4034) at android.view.View.restoreHierarchyState(View.java:20254) at org.mozilla.gecko.GeckoApp.restoreGeckoViewState(SourceFile:1332) at org.mozilla.gecko.GeckoApp.onRestoreInstanceState(SourceFile:1323) at android.app.Activity.performRestoreInstanceState(Activity.java:1150) at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1317) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3147) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7032) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

Crash Signature: java.lang.IllegalStateException: at org.mozilla.geckoview.GeckoView.setSession(SourceFile:349) → [ @ java.lang.IllegalStateException: at org.mozilla.geckoview.GeckoView.setSession(SourceFile:349) ]
Crash Signature: [ @ java.lang.IllegalStateException: at org.mozilla.geckoview.GeckoView.setSession(SourceFile:349) ] → [@ java.lang.IllegalStateException: at org.mozilla.geckoview.GeckoView.setSession(SourceFile:349)]

Please note that I was able to reproduce this issue only 2 times when launching Fennec, I tried with other devices but I couldn't reproduce it.

I received the same issue when launching Fennec, switching to another app using lots of RAM so Android unloads Fennec, then switching back to Fennec.

Component: General → First Run
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.