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

[Bug]: EXC_BREAKPOINT in OneSignalNotifications.m (iOS) #1775

Closed
1 of 2 tasks
trooperandz opened this issue Dec 18, 2024 · 1 comment
Closed
1 of 2 tasks

[Bug]: EXC_BREAKPOINT in OneSignalNotifications.m (iOS) #1775

trooperandz opened this issue Dec 18, 2024 · 1 comment

Comments

@trooperandz
Copy link

trooperandz commented Dec 18, 2024

What happened?

An unhandled, fatal exception was thrown from the OneSignalNotifications.m file (see screenshot of stack trace below). The type of exception was EXC_BREAKPOINT, with the following breadcumb being reported in Sentry:

EXC_BREAKPOINT: Exception 6, Code 1, Subcode 4364248544

Screenshot 2024-12-18 at 3 55 53 PM

Steps to reproduce?

I am not able to create a reproduction of the error as it happens intermittently and I do not know a way to recreate it.

What did you expect to happen?

I expect the exception to be fixed or handled some way instead of causing a fatal crash.

React Native OneSignal SDK version

OneSignalXCFramework 5.2.8 (React Native version 5.2.7)

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Here is the Sentry "By Exception Stack-trace" log output.  In addition, see attached image for additional Sentry log output reporting.


system

    exception
        stack-trace
            frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))
                filename
                    <compiler-generated>
                function
                    value
            frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))
                filename
                    onesignalusermanagerimpl.swift
                function
                    OneSignalUserManagerImpl.createNewUser
            frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))
                filename
                    onesignalusermanagerimpl.swift
                function
                    OneSignalUserManagerImpl._login
            frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))
                filename
                    onesignalusermanagerimpl.swift
                function
                    OneSignalUserManagerImpl.user.getter
            frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))
                filename
                    onesignalusermanagerimpl.swift
                function
                    OneSignalUserManagerImpl.setPushToken

frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))

    function
        OneSignalUserManagerImpl.removeAlias

frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))

    filename
        osnotificationsmanager.m
    function
        +[OSNotificationsManager sendPushTokenToDelegate]

frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))

    filename
        osnotificationsmanager.m
    function
        +[OSNotificationsManager didRegisterForRemoteNotifications:deviceToken:]

frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))

    filename
        uiapplicationdelegate+onesignalnotifications.m
    function
        -[OneSignalNotificationsAppDelegate oneSignalDidRegisterForRemoteNotifications:deviceToken:]

    frame
        function
            UIApplicationMain
    frame (marked in-app by stack trace rule (family:native package:**/Containers/Bundle/Application/** +app))
        filename
            main.m
        function
            main

type

    EXC_BREAKPOINT


### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

<!-- probot = {"onesignal-probot":{"response_time_in_business_days":0}} -->
@trooperandz
Copy link
Author

Closing as I am moving this issue into the iOS sdk repo and attaching more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant