Search results for

“LLDB crash”

30,530 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS App terminated by Watchdog (Signal 9) in Background state despite reporting call
Hi Kevin, thanks for the response, really appreciate it. I am putting the log below, which is getting on the Mac console when the app is crashing. Yes, that's the standard log message that happens when your app crashes itself for failing to report a call to CallKit. To say more about what's actually going on, I'd need to see the actual crash log. See this forum post for more information about how to get the log and then post it to the forums. Is this enough or do you need anything specific? Let me know if anything is needed. Thanks for the effort. I'm happy to take a look at the log, but the basic answer here is that your app is doing something wrong- either by not reporting a call, or by blocking inside didReceiveIncomingPushWith for an extended period of time (it shouldn't really need to block at all). __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Reply to My EndpointSecurity Client process is kicked by OS on Mac sleep/wake cycle
Splitting for length, part 2... Moving on to specifics: I need to decide whether a file-system object (from the ES message) is a Document, in my own semantics. As a general comment, you should be aware that relying on data read from the file system opens you up to a variety of TOCTU attacks. That may not be avoidable, but the risk is quite real. A document is any normal file, or -- package directories. If the file-system object exists and is a directory, and it has a file-name extension, I use something like: How is your ES client being run? Assuming you're running as a daemon, then you should not be calling NSWorkspace, as AppKit is definitely NOT daemon safe. In this particular case, it's easy to replace as isFilePackageAtPath is actually just a trivial wrapper around NSURL.getResourceValue:forKey: which is checking NSURLIsPackageKey. However, I'd strongly recommend taking a look at any other usage of NSWorkspace. If it is non-existing (to be created etc.) Then I use this heuristic and API: Have you impleme
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Reply to My EndpointSecurity Client process is kicked by OS on Mac sleep/wake cycle
Splitting for length, part 1... I will also attach a sample crash report. So, let me start there. All three logs have threads blocked in dispatch_sync, with the worst case having 35 threads blocked in this code chunk waiting for another thread to clear the block: 6 libdispatch.dylib 0x7ff80f50468e _dispatch_sync_f_slow + 175 7 com.proofpoint.itm.prevention 0x10a102a81 8 com.proofpoint.itm.prevention 0x10a0ff5cb 9 com.proofpoint.itm.prevention 0x10a0ff482 10 com.proofpoint.itm.prevention 0x10a0c5716 11 libdispatch.dylib 0x7ff80f4f76b9 _dispatch_call_block_and_release + 12 The other two logs are that extreme, but both of them also show blocks in dispatch_sync and one of them also shows the same contentions (though not as extreme). I have some general comments below, but the critical next step here is to fully symbolicate these logs and figure out what your client is actually doing. You're clearly bottlenecking on something and figuring out what that is is obviously an important first step. I obviously
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Support your app on compatible devices
Apple platforms make it easy to distribute your app to a variety of compatible devices, so it’s important to maximize your app experience on each platform you support. Here are some tips from App Review to help you understand how device compatibility impacts your app’s distribution — and how to make sure your apps shine on every platform they’re on. Understand device compatibility There are many ways an app built for one Apple device can run on other Apple devices: Apps designed for iPhone can run on iPad devices in compatibility mode if there are no dependencies on iPhone device capabilities. Compatible iPhone and iPad apps can run unmodified on Macs with Apple Silicon. Compatible iPhone and iPad apps can run unmodified on Apple Vision Pro. Xcode provides options to configure settings for apps on multiple platforms. You can specify which platforms your app’s target supports in the Supported Destination field. However, it’s important to note: People may still be able to run your app on a device even if you re
0
0
2.3k
Feb ’26
Reply to Mac Assigning NSManagedObject to NSPersistentStore
It appears to be related explicitly to persistent store. Removing the assign call allows the object to be created, modified, saved as expected. Further, I tried to editing objects with the following code let managedObjectContext = managedObjectContext.child(with: .mainQueueConcurrencyType) let object = managedObjectContext.object(with: objectID) as! Object And this crashed with Thread 1: Object 0x82018e630c8dd320 persistent store is not reachable from this NSManagedObjectContext's coordinator Again, this isn't an issue for iOS, but it does appear to be an issue for both Mac and VisionOS. It's also not feasible to provide a minimal project that is minimal.
Feb ’26
Reply to My EndpointSecurity Client process is kicked by OS on Mac sleep/wake cycle
Thank you so much for the elaborate and helpful reply. I will try to address each point, to try and see how to close in on my problem. I will also attach a sample crash-report. My rule engine is very fast, based on NSPredicates over ObjC custom classes (No core-data etc.). Rule evaluation is completely internal to my daemon, no API calls and no external calls. There IS , however a stage prior to rule evaluation, where I Parse ES messages into my custom ObjC class, and in that stage there are few API calls one of which has given me grief in the past. I need to decide whether a file-system object (from the ES message) is a Document, in my own semantics. A document is any normal file, or -- package directories. If the file-system object exists and is a directory, and it has a file-name extension, I use something like: _isDocument = [[NSWorkspace sharedWorkspace] isFilePackageAtPath:_filePath ]; If it is non-existing (to be created etc.) Then I use this heuristics and API: { // non-existing directory obj
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Reply to iOS App terminated by Watchdog (Signal 9) in Background state despite reporting call
Hi Kevin thanks for the response, really appreciate it. am putting the log below, which isgetting on Mac console when app is crashing default 23:17:22.391093-0600 callservicesd Registering client process with bundle identifier for PushKit voip in environment development default 23:17:23.060244-0600 callservicesd XPC PushKit connection invalidated from client default 23:17:23.060353-0600 callservicesd XPC PushKit connection invalidated from client default 23:17:23.060420-0600 callservicesd XPC PushKit connection invalidated from client default 23:17:54.295556-0600 callservicesd Pending PushKit VoIP payload deliveries until a connection exists default 23:17:54.385566-0600 callservicesd Registering client process with bundle identifier for PushKit voip in environment development default 23:17:54.576781-0600 callservicesd Registering client process with bundle identifier for PushKit voip in environment development default 23:17:58.781527-0600 callservicesd Registering client process with bundle identifie
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Device-Specific Instant Crash on Post-Login in Production iOS App (App Store Distribution)
Hi all, I’m facing a device-specific issue in a live production iOS app distributed privately via the App Store . The app crashes immediately after login on one client’s iPhone, while the same account works fine on other devices. There’s no crash log generated in Analytics, and the app just pops to the home screen. Environment: App: Production app on App Store iOS version: 26.3 Devices: Only one device exhibits the crash; other iPhones work fine Login flow: App calls an API and writes the response to a local SQLite database immediately after login Distribution: App Store (Privately). The user is install via the redemption codes. Observations: All users on the problematic device crash immediately after login. The crash does not occur on any other devices, including the same iOS version. The client had already uninstalled and reinstalled the app via App Store cloud download, but the crash persisted. No crash log appears in Analytics or Xcode (proces
0
0
127
Feb ’26
Reply to UITabBarController crashes when editing the items
Until 26.4 is generally available, I have found an ugly, but usable, workaround: First perform method swizzling to replace addSubiew:, then in the replacement implementation do nothing when a view is being added to it self This will avoid the crash, but results in a graphic glitch where the selection overlay is opaque over some tabs. Very ugly. To solve this problem: Implement the tab-bar-controller delegate method to detect when customization has ended. When it has ended, set the tab-bar-controller's view-controllers to just the first view-controller, without animation. Then immediately restore the original set of view-controllers, again without animation. This will force the tab-bar to refresh and resolve the graphic glitch from (1) Finally, set the more-view-controller as the selected-view-controller again, since the re-setting of view-controllers in (2) will reset the selected tab. With the above, I do not experience crashes, and there is about 1/2 a second of visual glitching, but thing
Topic: UI Frameworks SubTopic: UIKit
Feb ’26
Reply to Is calling different SBApplication objects from different threads bad?
The test using a fake job did not cause a crash, only a hang of the ProofProcessor - FAKE1 NSOperation. I'll grab a sysdiagnose the next time this happens, which could be tomorrow. There's currently one user's job that is repeatedly causing an exception to be thrown while sending AppleEvents via ScriptingBridge. It's probably related, but is not causing the same 2 jobs sending AEs and causing the crash situation.
Feb ’26
Reply to Is calling different SBApplication objects from different threads bad?
First up, on the bug side, what would be most useful now would be to capture a sysdiagnose after the crash, then upload that log to the bug. A few notes on that: The log doesn't need to be collected all that soon after the bug. I try to collect within a few minutes of the crash, but there really isn't any difference triggering within the next 15+ minutes. Eventually, we start purging log data (losing data), but I've gotten useful data out of logs that were taken hours after the event. It IS important that you not reboot the machine first. Lots of data is purged during that process, to the point where I've basically found those logs useless. PLEASE include information about WHEN the problem occurred. Even better, upload the crash log from the same crash you want to use to look at in the sysdiagnose. The log volume is so high that trying to figure out what happened without a time reference can be extremely slow and time-consuming. Similarly, the crash log should be i
Feb ’26
Appcrash on M4 MAX
I develop and build the DeepSkyStacker application on an M4 Mac Mini. A user reports that with a given set of data files and application settings, that it crashes on his M4 MAX. He sent me his data files, and I can't provoke a crash on my M4. He also sent an App Crash report file which I attach. Any insight into the likely cause of the problem will be appreciated (yes, I know it is a segfault in code called from Avx256Stacking::pixelPartitioning - probably a lambda ...). dss-6.1.3-crash.log
2
0
198
Feb ’26
CoreML Instrument Testing Native Clawbot using FM.SyML & OAIC & Diffusion
After running performance test on my CoreML qwen3 vision, I appreciated the update where results were viewable... ON Mac it mentions Ios18 and im not sure if or how to change.. that bottle neck lead to rebuilding CoreML view. I woke up and realized I have all the pieces together... and ended up with a swift package working demo of Clawbot.. the current issue is Im trying to use gguf 3b to code it.. I have become well aware that everything I create using the big models, they soon become the default themes /layouts for everyone else simply asking for this or that (I appoligise) so here I am asking (while looking to schedule meet with dev) if its possible to speak with anyone about th 1000s of Apple Intelligence PCC, Xcode, and vision reports and feedback ive sent , in terms of just general ways I can work more efficiently without the crash... ive already build a TUI for MLX but the tools for coreML while seems promising are not intuitive, but the vision format instruction was nice to see. Anyway my que
0
0
92
Feb ’26
Reply to iOS App terminated by Watchdog (Signal 9) in Background state despite reporting call
Hi Kevin, thanks for the response, really appreciate it. I am putting the log below, which is getting on the Mac console when the app is crashing. Yes, that's the standard log message that happens when your app crashes itself for failing to report a call to CallKit. To say more about what's actually going on, I'd need to see the actual crash log. See this forum post for more information about how to get the log and then post it to the forums. Is this enough or do you need anything specific? Let me know if anything is needed. Thanks for the effort. I'm happy to take a look at the log, but the basic answer here is that your app is doing something wrong- either by not reporting a call, or by blocking inside didReceiveIncomingPushWith for an extended period of time (it shouldn't really need to block at all). __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to My EndpointSecurity Client process is kicked by OS on Mac sleep/wake cycle
Splitting for length, part 2... Moving on to specifics: I need to decide whether a file-system object (from the ES message) is a Document, in my own semantics. As a general comment, you should be aware that relying on data read from the file system opens you up to a variety of TOCTU attacks. That may not be avoidable, but the risk is quite real. A document is any normal file, or -- package directories. If the file-system object exists and is a directory, and it has a file-name extension, I use something like: How is your ES client being run? Assuming you're running as a daemon, then you should not be calling NSWorkspace, as AppKit is definitely NOT daemon safe. In this particular case, it's easy to replace as isFilePackageAtPath is actually just a trivial wrapper around NSURL.getResourceValue:forKey: which is checking NSURLIsPackageKey. However, I'd strongly recommend taking a look at any other usage of NSWorkspace. If it is non-existing (to be created etc.) Then I use this heuristic and API: Have you impleme
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to My EndpointSecurity Client process is kicked by OS on Mac sleep/wake cycle
Splitting for length, part 1... I will also attach a sample crash report. So, let me start there. All three logs have threads blocked in dispatch_sync, with the worst case having 35 threads blocked in this code chunk waiting for another thread to clear the block: 6 libdispatch.dylib 0x7ff80f50468e _dispatch_sync_f_slow + 175 7 com.proofpoint.itm.prevention 0x10a102a81 8 com.proofpoint.itm.prevention 0x10a0ff5cb 9 com.proofpoint.itm.prevention 0x10a0ff482 10 com.proofpoint.itm.prevention 0x10a0c5716 11 libdispatch.dylib 0x7ff80f4f76b9 _dispatch_call_block_and_release + 12 The other two logs are that extreme, but both of them also show blocks in dispatch_sync and one of them also shows the same contentions (though not as extreme). I have some general comments below, but the critical next step here is to fully symbolicate these logs and figure out what your client is actually doing. You're clearly bottlenecking on something and figuring out what that is is obviously an important first step. I obviously
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Is calling different SBApplication objects from different threads bad?
Lucky me - it crashed today! Crash log and sysdiagnose uploaded to bug report FB21953216.
Replies
Boosts
Views
Activity
Feb ’26
Support your app on compatible devices
Apple platforms make it easy to distribute your app to a variety of compatible devices, so it’s important to maximize your app experience on each platform you support. Here are some tips from App Review to help you understand how device compatibility impacts your app’s distribution — and how to make sure your apps shine on every platform they’re on. Understand device compatibility There are many ways an app built for one Apple device can run on other Apple devices: Apps designed for iPhone can run on iPad devices in compatibility mode if there are no dependencies on iPhone device capabilities. Compatible iPhone and iPad apps can run unmodified on Macs with Apple Silicon. Compatible iPhone and iPad apps can run unmodified on Apple Vision Pro. Xcode provides options to configure settings for apps on multiple platforms. You can specify which platforms your app’s target supports in the Supported Destination field. However, it’s important to note: People may still be able to run your app on a device even if you re
Replies
0
Boosts
0
Views
2.3k
Activity
Feb ’26
Reply to Mac Assigning NSManagedObject to NSPersistentStore
It appears to be related explicitly to persistent store. Removing the assign call allows the object to be created, modified, saved as expected. Further, I tried to editing objects with the following code let managedObjectContext = managedObjectContext.child(with: .mainQueueConcurrencyType) let object = managedObjectContext.object(with: objectID) as! Object And this crashed with Thread 1: Object 0x82018e630c8dd320 persistent store is not reachable from this NSManagedObjectContext's coordinator Again, this isn't an issue for iOS, but it does appear to be an issue for both Mac and VisionOS. It's also not feasible to provide a minimal project that is minimal.
Replies
Boosts
Views
Activity
Feb ’26
Reply to My EndpointSecurity Client process is kicked by OS on Mac sleep/wake cycle
Thank you so much for the elaborate and helpful reply. I will try to address each point, to try and see how to close in on my problem. I will also attach a sample crash-report. My rule engine is very fast, based on NSPredicates over ObjC custom classes (No core-data etc.). Rule evaluation is completely internal to my daemon, no API calls and no external calls. There IS , however a stage prior to rule evaluation, where I Parse ES messages into my custom ObjC class, and in that stage there are few API calls one of which has given me grief in the past. I need to decide whether a file-system object (from the ES message) is a Document, in my own semantics. A document is any normal file, or -- package directories. If the file-system object exists and is a directory, and it has a file-name extension, I use something like: _isDocument = [[NSWorkspace sharedWorkspace] isFilePackageAtPath:_filePath ]; If it is non-existing (to be created etc.) Then I use this heuristics and API: { // non-existing directory obj
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to iOS App terminated by Watchdog (Signal 9) in Background state despite reporting call
Hi Kevin thanks for the response, really appreciate it. am putting the log below, which isgetting on Mac console when app is crashing default 23:17:22.391093-0600 callservicesd Registering client process with bundle identifier for PushKit voip in environment development default 23:17:23.060244-0600 callservicesd XPC PushKit connection invalidated from client default 23:17:23.060353-0600 callservicesd XPC PushKit connection invalidated from client default 23:17:23.060420-0600 callservicesd XPC PushKit connection invalidated from client default 23:17:54.295556-0600 callservicesd Pending PushKit VoIP payload deliveries until a connection exists default 23:17:54.385566-0600 callservicesd Registering client process with bundle identifier for PushKit voip in environment development default 23:17:54.576781-0600 callservicesd Registering client process with bundle identifier for PushKit voip in environment development default 23:17:58.781527-0600 callservicesd Registering client process with bundle identifie
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Device-Specific Instant Crash on Post-Login in Production iOS App (App Store Distribution)
Hi all, I’m facing a device-specific issue in a live production iOS app distributed privately via the App Store . The app crashes immediately after login on one client’s iPhone, while the same account works fine on other devices. There’s no crash log generated in Analytics, and the app just pops to the home screen. Environment: App: Production app on App Store iOS version: 26.3 Devices: Only one device exhibits the crash; other iPhones work fine Login flow: App calls an API and writes the response to a local SQLite database immediately after login Distribution: App Store (Privately). The user is install via the redemption codes. Observations: All users on the problematic device crash immediately after login. The crash does not occur on any other devices, including the same iOS version. The client had already uninstalled and reinstalled the app via App Store cloud download, but the crash persisted. No crash log appears in Analytics or Xcode (proces
Replies
0
Boosts
0
Views
127
Activity
Feb ’26
Reply to UITabBarController crashes when editing the items
Until 26.4 is generally available, I have found an ugly, but usable, workaround: First perform method swizzling to replace addSubiew:, then in the replacement implementation do nothing when a view is being added to it self This will avoid the crash, but results in a graphic glitch where the selection overlay is opaque over some tabs. Very ugly. To solve this problem: Implement the tab-bar-controller delegate method to detect when customization has ended. When it has ended, set the tab-bar-controller's view-controllers to just the first view-controller, without animation. Then immediately restore the original set of view-controllers, again without animation. This will force the tab-bar to refresh and resolve the graphic glitch from (1) Finally, set the more-view-controller as the selected-view-controller again, since the re-setting of view-controllers in (2) will reset the selected tab. With the above, I do not experience crashes, and there is about 1/2 a second of visual glitching, but thing
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Feb ’26
Reply to Is calling different SBApplication objects from different threads bad?
The test using a fake job did not cause a crash, only a hang of the ProofProcessor - FAKE1 NSOperation. I'll grab a sysdiagnose the next time this happens, which could be tomorrow. There's currently one user's job that is repeatedly causing an exception to be thrown while sending AppleEvents via ScriptingBridge. It's probably related, but is not causing the same 2 jobs sending AEs and causing the crash situation.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Is calling different SBApplication objects from different threads bad?
First up, on the bug side, what would be most useful now would be to capture a sysdiagnose after the crash, then upload that log to the bug. A few notes on that: The log doesn't need to be collected all that soon after the bug. I try to collect within a few minutes of the crash, but there really isn't any difference triggering within the next 15+ minutes. Eventually, we start purging log data (losing data), but I've gotten useful data out of logs that were taken hours after the event. It IS important that you not reboot the machine first. Lots of data is purged during that process, to the point where I've basically found those logs useless. PLEASE include information about WHEN the problem occurred. Even better, upload the crash log from the same crash you want to use to look at in the sysdiagnose. The log volume is so high that trying to figure out what happened without a time reference can be extremely slow and time-consuming. Similarly, the crash log should be i
Replies
Boosts
Views
Activity
Feb ’26
Swift Student Challenge 2026 submission format
Hello, I built my app in Xcode and used IOS 26 latest frameworks like Foundation Models. But some of this frameworks don't work properly in Swift Playground(MyApp.swiftpm) and cause crashes. My question is can I submit a MyApp.xcodeproj file and choose Xcode 26 as a software to run my app ? Thank you in advance.
Replies
1
Boosts
0
Views
170
Activity
Feb ’26
Appcrash on M4 MAX
I develop and build the DeepSkyStacker application on an M4 Mac Mini. A user reports that with a given set of data files and application settings, that it crashes on his M4 MAX. He sent me his data files, and I can't provoke a crash on my M4. He also sent an App Crash report file which I attach. Any insight into the likely cause of the problem will be appreciated (yes, I know it is a segfault in code called from Avx256Stacking::pixelPartitioning - probably a lambda ...). dss-6.1.3-crash.log
Replies
2
Boosts
0
Views
198
Activity
Feb ’26
CoreML Instrument Testing Native Clawbot using FM.SyML & OAIC & Diffusion
After running performance test on my CoreML qwen3 vision, I appreciated the update where results were viewable... ON Mac it mentions Ios18 and im not sure if or how to change.. that bottle neck lead to rebuilding CoreML view. I woke up and realized I have all the pieces together... and ended up with a swift package working demo of Clawbot.. the current issue is Im trying to use gguf 3b to code it.. I have become well aware that everything I create using the big models, they soon become the default themes /layouts for everyone else simply asking for this or that (I appoligise) so here I am asking (while looking to schedule meet with dev) if its possible to speak with anyone about th 1000s of Apple Intelligence PCC, Xcode, and vision reports and feedback ive sent , in terms of just general ways I can work more efficiently without the crash... ive already build a TUI for MLX but the tools for coreML while seems promising are not intuitive, but the vision format instruction was nice to see. Anyway my que
Replies
0
Boosts
0
Views
92
Activity
Feb ’26