Search results for

LLDB crash

29,557 results found

Post

Replies

Boosts

Views

Activity

Reply to macOS 26 Tahoe Screen Saver issues
@DTS Engineer FYI posted another FB with an issue reported by users when I compile the screen saver with the SDK from Xcode 26 beta4 and beta5 : FB19580645 It's a backward compability issue that's likely only tangentially related to screen saver, I narrowed it down to a crash with trying to call an unavailable hidden SDK function when opening a XIB with a scrollview. Opening the XIB crash on Sequoia and all previous versions of macOS : FAULT: NSInvalidUnarchiveOperationException: ; (user info absent) Could not instantiate class named _TtCC6AppKit14NSScrollPocketP33_EC3F85FAB7755D56E669206D2B17725B12BackdropView because no class named _TtCC6AppKit14NSScrollPocketP33_EC3F85FAB7755D56E669206D2B17725B12BackdropView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target) (log above is on Sequoia) The bug appeared in with the SDK of Xcode 26 beta4 as far as I can tell and is still there today with the SDK of Xcode 26 beta
Topic: App & System Services SubTopic: General Tags:
Aug ’25
Reply to Dynamic Library cannot call exposed C function
@DTS Engineer as an aside for extra info. I'm adding the xcframework via cocoapods and I have tried to modify the signing of the framework via the following script in the podspec. I know Apple might not encourage the usage of Cocoapods but this is needed so we can distribute our library through several platforms s.script_phase = { :name => 'Sign Framework Binary', :execution_position => :before_compile, :script => <<-SCRIPT echo 🟦🟦🟦🟦🟦🟦🟦 Framework Binary Signing Script === # Use BUILT_PRODUCTS_DIR which points to BuildProductsPath FRAMEWORK_DIR=${BUILT_PRODUCTS_DIR}/../XCFrameworkIntermediates/${PRODUCT_NAME}/sdk.framework # Debug: Print the expected path echo Looking for framework at: $FRAMEWORK_DIR if [ -d $FRAMEWORK_DIR ]; then # Try different ways to get signing identity SIGN_IDENTITY=$EXPANDED_CODE_SIGN_IDENTITY if [ -z $SIGN_IDENTITY ] || [ $SIGN_IDENTITY = - ]; then SIGN_IDENTITY=$CODE_SIGN_IDENTITY fi if [ -z $SIGN_IDENTITY ] || [ $SIGN_IDENTITY = - ]; then # Use the first availab
Topic: Code Signing SubTopic: General Tags:
Aug ’25
Reply to Crash when assigning NSImage to `@objc dynamic var` property
Thanks. So it sounds like the NSImage is getting over-released or being incorrectly deallocated, although it's unclear to me what exactly is trying to form a weak reference, since my code (as shown above) has a strong reference. Unfortunately the higher up function calls are made by AppKit, which is not open source, so I cannot look it up. As far as I understand, the link you posted helps investigating memory issues in Xcode, but since the crash reports are downloaded by Xcode from other users and I cannot reproduce it myself... The Xcode statistics seem to show that it only happens with macOS 15.3 or newer. I don't know if it's because there's not enough space to show older releases, or if it's really a clue that it's a change introduced with macOS 15.3 that causes this issue. From my perspective it would make sense that it's a new issue with macOS 15.3, because I haven't changed the code that generates or assigns that image in a very long time, and this issue didn't happen for a previous version of
Topic: UI Frameworks SubTopic: AppKit Tags:
Aug ’25
Reply to Dynamic Library cannot call exposed C function
Yes, the .env is just for testing purposes. This entire app is just a tester app, so some quirks are fine and indeed the file does not cause any issues. Here is the crash report of my latest build crashlog.crash Here is the output of the file command $ file OpacityPod_Example OpacityPod_Example: Mach-O 64-bit executable arm64 $ file Frameworks/sdk.framework/sdk Frameworks/sdk.framework/sdk: Mach-O 64-bit dynamically linked shared library arm64 I'm sure I have ran the app with the Release config (done via changing the scheme and selecting run → release). I just tried the Isolating Code Signig Problems from Build Problems you shared. The development option is not there in Xcode 26, but I chose debugging that generated an .ipa which I installed in my device by dragging and dropping. The crash persists on that version. @DTS Engineer
Topic: Code Signing SubTopic: General Tags:
Aug ’25
Reply to Dynamic Library cannot call exposed C function
Thanks for the @ mention. I wasn’t notified of your earlier reply )-: So your layout looks pretty reasonable. In comparison, here’s what I see when I use Xcode to build a trivial app with an embedded framework: % find Test795348.app Test795348.app Test795348.app/_CodeSignature Test795348.app/_CodeSignature/CodeResources Test795348.app/Test795348 Test795348.app/Base.lproj Test795348.app/Base.lproj/Main.storyboardc … Test795348.app/Base.lproj/LaunchScreen.storyboardc … Test795348.app/Frameworks Test795348.app/Frameworks/FFF.framework Test795348.app/Frameworks/FFF.framework/_CodeSignature Test795348.app/Frameworks/FFF.framework/_CodeSignature/CodeResources Test795348.app/Frameworks/FFF.framework/FFF Test795348.app/Frameworks/FFF.framework/Info.plist Test795348.app/embedded.mobileprovision Test795348.app/Info.plist Test795348.app/PkgInfo The only obviously wonky thing in your set up is that .env file. I suspect you don’t want to ship that. However, that’s unlikely to cause this crash. So, on to other thi
Topic: Code Signing SubTopic: General Tags:
Aug ’25
iOS 26 beta5 crash – CALayer position contains NaN when selecting text / showing magnifier / selecting Image's Text in WKWebView
Environment • Device: iOS 26 Developer Beta 5 (23A5308g) • Xcode: 16.3 Short description The app crashes the moment the user tries to long-press to select text inside a WKWebView, double-tap an image with Text (magnifier appears) The exception is CALayer position contains NaN. frame = (nan,0;0,48) chorPoint=(inf, 0) and it is thrown in the UI process. Build & run any project that hosts a WKWebView. Inject the following CSS via script (this is what we do to suppress the native callout menu): WKWebView *webView = [[WKWebView alloc] initWithFrame:self.view.bounds configuration:[WKWebViewConfiguration new]]; NSString *js = @document.documentElement.style.webkitUserSelect='none'; document.documentElement.style.webkitTouchCallout='none';; [webView evaluateJavaScript:js completionHandler:nil]; [self.view addSubview:webView]; Incident Identifier: EE6FB046-5087-4F15-A72D-A74965347A30 CrashReporter Key: 29e8e58e02a07557adb4ce3f463d764f3ce8bbd5 Hardware Model: iPhone16,1 Process: wallet [642] Path: /private
5
0
831
Aug ’25
Xcode always crash.
OS version:15.6 (24G84). mac mini m 4 Xcode:16.4 stack: Translated Report (Full Report Below) Process: Xcode [5261] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 16.4 (23792) Build Info: IDEApplication-23792000000000000~2 (16F6) App Item ID: 497799835 App External ID: 874973124 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-08-11 19:57:18.7642 +0800 OS Version: macOS 15.6 (24G84) Report Version: 12 Anonymous UUID: 314F3813-7BB3-0263-1826-79D64A62D963 Time Awake Since Boot: 700 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x00000001ab5dc1f8 Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5 Terminating Process: exc handler [5261] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libswiftCore.dylib 0x1ab5dc1f8 assertionFailure(:_:file:line:flags:) + 176 1 libsw
2
0
73
Aug ’25
Reply to Crash when assigning NSImage to `@objc dynamic var` property
The code is called on the main thread. According to the crash report, thread 0 makes that assignment, Looking at the crash log, the abort originates here: 4 libobjc.A.dylib 0x00000001818d7fc0 _objc_fatal(char const*, ...) + 44 (objc-errors.mm:232) 5 libobjc.A.dylib 0x00000001818a6d78 weak_register_no_lock + 396 (objc-weak.mm:423) 6 libobjc.A.dylib 0x00000001818a6b40 objc_storeWeak + 472 (NSObject.mm:408) As it happen, you don't have to guess at why weak_register_no_lock failed, as the project is opensource. Here is the line that's crashing: _objc_fatal(Cannot form weak reference to instance (%p) of class %s. It is possible that this object was over-released, or is in the process of deallocation., (void*)referent, object_getClassName((id)referent)); That leads to here: and at the same time thread 16 is calling [NSImageView asynchronousPreparation:prepareResultUsingParameters:]. Unfortunately, I wouldn't necessarily assume this call is directly involved. From the large context in th
Topic: UI Frameworks SubTopic: AppKit Tags:
Aug ’25
Reply to Crash in Swift 6 when using UNUserNotification
@Engineer Thanks for reply. Some more crash info. On simulator (did not test on device at this stage). Here is crash report: Error occurs in #4 notifyMe IBAction @IBAction func notifyMe(_ sender: UIButton) { let center = UNUserNotificationCenter.current() center.delegate = self center.getNotificationSettings(completionHandler: { (settings) in if settings.authorizationStatus == .notDetermined { center.requestAuthorization(options: [.alert, .sound, .badge]) { (granted, error) in DispatchQueue.main.async { if !granted { // Alert user } } } } else if settings.authorizationStatus == .denied { DispatchQueue.main.async { // Alert user } } else if settings.authorizationStatus == .authorized { DispatchQueue.main.async { self.alarmButton.isHidden = self.duree <= 120 } } }) var alertStyle = UIAlertController.Style.alert let alertController = UIAlertController( title: NSLocalizedString(M'avertir, comment: ), message: NSLocalizedString(Attention, comment: ), preferredStyle: alertStyle) var title = NSL
Aug ’25