I’m seeing in production some crashes for `invalid...
# compose-ios
m
I’m seeing in production some crashes for `invalidatePositionInWindow`: Does anybody know what the root cause for that is? Phone: iPhone SE
i
Please file YT issue with reproduction. cc @Andrei Salavei
Copy code
check(!isClosed) { "invalidatePositionInWindow called after ComposeScene is closed" }
Use after close. Similar one in the tracker: CMP-7686 kotlin.IllegalStateException: density set after ComposeScene is closed But I'm not sure what version is used here
a
Also, cold you please provide more details about the crash, like full crash log, kotlin and compose multiplatform versions.
m
@Ivan Matkov @Andrei Salavei Thx for replying! I sent @Ivan Matkovthe full crash logs as PM, but a reproduction sample is hard since it happens during production use on one users iPhone SE at the moment. I cannot reproduce it on my end. My plan was to ask here if that’s a widely known error, but it seems not. Currently compose multiplatform has not been updated in a while for this project:
Copy code
kotlin = "1.9.23"
compose-plugin = "1.6.11"
I will talk to the user what he does to invoke the crash. Also will update the compose plugin - if the issue persists I will create a YT issue.
a
Thank you for providing logs. As @Ivan Matkov told, the issue most likely solved in the latest Compose Version.
🙌 1