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.

EXC_BAD_ACCESS RCTModalHostViewController New Issue Unhandled addObject: > numberWithInteger: > Attempted to dereference garbage pointer 0x2bd270000000010

See original GitHub issue

Environment

OS - Mac OS

Platform: iOS

How do you use Sentry? Sentry SaaS (sentry.io)

Which SDK and version? Sentry React Native - 3.2.8

react-native version: 0.64.2

I am using sentry.io, please post a link to your issue so we can take a look:

issue link

Configuration:

Sentry.init({
      dsn: "https://xxxxxxxxx.xxxx.sentry.io/xxxxx",
      //Enable Instrumentation
      integrations: [
        new Sentry.ReactNativeTracing({
          routingInstrumentation: reactNavigationV4Instrumentation,
          tracingOrigins: ['localhost', 'xxxxx.xxx.xxx', /^\//, /^https:\/\//],
        }),
      ],
      tracesSampleRate: 1,
      environment: isEmulator ? `${Config.SENTRY_ENV}_simulator` : Config.SENTRY_ENV,
    });

Steps to Reproduce

Previously we were using v2.6.2 and after upgrading to @sentry/react-native v3.2.3, we are experiencing a hard application crash when launching our application with the above Sentry.init

I tried all the version from 3.2.3 to 3.2.8 but issue is still happening. After downgrading to 2.6.2 I am not observing this issue.Because of this I am not able to upgrade to 3.x

issue is only happening on iOS (easily reproducible on iOS 12.5.5 )and its not consistent. If I launch the application 4 to 5 times then one of the launch is crashing. We are observing this issue on iOS 12 and iOS 14

Expected Result

Application runs as normal

Actual Result

Application closes immediately upon load of the compiled JS bundle. I have shared the issue link

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
mouricefcommented, Dec 20, 2021

@marandaneto Give me weeks time. I will provide the minimal reproducible example repo.

0reactions
philipphofmanncommented, Mar 16, 2022

@marandaneto, can we bump sentry-cocoa to 7.10.2 and see if it fixes this problem as we released https://github.com/getsentry/sentry-cocoa/pull/1692 with it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash after block release, but thr… | Apple Developer Forums
Crash after block release, but thread stack trace doesn't hint anything ... EXC_BAD_ACCESS · Attempted to dereference garbage pointer 0x20. 0libobjc.
Read more >
iOS EXC_BAD_ACCESS Attempted to dereference garbage ...
Based on the App Specific info Attempted to dereference garbage pointer , and the fact that you're a few frames into an allocator, ......
Read more >
Fixing an Unfixable Bug | Develop with Dillon
The error message was EXC_BAD_ACCESS , with this detail: Attempted to dereference garbage pointer 0x10. The address of the garbage pointer ...
Read more >
EXC_BAD_ACCESS error in 1.3.3 - Zoom Developer Forum
I've downloaded the latest version of ZoomVideoSDK 1.3.3. ... removeUser: > Attempted to dereference garbage pointer 0x165e15957400.
Read more >
Crash: Attempted to dereference garbage pointer 0x16d183180.
Hello. We have a crash report, which says Message: Exception EXC_BAD_ACCESS, Code 1830302080, Subcode 8 Attempted to dereference garbage ...
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