question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.46 rc.2 - display:none crashes app

See original GitHub issue

According 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:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
patw0929commented, Jun 28, 2017
0reactions
trickeydcommented, Apr 4, 2018

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. 😦

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found