ReadYouApp / ReadYouApp/ReadYou
App is crashing
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 7.5k
- Forks
- 330
- PR merge metrics
- No merged PRs in 30d
Description
1. Environment
- Version: 0.14.1
Device: OnePlus CPH2413
System: Android 15 (API 35)
App is crashing when you
- Do Select All
-Then manually select the content by moving the end to end markers
Here is the bug report
Stack trace:
java.util.ConcurrentModificationException
at java.util.ArrayList.sort(ArrayList.java:1823)
at java.util.Collections.sort(Collections.java:207)
at kotlin.collections.CollectionsKt___CollectionsJvmKt.sortWith(_CollectionsJvm.kt:18)
at androidx.compose.foundation.text.selection.SelectionRegistrarImpl.sort(SelectionRegistrarImpl.kt:17)
at androidx.compose.foundation.text.selection.SelectionManager$$ExternalSyntheticLambda5.invoke(R8$$SyntheticClass:41)
at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:109)
at androidx.compose.runtime.DerivedSnapshotState.currentRecord(DerivedState.kt:286)
at androidx.compose.runtime.DerivedSnapshotState.getCurrentRecord(DerivedState.kt:21)
at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.recordInvalidation(SnapshotStateObserver.kt:468)
at androidx.compose.runtime.snapshots.SnapshotStateObserver.drainChanges(SnapshotStateObserver.kt:97)
at androidx.compose.runtime.snapshots.SnapshotStateObserver$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:58)
at androidx.compose.runtime.snapshots.SnapshotKt.advanceGlobalSnapshot(Snapshot.kt:51)
at androidx.compose.runtime.snapshots.GlobalSnapshot.takeNestedSnapshot(Snapshot.kt:11)
at androidx.compose.runtime.SnapshotStateKt__SnapshotFlowKt$snapshotFlow$1.invokeSuspend(SnapshotFlow.kt:324)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:115)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:96)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@439f004, androidx.compose.runtime.BroadcastFrameClock@ae499ed, StandaloneCoroutine{Cancelling}@489f022, AndroidUiDispatcher@231cab3]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash on Android 15 with version 0.14.1 using Select All, then manually moving the selection end markers. Use the provided ConcurrentModificationException stack trace, especially the selection path through SelectionRegistrarImpl.sort, to investigate the failure. Done means the same selection sequence no longer crashes the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100