[v3] SIGABRT crash: Yoga layout assertion failure when dynamically adding ReanimatedSwipeable rows alongside BottomSheet (Fabric)
维护者通常 2 天内回复
还没有人认领这个 Issue。
- #4500 来自 @AKASH80047 —— 已关闭,未合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- react-native, typescript
- 领域
- mobile
调研方向
从链接的复现仓库开始,在 React Native 0.85.3、Fabric 和 Hermes 下比较 react-native-gesture-handler 3.0.0 与 2.31.2。使用两种插入行的方法,通过 Recording Flow 复现崩溃,然后检查 iOS 和 Android 上 RNGestureHandlerDetectorShadowNode 的布局断言。两种序列在实体设备上都不再触发 SIGABRT,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Description
Upgrading from [email protected] to 3.0.0 causes a SIGABRT crash on both iOS and Android (Fabric / New Architecture). The crash is a Yoga layout assertion failure triggered during layout of RNGestureHandlerDetectorShadowNode.
The crash occurs when dynamically inserting ReanimatedSwipeable rows into a FlatList while a @gorhom/bottom-sheet (which uses GestureDetector internally) is rendered as a sibling in the same parent view.
This does not occur on [email protected].
Steps to reproduce
- Clone the repro: https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
npm install && cd ios && pod install && cd ..npx react-native run-ios(on a physical device)- Tap "Go to Recording Flow"
- Reproduce via either method:
Method A: Tap "Start Recording" → "Stop" repeatedly. Crash occurs around the 12th record being added.
Method B: Tap "Rapid Add 5 Rows" → "Hide Sheet" → "Show Sheet" → "Rapid Add 5 Rows".
A link to a repository that reproduces the bug
https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
Gesture Handler version
3.0.0
React Native version
0.85.3
Platforms
iOS, Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Real device
Device model
iPhone
Acknowledgements
Yes
Steps to reproduce
- Run the app on an iOS physical device (Xcode, Debug build)
- Tap "Go to Recording Flow"
- Reproduce via either method:
Method A: Tap "Start Recording" → "Stop" repeatedly. Crash occurs around the 12th record being added.
Method B: Tap "Rapid Add 5 Rows" → "Hide Sheet" → "Rapid Add 5 Rows".
A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.
https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
Gesture Handler version
3.0.0
React Native version
0.85.3
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Real device
Device model
iPhone 15 (iOS 26.5)
Acknowledgements
Yes
- 主要语言
- TypeScript
- 星标
- 6.8k
- 派生
- 1.1k
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 28
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
software-mansion/react-native-gesture-handler 的其他 Issue
-
Missing repro Platform: Android Platform: iOS
难度 5/5 一周以上 新手友好度 39/100
software-mansion/react-native-gesture-handler#4714 · 1 条评论 ·
维护者通常 2 天内回复
-
[Web] A pan that starts on a Pressable presses it when the mouse button is released可能已有人在做 @mokshupadhyay 于 2 天前认领。 未关闭Platform: Web
难度 4/5 3-5 天 新手友好度 57/100
software-mansion/react-native-gesture-handler#4713 ·
维护者通常 2 天内回复
-
[iOS] Crash at app exit: static `_managers` map destroyed while `flushOperations` reads it可能已有人在做 @beqramo 于 6 天前认领。 未关闭Missing info Missing repro Platform: iOS Platform: MacOS
难度 2/5 1-3 小时 新手友好度 30/100
software-mansion/react-native-gesture-handler#4711 · 3 条评论 ·
维护者通常 2 天内回复
-
[iOS][Fabric] Recognizer of a live handler stays on a recycled view and takes every drag on the component that reuses it可能已有人在做 @nihar777 于 6 天前认领。 未关闭Platform: iOS
难度 4/5 3-5 天 新手友好度 35/100
software-mansion/react-native-gesture-handler#4710 · 2 条评论 ·
维护者通常 2 天内回复
-
[iOS] Button press feedback invisible on quick taps when Reduce Motion is enabled可能已有人在做 @andreialecu 于 8 天前认领。 未关闭Missing info Platform: iOS Platform: MacOS
难度 3/5 1-2 天 新手友好度 45/100
software-mansion/react-native-gesture-handler#4707 · 2 条评论 ·
维护者通常 2 天内回复
查看 software-mansion/react-native-gesture-handler 的全部 Issue
相似的 Issue
-
agentic-workflows
难度 1/5 1 小时以内 新手友好度 75/100
opencollective/opencollective-frontend#12789 ·
维护者通常 1 天内回复
-
Web download page shows a file as Completed when its download from S3 fails with an error response未关闭bug
难度 2/5 1-3 小时 新手友好度 77/100
awslabs/visual-asset-management-system#2097 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
openwatersio/slackwater#591 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
compiler-explorer/compiler-explorer#9738 ·
维护者通常 2 天内回复