Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Reply to The async/await API crashes in Xcode 16.3 and later
To be clear, the Xcode project (and workspace) format is not documented for third-party developers, so DTS doesn’t support tools that generate or modify these formats. As to how this this is involved in the problem you’re seeing, that’s hard to say. It could just be a red herring. However, the nature of unsupported things is that they can cause all sorts of weird behaviour, so it’s quite possible that this is a factor. Two things: If you create a small test project and add these packages to it directly, does the code still crash? Please post a crash report for one of these crashes. I wanna skim through it for anything obvious. See Posting a Crash Report for advice on how to get and post the file. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jul ’25
Reply to App works fine in development but crashes in hardened runtime
Look at the backtrace of the crashing thread here: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff8089fb846 __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff808a36b16 pthread_kill + 259 2 libsystem_c.dylib 0x7ff80895573e abort + 126 3 libcoreclr.dylib 0x10fb351d9 PROCAbort + 57 4 libcoreclr.dylib 0x10fb350f9 TerminateProcess + 137 5 libcoreclr.dylib 0x10fd45de9 UnwindManagedExceptionPass1(PAL_SEHException&, _CONTEXT*) + 1081 6 libcoreclr.dylib 0x10fd45e2d DispatchManagedException(PAL_SEHException&, bool) + 61 7 libcoreclr.dylib 0x10fcb559d IL_Throw(Object*) + 445 8 ??? 0x11475fdca ??? 9 ??? 0x1139f5148 ??? 10 ??? 0x1139f4c42 ??? 11 ??? 0x1139f4981 ??? 12 ??? 0x1139f4633 ??? 13 ??? 0x113716f35 ??? 14 ??? 0x111942cf3 ??? 15 ??? 0x11193194e ??? 16 libcoreclr.dylib 0x10fdf7db1 CallDescrWorkerInternal + 124 17 libcoreclr.dylib 0x10fc57e13 MethodDescCallSite::CallTargetWorker(unsigned long long const*, unsi… 18 libcoreclr.dylib 0x10fb51588 RunMain(
Jul ’25
In the iOS 26 beta, enterprise Apps installed via MDM cannot be run
I am a developer working on iOS apps. I would like to report an issue occurring in iOS 26 beta 2. Our company has Enterprise account, and we are developing apps. When we distribute these apps, and install them on a device running iOS 26 beta2, apps install successfully, but apps crashed immediately after being launched. MDM Install Application When I install the app via Xcode and trust it, apps will run. Launchd job spawn failed This issue does not occur on versions prior to iOS 26. I would like to know if this is a problem that will be resolved in future updates, or if it is a policy change.
4
0
601
Jul ’25
CAMetalLayer nextDrawable crash
Hi , My application meet below crash backtrace at very low repro rate from the public users, i do not see it relate to a specific iOS version or iPhone model. The last code line from my application is calling CAMetalLayer nextDrawable API. I did some basic studying, suppose it may relate to the wrong CAMetaLayer configuration, like frame property w or h <= 0.0 bounds property w or h <= 0.0 drawableSize w or h <= 0.0 or w or h > max value (like 16384) Not sure my above thinking is right or not? Will the UIView which my CAMetaLayer attached will cause such nextDrawable crash or not ? Thanks a lot Main Thread - Crashed libsystem_kernel.dylib __pthread_kill libsystem_c.dylib abort libsystem_c.dylib __assert_rtn Metal MTLReportFailure.cold.1 Metal MTLReportFailure Metal _MTLMessageContextEnd Metal -[MTLTextureDescriptorInternal validateWithDevice:] AGXMetalA13 0x245b1a000 + 4522096 QuartzCore allocate_drawable_texture(id, __IOSurface*, unsigned int, unsigned int, MTLPixelForm
3
0
290
Jul ’25
Xcode Crashing When Attempting to Distribute/Validate App in Organizer
I'm attempting to distribute a proprietary application (not released to the app store), and everytime I confirm the either validate or distribute in anyway Xcode crashes with no error message. I've seen a few posts regarding the agreements, but I have the free app agreement signed so that can't be it. I haven't had a problem previously with not having the paid agreement signed, but now i'm running into this issue. I've confirmed my ad-hoc profile and cert are all good and valid, so I'm unsure what else could be causing this issue. Not even getting prompted to submit a crash report.
0
0
112
Jul ’25
Reply to Xcode 26 running Mac catalyst app crashes on dynamic loading with failure to find _LocationEssentials framework
I found the cause of the issue. Hopefully Apple can get this resolved in an upcoming beta release. I filed a bug report: FB18649885 Create a new iOS app project using Swift/Storyboard or Objective-C/Storyboard (I imagine a SwiftUI app would have the same issue). Edit the resulting ViewController.swift or ViewController.m. Import CoreLocation. Then in viewDidLoad, add one line: let coord = CLLocationCoordinate2DMake(40, 40) or CLLocationCoordinate2D coord = CLLocationCoordinate2DMake(40, 40); depending on your chosen language. These are just one of many possible lines of CoreLocation code that will cause the crash. Set the app's iOS deployment target to iOS 16, 17, or 18. Add a Mac Catalyst destination. Build and run the Mac Catalyst destination with Xcode 26 on a Mac with macOS 15 (or earlier I would think). The issue disappears if you have an iOS deployment target of iOS 15. The app will crash on startup due to the missing _LocationEssentials.framework.
Jul ’25
Reply to Detect if the current device supports DriverKit?
Thanks for getting back to me on this one. I've been trying to do as you advised, but I'm hitting an error which gives the impression it's coming from the SystemExtensions API, but I could just be misunderstanding what it's trying to tell me. Please file a bug on this, attach the crash logs to that bug, then post the bug number back here. FYI, I'll be on vacation next week, but I'll try and take a look at this when I get back. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to The async/await API crashes in Xcode 16.3 and later
@DTS Engineer Ok, I followed your steps and discovered something interesting 🤓 Since my project is quite large, I initially decided to move and run the test code directly in the AppDelegate’s application(_:didFinishLaunchingWithOptions:) method. And it works! Even the UIApplication.shared.setAlternateIconName() method works as well. final class AppDelegate: UIResponder, UIApplicationDelegate { func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { Task { _ = try! await URLSession.shared.allTasks try! await UIApplication.shared.setAlternateIconName(...) } } } Another unexplained curious thing I noticed is that after making these API calls in AppDelegate, my original code starts to work 😳 I'll provide some more information about my project, in case it helps. My project uses a modular architecture, and I use Tuist to generate the .xcodeproj and .xcworkspace files. The code that's causing the crash is located in
Jul ’25
Reply to URL in scene openURLContexts does not exist
Thanks for pointing out my error. Unfortunately I'm still getting the same results with the correct separator: (lldb) po FileManager.default.fileExists(atPath: /private/var/mobile/Library/Mobile Documents/) true (lldb) po FileManager.default.fileExists(atPath: /private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs) false (lldb) po FileManager.default.fileExists(atPath: url.path) false To try to determine that this wasn't just a LLDB issue, I updated my code slightly: func scene(_ scene: UIScene, openURLContexts URLContexts: Set) { guard let url = URLContexts.first?.url else { os_log(URL in %@ is nil, #function) return } let fileExists = FileManager.default.fileExists(atPath: url.path) fileExists is false after AirDropping a file. And of course this is happening within the method where openURLContexts is passed as an argument, and therefore the URL should be valid. So I'm still stuck at the same place.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Signed application crashed at launch
We are building an installer application to install a dext. Building in Xcode, the installer app launches fine locally and installs the dext. We then try to sign it with the company Developer ID application certificate. However after doing so we cannot launch the application anymore as we get the following crash at launch: Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: CODESIGNING 1 Taskgated Invalid Signature Triggered by Thread: 0 Thread 0 Crashed: 0 dyld_path_missing 0x102e187c0 _dyld_start + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000 x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x0000000000000000 x17: 0x00000000000
Topic: Code Signing SubTopic: General
2
0
428
Jul ’25