Showing questions for topic:
Showing questions tagged:

Firefox keeps crashing on Xiaomi phone

Hello, I've noticed that recently that Firefox seems to repeatedly crash on my Xiaomi phone quite frequently. It's a Xiaomi 15 Pro on HyperOS 3.0.7.0, and here are some o… (read more)

Hello,

I've noticed that recently that Firefox seems to repeatedly crash on my Xiaomi phone quite frequently. It's a Xiaomi 15 Pro on HyperOS 3.0.7.0, and here are some of the crash reports:

cde527a0-cc83-48d3-903f-951ad3d8e7e1 java.lang.OutOfMemoryError: Failed to allocate a 113430304 byte allocation with 33554432 free bytes and 97MB until OOM, target footprint 199480736, growth limit 268435456


java.lang.OutOfMemoryError: Failed to allocate a 113430304 byte allocation with 33554432 free bytes and 97MB until OOM, target footprint 199480736, growth limit 268435456

   at java.util.Arrays.copyOf(Arrays.java:3785)
   at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:211)
   at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:24)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invokeSuspend(ImageLoader.kt:70)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invoke(ImageLoader.kt:13)
   at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:19)
   at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:78)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$load$bitmap$1.invokeSuspend(ImageLoader.kt:53)
   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:122)
   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:94)
   Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@bf8206, androidx.compose.runtime.BroadcastFrameClock@1cc60c7, StandaloneCoroutine{Cancelling}@a6c06f4, AndroidUiDispatcher@ed57e1d]


e0d3fa76-8868-48e4-8d6e-f66671ba8b50 java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 33554432 free bytes and 120MB until OOM, target footprint 176034208, growth limit 268435456


java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 33554432 free bytes and 120MB until OOM, target footprint 176034208, growth limit 268435456

   at java.util.Arrays.copyOf(Arrays.java:3785)
   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:19)
   at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:21)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invokeSuspend(ImageLoader.kt:70)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invoke(ImageLoader.kt:13)
   at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:19)
   at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:78)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$load$bitmap$1.invokeSuspend(ImageLoader.kt:53)
   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:122)
   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:94)
   Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@f557b89, androidx.compose.runtime.BroadcastFrameClock@7ff878e, StandaloneCoroutine{Cancelling}@8ee2baf, AndroidUiDispatcher@7121bbc]


94125fa2-317a-47de-a689-dc7d3fa5f15e java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 31855720 free bytes and 30MB until OOM, target footprint 268435456, growth limit 268435456


java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 31855720 free bytes and 30MB until OOM, target footprint 268435456, growth limit 268435456

   at java.util.Arrays.copyOf(Arrays.java:3785)
   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:19)
   at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:21)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invokeSuspend(ImageLoader.kt:70)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invoke(ImageLoader.kt:13)
   at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:19)
   at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:78)
   at mozilla.components.support.images.compose.loader.ImageLoaderKt$load$bitmap$1.invokeSuspend(ImageLoader.kt:53)
   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:122)
   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:94)
   Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@5cc155a, androidx.compose.runtime.BroadcastFrameClock@402b38b, StandaloneCoroutine{Cancelling}@5cfc68, AndroidUiDispatcher@cef5881]


   c31407a8-aa18-4415-839b-a5323a693c3d
   java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 57411112 free bytes and 54MB until OOM, target footprint 268435456, growth limit 268435456
   ----
   java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 57411112 free bytes and 54MB until OOM, target footprint 268435456, growth limit 268435456
       at java.util.Arrays.copyOf(Arrays.java:3785)
       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:19)
       at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:21)
       at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invokeSuspend(ImageLoader.kt:70)
       at mozilla.components.support.images.compose.loader.ImageLoaderKt$fetchAndDecode$2.invoke(ImageLoader.kt:13)
       at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:19)
       at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:78)
       at mozilla.components.support.images.compose.loader.ImageLoaderKt$load$bitmap$1.invokeSuspend(ImageLoader.kt:53)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:122)
       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:94)
       Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@46e4c17, androidx.compose.runtime.BroadcastFrameClock@eef9804, StandaloneCoroutine{Cancelling}@36d21ed, AndroidUiDispatcher@1bd822]
Open 3 99