Giter Club home page Giter Club logo

Comments (4)

nan-li avatar nan-li commented on June 10, 2024

Hi @danhalliday, thanks for reporting.

  • Is this all the information from the crash log?

  • Is there any information about what the error is like this:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000102afb3d0
  • How many users / what percent of users have been affected by this crash?
  • I have some clues what could be happening here, but to confirm, do you ever call login with an external_id that could contain potentially problematic characters?
    • Such as special characters like @ # " ' [ ] / \ . , ;, or non-English characters, etc?
    • What type of characters are used in your external_id?

from onesignal-ios-sdk.

danhalliday avatar danhalliday commented on June 10, 2024

@nan-li All our user IDs are UUIDs, with the usual format (eg. 3a0e68e4-7cc3-4602-ac61-131d00222d01). This doesn't seem to be something that would cause an issue with URL encoding or other serialisations.

Given the nanov2_guard_corruption_detected stack frame surely this is a thread safety issue?

from onesignal-ios-sdk.

nan-li avatar nan-li commented on June 10, 2024

Hi @danhalliday, thanks for confirming your user IDs.

The reason it looks like URL encoding or serialization to me, from first glance is the stack trace leading up to the crash is creating an NSURL instance.

  1. [OneSignalClient prettyPrintDebugStatementWithRequest:] followed by [OneSignalRequest urlRequest] leads to this line of code which is printing a debug statement.

  2. Which then calls into the creation of the NSURL [NSURL(NSURL) URLWithString:relativeToURL:] in this line of code.

from onesignal-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.