0.46 rc.2 - display:none crashes app
See original GitHub issueAccording to the docs https://facebook.github.io/react-native/docs/layout-props.html
display can be either flex or none. Unfortunatly with 0.46 rc.2 display none just crashes the app. On 0.43 - it also had issued. The app was hanging -> CPU went to 100% and memory was filling up. But on 46 the app just crashes
libsystem_kernel.dylib`__pthread_kill:
0x109e8cd38 <+0>: movl $0x2000148, %eax ; imm = 0x2000148
0x109e8cd3d <+5>: movq %rcx, %r10
0x109e8cd40 <+8>: syscall
-> 0x109e8cd42 <+10>: jae 0x109e8cd4c ; <+20>
0x109e8cd44 <+12>: movq %rax, %rdi
0x109e8cd47 <+15>: jmp 0x109e85caf ; cerror_nocancel
0x109e8cd4c <+20>: retq
0x109e8cd4d <+21>: nop
0x109e8cd4e <+22>: nop
0x109e8cd4f <+23>: nop
Here is a repository where I’ve reproduced the issue:
https://github.com/compojoom/rn46crash
Just run yarn
and afterwards launch the app in ios.
Additional Information
- React Native version: 0.46 rc2
- Platform: tested with iOS
- Development Operating System: macOS
- Build tools:XCode
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Enterprise Application crashes whi… | Apple Developer Forums
Hello Folks, Our enterprise application works fine in iOS 14, but when launched on iOS 15 it crashes instantly without giving any errors....
Read more >Latest Version of Fly App crashes when Airsense is toggled on
I have refreshed the Firmware installed on the RC Pro and the DJI Fly App still crashes when AirSense detects an Aircraft nearby....
Read more >Re: Roku Remote app crashes after 2 seconds - Page 3
ROKU - Official Remote Control, crashes ... When I launch the app, it crashes back to desktop after logo splash screen. Deleted and...
Read more >Fly app 1.7.4 on DJI RC crashes over and over again
I've installed Fly ver. 1.7.4 on my RC and went out this morning for some sunrise video shooting at a nearby vineyard.
Read more >Did DJI FIX Dangerous Mini 3 Pro App Crash NEW ... - YouTube
DJI has released a new major firmware update for DJI RC v01.00.0100 bundled with DJI fly App update 1.6.9, and I took it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like it’s been fixed in this commit: https://github.com/facebook/react-native/commit/ac3f345b071fbf762e7224fc6357ab2f7080575c
I am getting this error too, release build only ios and android. Happens when I click any button.
Was getting it on: “react”: “16.0.0-alpha.12” “react-native”: “^0.47.0”
and just upgraded to: “react”: “^16.3.1” “react-native”: “^0.54.4”
but the problem persists!
I haven’t used ‘display:none’ anywhere in my project. Anything else I can look for!? It’s making me sad. 😦