Closed Bug 1889506 Opened 2 years ago Closed 1 year ago

Crash in [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)] "Can not perform this action after onSaveInstanceState"

Categories

(Firefox for Android :: Tooling, defect, P5)

Unspecified
Android
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox124 --- ?
firefox125 --- ?
firefox126 --- affected
firefox127 --- ?

People

(Reporter: emanuellclaudiu, Unassigned)

References

Details

(Keywords: crash, Whiteboard: [fxdroid][group4])

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/ad1ee803-a3d7-464d-89b2-bf12b0240403

Java stack trace:

org.mozilla.geckoview.GeckoResult$UncaughtException
	at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java:22)
	at org.mozilla.geckoview.GeckoResult.completeExceptionally(GeckoResult.java:13)
	at org.mozilla.geckoview.GeckoResult.lambda$thenInternal$6(GeckoResult.java:64)
	at org.mozilla.geckoview.GeckoResult.$r8$lambda$82f7lYxeXTzVvMgd9wZnqr4Ug34(GeckoResult.java:1)
	at org.mozilla.geckoview.GeckoResult$$ExternalSyntheticLambda6.run(R8$$SyntheticClass:9)
	at org.mozilla.geckoview.GeckoResult.lambda$dispatchLocked$7(GeckoResult.java:17)
	at org.mozilla.geckoview.GeckoResult.$r8$lambda$yJntCkPclvEjORbefoUamzzxHj8(GeckoResult.java:1)
	at org.mozilla.geckoview.GeckoResult$$ExternalSyntheticLambda7.run(R8$$SyntheticClass:3)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:246)
	at android.app.ActivityThread.main(ActivityThread.java:8653)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

This error is reproducible in very large numbers in the last few months.

Flags: needinfo?(cpeterson)

Looks like this crash is in the Firefox Profiler code, so I will move this bug to the "Fenix::Tooling" Bugzilla component.

Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
	at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:38)
	at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:56)
	at androidx.fragment.app.DialogFragment.dismissInternal(DialogFragment.java:110)
	at org.mozilla.fenix.perf.ProfilerStopDialogFragment.dismiss(ProfilerStopDialogFragment.kt:40)
	at org.mozilla.fenix.perf.ProfilerStopDialogFragment.displayToastAndDismiss(ProfilerStopDialogFragment.kt:36)
	at org.mozilla.fenix.perf.ProfilerStopDialogFragment$stopProfiler$1.invoke(ProfilerStopDialogFragment.kt:52)
	at mozilla.components.browser.engine.gecko.profiler.Profiler$$ExternalSyntheticLambda0.onValue(R8$$SyntheticClass:10)
	at org.mozilla.geckoview.GeckoResult.lambda$thenInternal$6(GeckoResult.java:11)
Crash Signature: [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)]
Component: Crash Reporting → Tooling
Flags: needinfo?(cpeterson)
Keywords: crash
Summary: Crash in [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)] → Crash in [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)] "Can not perform this action after onSaveInstanceState"

The severity field is not set for this bug.
:007, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(nbond)
Flags: needinfo?(nbond)

I also saw this error when I went to the Extension Manager and clicked on an extension and clicked on the "Permissions" option and then this error appeared. It seems that this error is more widespread.

Flags: needinfo?(nbond)
Flags: needinfo?(cpeterson)

I have enabled the extension, but as soon as I press the enable button, I very quickly give them the Permissions option and then the error reproduces. It also happens when I disable the extension.

(In reply to eclaudiu64 from comment #5)

I also saw this error when I went to the Extension Manager and clicked on an extension and clicked on the "Permissions" option and then this error appeared. It seems that this error is more widespread.

https://crash-stats.mozilla.org/report/index/0a735efc-0a99-4d0d-ae67-193560240521

(In reply to eclaudiu64 from comment #7)

(In reply to eclaudiu64 from comment #5)

I also saw this error when I went to the Extension Manager and clicked on an extension and clicked on the "Permissions" option and then this error appeared. It seems that this error is more widespread.

https://crash-stats.mozilla.org/report/index/0a735efc-0a99-4d0d-ae67-193560240521

That crash is extension bug 1889807. This bug is about a crash in the Firefox performance profiler. Your new crash stack trace includes org.mozilla.fenix.addons.InstalledAddonDetailsFragment (like bug 1889807), whereas the crash stack trace in this bug's comment 0 includes to org.mozilla.fenix.perf.ProfilerStopDialogFragment.

Flags: needinfo?(nbond)
Flags: needinfo?(cpeterson)

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 AArch64 and ARM crashes on release

:007, could you consider increasing the severity of this top-crash bug?

For more information, please visit BugBot documentation.

Flags: needinfo?(nbond)
Keywords: topcrash

Adding this to my squad's backlog for further triage

Flags: needinfo?(nbond)
Whiteboard: [fxdroid][group4]

Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.

For more information, please visit BugBot documentation.

Keywords: topcrash
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: