Search results for

LLDB crash

29,555 results found

Post

Replies

Boosts

Views

Activity

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
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
How to use Extended Virtual Addressing and Increased Memory Limit services correctly?
During the development of our 3D game project, we encountered high memory usage requirements. To address this, we enabled Apple’s Extended Virtual Addressing (EVA) and Increased Memory Limit services. We have confirmed that both services were enabled in the developer backend as well as in Xcode, and we also used updated development and distribution certificates when building the app. However, in our validation process, it seems that EVA and Increased Memory Limit are not taking effect — the game still experiences memory overflow and crashes. Could you please advise: The correct steps to properly use Extended Virtual Addressing and Increased Memory Limit; How we can confirm whether these services are functioning as expected?
0
0
59
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
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
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 "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
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 "Assertion failed: (false) function _onqueue_rdar53306264_addWaiter file TubeManager.cpp line 1042" Crash
We observed the crash rdar53306264 in both Xcode → Organizer → Crashes and our third-party crash monitoring system. It has been occurring on both iOS 16 and iOS 17, and we did not find the r.54802623 bug. Another concern is that this crash appeared in large volumes during a certain period of time. Could you please advise what might have caused this? We are worried that it may happen again in the future.
Aug ’25
ELEMENT_TYPE_OF_SET_VIOLATES_HASHABLE_REQUIREMENTS
Is this possible while inserting a String into Set Crashed: com.apple.root.user-initiated-qos.cooperative 0 libswiftCore.dylib 0xf4c0 _assertionFailure(_:_:flags:) + 136 1 libswiftCore.dylib 0x17f484 ELEMENT_TYPE_OF_SET_VIOLATES_HASHABLE_REQUIREMENTS(_:) + 3792 2 MyEatApp 0x44f6e8 specialized _NativeSet.insertNew(_:at:isUnique:) + 4333926120 (<compiler-generated>:4333926120) 3 MyEatApp 0x44eaec specialized Set._Variant.insert(_:) + 4333923052 (<compiler-generated>:4333923052) 4 MyEatApp 0x479f7c HomeViewModel.hanldeAnnouncementCard(from:) + 293 (HomeViewModel+PersonalizedOffer.swift:293) 5 libswift_Concurrency.dylib 0x5c134 swift::runJobInEstablishedExecutorContext(swift::Job*) + 292 6 libswift_Concurrency.dylib 0x5d5c8 swift_job_runImpl(swift::Job*, swift::SerialExecutorRef) + 156 7 libdispatch.dylib 0x13db0 _dispatch_root_queue_drain + 364 8 libdispatch.dylib 0x1454c _dispatch_worker_thread2 + 156 9 libsystem_pthread.dylib 0x9d0 _pthread_wqthread + 232 10 libsystem_pthread.dylib 0xaac s
6
0
303
Aug ’25
Reply to Crash when testing Speech sample app with FoundationModels on macOS 26.0 beta and iOS 26.0 beta
Hi, this is because you are using an older Xcode (beta 3) with a newer OS (beta 6). During beta, we make changes to the API based on developer feedback, so we do not guarantee the compatibility of runtime symbols (ABI) between beta versions. This crash is unrelated to Intel or not. The best way to resolve this is installing an Xcode that matches your OS.
Aug ’25