Skip to content
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

My App Seems to Break on a large Switch Statement #20669

Closed
matthewjj opened this issue Aug 14, 2018 · 1 comment
Closed

My App Seems to Break on a large Switch Statement #20669

matthewjj opened this issue Aug 14, 2018 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@matthewjj
Copy link

matthewjj commented Aug 14, 2018

code.txt

My App seems to crash on this switch statement, but only on Android. It looks to work fine on iOS (please see attatched file for code).

However, if I remove the whole of case "129" it works fine. The error I receive is this:

Build fingerprint: 'google/marlin/marlin:8.1.0/OPM4.171019.021.P1/4820305:user/release-keys' Revision: '0' ABI: 'arm' pid: 9144, tid: 20100, name: mqt_js >>> host.exp.exponent <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 Cause: null pointer dereference r0 c336f80c r1 fffffffe r2 bbadbeef r3 00000000 r4 00000000 r5 5dfee000 r6 1a0d5000 r7 0005dfee r8 cb421748 r9 e99dc780 sl 9feb0478 fp c336f950 ip ffffffff sp c336f890 lr cb3cfda1 pc 00000000 cpsr 400b0010 08-13 16:11:11.764 20231-20231/? A/DEBUG: backtrace: #00 pc 00000000 <unknown> #01 pc 00182d9f /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so (WTFCrash+22) #02 pc 00172a47 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so (WTF::fastRealloc(void*, unsigned int)+1342) #03 pc 0004798b /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #04 pc 0008d58f /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #05 pc 000a0c53 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #06 pc 0008a0a1 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #07 pc 0008b625 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #08 pc 000a94a5 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #09 pc 000a95b9 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #10 pc 000adab9 /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.so #11 pc 000b2eff /data/app/host.exp.exponent-cM_KFXToYFNfggSrgztXVg==/lib/arm/libjsc.

Another caveat, even on occassions when the app runs and case '129' is never called, it still errors.

@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Aug 14, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Aug 14, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants