Search results for

“LLDB crash”

30,541 results found

Post

Replies

Boosts

Views

Activity

Reply to How to close / cancel a NetworkConnection
[quote='867322022, DTS Engineer, /thread/808198?answerId=867322022#867322022'] Can you share an example crash report? [/quote] my app was crashing because I was improperly saving the stream I would create like this try await connection.inboundStreams(prepending: { quicStream in TLV { quicStream } }) { stream in await self.receiveMessages(from: stream, connectionID: connectionID) } I learned via Cursor that those streams are one time use and do not need to be saved.
Dec ’25
Reply to Safely updating an FSKit module via the Mac App Store
So, let me start with the critical one here: I've seen a few cases where quitting or crashing the FSModule process while a volume is mounted without actually doing a clean unmount causes a lot of disk-related actions (for lack of a better term) to freeze (FB21305906). Can you confirm that this is happening in macOS 15.7.3 (24G416) in upload a new sysdiagnose if it is? The FSKit team believes it should have been fixed in that release. In terms of the other two bugs (FB21287341 & FB21287688), the answer is basically yes, that's what's going on. FSKit is built on top of our standard app extensions infrastructure, which is then terminating your extensions as part of its normal process for handling these cases. That's certainly not ideal for something like volume mounting but changing the behavior is significantly more complicated than simply fixing a bug. However, that does mean you have an option here: Is there a way to prevent the extension's process from terminating in this case and/or another wor
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’25
Reply to CallKit does not activate audio session with higher probability after upgrading to iOS 18.4.1
In my practice dealing with CallKit, I came to the conclusion that changing CXProvider configuration during a call is a bad idea. Sometimes this was causing providerDidReset being called, and the first call got dropped. Can you confirm or deny my observation? That's hard to say. On its own, I wouldn't expect it to be an issue or, more specifically, it's much more likely to trigger a pending failure than it is to create one. As background context, the primary cause of providerDidReset is mediaserverd itself crashing, not normal system behavior. I'm sure there are cases where a call to setConfiguration was the direct trigger, but that doesn't mean that NOT calling setConfiguration would have prevented the crash. It's also possible/likely that setConfiguration DID actually cause providerDidReset... because the media system was already in a bad state, and the setConfiguration call is what caused callservicesd to detect a problem. However, having said all that... Do you suggest calling setConfigu
Topic: App & System Services SubTopic: General Tags:
Dec ’25
Questions about DeclaredAgeRange's isEligibleForAgeFeatures instance variable
Our team is in the process of updating our apps to comply with Texas's new state law. In order to minimize user confusion and provide the most ideal flow to access the app as possible, we have a few questions we would like answered. Summary of questions: Is isEligibleForAgeFeatures intended to be accurate and accessible before the user has accepted the Age Range permissions prompt? As other US states and/or other countries adopt a similar law going forward, will this instance variable cover those locations? Will the runtime crashes on isEligibleForAgeFeatures and other symbols in the DeclaredAgeRange framework be addressed in a future RC or in the official release? Details and Investigations: With regards to isEligibleForAgeFeatures, our team has noticed that this value is always false before the age range prompt has been accepted. This has been tested on the XCode RC 26.2 (17C48). Assuming the request needs to be accepted first, isEligibleForAgeFeatures does not get updated immediately when the user
6
0
1.2k
Dec ’25
Reply to MacOS 26 TestFlight SIGKILLs app when updating
First off, one other question I should have asked earlier— what does the crash log you're getting from the SIGKILL actually show? Is it just random state (whatever your app happened to be doing at the time)? Or does it show a pattern, particularly anything tied to your app’s own quit cycle? One possibility that I didn't cover here is that your app IS getting 'quit', but something is going wrong and stalling things long enough that the system kills you. I see, so quit AppleEvent is kinda like the Windows WM_QUIT message. Yes, except WM_QUIT is like the 'quit', since the AppleEvent came first. Yes, AppleEvents are that old. We definitely will file a bug. Bug number? In the meantime, the documentation for Sudden Termination says it's for shutdown. Unfortunately, the phrasing in our documentation is using trickier wording that it really should. Here's what it actually says: macOS 10.6 and later includes a mechanism that allows the system to log out or shut down more qu
Dec ’25
We attempted to run a burn-in test while connected to our MacBook Pro M4 Max, but this crashed about 10 minutes into testing.
We attempted to run a burn-in test while connected to our MacBook Pro M4 Max, but this crashed about 10 minutes into testing. We tried to run a 2-hour burn-in on M4 Max host while charging the battery from below 5%, running six bus-powered drives (via ATTO/Black Magic/IOmeter), hitting the RJ45 port for 2.5Gbps (via JPerf), and streaming at least 4K60Hz video content to two display, however, M4 Max will crashed in 20 [minutes.]( https://www.example.com/)
3
0
179
Dec ’25
Apple Mac M4 Max crashed
We attempted to run a burn-in test while connected to our MacBook Pro M4 Max, but this crashed about 10 minutes into testing. Can Action Star see if you are able to run a 2-hour burn-in on your own M4 Max host while charging the battery from below 5%, running six bus-powered drives (via ATTO/Black Magic/IOmeter), hitting the RJ45 port for 2.5Gbps (via JPerf), and streaming at least 4K60Hz video content to two displays? Please measure the outer temperature on the hottest part of the enclosure as well.
2
0
315
Dec ’25
Reply to MacOS 26 TestFlight SIGKILLs app when updating
The user can put you into exactly the same state using Force Quit as will crashing. The standard solution here is for the child to monitor the parent and self-terminate if the parent dies. We already implemented that. The problem is that, in the case of user force-quitting, the user inflicted that upon themselves so the the app quit unexpectedly message is nothing out of ordinary, but if a simple app update also prompts the app quit unexpectedly that doesn't sound very good.
Dec ’25
Safely updating an FSKit module via the Mac App Store
I'm trying to test the update process for an app containing an FSKit module that I'm distributing on the Mac App Store. (I'm also distributing the same app directly with Developer ID, but here I'll focus on App Store because that's the behavior I've been looking at first.) To do that I'm using an internal tester group on TestFlight and then testing an update with TestFlight. Below is the behavior I'm seeing on macOS 15.7.2 (24G325). I've noticed that if an app update is triggered while a disk is mounted using the FSKit extension, the disk is automatically unmounted without warning (FB21287341). That's already undesirable itself in my opinion, but on top of the unmount, there are two other problems: That unmount doesn't seem to be a clean unmount and doesn't call functions like synchronize (FB21287688). Now, in my case, my app only provides read-only access, so that doesn't actually matter much in my case. However, I'd imagine if I were to add write access at some point in the future, this would go from doesn'
4
0
374
Dec ’25
AppIntent ignores registered dependencies when awaited
App intent has a perform method that is async and can throw an error, but I can't find a way to actually await the result and catch the error if needed. If I convert this working but non-waiting, non-catching code: Button(Go, intent: MyIntent()) to this (so I can control awaiting and error handling): Button(Go) { Task { do { try await MyIntent().perform() // 👈 } catch { print(error) } } } It crashes: AppDependency with key foo of type Bar.Type was not initialized prior to access. Dependency values can only be accessed inside of the intent perform flow and within types conforming to _SupportsAppDependencies unless the value of the dependency is manually set prior to access. Although it is invalid since the first version is working like a charm and dependencies are registered in the @main App init method and it is in the perform flow. So how can we await the result of the AppIntent and handle the errors if needed in the app? Should I re-invent the Dependency mechanism?
1
0
238
Dec ’25
Reply to Flutter iOS - EXC_BAD_ACCESS crash on cold start after app was killed, affects ~1-2% of users
Thanks for the post. Are you using Flutter? Have you addressed by the support channel for Flutter - the third-party resource you are using. Unless another developer in the forums has experience with the third-party and can provide assistance. However I am sure the 3rd party tool could be aware of the issue if you provide them with crash files. Have you been able to reproduce on your environment? The objective-c code you posted seems ok, is that the part of the code is crashing? Have you use Xcode to reproduce it? Thanks Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit
Dec ’25
Reply to After upgrading to iOS 18, crashes caused by calling null function pointers cannot be captured by developers using signal listeners.
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. The screenshot above is the iOS system's crash log Just clarify what we’re talking about here, this is an Apple crash report from iOS 26.1: Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_PROTECTION_FAILURE at 0x0000000000000000 … Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 ??? 0x0 ??? 1 Test808813 0x10058c128 -[MainViewController tableView:didSelectRowAtIndexPath:] + 100 2 UIKitCore 0x1a563bc98 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:isCellMult… 3 UIKitCore 0x1a563bfbc -[UITableView _userSelectRowAtPendingSelectionIndexPath:animatedSelection:] + 255 4 UIKitCore 0x1a563c0c8 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 215 5 UIKitCore 0x1a407d878 -[_UIAfterCACommitBlock run] + 71 … You’re concern is with that SIGKILL, where prior to iOS 18 this was a SIGSEGV. That do
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’25
Flutter iOS - EXC_BAD_ACCESS crash on cold start after app was killed, affects ~1-2% of users
Question: How to prevent Flutter app crash on iOS 18 during cold start when iOS traverses view hierarchy before Flutter engine is fully initialized? Help needed: Looking for a way to either delay iOS view hierarchy traversal or ensure Flutter is fully initialized before iOS lifecycle callbacks fire. Problem Summary Our Flutter app crashes on cold start for approximately 1-2% of iOS users. The crash occurs specifically on iOS and only under these exact conditions: When crash happens: User opens app and uses it normally ✅ User minimizes app (goes to background) ✅ User returns to app from background ✅ (works fine) User kills app from app switcher (swipe up to close) User taps app icon to launch again → CRASH ❌ Key observations: Crash is intermittent - app may open on 2nd, 3rd, or 5th attempt 100% reproducible on affected devices by repeating kill→launch cycle ~98% of users have no issues Environment Flutter: 3.38.3 Crash Logs (from Sentry) Crash
Topic: UI Frameworks SubTopic: UIKit
2
0
386
Dec ’25
Reply to How to close / cancel a NetworkConnection
[quote='867322022, DTS Engineer, /thread/808198?answerId=867322022#867322022'] Can you share an example crash report? [/quote] my app was crashing because I was improperly saving the stream I would create like this try await connection.inboundStreams(prepending: { quicStream in TLV { quicStream } }) { stream in await self.receiveMessages(from: stream, connectionID: connectionID) } I learned via Cursor that those streams are one time use and do not need to be saved.
Replies
Boosts
Views
Activity
Dec ’25
Reply to Xcode 26.0 Share Extension crashes with NSInternalInconsistencyException on iOS 26.0
I sincerely apologize for the delayed response! I have also confirmed on my end that the combination of Xcode 26.1.1 and iOS 26.1 works properly without any crashes. Thank you to everyone who provided comments and to those who worked on addressing this issue.
Replies
Boosts
Views
Activity
Dec ’25
Reply to Safely updating an FSKit module via the Mac App Store
So, let me start with the critical one here: I've seen a few cases where quitting or crashing the FSModule process while a volume is mounted without actually doing a clean unmount causes a lot of disk-related actions (for lack of a better term) to freeze (FB21305906). Can you confirm that this is happening in macOS 15.7.3 (24G416) in upload a new sysdiagnose if it is? The FSKit team believes it should have been fixed in that release. In terms of the other two bugs (FB21287341 & FB21287688), the answer is basically yes, that's what's going on. FSKit is built on top of our standard app extensions infrastructure, which is then terminating your extensions as part of its normal process for handling these cases. That's certainly not ideal for something like volume mounting but changing the behavior is significantly more complicated than simply fixing a bug. However, that does mean you have an option here: Is there a way to prevent the extension's process from terminating in this case and/or another wor
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’25
Reply to CallKit does not activate audio session with higher probability after upgrading to iOS 18.4.1
In my practice dealing with CallKit, I came to the conclusion that changing CXProvider configuration during a call is a bad idea. Sometimes this was causing providerDidReset being called, and the first call got dropped. Can you confirm or deny my observation? That's hard to say. On its own, I wouldn't expect it to be an issue or, more specifically, it's much more likely to trigger a pending failure than it is to create one. As background context, the primary cause of providerDidReset is mediaserverd itself crashing, not normal system behavior. I'm sure there are cases where a call to setConfiguration was the direct trigger, but that doesn't mean that NOT calling setConfiguration would have prevented the crash. It's also possible/likely that setConfiguration DID actually cause providerDidReset... because the media system was already in a bad state, and the setConfiguration call is what caused callservicesd to detect a problem. However, having said all that... Do you suggest calling setConfigu
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’25
Questions about DeclaredAgeRange's isEligibleForAgeFeatures instance variable
Our team is in the process of updating our apps to comply with Texas's new state law. In order to minimize user confusion and provide the most ideal flow to access the app as possible, we have a few questions we would like answered. Summary of questions: Is isEligibleForAgeFeatures intended to be accurate and accessible before the user has accepted the Age Range permissions prompt? As other US states and/or other countries adopt a similar law going forward, will this instance variable cover those locations? Will the runtime crashes on isEligibleForAgeFeatures and other symbols in the DeclaredAgeRange framework be addressed in a future RC or in the official release? Details and Investigations: With regards to isEligibleForAgeFeatures, our team has noticed that this value is always false before the age range prompt has been accepted. This has been tested on the XCode RC 26.2 (17C48). Assuming the request needs to be accepted first, isEligibleForAgeFeatures does not get updated immediately when the user
Replies
6
Boosts
0
Views
1.2k
Activity
Dec ’25
Reply to MacOS 26 TestFlight SIGKILLs app when updating
First off, one other question I should have asked earlier— what does the crash log you're getting from the SIGKILL actually show? Is it just random state (whatever your app happened to be doing at the time)? Or does it show a pattern, particularly anything tied to your app’s own quit cycle? One possibility that I didn't cover here is that your app IS getting 'quit', but something is going wrong and stalling things long enough that the system kills you. I see, so quit AppleEvent is kinda like the Windows WM_QUIT message. Yes, except WM_QUIT is like the 'quit', since the AppleEvent came first. Yes, AppleEvents are that old. We definitely will file a bug. Bug number? In the meantime, the documentation for Sudden Termination says it's for shutdown. Unfortunately, the phrasing in our documentation is using trickier wording that it really should. Here's what it actually says: macOS 10.6 and later includes a mechanism that allows the system to log out or shut down more qu
Replies
Boosts
Views
Activity
Dec ’25
We attempted to run a burn-in test while connected to our MacBook Pro M4 Max, but this crashed about 10 minutes into testing.
We attempted to run a burn-in test while connected to our MacBook Pro M4 Max, but this crashed about 10 minutes into testing. We tried to run a 2-hour burn-in on M4 Max host while charging the battery from below 5%, running six bus-powered drives (via ATTO/Black Magic/IOmeter), hitting the RJ45 port for 2.5Gbps (via JPerf), and streaming at least 4K60Hz video content to two display, however, M4 Max will crashed in 20 [minutes.]( https://www.example.com/)
Replies
3
Boosts
0
Views
179
Activity
Dec ’25
Reply to Apple Mac M4 Max crashed
It can be reproduced in AS's lab, Mac M4 crashed after running ATTO Burn-in in 20~40 minutes. And there is an error report pop up on Mac M4 host.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’25
Apple Mac M4 Max crashed
We attempted to run a burn-in test while connected to our MacBook Pro M4 Max, but this crashed about 10 minutes into testing. Can Action Star see if you are able to run a 2-hour burn-in on your own M4 Max host while charging the battery from below 5%, running six bus-powered drives (via ATTO/Black Magic/IOmeter), hitting the RJ45 port for 2.5Gbps (via JPerf), and streaming at least 4K60Hz video content to two displays? Please measure the outer temperature on the hottest part of the enclosure as well.
Replies
2
Boosts
0
Views
315
Activity
Dec ’25
Reply to MacOS 26 TestFlight SIGKILLs app when updating
The user can put you into exactly the same state using Force Quit as will crashing. The standard solution here is for the child to monitor the parent and self-terminate if the parent dies. We already implemented that. The problem is that, in the case of user force-quitting, the user inflicted that upon themselves so the the app quit unexpectedly message is nothing out of ordinary, but if a simple app update also prompts the app quit unexpectedly that doesn't sound very good.
Replies
Boosts
Views
Activity
Dec ’25
Safely updating an FSKit module via the Mac App Store
I'm trying to test the update process for an app containing an FSKit module that I'm distributing on the Mac App Store. (I'm also distributing the same app directly with Developer ID, but here I'll focus on App Store because that's the behavior I've been looking at first.) To do that I'm using an internal tester group on TestFlight and then testing an update with TestFlight. Below is the behavior I'm seeing on macOS 15.7.2 (24G325). I've noticed that if an app update is triggered while a disk is mounted using the FSKit extension, the disk is automatically unmounted without warning (FB21287341). That's already undesirable itself in my opinion, but on top of the unmount, there are two other problems: That unmount doesn't seem to be a clean unmount and doesn't call functions like synchronize (FB21287688). Now, in my case, my app only provides read-only access, so that doesn't actually matter much in my case. However, I'd imagine if I were to add write access at some point in the future, this would go from doesn'
Replies
4
Boosts
0
Views
374
Activity
Dec ’25
AppIntent ignores registered dependencies when awaited
App intent has a perform method that is async and can throw an error, but I can't find a way to actually await the result and catch the error if needed. If I convert this working but non-waiting, non-catching code: Button(Go, intent: MyIntent()) to this (so I can control awaiting and error handling): Button(Go) { Task { do { try await MyIntent().perform() // 👈 } catch { print(error) } } } It crashes: AppDependency with key foo of type Bar.Type was not initialized prior to access. Dependency values can only be accessed inside of the intent perform flow and within types conforming to _SupportsAppDependencies unless the value of the dependency is manually set prior to access. Although it is invalid since the first version is working like a charm and dependencies are registered in the @main App init method and it is in the perform flow. So how can we await the result of the AppIntent and handle the errors if needed in the app? Should I re-invent the Dependency mechanism?
Replies
1
Boosts
0
Views
238
Activity
Dec ’25
Reply to Flutter iOS - EXC_BAD_ACCESS crash on cold start after app was killed, affects ~1-2% of users
Thanks for the post. Are you using Flutter? Have you addressed by the support channel for Flutter - the third-party resource you are using. Unless another developer in the forums has experience with the third-party and can provide assistance. However I am sure the 3rd party tool could be aware of the issue if you provide them with crash files. Have you been able to reproduce on your environment? The objective-c code you posted seems ok, is that the part of the code is crashing? Have you use Xcode to reproduce it? Thanks Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Dec ’25
Reply to After upgrading to iOS 18, crashes caused by calling null function pointers cannot be captured by developers using signal listeners.
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. The screenshot above is the iOS system's crash log Just clarify what we’re talking about here, this is an Apple crash report from iOS 26.1: Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_PROTECTION_FAILURE at 0x0000000000000000 … Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 ??? 0x0 ??? 1 Test808813 0x10058c128 -[MainViewController tableView:didSelectRowAtIndexPath:] + 100 2 UIKitCore 0x1a563bc98 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:isCellMult… 3 UIKitCore 0x1a563bfbc -[UITableView _userSelectRowAtPendingSelectionIndexPath:animatedSelection:] + 255 4 UIKitCore 0x1a563c0c8 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 215 5 UIKitCore 0x1a407d878 -[_UIAfterCACommitBlock run] + 71 … You’re concern is with that SIGKILL, where prior to iOS 18 this was a SIGSEGV. That do
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’25
Flutter iOS - EXC_BAD_ACCESS crash on cold start after app was killed, affects ~1-2% of users
Question: How to prevent Flutter app crash on iOS 18 during cold start when iOS traverses view hierarchy before Flutter engine is fully initialized? Help needed: Looking for a way to either delay iOS view hierarchy traversal or ensure Flutter is fully initialized before iOS lifecycle callbacks fire. Problem Summary Our Flutter app crashes on cold start for approximately 1-2% of iOS users. The crash occurs specifically on iOS and only under these exact conditions: When crash happens: User opens app and uses it normally ✅ User minimizes app (goes to background) ✅ User returns to app from background ✅ (works fine) User kills app from app switcher (swipe up to close) User taps app icon to launch again → CRASH ❌ Key observations: Crash is intermittent - app may open on 2nd, 3rd, or 5th attempt 100% reproducible on affected devices by repeating kill→launch cycle ~98% of users have no issues Environment Flutter: 3.38.3 Crash Logs (from Sentry) Crash
Topic: UI Frameworks SubTopic: UIKit
Replies
2
Boosts
0
Views
386
Activity
Dec ’25