OneSignal / OneSignal-iOS-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Other
494 stars 262 forks source link

Crash: com.onesignal.regiseruser EXC_BAD_ACCES KERN_INVALID_ADDRESS 0x0000000000000080 #650

Closed slccper closed 4 years ago

slccper commented 4 years ago

Description:

two random user crashed: com.onesignal.regiseruser EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000080

Environment

Steps to Reproduce Issue:

  1. Install iOS SDK version 2.12.6 with Cocoapods into a project
  2. Initialize the SDK in didFinishLaunchingWithOptions:

Anything else:

0 libobjc.A.dylib 0x19c794018 objc_retain + 8 1 Newchic 0x100a447c0 +[OneSignal currentEmailSubscriptionState] + 296524 2 Newchic 0x100a4bfd4 +[OneSignal registerUserInternal] + 327264 3 libdispatch.dylib 0x19c71e610 _dispatch_call_block_and_release + 24 4 libdispatch.dylib 0x19c71f184 _dispatch_client_callout + 16 5 libdispatch.dylib 0x19c6fc710 _dispatch_lane_serial_drain$VARIANT$armv81 + 564 6 libdispatch.dylib 0x19c6fd128 _dispatch_lane_invoke$VARIANT$armv81 + 400 7 libdispatch.dylib 0x19c70643c _dispatch_workloop_worker_thread + 576 8 libsystem_pthread.dylib 0x19c76eb88 _pthread_wqthread + 276 9 libsystem_pthread.dylib 0x19c771760 start_wqthread + 8

jkasten2 commented 4 years ago

@slccper Thanks for reporting, we will see what we can find based on the stack trace. Please provide details on reproducing the issue if you are able to.

slccper commented 4 years ago

@jkasten2 Do you find anything? i have no idea how it happened.

rgomezp commented 4 years ago

How widespread is this issue still?

slccper commented 4 years ago

@rgomezp now over 10 users

rgomezp commented 4 years ago

Howdy, Unfortunately we don't have enough information to do much here. Can you provide environment info, reproduction steps if possible?

rgomezp commented 4 years ago

Closing due to no response

DerHlopec commented 4 years ago

@slccper @rgomezp I have the same random issue with crash on initWithLaunchOptions. It happens approximately 2-3 times from 20. It happens in the same com.onesignal.registeruser. Regarding reproduction steps: unfortunately, I wasn't able to find something stable, it happens randomly when in the app we are switching the server (changing environment for one signal and the app (server URL) from dev, to QA or release for example)

oferRounds commented 3 years ago

Getting this also, can you please check.

  1. React Native on iOS
    • IOS SDK version - 2.15.4
    • react-native-onesignal - 3.9.2
      1. Happens on iOS 14, happens quite a lot
      2. Don’t know the reproduction states, unfortunately

image

Shubhankt1 commented 3 years ago

Hi. I have the same issue in Flutter. The app keeps crashing.

  1. Flutter SDK:
    • Flutter version- 1.22.5
    • Channel- stable
    • Dart- 2.10.4
    • package onesignal_flutter: ^2.6.2
  2. Happening in iOS frequently
  3. Happens randomly
  4. Stack trace on Crashlytics: Screenshot 2021-04-15 at 1 20 40 PM