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

Call stack exception (crash) when Tracing is enabled #4191

Open
laurensk opened this issue Oct 18, 2024 · 2 comments
Open

Call stack exception (crash) when Tracing is enabled #4191

laurensk opened this issue Oct 18, 2024 · 2 comments

Comments

@laurensk
Copy link

What React Native libraries do you use?

React Navigation, Hermes, React Native without Frameworks

Are you using sentry.io or on-premise?

on-premise (Self-Hosted)

@sentry/react-native SDK Version

6.0.0

How does your development environment look like?

info Fetching system and libraries information...
System:
OS: macOS 14.7
CPU: (12) arm64 Apple M2 Max
Memory: 1.23 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.19.0
path: ~/.nvm/versions/node/v18.19.0/bin/node
Yarn: Not Found
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v18.19.0/bin/npm
Watchman:
version: 2024.09.30.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/laurens/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: 2023.3 AI-233.14808.21.2331.11842104
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /opt/homebrew/opt/openjdk@17/bin/javac
Ruby:
version: 3.2.2
path: /Users/laurens/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.75.4
wanted: 0.75.4
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

Sentry.init()

Sentry.init({
dsn: '<MY_DSN>,
tracesSampleRate: 1.0,
});

Steps to Reproduce

  1. Have "tracesSampleRate" enabled in Sentry.init
  2. Start bundler
  3. Install and open native application
  4. Loop/Crash happens

Expected Result

The app should start and tracing should work.

Actual Result

The app hangs in an infinite loop, the console logs:

RangeError: Maximum call stack size exceeded (native stack depth), js engine: hermes

@krystofwoldrich
Copy link
Member

Hi @laurensk,
thank you for the message,

I have a few more questions?

Have you upgraded from v5? If so, from what version?

Do you have any other @sentry/* dependencies installed? If so, which ones and what versions?

@laurensk
Copy link
Author

Hi,

it's a fresh install into the project, so no upgrade.

No, only have "@sentry/react-native": "^6.0.0", in my package.json.

Thank you very much for looking into this - I really tried a lot before opening this issue and just couldn't fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Status: Needs More Information
Development

No branches or pull requests

2 participants