alexzhirkevich / compottie

Compose Multiplatform Adobe After Effects Bodymovin (Lottie) animations rendering engine
https://alexzhirkevich.github.io/compottie
MIT License
208 stars 5 forks source link

[Bug]: iOS App Crashes after upgrading to 2.0.0-rc01 #23

Open Vaibhav2002 opened 1 week ago

Vaibhav2002 commented 1 week ago

What happened?

iOS App Crashes on start when upgrading to 2.0.0-rc01

What Compottie version do you experience the bug on?

2.0.0-rc01

What platforms are you seeing the problem on?

iOS

Does Compottie log anythyng to the stdout / your logger set with Compottie.logger?

Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Reference to class 'Uuid' can not be evaluated: No class found for symbol 'kotlin.uuid/Uuid|null[0]'
    at 0   Medial                              0x101a2516b        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 
    at 1   Medial                              0x101a1e483        kfun:kotlin.Error#<init>(kotlin.String?){} + 115 
    at 2   Medial                              0x101a5d843        kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 115 
    at 3   Medial                              0x101a5d8fb        kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 163 
    at 4   Medial                              0x102c7ad8f        kfun:kotlinx.serialization.internal.$init_global#internal.9 + 2735 
    at 5   Medial                              0x101be59f3        CallInitGlobalPossiblyLock + 539 
    at 6   Medial                              0x102c7b76f        kfun:kotlinx.serialization.internal#PrimitiveDescriptorSafe(kotlin.String;kotlinx.serialization.descriptors.PrimitiveKind){}kotlinx.serialization.descriptors.SerialDescriptor + 123 
    at 7   Medial                              0x102c50eef        kfun:kotlinx.serialization.descriptors#PrimitiveSerialDescriptor(kotlin.String;kotlinx.serialization.descriptors.PrimitiveKind){}kotlinx.serialization.descriptors.SerialDescriptor + 367 
    at 8   Medial                              0x1036154e3        kfun:com.arkivanov.essenty.statekeeper.SerializableContainer.Serializer#<init>(){} + 239 
    at 9   Medial                              0x1036153bf        kfun:com.arkivanov.essenty.statekeeper.SerializableContainer.Serializer.$init_global#internal + 131 
    at 10  Medial                              0x101be59f3        CallInitGlobalPossiblyLock + 539 
    at 11  Medial                              0x103615b5f        kfun:com.arkivanov.essenty.statekeeper.SerializableContainer.Serializer#<get-$instance>#static(){}com.arkivanov.essenty.statekeeper.SerializableContainer.Serializer + 75 
    at 12  Medial                              0x103633c3f        kfun:com.arkivanov.decompose.router.children.SavedState.Companion.<init>#internal + 195 
    at 13  Medial                              0x103633923        kfun:com.arkivanov.decompose.router.children.SavedState.$init_global#internal + 131 
    at 14  Medial                              0x101be59f3        CallInitGlobalPossiblyLock + 539 
    at 15  Medial                              0x103634c97        kfun:com.arkivanov.decompose.router.children.SavedState.<get-$companion>#internal + 75 
    at 16  Medial                              0x103633437        kfun:com.arkivanov.decompose.router.children.childrenNavigator#internal + 579 
    at 17  Medial                              0x10363118b        kfun:com.arkivanov.decompose.router.children#children__at__0:0(com.arkivanov.decompose.router.children.NavigationSource<0:3>;kotlin.String;kotlin.Function0<0:4>;kotlin.Function1<0:4,com.arkivanov.essenty.statekeeper.SerializableContainer?>;kotlin.Function1<com.arkivanov.essenty.statekeeper.SerializableContainer,0:4?>;kotlin.Function2<0:4,0:3,0:4>;kotlin.Function2<0:4,kotlin.collections.List<com.arkivanov.decompose.Child<0:1,0:2>>,0:5>;kotlin.Function2<0:4,0:4?,kotlin.Unit>;kotlin.Function3<0:3,0:4,0:4,kotl + 1115 
    at 18  Medial                              0x1036316a7        kfun:com.arkivanov.decompose.router.children#children$default__at__0:0(com.arkivanov.decompose.router.children.NavigationSource<0:3>;kotlin.String;kotlin.Function0<0:4>;kotlin.Function1<0:4,com.arkivanov.essenty.statekeeper.SerializableContainer?>;kotlin.Function1<com.arkivanov.essenty.statekeeper.SerializableContainer,0:4?>;kotlin.Function2<0:4,0:3,0:4>;kotlin.Function2<0:4,kotlin.collections.List<com.arkivanov.decompose.Child<0:1,0:2>>,0:5>;kotlin.Function2<0:4,0:4?,kotlin.Unit>?;kotlin.Function3<0:3,0:4 + 711 
    at 19  Medial                              0x1036424f3        kfun:com.arkivanov.decompose.router.slot#childSlot__at__0:0(com.arkivanov.decompose.router.children.NavigationSource<com.arkivanov.decompose.router.slot.SlotNavigation.Event<0:1>>;kotlin.Function1<0:1?,com.arkivanov.essenty.statekeeper.SerializableContainer?>;kotlin.Function1<com.arkivanov.essenty.statekeeper.SerializableContainer,0:1?>;kotlin.String;kotlin.Function0<0:1?>;kotlin.Boolean;kotlin.Function2<0:1,0:0,0:2>){0§<com.arkivanov.decompose.GenericComponentContext<0:0>>;1§<kotlin.Any>;2§<kotlin.Any> + 623 
    at 20  Medial                              0x103642013        kfun:com.arkivanov.decompose.router.slot#childSlot__at__0:0(com.arkivanov.decompose.router.children.NavigationSource<com.arkivanov.decompose.router.slot.SlotNavigation.Event<0:1>>;kotlinx.serialization.KSerializer<0:1>?;kotlin.Function0<0:1?>;kotlin.String;kotlin.Boolean;kotlin.Function2<0:1,0:0,0:2>){0§<com.arkivanov.decompose.GenericComponentContext<0:0>>;1§<kotlin.Any>;2§<kotlin.Any>}com.arkivanov.decompose.value.Value<com.arkivanov.decompose.router.slot.ChildSlot<0:1,0:2>> + 423 
    at 21  Medial                              0x10364223b        kfun:com.arkivanov.decompose.router.slot#childSlot$default__at__0:0(com.arkivanov.decompose.router.children.NavigationSource<com.arkivanov.decompose.router.slot.SlotNavigation.Event<0:1>>;kotlinx.serialization.KSerializer<0:1>?;kotlin.Function0<0:1?>?;kotlin.String?;kotlin.Boolean;kotlin.Function2<0:1,0:0,0:2>;kotlin.Int){0§<com.arkivanov.decompose.GenericComponentContext<0:0>>;1§<kotlin.Any>;2§<kotlin.Any>}com.arkivanov.decompose.value.Value<com.arkivanov.decompose.router.slot.ChildSlot<0:1,0:2>> + 479 
    at 22  Medial                              0x101305e63        kfun:com.medial.app.ui.screens.screens.shareScreenShotSheet.ShareScreenshotSheetSlot#<init>(com.arkivanov.decompose.ComponentContext;kotlin.coroutines.SuspendFunction0<kotlin.Result<kotlin.Unit>>){} + 523 
    at 23  Medial                              0x10135db43        kfun:com.medial.app.ui.navigation.RootComponentImpl#<init>(com.arkivanov.decompose.ComponentContext;kotlin.String?;dev.icerock.moko.permissions.ios.PermissionsControllerProtocol){} + 2571 
    at 24  Medial                              0x1013c35a3        kfun:com.medial.app.ComposableSingletons$MedialApp_iosKt.<init>$lambda$3#internal + 1567 
    at 25  Medial                              0x1013c39a7        kfun:com.medial.app.ComposableSingletons$MedialApp_iosKt.$<init>$lambda$3$FUNCTION_REFERENCE$2.invoke#internal + 95 
    at 26  Medial                              0x1013c3a5b        kfun:com.medial.app.ComposableSingletons$MedialApp_iosKt.$<init>$lambda$3$FUNCTION_REFERENCE$2.$<bridge-UNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 27  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 28  Medial                              0x101de79fb        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 29  Medial                              0x101df5ef3        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 30  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 31  Medial                              0x101cef2bb        kfun:androidx.compose.runtime#CompositionLocalProvider(kotlin.Array<out|androidx.compose.runtime.ProvidedValue<*>>...;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 595 
    at 32  Medial                              0x10281ea67        kfun:androidx.compose.ui.window#ProvideContainerCompositionLocals(androidx.compose.ui.window.ComposeContainer;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 1587 
    at 33  Medial                              0x10281d267        kfun:androidx.compose.ui.window.ComposeContainer.createMediator$lambda$1#internal + 479 
    at 34  Medial                              0x10281d7a3        kfun:androidx.compose.ui.window.ComposeContainer.$createMediator$lambda$1$FUNCTION_REFERENCE$3.invoke#internal + 115 
    at 35  Medial                              0x10281d8cb        kfun:androidx.compose.ui.window.ComposeContainer.$createMediator$lambda$1$FUNCTION_REFERENCE$3.$<bridge-UNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 36  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 37  Medial                              0x101de79fb        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 38  Medial                              0x101df5ef3        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 39  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 40  Medial                              0x10276ba6f        kfun:androidx.compose.ui.layout#OverlayLayout(androidx.compose.ui.Modifier;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 2999 
    at 41  Medial                              0x10276d26b        kfun:androidx.compose.ui.node#TrackInteropContainer__at__androidx.compose.ui.node.InteropContainer<0:0>(kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){0§<kotlin.Any?>} + 991 
    at 42  Medial                              0x1027ff617        kfun:androidx.compose.ui.scene.ComposeSceneMediator.setContent$lambda$31$lambda$30$lambda$29#internal + 511 
    at 43  Medial                              0x102805277        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$31$lambda$30$lambda$29$FUNCTION_REFERENCE$57.invoke#internal + 119 
    at 44  Medial                              0x1028053cb        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$31$lambda$30$lambda$29$FUNCTION_REFERENCE$57.$<bridge-UNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 45  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 46  Medial                              0x101de79fb        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 47  Medial                              0x101df5ef3        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 48  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 49  Medial                              0x101cef2bb        kfun:androidx.compose.runtime#CompositionLocalProvider(kotlin.Array<out|androidx.compose.runtime.ProvidedValue<*>>...;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 595 
    at 50  Medial                              0x1027f6baf        kfun:androidx.compose.ui.scene.ComposeSceneMediator.ProvideComposeSceneMediatorCompositionLocals#internal + 1403 
    at 51  Medial                              0x1027ff97b        kfun:androidx.compose.ui.scene.ComposeSceneMediator.setContent$lambda$31$lambda$30#internal + 751 
    at 52  Medial                              0x102805477        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$31$lambda$30$FUNCTION_REFERENCE$58.invoke#internal + 119 
    at 53  Medial                              0x1028055cb        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$31$lambda$30$FUNCTION_REFERENCE$58.$<bridge-UNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 54  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 55  Medial                              0x101de79fb        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 56  Medial                              0x101dee23b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl.invoke$invoke#internal + 167 
    at 57  Medial                              0x101df136b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl.$invoke$FUNCTION_REFERENCE$0.invoke#internal + 115 
    at 58  Medial                              0x101df151b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl.$invoke$FUNCTION_REFERENCE$0.$<bridge-UNNNB>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 59  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 60  Medial                              0x101cfde17        kfun:androidx.compose.runtime.RecomposeScopeImpl#compose(androidx.compose.runtime.Composer){} + 751 
    at 61  Medial                              0x101ccafc7        kfun:androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd#internal + 1275 
    at 62  Medial                              0x101ccd117        kfun:androidx.compose.runtime.ComposerImpl#skipCurrentGroup(){} + 479 
    at 63  Medial                              0x101cd1d4b        kfun:androidx.compose.runtime.ComposerImpl.doCompose#internal + 2363 
    at 64  Medial                              0x101cd139b        kfun:androidx.compose.runtime.ComposerImpl#recompose(androidx.compose.runtime.collection.IdentityArrayMap<androidx.compose.runtime.RecomposeScopeImpl,androidx.compose.runtime.collection.IdentityArraySet<kotlin.Any>?>){}kotlin.Boolean + 535 
    at 65  Medial                              0x101ce5ca7        kfun:androidx.compose.runtime.CompositionImpl#recompose(){}kotlin.Boolean + 871 
    at 66  Medial                              0x101dff7c7        kfun:androidx.compose.runtime.ControlledComposition#recompose(){}kotlin.Boolean-trampoline + 91 
    at 67  Medial                              0x101d08177        kfun:androidx.compose.runtime.Recomposer.performRecompose#internal + 1383 
    at 68  Medial                              0x101d0dc4b        kfun:androidx.compose.runtime.Recomposer.runRecomposeAndApplyChanges$lambda$4$lambda$3#internal + 2407 
    at 69  Medial                              0x101d12b5f        kfun:androidx.compose.runtime.Recomposer.$runRecomposeAndApplyChanges$lambda$4$lambda$3$FUNCTION_REFERENCE$13.invoke#internal + 127 
    at 70  Medial                              0x101d12da7        kfun:androidx.compose.runtime.Recomposer.$runRecomposeAndApplyChanges$lambda$4$lambda$3$FUNCTION_REFERENCE$13.$<bridge-UNNB>invoke(kotlin.Long){}#internal + 123 
    at 71  Medial                              0x101b6de13        kfun:kotlin.Function1#invoke(1:0){}1:1-trampoline + 107 
    at 72  Medial                              0x101cb7cf7        kfun:androidx.compose.runtime.BroadcastFrameClock.FrameAwaiter.resume#internal + 439 
    at 73  Medial                              0x101cb861b        kfun:androidx.compose.runtime.BroadcastFrameClock#sendFrame(kotlin.Long){} + 515 
    at 74  Medial                              0x10278d653        kfun:androidx.compose.ui.scene.BaseComposeScene#render(androidx.compose.ui.graphics.Canvas;kotlin.Long){} + 1275 
    at 75  Medial                              0x10286905f        kfun:androidx.compose.ui.scene.ComposeScene#render(androidx.compose.ui.graphics.Canvas;kotlin.Long){}-trampoline + 107 
    at 76  Medial                              0x1027f1d67        kfun:androidx.compose.ui.scene.RenderingUIViewDelegateImpl.onRender#internal + 515 
    at 77  Medial                              0x101e9cbdf        kfun:org.jetbrains.skiko.SkikoRenderDelegate#onRender(org.jetbrains.skia.Canvas;kotlin.Int;kotlin.Int;kotlin.Long){}-trampoline + 123 
    at 78  Medial                              0x10284827b        kfun:androidx.compose.ui.window.RenderingUIView.object-1.render#internal + 299 
    at 79  Medial                              0x102873d17        kfun:androidx.compose.ui.window.MetalRedrawerCallbacks#render(org.jetbrains.skia.Canvas;kotlin.Double){}-trampoline + 107 
    at 80  Medial                              0x10283eac7        kfun:androidx.compose.ui.window.MetalRedrawer.draw#internal + 4215 
    at 81  Medial                              0x10283d9c7        kfun:androidx.compose.ui.window.MetalRedrawer#drawSynchronously(){} + 203 
    at 82  Medial                              0x102847c1f        kfun:androidx.compose.ui.window.RenderingUIView.updateMetalLayerSize#internal + 4291 
    at 83  Medial                              0x102846ad3        kfun:androidx.compose.ui.window.RenderingUIView#objc:layoutSubviews + 215 
    at 84  Medial                              0x102848e67        _6f72672e6a6574627261696e732e636f6d706f73652e75693a75692f6f70742f6275696c644167656e742f776f726b2f386132303736303934356430616562612f636f6d706f73652f75692f75692f7372632f75696b69744d61696e2f6b6f746c696e2f616e64726f6964782f636f6d706f73652f75692f77696e646f772f52656e646572696e675549566965772e75696b69742e6b74_knbridge70 + 143 
    at 85  UIKitCore                           0x192377917        <redacted> + 1527 
    at 86  QuartzCore                          0x1917d626b        <redacted> + 503 
    at 87  QuartzCore                          0x1917d5def        <redacted> + 147 
    at 88  QuartzCore                          0x191830fd7        <redacted> + 463 
    at 89  QuartzCore                          0x1917a5edf        <redacted> + 647 
    at 90  UIKitCore                           0x19252c5bb        <redacted> + 35 
    at 91  CoreFoundation                      0x19014ac9b        <redacted> + 27 
    at 92  CoreFoundation                      0x190138deb        <redacted> + 355 
    at 93  CoreFoundation                      0x190138497        <redacted> + 847 
    at 94  CoreFoundation                      0x190137cd7        CFRunLoopRunSpecific + 607 
    at 95  GraphicsServices                    0x1d4b851a7        GSEventRunModal + 163 
    at 96  UIKitCore                           0x192771ae7        <redacted> + 887 
    at 97  UIKitCore                           0x192825d97        UIApplicationMain + 339 
    at 98  SwiftUI                             0x19432c293        <redacted> + 414667 
    at 99  SwiftUI                             0x1942d885f        <redacted> + 72087 
    at 100 SwiftUI                             0x1942e461b        <redacted> + 120659 
    at 101 Medial                              0x1007592ef        $s6Medial6iOSAppV5$mainyyFZ + 39 
    at 102 Medial                              0x10075939f        main + 11 
    at 103 dyld                                0x1b390f153        <redacted> + 2355 
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.runtime.BroadcastFrameClock@a493190, StandaloneCoroutine{Cancelling}@8d42d48, FlushCoroutineDispatcher@bb42000]
        at 0   Medial                              0x101a2516b        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 
        at 1   Medial                              0x101a1e61b        kfun:kotlin.Exception#<init>(kotlin.String?){} + 115 
        at 2   Medial                              0x101a1e83b        kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 115 
        at 3   Medial                              0x101ca4bc3        kfun:kotlinx.coroutines.internal.DiagnosticCoroutineContextException#<init>(kotlin.coroutines.CoroutineContext){} + 167 
        at 4   Medial                              0x101c791d7        kfun:kotlinx.coroutines.internal#handleUncaughtCoroutineException(kotlin.coroutines.CoroutineContext;kotlin.Throwable){} + 647 
        at 5   Medial                              0x101bfcd87        kfun:kotlinx.coroutines#handleCoroutineException(kotlin.coroutines.CoroutineContext;kotlin.Throwable){} + 515 
        at 6   Medial                              0x101bf075f        kfun:kotlinx.coroutines.StandaloneCoroutine.handleJobException#internal + 167 
        at 7   Medial                              0x101cad397        kfun:kotlinx.coroutines.JobSupport#handleJobException(kotlin.Throwable){}kotlin.Boolean-trampoline + 59 
        at 8   Medial                              0x101c074e3        kfun:kotlinx.coroutines.JobSupport.finalizeFinishingState#internal + 1131 
        at 9   Medial                              0x101c0f2ff        kfun:kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath#internal + 2207 
        at 10  Medial                              0x101c0ea27        kfun:kotlinx.coroutines.JobSupport.tryMakeCompleting#internal + 755 
        at 11  Medial                              0x101c0e557        kfun:kotlinx.coroutines.JobSupport#makeCompletingOnce(kotlin.Any?){}kotlin.Any? + 379 
        at 12  Medial                              0x101becceb        kfun:kotlinx.coroutines.AbstractCoroutine#resumeWith(kotlin.Result<1:0>){} + 211 
        at 13  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 14  Medial                              0x101a2af3f        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 1163 
        at 15  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 16  Medial                              0x101c9d693        kfun:kotlinx.coroutines.UndispatchedCoroutine#afterResume(kotlin.Any?){} + 243 
        at 17  Medial                              0x101ca8723        kfun:kotlinx.coroutines.AbstractCoroutine#afterResume(kotlin.Any?){}-trampoline + 59 
        at 18  Medial                              0x101becd47        kfun:kotlinx.coroutines.AbstractCoroutine#resumeWith(kotlin.Result<1:0>){} + 303 
        at 19  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 20  Medial                              0x101a2af3f        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 1163 
        at 21  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 22  Medial                              0x101c84363        kfun:kotlinx.coroutines.internal.ScopeCoroutine#afterResume(kotlin.Any?){} + 243 
        at 23  Medial                              0x101ca8723        kfun:kotlinx.coroutines.AbstractCoroutine#afterResume(kotlin.Any?){}-trampoline + 59 
        at 24  Medial                              0x101becd47        kfun:kotlinx.coroutines.AbstractCoroutine#resumeWith(kotlin.Result<1:0>){} + 303 
        at 25  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 26  Medial                              0x101a2af3f        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 1163 
        at 27  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 28  Medial                              0x101c7ce7b        kfun:kotlinx.coroutines.DispatchedTask#run(){} + 1691 
        at 29  Medial                              0x101cabbcf        kfun:kotlinx.coroutines.Runnable#run(){}-trampoline + 91 
        at 30  Medial                              0x10277b8d3        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.dispatch$lambda$1$lambda$0#internal + 475 
        at 31  Medial                              0x10277ce3b        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.$dispatch$lambda$1$lambda$0$FUNCTION_REFERENCE$4.invoke#internal + 75 
        at 32  Medial                              0x10277cf37        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.$dispatch$lambda$1$lambda$0$FUNCTION_REFERENCE$4.$<bridge-UNN>invoke(){}#internal + 71 
        at 33  Medial                              0x101b6f30b        kfun:kotlin.Function0#invoke(){}1:0-trampoline + 99 
        at 34  Medial                              0x10277b1db        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.performRun#internal + 319 
        at 35  Medial                              0x10277ba5b        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.dispatch$lambda$1#internal + 239 
        at 36  Medial                              0x10277c8e7        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.$dispatch$lambda$1$FUNCTION_REFERENCE$0.invoke#internal + 139 
        at 37  Medial                              0x101b7315b        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
        at 38  Medial                              0x101a2e7eb        kfun:kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal + 731 
        at 39  Medial                              0x101b72a77        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(kotlin.Result<kotlin.Any?>){}kotlin.Any?-trampoline + 67 
        at 40  Medial                              0x101a2ad23        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 623 
        at 41  Medial                              0x101b72b57        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 42  Medial                              0x101c7cf37        kfun:kotlinx.coroutines.DispatchedTask#run(){} + 1879 
        at 43  Medial                              0x101cabbcf        kfun:kotlinx.coroutines.Runnable#run(){}-trampoline + 91 
        at 44  Medial                              0x101ca720f        kfun:kotlinx.coroutines.DarwinMainDispatcher.dispatch$lambda$0#internal + 67 
        at 45  Medial                              0x101ca748b        kfun:kotlinx.coroutines.DarwinMainDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$1.invoke#internal + 71 
        at 46  Medial                              0x101ca755b        kfun:kotlinx.coroutines.DarwinMainDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$1.$<bridge-UNN>invoke(){}#internal + 71 
        at 47  Medial                              0x101b6f30b        kfun:kotlin.Function0#invoke(){}1:0-trampoline + 99 
        at 48  Medial                              0x101ca849f        _6f72672e6a6574627261696e732e6b6f746c696e783a6b6f746c696e782d636f726f7574696e65732d636f72652f6f70742f6275696c644167656e742f776f726b2f343465633665383530643563363366302f6b6f746c696e782d636f726f7574696e65732d636f72652f6e617469766544617277696e2f7372632f44697370617463686572732e6b74_knbridge13 + 191 
        at 49  libdispatch.dylib                   0x10a4f4b97        _dispatch_call_block_and_release + 31 
        at 50  libdispatch.dylib                   0x10a4f67bb        _dispatch_client_callout + 19 
        at 51  libdispatch.dylib                   0x10a506d57        _dispatch_main_queue_drain + 1083 
        at 52  libdispatch.dylib                   0x10a50690b        _dispatch_main_queue_callback_4CF + 43 
        at 53  CoreFoundation                      0x19013b70f        <redacted> + 15 
        at 54  CoreFoundation                      0x190138913        <redacted> + 1995 
        at 55  CoreFoundation                      0x190137cd7        CFRunLoopRunSpecific + 607 
        ... and 9 more common stack frames skipped
alexzhirkevich commented 1 week ago

I don't see any Compottie trace in this stacktrace, only something decompose-related. It is a bug in kotlinx.serialization 1.7.2. Add/upgrade it to 1.7.3 Or use kotlin 2.0.20

Vaibhav2002 commented 6 days ago

Yes, but it crashes just after upgrade Decompose must upgrade its KotlinX Serialization version in order to fix this?

alexzhirkevich commented 5 days ago

You can add any kotlinx.serialization version compatible with your kotlin version (other than 1.7.2) as a dependency to your project. it will be used instead of broken one