You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash: java.lang.IllegalStateException: Unsupported concurrent change during composition. A state object was modified by composition as well as being modified outside composition
#2352
Open the app, wait for the image load finish, and click hello
at androidx.compose.runtime.Recomposer.applyAndCheck(Recomposer.kt:1235)
at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1646)
at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:127)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:583)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:551)
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:1449)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1459)
at android.view.Choreographer.doCallbacks(Choreographer.java:1089)
at android.view.Choreographer.doFrame(Choreographer.java:998)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1431)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
The text was updated successfully, but these errors were encountered:
@colinrtwhite Hello. The demo provided in my issue will definitely crash.
This is a new issue caused by #2205. I believe it shouldn't be in the 'not planned' status.
when ImageLoader set interceptor Dispatcher, onSuccess is dispatched in my custom dispatcher, So it might cause an issue with multi-threaded state modification.
version: 3.0.0-alpha07
when ImageLoader set interceptor Dispatcher, There may be crash issues.
demo: https://github.com/Caij/CoilDemo
Open the app, wait for the image load finish, and click hello
The text was updated successfully, but these errors were encountered: