Closed Bug 1910373 Opened 1 year ago Closed 1 year ago

Crash in [@ java.lang.NullPointerException: at mozilla.components.feature.prompts.PromptFeature$onCancel$1.invoke(PromptFeature.kt)]

Categories

(Firefox for Android :: Browser Engine, defect)

Unspecified
Android
defect

Tracking

()

VERIFIED FIXED
130 Branch
Tracking Status
firefox128 --- unaffected
firefox129 + verified
firefox130 + verified

People

(Reporter: dmeehan, Assigned: amejia)

References

(Regression)

Details

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

Crash Data

Attachments

(3 files)

Crash report: https://crash-stats.mozilla.org/report/index/65f81f62-3edc-4ab5-a6e3-563ec0240729

Top 10 frames:

0  mozilla.components.feature.prompts.PromptFeature$onCancel$1  invoke  PromptFeature.kt:53
1  mozilla.components.feature.prompts.PromptFeatureKt  consumePromptFrom  PromptFeature.kt:68
2  mozilla.components.feature.prompts.PromptFeature  onCancel  PromptFeature.kt:20
3  mozilla.components.feature.prompts.PromptFeature$start$1$3  emit  PromptFeature.kt:293
4  mozilla.components.support.ktx.kotlinx.coroutines.flow.FlowKt$ifAnyChanged$$i...  emit  Emitters.kt:134
5  mozilla.components.feature.prompts.PromptFeature$start$1$invokeSuspend$$inlin...  emit  Emitters.kt:65
6  kotlinx.coroutines.flow.FlowKt__ChannelsKt  emitAllImpl$FlowKt__ChannelsKt  Channels.kt:129
7  kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1  invokeSuspend  Channels.kt:12
8  kotlin.coroutines.jvm.internal.BaseContinuationImpl  resumeWith  ContinuationImpl.kt:9
9  kotlinx.coroutines.DispatchedTask  run  DispatchedTask.kt:111

Crashes in Fx129 started in 129.0b9

:amejia could you take a look at this?
Bug 1908344 is the only change in 129.0b9 that pops out at me. The crashes in Fx130 line up with when this landed in central.
Could that be the regressor, or is it something else?

Flags: needinfo?(amejiamarmol)

:royang, Arturo might be out this week based on his Slack status. If so, could you take a look?

Flags: needinfo?(royang)

I was on PTO on Friday, taking a look!

Assignee: nobody → amejiamarmol
Flags: needinfo?(royang)
Flags: needinfo?(amejiamarmol)
Whiteboard: [fxdroid]

The Bugbug bot thinks this bug should belong to the 'Fenix::Browser Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Browser Engine
Keywords: regression
Regressed by: CVE-2024-7523
Pushed by amejiamarmol@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bf8904513a2 Provide a value for shouldNotShowMoreDialogs when canceling popup r=android-reviewers,Roger
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

The patch landed in nightly and beta is affected.
:amejia, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Attachment #9416785 - Flags: approval-mozilla-release?

release Uplift Approval Request

  • User impact if declined: User will get a crash when entering a page with permission request and popup
  • Code covered by automated testing: no
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Enter a page with a permission request which also has a popup
  • Risk associated with taking this patch: Low
  • Explanation of risk level: The issue case could be only afecting a small portion of users
  • String changes made/needed: n/a
  • Is Android affected?: yes
Flags: qe-verify+
Attached file poc.html

For simulating the crash this example file can be used.

Flags: needinfo?(amejiamarmol)
Attachment #9416785 - Flags: approval-mozilla-release? → approval-mozilla-release+

This issue is verified as fixed on Firefox Nightly 130 (2024-07-02) and Firefox RC 129 build 2 using a Lenovo Tab P11 Pro with Android 13, Samsung S24 with Android 14 and Google Pixel 8 with Android 14. The app didn't crashed using the link provided in Comment 11 neither during the regression session. Marking as Verified.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: