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.

Unhandled JS Exception: Maximum call stack size exceeded in iOS release mode

See original GitHub issue

Environment

React Native Environment Info: System: OS: macOS 10.14.2 CPU: x64 Intel® Core™ i7-4870HQ CPU @ 2.50GHz Memory: 750.77 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 9.11.1 - ~/.nvm/versions/node/v9.11.1/bin/node Yarn: 1.9.4 - /usr/local/bin/yarn npm: 6.1.0 - ~/.nvm/versions/node/v9.11.1/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1 IDEs: Android Studio: 3.2 AI-181.5540.7.32.5056338 Xcode: 10.1/10B61 - /usr/bin/xcodebuild npmPackages: react: 16.4.1 => 16.4.1 react-native: 0.56.0 => 0.56.0 npmGlobalPackages: create-react-native-app: 2.0.2 react-native-cli: 2.0.1 react-native-git-upgrade: 0.2.7

Description

The application works fine in Debug, but is crashing at start in release mode, after show the splash screen.

This is the stack trace

2019-01-15 11:58:46.314666-0300 accomplish[3007:682581] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281b42ce0, domain=1, instance=1>
2019-01-15 11:58:46.512675-0300 accomplish[3007:682785] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2019-01-15 11:58:46.533461-0300 accomplish[3007:682785] [MC] Reading from public effective user settings.
2019-01-15 11:58:47.662 [error][tid:com.facebook.react.JavaScript] Maximum call stack size exceeded.
2019-01-15 11:58:47.662081-0300 accomplish[3007:682774] Maximum call stack size exceeded.
2019-01-15 11:58:47.663 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Maximum call stack size exceeded.
2019-01-15 11:58:47.663511-0300 accomplish[3007:682732] Unhandled JS Exception: Maximum call stack size exceeded.
2019-01-15 11:58:47.665138-0300 accomplish[3007:682732] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: Maximum call stack size exceeded.', reason: 'Unhandled JS Exception: Maximum call stack size exceeded., stack:
c@2:809
<unknown>@917:660
c@2:809
<unknown>@13:4146
c@2:809
<unknown>@12:32
c@2:809
i@2:381
global code@1157:8
'
*** First throw call stack:
(0x192988ec4 0x191b59a40 0x1030d2458 0x1030cff20 0x192990630 0x19286e450 0x19286f034 0x1030e611c 0x10312a7ec 0x10312a548 0x104b63824 0x104b64dc8 0x104b6ce6c 0x104b6db60 0x104b77bfc 0x1925a50dc 0x1925a7cec)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
javi10823commented, Jan 16, 2019

@hramos I find the problem … there is a file in the project that the code read , a json file have 200.000 lines… but in debug is working this is a RN issue?

0reactions
hramoscommented, Jan 16, 2019

I don’t disagree with you. If you’re able to provide a solid repro, please do open a new issue with all the pertinent details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash in iOS release due to javascritp RangeError: Maximum ...
This crash doesn't happen in Android or debug mode. ... reason: 'Unhandled JS Exception: RangeError: Maximum call stack size exceeded., ...
Read more >
Unhandled JS Exception: Maximum call stack size exceeded ...
Description. The application works fine in Debug, but is crashing at start in release mode, after show the splash screen.
Read more >
JavaScript Error: Maximum Call Stack Size Exceeded
This error is a RangeError. A RangeError typically means an error has occurred outside of a code's argument value for its parameter. Now...
Read more >
JavaScript RangeError: Maximum Call Stack Size Exceeded
The RangeError: Maximum call stack size exceeded is thrown when a function call is made that exceeds the call stack size. This can...
Read more >
[Resolve]-React Native iOS build release: RangeError
Coding example for the question React Native iOS build release: RangeError: Maximum call stack size exceeded.
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