GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [Bug]: iOS app stops responding during long turns: Reanimated commits starve React commits · Issue #15641 · pingdotgg/t3code Closed as not planned Closed as not planned Copy link Labels bugSomething is broken or behaving incorrectly.needs more infoInitial triage showed no bug. Awaiting more infovia-triageFiled through npx t3 triage DescriptionBefore submitting
Areaapps/mobile Steps to reproduceDeterministic repro on an iOS simulator. The harness in the gist adds a fake Grok agent that streams fixed markdown, a thread launcher, Instruments helpers, and os_signposts in the markdown text module. It does not change app behavior.
Without the harness, the same thing happens when a long thread is opened on iOS while its turn is running, as in #14010. Expected behaviorThe thread renders and the app keeps responding while the turn's "Working" row animates. A React commit whose layout takes longer than a frame finishes late, but it finishes. Actual behaviorThe React commit for the thread never lands. The JS thread stays at 99.6–99.9% CPU inside
With commit pausing off, the work-log shimmer ( Measured with Instruments on the simulator, from opening the thread until the abort:
All main-thread commits in baseline run 3 come from Every measurement repeats inputs an earlier attempt already measured: the same commit is retried, not new work. With a measurement cache, which is the fix #14010 proposes, each attempt is cheaper, but the commit still never lands and the abort comes sooner. So this is a separate problem from the markdown cost in #14010. That cost only makes the commit slower than a frame. Full tables and stacks are in Possible fixes:
ImpactMajor degradation or frequent failure Version or commitmain @ 4059607 (react-native 0.88.0-rc.3, react-native-reanimated 4.7.0, react-native-worklets 0.13.0) EnvironmentiPhone 17 Pro simulator, iOS 26.5; Xcode 27.0; macOS 27.0.1. Debug dev client serving production JavaScript ( Logs or stack tracesBaseline run 3: EXC_CRASH (SIGABRT), crashed thread com.facebook.react.runtime.JavaScript 0 libsystem_kernel.dylib __pthread_kill 1 libsystem_pthread.dylib pthread_kill 2 libsystem_c.dylib abort 3 libsystem_c.dylib __assert_rtn 4 React facebook::react::ShadowTree::commit(...) 5 React facebook::react::UIManager::completeSurface(...) 12 React facebook::react::ShadowTreeRegistry::visit(...) 13 React facebook::react::UIManager::completeSurface(...) 14 React facebook::react::UIManagerBinding::get(...)::$_9::operator()(...) 19 hermesvm facebook::hermes::(anonymous namespace)::HermesRuntimeImpl::HFContext::func(...) The run with a measurement cache aborts with the same stack. Competing commits on the main thread (Instruments, baseline run 3): ShadowTree::commit <- reanimated::ReanimatedModuleProxy::commitUpdates <- reanimated::ReanimatedModuleProxy::performOperations <- -[REANodesManager performOperations] <- -[REANodesManager maybeFlushUIUpdatesQueue] Screenshots, recordings, or supporting filesGist with WorkaroundPer #14010, switching to another app and back recovers the app: the socket closes, the event stream stops, and the JS thread catches up. Otherwise, force quit. Activity
MetadataMetadataAssigneesLabelsbugSomething is broken or behaving incorrectly.needs more infoInitial triage showed no bug. Awaiting more infovia-triageFiled through npx t3 triage TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |