Skip to content

App crash when opening big folder #262

Description

@7aMza28

Describe the bug
App crashes when I open a folder that contains a lot of files

To Reproduce
Open a sufficiently big folder (mine had 10,171 items and is 58.8 MB)

Expected behavior
For the folder to open up and show me what's inside

Screenshots
If applicable, add screenshots to help explain your problem.

Log output:
Crash at 1781576263473 (timestamp) in thread named main
Local date and time: Jun 16, 2026 5:17:43 AM
versionName=2.0.1
versionCode=201
BOARD=secret
BOOTLOADER=unknown
BRAND=Redmi
CPU_ABI=arm64-v8a
CPU_ABI2=
DEVICE=secret
DISPLAY=TP1A.220624.014
FINGERPRINT=Redmi/secret_global/secret:13/TP1A.220624.014/V14.0.11.0.TKLMIXM:user/release-keys
HARDWARE=mt6785
HOST=pangu-build-component-system-115492-p5hb9-hn64f-hk4c5
ID=TP1A.220624.014
IS_DEBUGGABLE=false
IS_EMULATOR=false
IS_MIUI=true
MANUFACTURER=Xiaomi
MODEL=M2101K7BG
ODM_SKU=dsds
PERMISSIONS_REVIEW_REQUIRED=true
PRODUCT=secret_global
RADIO=unknown
SERIAL=unknown
SKU=unknown
SOC_MANUFACTURER=Mediatek
SOC_MODEL=MT6785V/CD
SUPPORTED_32_BIT_ABIS=[armeabi-v7a, armeabi]
SUPPORTED_64_BIT_ABIS=[arm64-v8a]
SUPPORTED_ABIS=[arm64-v8a, armeabi-v7a, armeabi]
TAGS=release-keys
TIME=1720520578000
TYPE=user
UNKNOWN=unknown
USER=builder
ACTIVE_CODENAMES=[]
BASE_OS=
CODENAME=REL
INCREMENTAL=V14.0.11.0.TKLMIXM
KNOWN_CODENAMES={HoneycombMr1, HoneycombMr2, Lollipop, Kitkat, Tiramisu, Gingerbread, Cupcake, IceCreamSandwichMr1, JellyBean, IceCreamSandwich, LollipopMr1, M, N, O, P, Q, R, S, Sv2, Base, NMr1, OMr1, JellyBeanMr1, JellyBeanMr2, Donut, Froyo, GingerbreadMr1, EclairMr1, Honeycomb, Eclair01, KitkatWatch, Base11, Eclair}
MEDIA_PERFORMANCE_CLASS=0
PREVIEW_SDK_FINGERPRINT=REL
PREVIEW_SDK_INT=0
RELEASE=13
RELEASE_OR_CODENAME=13
RELEASE_OR_PREVIEW_DISPLAY=13
SDK=33
SDK_INT=33
SECURITY_PATCH=2024-07-01
java.io.FileNotFoundException: files/icons/folder-ngrx-entities.svg
at android.content.res.AssetManager.nativeOpenAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:919)
at android.content.res.AssetManager.open(AssetManager.java:896)
at com.caverock.androidsvg.SVG.getFromAsset(SVG.java:223)
at com.teixeira.vcspace.compose.ui.graphics.SvgKt.rememberSvgAssetImageBitmap(svg.kt:33)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt.FileTreeNodeItem(FileTreeView.kt:173)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt.access$FileTreeNodeItem(FileTreeView.kt:1)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt$FileTreeNodeItem$2$4.invoke(FileTreeView.kt:231)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt$FileTreeNodeItem$2$4.invoke(FileTreeView.kt:228)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:118)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedEnterExitImpl(AnimatedVisibility.kt:771)
at androidx.compose.animation.AnimatedVisibilityKt$AnimatedEnterExitImpl$4.invoke(AnimatedVisibility.kt:27)
at androidx.compose.animation.AnimatedVisibilityKt$AnimatedEnterExitImpl$4.invoke(AnimatedVisibility.kt:8)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2825)
at androidx.compose.runtime.ComposerImpl.skipToGroupEnd(Composer.kt:3139)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedVisibilityImpl(AnimatedVisibility.kt:715)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedVisibility(AnimatedVisibility.kt:282)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt.FileTreeNodeItem(FileTreeView.kt:228)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt.FileTreeNodeItem$lambda$15(FileTreeView.kt:11)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt.$r8$lambda$3WAjf5o614wSqHRL9P_uIxGt3Po(FileTreeView.kt:0)
at com.teixeira.vcspace.compose.ui.filetree.FileTreeViewKt$$ExternalSyntheticLambda2.invoke(D8$$SyntheticClass:0)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2825)
at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:3116)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3607)
at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3552)
at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:948)
at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1206)
at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:132)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:616)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:585)
at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1384)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1394)
at android.view.Choreographer.doCallbacks(Choreographer.java:1013)
at android.view.Choreographer.doFrame(Choreographer.java:904)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1366)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8232)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.runtime.PausableMonotonicFrameClock@225b554, androidx.compose.ui.platform.MotionDurationScaleImpl@a45fcfd, StandaloneCoroutine{Cancelling}@b8ffdf2, AndroidUiDispatcher@6db0c43]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions