Closed Bug 1840663 Opened 2 years ago Closed 1 year ago

AddonManagerException Crash in [@ java.net.SocketTimeoutException: at mozilla.components.browser.engine.gecko.fetch.GeckoViewFetchClient.fetch(GeckoViewFetchClient.kt)]

Categories

(GeckoView :: Extensions, defect, P2)

All
Android
defect

Tracking

(firefox117 wontfix, firefox118 wontfix, firefox119 wontfix)

RESOLVED FIXED
Tracking Status
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- wontfix

People

(Reporter: aaronmt, Unassigned)

References

Details

(Keywords: crash, regression, Whiteboard: [robo-test] [fxdroid] [addons-jira][foundation])

Crash Data

Device: Robo test, Pixel 3, API Level 28
Matrix: Link
Logcat: Link
Crawl graph: Link

mozilla.components.feature.addons.AddonManagerException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@1c0ed7b
     FATAL EXCEPTION: main
Process: org.mozilla.fenix.debug, PID: 17615
mozilla.components.feature.addons.AddonManagerException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@1c0ed7b
	at mozilla.components.feature.addons.AddonManager.getAddons(AddonManager.kt:123)
	at mozilla.components.feature.addons.AddonManager$getAddons$1.invokeSuspend(Unknown Source:15)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@9cc90f5, Dispatchers.Main]
Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@1c0ed7b

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

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Severity: -- → S3
Flags: needinfo?(amejiamarmol)
Priority: -- → P3

Crash in [@ mozilla.components.feature.addons.AddonManagerException: at mozilla.components.feature.addons.AddonManager.getAddons (AddonManager.kt:683)]

I don't see this crash signature in Socorro, but it's Firefox 117's #3 top crash in the Google Play console:

https://play.google.com/console/u/0/developers/7083182635971239206/app/4972519468758466290/vitals/crashes/091ce082cce1d9b9294b110e8608517d/details?days=28

Exception mozilla.components.feature.addons.AddonManagerException:
  at mozilla.components.feature.addons.AddonManager.getAddons (AddonManager.kt:683)
  at mozilla.components.feature.addons.AddonManager$getAddons$1.invokeSuspend (AddonManager.kt:13)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:9)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:104)
  at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.kt:4)
  at kotlinx.coroutines.scheduling.TaskImpl.run (Tasks.kt:3)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:96)
Severity: S3 → --
Crash Signature: [@ mozilla.components.feature.addons.AddonManagerException: at mozilla.components.feature.addons.AddonManager.getAddons(AddonManager.kt:123)] [@ mozilla.components.feature.addons.AddonManagerException: at mozilla.components.feature.addons.AddonManager.ge…
Priority: P3 → --
Whiteboard: robo-test → [robo-test] [fxdroid] [addons-jira]
Summary: Crash in [ @ mozilla.components.feature.addons.AddonManager.getAddons(AddonManager.kt:123)] → Crash in [@ mozilla.components.feature.addons.AddonManagerException: at mozilla.components.feature.addons.AddonManager.getAddons (AddonManager.kt:683)]

Based on the Google Play crash reports, I think this crash is a regression in 116. Also, Aaron filed this test crash bug during the Nightly 116 cycle, so I assume the crashing test build was from Nightly 116.

Duplicate of this bug: 1846573

I don't see this crash signature in Socorro, but it's Firefox 117's #3 top crash in the Google Play console:

I found these crash reports in Soccoro. They have a different crash signature because the original exception is rethrown:

[@ java.net.SocketTimeoutException: at mozilla.components.browser.engine.gecko.fetch.GeckoViewFetchClient.fetch(GeckoViewFetchClient.kt) ]

Crash report: https://crash-stats.mozilla.org/report/index/dfbde94a-ce23-4807-9538-26e270230917

Exception: mozilla.components.feature.addons.AddonManagerException
Message: java.net.SocketTimeoutException

Frame   Module  Function  Source  In app?
0   mozilla.components.feature.addons.AddonManager  getAddons   AddonManager.kt:683
1   mozilla.components.feature.addons.AddonManager  getAddons$default   AddonManager.kt:13
2   org.mozilla.fenix.ext.AddonManagerKt  getFenixAddons  AddonManager.kt:54
3   org.mozilla.fenix.browser.BaseBrowserFragment$provideAddons$2   invokeSuspend   BaseBrowserFragment.kt:41
4   kotlin.coroutines.jvm.internal.BaseContinuationImpl   resumeWith  ContinuationImpl.kt:9
5   kotlinx.coroutines.DispatchedTask   run   DispatchedTask.kt:112
6   kotlinx.coroutines.internal.LimitedDispatcher$Worker  run   LimitedDispatcher.kt:4
7   kotlinx.coroutines.scheduling.TaskImpl  run   Tasks.kt:3
8   kotlinx.coroutines.scheduling.CoroutineScheduler$Worker   run   CoroutineScheduler.kt:96
Crash Signature: mozilla.components.feature.addons.AddonManager.getAddons (AddonManager.kt:683)] → mozilla.components.feature.addons.AddonManager.getAddons (AddonManager.kt:683)] [@ java.net.SocketTimeoutException: at mozilla.components.browser.engine.gecko.fetch.GeckoViewFetchClient.fetch(GeckoViewFetchClient.kt)]
Summary: Crash in [@ mozilla.components.feature.addons.AddonManagerException: at mozilla.components.feature.addons.AddonManager.getAddons (AddonManager.kt:683)] → AddonManagerException Crash in [@ java.net.SocketTimeoutException: at mozilla.components.browser.engine.gecko.fetch.GeckoViewFetchClient.fetch(GeckoViewFetchClient.kt)]
Severity: -- → S3
Priority: -- → P2
Whiteboard: [robo-test] [fxdroid] [addons-jira] → [robo-test] [fxdroid] [addons-jira][foundation]

The severity field for this bug is set to S3. However, the following bug duplicate has higher severity:

:amejia, could you consider increasing the severity of this bug to S2?

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Severity: S3 → S2
Flags: needinfo?(amejiamarmol)

Since the crash volume is low (less than 15 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit BugBot documentation.

Severity: S2 → S3

Already addressed, reports should be coming only from older versions

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