[v3] SIGABRT crash: Yoga layout assertion failure when dynamically adding ReanimatedSwipeable rows alongside BottomSheet (Fabric)
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
- #4500 của @AKASH80047 — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile
Hướng nghiên cứu
Bắt đầu với repository tái hiện được liên kết và so sánh react-native-gesture-handler 3.0.0 với 2.31.2 trên React Native 0.85.3, Fabric và Hermes. Tái hiện crash thông qua Recording Flow bằng cả hai phương thức chèn hàng, sau đó kiểm tra layout assertion của RNGestureHandlerDetectorShadowNode trên iOS và Android. Được xem là hoàn tất khi cả hai sequence không còn gây ra SIGABRT trên thiết bị thực.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 6.8k
- Fork
- 1.1k
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của software-mansion/react-native-gesture-handler
-
GestureDetector should bubble touches if all gestures fail (or some other generalized solution)Đang mởMissing repro Platform: Android Platform: iOS
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 39/100
software-mansion/react-native-gesture-handler#4714 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Web] A pan that starts on a Pressable presses it when the mouse button is releasedCó thể đã có người làm @mokshupadhyay đã nhận 2 ngày trước. Đang mởPlatform: Web
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
software-mansion/react-native-gesture-handler#4713 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[iOS] Crash at app exit: static `_managers` map destroyed while `flushOperations` reads itCó thể đã có người làm @beqramo đã nhận 6 ngày trước. Đang mởMissing info Missing repro Platform: iOS Platform: MacOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
software-mansion/react-native-gesture-handler#4711 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[iOS][Fabric] Recognizer of a live handler stays on a recycled view and takes every drag on the component that reuses itCó thể đã có người làm @nihar777 đã nhận 6 ngày trước. Đang mởPlatform: iOS
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
software-mansion/react-native-gesture-handler#4710 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[iOS] Button press feedback invisible on quick taps when Reduce Motion is enabledCó thể đã có người làm @andreialecu đã nhận 8 ngày trước. Đang mởMissing info Platform: iOS Platform: MacOS
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
software-mansion/react-native-gesture-handler#4707 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của software-mansion/react-native-gesture-handler
Issue tương tự
-
agentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
opencollective/opencollective-frontend#12789 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Web download page shows a file as Completed when its download from S3 fails with an error responseĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
awslabs/visual-asset-management-system#2097 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
openwatersio/slackwater#591 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer thường phản hồi trong vòng 2 ngày