Post

Replies

Boosts

Views

Activity

Comment on _UIGetCurrentFallbackTraitCollection SIGSEGV
Sounds plausible. No luck resolving it. I still see it, but not very often. I know on my phone that when I kill an app and immediately relaunch it, this app always crashes (regardless of which app). Perhaps it's this crash that is being logged? Clearly this is an issue in iOS. Is this the crash that you refer to?
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’23
Comment on _UIGetCurrentFallbackTraitCollection SIGSEGV
My hypothesis is that UIAppearance selectors cause this crash when an image constructed with +[UIImage new] is used as the argument value in an appearance selector. I will change this to using a transparent PNG to see if this solves the crash. It will take some time though (maybe 2 months) before users have updated the application.
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’23
Comment on CFNetwork crash in CFURLRequestSetMainDocumentURL
Bug number is 10663350 (sorry only got around filing one just now). I have shared extra information regarding a thread that contains application-specific code, that is consistently in a mach_exception_callback function of PLCrashReporter. I see the same in thread 8 in a similar crash report here: https://developer.apple.com/forums/thread/112915. Perhaps the issue is in PLCrashReporter, or in the interplay between PLCrashReporter and CFNetwork? Is there any progress on this issue from Apple side?
Topic: App & System Services SubTopic: General Tags:
Jul ’22
Comment on CFNetwork crash in CFURLRequestSetMainDocumentURL
Looking at crash logs from our other application that shares a big chunk of the codebase of this one, I see more SIGSEGV crashes caused by _dispatch_source_set_runloop_timer_4CF. For example, in the callstack of another SIGSEGV crash I see _CFURLStorageSessionCopyCache, followed by 3x _CFNetworkSetATSContext, after which a crash occurs in _dispatch_source_set_runloop_timer_4CF. Without knowing the implementation of that function, could it be that some GCD resources have been exhausted, resulting in the segmentation violation?
Topic: App & System Services SubTopic: General Tags:
Dec ’21
Comment on modelContext.fetch() hits assert on release builds, but not on debug builds
Is there a workaround available without having to step away from generics? I'm also running into this issue and I use multiple models that conform to the same protocol, it would be painful to resort to concrete queries for those. Also I filed a dupe as FB16866464
Replies
Boosts
Views
Activity
Mar ’25
Comment on Swift Interop Build Issue - Linker Error with Undefined Symbols when running tests
Same issue here. Interestingly only my SPM test target fails. My library target succeeds.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on _UIGetCurrentFallbackTraitCollection SIGSEGV
Sounds plausible. No luck resolving it. I still see it, but not very often. I know on my phone that when I kill an app and immediately relaunch it, this app always crashes (regardless of which app). Perhaps it's this crash that is being logged? Clearly this is an issue in iOS. Is this the crash that you refer to?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on _UIGetCurrentFallbackTraitCollection SIGSEGV
My hypothesis is that UIAppearance selectors cause this crash when an image constructed with +[UIImage new] is used as the argument value in an appearance selector. I will change this to using a transparent PNG to see if this solves the crash. It will take some time though (maybe 2 months) before users have updated the application.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on _UIGetCurrentFallbackTraitCollection SIGSEGV
No. Still occuring in iOS 16.4.1.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on CFNetwork crash in CFURLRequestSetMainDocumentURL
Bug number is 10663350 (sorry only got around filing one just now). I have shared extra information regarding a thread that contains application-specific code, that is consistently in a mach_exception_callback function of PLCrashReporter. I see the same in thread 8 in a similar crash report here: https://developer.apple.com/forums/thread/112915. Perhaps the issue is in PLCrashReporter, or in the interplay between PLCrashReporter and CFNetwork? Is there any progress on this issue from Apple side?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on CFNetwork crash in CFURLRequestSetMainDocumentURL
Thank you for the analysis. Is there any news regarding this issue? We still seem to experience it on the latest iOS release (15.4.1). Are there any known workarounds? We are considering reimplementing our networking stack using SwiftNIO, but this will take some time
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on CFNetwork crash in CFURLRequestSetMainDocumentURL
Looking at crash logs from our other application that shares a big chunk of the codebase of this one, I see more SIGSEGV crashes caused by _dispatch_source_set_runloop_timer_4CF. For example, in the callstack of another SIGSEGV crash I see _CFURLStorageSessionCopyCache, followed by 3x _CFNetworkSetATSContext, after which a crash occurs in _dispatch_source_set_runloop_timer_4CF. Without knowing the implementation of that function, could it be that some GCD resources have been exhausted, resulting in the segmentation violation?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on CFNetwork crash in CFURLRequestSetMainDocumentURL
Many thanks for your swift reply. I have attached updated crash logs to a separate post in this topic. Please let me know if there is anything else I can do.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21