-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash observed when using "rn drawer-layout". #4253
Comments
Thanks for the repro. I have basically zero idea when it will be looked at, but hey @asafkorem , this one should be quick to debug. Maybe you can fit that into your schedule someday? |
@noomorph Thanks! Looking forward to have more info on this :D |
Maybe it will be handled in a month, I don't know how long to wait, sorry. |
So far, I can see this comes from Reanimated: DetoxSync swizzles some of its methods: But my kung fu is still weak to handle that alone 🥋 🤷♂️ |
@ldalzottomp , looking at this PR: https://github.com/software-mansion/react-native-reanimated/pull/5224/files I started wondering if maybe you could downgrade your reanimated lib and check if this fixes your issue or not. |
@noomorph I have downgraded to reanimated v 3.0.0 in my repro project. The issue still persists. I just want to clarify :
|
@asafkorem any chance you could glance at it, please? |
@ldalzottomp, Asaf's having difficulties with the repro repository because of unexpected crashes, but he's looking into it. |
I can confirm that I'm able to reproduce this locally. Trying to resolve 👀 |
Thanks for your time guys! |
Update DetoxSync to latest commit. Resolves #4253. See fix description here: wix-incubator/DetoxSync#70
@ldalzottomp, I was able to identify the cause of this crash, which indeed originates from Detox. We plan to release a patch version in the coming hours. Additionally, I have a pre-release version ( |
@ldalzottomp yeah, could you please confirm that 20.13.5-smoke.0 resolves your original issue? |
@ldalzottomp we released an official patch version |
@asafkorem @noomorph |
What happened?
Hello!
I have a simple app that uses the "react-native-drawer-layout" package.
If I run a detox test that constantly open and close the slider, then at some point, the app will crash.
No crash observed during normal use of the app. Only when using detox :
output.mp4
Thanks for the help!
What was the expected behaviour?
The app is not crashing.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
The github repo of the sample app is available here : (github repo here). You can run
yarn detox-issue
and it should do the job.It's a simple copy and paste of the library sample code (available here). With added test id for a button that opens the drawer and closes the drawer.
The source code on my repo to the app is here (App.tsx).
The source code on my repo of the detox test is here starter.test.js.
In what environment did this happen?
Detox version: 20.13.2
React Native version: 0.72.6
Has Fabric (React Native's new rendering system) enabled: (yes/no) yes
Node version: 20.7.0
Device model: iPad Pro (12.9-inch)
iOS version: iOS 16.2
macOS version: 13.5.2 (22G91)
Xcode version: Version 15.0 (15A240d)
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: