Comments (4)
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 anexternal_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
?
- Such as special characters like
from onesignal-ios-sdk.
@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.
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.
-
[OneSignalClient prettyPrintDebugStatementWithRequest:]
followed by[OneSignalRequest urlRequest]
leads to this line of code which is printing a debug statement. -
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)
- Localization error HOT 1
- [question]: dyld[3745]: Library not loaded: HOT 1
- [question]: `macOS` support HOT 2
- [Bug]: Silent notifications HOT 23
- Handle tap on push notification HOT 2
- [Bug]: Is NOT allowed to set HSTS for main doc HOT 3
- [question]: How to disable push notification request (ios) HOT 1
- [Bug]: OneSignalUserDefaults Crash HOT 6
- [Bug]: OneSignalCore NSKeyedArchiver Crash HOT 1
- [Bug]: OneSignalOSCore __swift_instantiateConcreteTypeFromMangledName Crash HOT 6
- [Bug]: [OneSignal startNewSessionInternal] Crash HOT 9
- [Bug]: Asset validation failed (50) The app references non-public selectors in Payload/Runner.app/Frameworks/OneSignalFramework.framework/OneSignalFramework: setSharedInstance HOT 5
- [Bug]: Xcode 15.3: Failed to build module 'OneSignalFramework'; this SDK is not supported by the compiler HOT 5
- iOS17 privacy policy HOT 1
- [Bug]: Thread Performance Checker warning on OneSignal.initialize HOT 2
- [question]: 3.12.8 release with privacy manifest HOT 2
- [Bug]: [OneSignalUserDefaults saveDoubleForKey:withValue:] crash HOT 8
- [question]: Release 3.12.8 doesn't contain privacy manifests. HOT 6
- [question]: Apns Bad Device Token HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onesignal-ios-sdk.