[v3] SIGABRT crash: Yoga layout assertion failure when dynamically adding ReanimatedSwipeable rows alongside BottomSheet (Fabric)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
- #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時間
- マージ済み PR(30日)
- 28
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
software-mansion/react-native-gesture-handler のほかの issue
-
GestureDetector should bubble touches if all gestures fail (or some other generalized solution)オープンMissing repro Platform: Android Platform: iOS
難易度 5/5 1週間以上 初心者へのやさしさ 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 が 5 日前に担当しました。 オープン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 日以内に返信