Post

Replies

Boosts

Views

Activity

Reply to Exception Type: EXC_BAD_ACCESS (SIGSEGV), Exception Subtype: KERN_INVALID_ADDRESS at 0x0.. -> 0x.. (possible pointer authentication failure)
This is block of code illustrate how i call binarySearch(in:for:) : the binarySearch(in:for:) function is not belong to any class and can call directly any where public class ScannerManagerCovid {    func checkContactF() {     let dispatch = DispatchQueue(label: "Bluezone.Trace")     dispatch.async {       let result = BluezoneIdTrace.checkContactF()       resolve(result)     } } class BluezoneIdTrace { static func checkContactF() { let indexfinded = binarySearch(in: contacts, for: bluezoneIdHexString) resolve(indexfinded) } } func binarySearch(in contacts: [Contact], for value: String) -> Int? { ... }
Topic: App & System Services SubTopic: General Tags:
Sep ’21
Reply to Exception Type: EXC_BAD_ACCESS (SIGSEGV), Exception Subtype: KERN_INVALID_ADDRESS at 0x0.. -> 0x.. (possible pointer authentication failure)
This is block of code illustrate how i call binarySearch(in:for:) : the binarySearch(in:for:) function is not belong to any class and can call directly any where public class ScannerManagerCovid {    func checkContactF() {     let dispatch = DispatchQueue(label: "Bluezone.Trace")     dispatch.async {       let result = BluezoneIdTrace.checkContactF()       resolve(result)     } } class BluezoneIdTrace { static func checkContactF() { let indexfinded = binarySearch(in: contacts, for: bluezoneIdHexString) resolve(indexfinded) } } func binarySearch(in contacts: [Contact], for value: String) -> Int? { ... }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Crash when compare 2 String many of times
Have one thing i didn't mention above, in thread 25 note about index of line crashed (Utils.swift:46) it's: if contacts[middle].blIdContact < value {
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21