Search results for

LLDB crash

29,555 results found

Post

Replies

Boosts

Views

Activity

Allowing workaround for FamilyActivityPicker crash
As discussed and acknowledged here, there is a known bug with the FamilyActivityPicker. When a user expands a category that contains enough tokens to exceed the 50mb memory limit, the FamilyActivityPicker crashes. This happens quite frequently for heavy Safari users. An apple engineer mentioned on this thread that WebDomains shown in the picker are present based on the last 30 days of usage data as surfaced by WebKit. Is there any way a user can clear these WebDomains? Either programatically through our app or any other process we can guide them to as a workaround while this issue is getting fixed?
2
0
452
Aug ’25
Reply to ELEMENT_TYPE_OF_SET_VIOLATES_HASHABLE_REQUIREMENTS
Thanks for the additional context. Consider the backtrace in your original post: 3 MyEatApp … specialized Set._Variant.insert(_:) + 4333923052 (:4333923052) 4 MyEatApp … HomeViewModel.hanldeAnnouncementCard(from:) + 293 (HomeViewModel+PersonalizedOffer.swift:293) That makes it clear that you’re failing on this line: handledAnnouncementIds.insert(offer.itemID) handledAnnouncementIds is a Set, so it’s really hard to see how this would be because of a hashing problem. Can you reproduce this in your office? Or are you debugging this based on crash reports coming in from the field? Regardless, please post a full Apple crash report for this. See Posting a Crash Report for advice on how to do that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’25
Xcode 26 Beta 5 HealthKit DLYD Symbol Crash
I'm having a problem with Xcode 26 where a symbol bug is causing my app to crash at launch if they are running iOS 17.X This has to do with a HealthKit API that was introduced in iOS 18.1 HKQuantityType(.appleSleepingBreathingDisturbances), I use availability clauses to ensure I only support it in that version. This all worked fine with Xcode 16.4 but breaks in Xcode 26. This means ALL my users running iOS 17 will get at launch crashes if this isn't resolved in the Xcode GM seed. I'll post the code here in case I'm doing anything wrong. This, the HealthKit capability, the HealthKit Privacy - Health Share Usage Description and Privacy - Health Update Usage Description, and device/simulator on iOS 17.X are all you need to reproduce the issue. I've made a feedback too as I'm 95% sure it's a bug: FB19727966 import SwiftUI import HealthKit struct ContentView: View { var body: some View { VStack { Image(systemName: globe) .imageScale(.large) .foregroundStyle(.tint) Text(Hello, world!) } .padding()
1
0
89
Aug ’25
Reply to Using CBPeripheralManager while using AccessorySetupKit framework
I've been pulling my hair out, even after pulling everything out in to a on a simple Multi-platform project, with two demos. ASK and Not ASK. If ASK isn't completely branched it burns BT radios. In the flagship sample project private static let pinkDice: ASPickerDisplayItem = { let descriptor = ASDiscoveryDescriptor() descriptor.bluetoothServiceUUID = DiceColor.pink.serviceUUID return ASPickerDisplayItem( name: DiceColor.pink.displayName, productImage: UIImage(named: DiceColor.pink.diceName)!, descriptor: descriptor ) }() I only see bluetoothServiceUUID provided, in the docs however: Each display item’s descriptor, a property of type ASDiscoveryDescriptor, needs to have a bluetoothCompanyIdentifier or bluetoothServiceUUID, and at least one of the following accessory identifiers: bluetoothNameSubstring A bluetoothManufacturerDataBlob and bluetoothManufacturerDataMask set to the same length. A bluetoothServiceDataBlob and > bluetoothServiceDataMask set to the same length. It wasn't until I removed bluetoothN
Topic: App & System Services SubTopic: Hardware Tags:
Aug ’25
Reply to App crashes ONLY from App Store for SOME Users
{imageOffset:4403460,imageIndex:0}, -xamarin_unhandled_exception_handler (in TheApp) (runtime.m:1129) {imageOffset:8159120,imageIndex:0}, -native_to_managed_trampoline_23(objc_object*, objc_selector*, _MonoMethod**, objc_object*, objc_object*, unsigned int) (in TheApp) (registrar.mm:1453) {imageOffset:8169364,imageIndex:0}, -[AppDelegate application:didFinishLaunchingWithOptions:] (in TheApp) (registrar.mm:7895) The system was in the process of launching your app, having reached the didFinishLaunchingWithOptions: method. That method started to call Xamarin code, which threw an exception. Since that's all code specific to Xamarin and not Apple's SDK, you should get in contact with Xamarin's support to figure out how to debug your app's crash from this point. — Ed Ford,  DTS Engineer
Aug ’25
WKWebView crash on iOS 26 Beta with -webkit-user-select: none
On iOS 26 Beta, WKWebView consistently crashes when interacting with pages that use -webkit-user-select: none. This issue does not reproduce in Safari, but only when the same content is loaded inside a WKWebView. Steps to Reproduce: Install iOS 26 Beta. Open a WKWebView that loads a webpage with the following style applied globally: -webkit-user-select: none; Perform the following gesture sequence inside the WKWebView: Double tap anywhere in the web content. On the second tap, keep your finger pressed (do not lift). While still holding the second tap, drag your finger across the screen (pan). This sequence reliably produces the crash. Expected Result: No crash. The gesture should either be ignored or handled gracefully. Actual Result: The app crashes 100% of the time with the following exception: #0 0x000000013f1a0874 in __pthread_kill () #1 0x00000001357522ec in pthread_kill () #2 0x00000001801ad950 in abort () #3 0x00000001802fa26c in __abort_message () #4 0x00000001802ea
3
0
1k
Aug ’25
Reply to Possible thread performance checker bug
I'm seeing this too, it started recently, I guess with an Xcode update. My MacOS app is using CoreImage / NSImage a lot. The stack trace usually ends in: std::__1::__hash_table [..], qosWaiterSignallerInvariantCheck, etc... I haven't seen the crash yet in production, but I see it very easily in a debug build, within a few minutes. Any help would be appreciated.
Aug ’25
iOS26 wkWebview Crash CALayer position contains NaN
On my native app, will open a wkWebview to display some content. And it will crash on iOS26: *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 103.667]. Layer: >; sublayers = (, ); opaque = YES; allowsGroupOpacity = YES; anchorPoint = CGPoint (inf 0); opacity = 0>'
Topic: Safari & Web SubTopic: General Tags:
3
0
350
Aug ’25
iOS 26 beta6 UIEditMenuListView crash
*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 106.333]. Layer: >; sublayers = (, ); opaque = YES; allowsGroupOpacity = YES; anchorPoint = CGPoint (30 0); opacity = 0>'
Topic: UI Frameworks SubTopic: UIKit
1
0
267
Aug ’25
Reply to "Assertion failed: (false) function _onqueue_rdar53306264_addWaiter file TubeManager.cpp line 1042" Crash
[quote='854059022, zhenYang, /thread/796647?answerId=854059022#854059022, /profile/zhenYang'] we did not find the r.54802623 bug. [/quote] Right. That was an internal bug and you don’t have access to it. I talk more about why I post such bug numbers in Bug Reporting: How and Why? [quote='854059022, zhenYang, /thread/796647?answerId=854059022#854059022, /profile/zhenYang'] Could you please advise what might have caused this? [/quote] There’s no easy answer to that question. Historically this crash has been triggered by a range of concurrency problems within CFNetwork. However, as I mentioned previously, we believe that those were fixed by iOS 17. So, if you’re seeing this crash in iOS 17 and later, then this is a new bug with similar symptoms. Are you seeing this on iOS 18? That matters because it’s reasonable to file a bug against iOS 18. However, if the problem is limited to iOS 17 then there’s little point filing a bug about this because, even if we were able to find and fix it, there’s no
Aug ’25
Reply to ELEMENT_TYPE_OF_SET_VIOLATES_HASHABLE_REQUIREMENTS
[quote='797255021, swiftuiforever, /thread/797255, /profile/swiftuiforever'] Is this possible while inserting a String into Set [/quote] I’m not 100% sure. Historically it might’ve been possible to get into this situation if you had a custom subclass of NSString, but I tried that here in my office today and I’m not able to trigger it any more [1]. The most common source of errors like this is folks not maintaining the Hashable invariant. I explain that in detail below. Are you sure that frame 4 is working with Set rather than some custom type? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] For custom NSString subclasses, the compiler seems to eagerly bridge the contents over to a native String. One of the fundamental requirements of Hashable is that, if you values are equal, they must have the same hash [1]. This is what allows containers like Set and Dictionary to use hashing to speed up things up: They put each value in a bucket based
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’25
Reply to Dynamic Library cannot call exposed C function
@DTS Engineer no matter what I tried I could not get this to work. I tried a .tbd file, using the -export-symbols-list flag, passing individual functions, etc. They get stripped every time. I ended up injecting the functions into the library at runtime. Functions are declared normally: void ios_prepare_request(const char *url) { ... } Then in my library I created a function that takes the function pointers, which I call when I load it: NSBundle *frameworkBundle = [NSBundle bundleWithIdentifier:@com.opacitylabs.sdk]; [frameworkBundle load]; opacity_core::register_ios_callbacks(ios_prepare_request); It's more verbose on my side but there is no runtime crash anymore. Thanks for the help anyways!
Topic: Code Signing SubTopic: General Tags:
Aug ’25