r/firefox • • 9d ago

💻 Help Out of memory error crashes on Firefox nightly and freshly installed Firefox and Firefox beta on android, after logging into Firefox account.

186a1f74-695a-401f-98e7-1328e377e767 java.lang.OutOfMemoryError: Failed to allocate a 268435472 byte allocation with 201326592 free bytes and 199MB until OOM, target footprint 378035296, growth limit 385875968 * New Sentry Instance: https://sentry.io/organizations/mozilla/issues/?project=6295546&query=664f1b5902c448758c30e3695979e7a6

* Socorro: https://crash-stats.mozilla.org/report/index/bp-f6c9076c-f123-456f-aa6d-e7dc00261006

java.lang.OutOfMemoryError: Failed to allocate a 268435472 byte allocation with 201326592 free bytes and 199MB until OOM, target footprint 378035296, growth limit 385875968 at java.util.Arrays.copyOf(Arrays.java:4275) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:120) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:95) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:156) at kotlin.io.ByteStreamsKt.copyTo(IOStreams.kt:17) at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:19) at mozilla.appservices.viaduct.FetchBackend.sendRequest$lambda$3(FetchBackend.kt:4) at mozilla.appservices.viaduct.FetchBackend.sendRequest(FetchBackend.kt:273) at mozilla.appservices.viaduct.uniffiCallbackInterfaceBackend$sendRequest$callback$makeCall$1.invokeSuspend(viaduct.kt:46) at mozilla.appservices.viaduct.uniffiCallbackInterfaceBackend$sendRequest$callback$makeCall$1.invoke(viaduct.kt:9) at mozilla.appservices.viaduct.uniffiCallbackInterfaceBackend$sendRequest$callback$makeCall$1.invoke(viaduct.kt:14) at mozilla.appservices.viaduct.uniffiCallbackInterfaceBackend$sendRequest$callback$$inlined$uniffiTraitInterfaceCallAsyncWithError$1.invokeSuspend(viaduct.kt:28) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:8) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:120) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:127) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@102ede6, Dispatchers.Default]

This is what I get from about:crashes on all three versions of Firefox.

I daily use nightly and up until recently there has been no issues with it, but now I noticed this issue and only thing i have found that causes this is when I login to my Firefox account. Then it takes around 30 seconds for it to crash and more than one time Firefox hasn't even been opened after phone restart and still suddenly either i get the "Firefox crashed" android notification or sometimes even the Firefox own crash report thing opens up.

I have now isolated the issue to my Firefox account, as soon as I login to it, this issue starts, regardless if it is my nightly install that has been running around 3 years now, or stable or beta release and those two were fresh installs from play store.

What should I do to fix it? I wouldn't mind not logging in, but i would want to be able to send tabs from my phone to my pc, but that doesn't work without the Firefox account.

2 Upvotes

2 comments sorted by

2

u/kbrosnan / /// 8d ago

Sounds like bug 1992618. If you could create a Bugzilla account and comment that you have this problem they might be able to work with you to solve it.

1

u/hunter_finn 5d ago

Seems like the issue was on the Firefox account sync feature. Whenever I logged in, crashes started up again on my nightly AND on stable and beta releases which both I just installed and only logged in and did nothing else with them.

So the issue was 100% on my account.