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

app crash on startup : libc++abi.dylib: terminating with uncaught exception of type NSException #5110

Closed
atteia opened this issue Jan 4, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@atteia
Copy link

atteia commented Jan 4, 2016

Hi

ReactNative : 0.17
Xcode Version 7.2 (7C68)
Deploy Target 9.0

2016-01-04 12:22:37.405 myapp [16916:350051] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSCFString substringFromIndex:]: Index 175 out of bounds; string length 174'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010ea9ce65 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x000000010dca0deb objc_exception_throw + 48
    2   CoreFoundation                      0x000000010ea9cd9d +[NSException raise:format:] + 205
    3   Foundation                          0x000000010d84811d -[NSString substringFromIndex:] + 126
    4   myapp                            0x000000010d5e15f5 RCTBundlePathForURL + 293
    5   myapp                            0x000000010d5e167d RCTIsXCAssetURL + 45
    6   myapp                            0x000000010d6336d0 -[RCTXCAssetImageLoader canLoadImageURL:] + 48
    7   myapp                            0x000000010d62ac77 -[RCTImageLoader imageURLLoaderForURL:] + 615
    8   myapp                            0x000000010d62c070 __87-[RCTImageLoader loadImageWithTag:size:scale:resizeMode:progressBlock:completionBlock:]_block_invoke_2125 + 368
    9   libdispatch.dylib                   0x000000011201fe5d _dispatch_call_block_and_release + 12
    10  libdispatch.dylib                   0x000000011204049b _dispatch_client_callout + 8
    11  libdispatch.dylib                   0x00000001120268ec _dispatch_queue_drain + 2215
    12  libdispatch.dylib                   0x0000000112025e0d _dispatch_queue_invoke + 601
    13  libdispatch.dylib                   0x0000000112028a56 _dispatch_root_queue_drain + 1420
    14  libdispatch.dylib                   0x00000001120284c5 _dispatch_worker_thread3 + 111
    15  libsystem_pthread.dylib             0x000000011237868f _pthread_wqthread + 1129
    16  libsystem_pthread.dylib             0x0000000112376365 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

when I work with RN: 0.13 I did not face any of these problems
I copied the component to new app works with 0.17 then I got this error !!

@facebook-github-bot
Copy link
Contributor

Hey AhmedMAtia, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@atteia
Copy link
Author

atteia commented Jan 4, 2016

@atteia atteia closed this as completed Jan 25, 2016
@codinsonn
Copy link

Any progress yet? I have a similar issue after upgrading from Expo SDK 21 to Expo SDK 22.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants