Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Using relationships in SortDescriptor crashing on release
If use a SortDescriptor for a model and sort by some attribute from a relationship, in DEBUG mode it all works fine and sorts. However, in release mode, it is an instant crash. SortDescriptor(.name, order: .reverse) ---- works SortDescriptor(.assignedUser?.name, order: .reverse) ---- works in debug but crash in release. What is the issue here, is it that SwiftData just incompetent to do this?
2
0
82
Aug ’25
Reply to SwiftData crash when using a @Query sort descriptor with a relationship
@DTS Engineer this is still an issue in iOS 26 when sorting on a property of an optional relationship. @Query(sort: Item.info?.endDate, order: .reverse) private var items: [Item] @Model final class Item { var info: ItemInfo? init(info: ItemInfo) { self.info = info } } @Model final class ItemInfo { var endDate: Date init(endDate: Date) { self.endDate = endDate } } SwiftData/DataUtilities.swift:85: Fatal error: Couldn't find Item.)>?.? on Item with fields [SwiftData.Schema.PropertyMetadata(name: info, keypath: Item.)>, defaultValue: nil, metadata: nil)] iOS Simulator 26.0 beta 4 (23A5297i) Xcode Version 26.0 beta 4 (17A5285i) I made a minimal fork of the project @Atletismo343 provided: https://github.com/coughski/swiftdata-crash
Aug ’25
"Metal developer tools for Windows" may sometimes freeze when running multiple instances simultaneously.
We executed the iOS package using UE5.5 on Windows. UE automatically launched the Metal Developer Tools for Windows. I tried two versions, 5.3 and 4.4. I found that the metal.exe sometimes had no response or output was empty. The problem of no response could be alleviated by adding timeout retries, but the problem of empty output seemed to have no effect with retries. The actual command line called was: metal.exe -v --target=air64-apple-darwin18.7.0. UE relies on this output to determine the version number, and if it cannot get it, it will crash directly. During our replication test, we used a Python script to run multiple concurrent executions of the command metal.exe -v --target=air64-apple-darwin18.7.0. On different Windows machines, it would get stuck at a certain concurrency level. Some machines even got stuck when running two tasks concurrently. We would like to ask for solutions or available versions.
1
0
71
Aug ’25
Playground Macro Raises Error when compiled with Swift 6
In my Xcode app, I was attempting to use the #Playground macro to play around with some of the Foundation Model features to see if they would work for my iOS app. However, every time I used a #Playground macro, even if it was empty, it would receive the following error: /var/folders/q2/x5b9x0y161bb2l_0yj1_j6wm0000gn/T/swift-generated-sources/@__swiftmacro_20PlaygroundMacroIssue0022ContentViewswift_tiAIefMX26_0_33_B691877350F20F2DFC040B9E585F4D10Ll0A0fMf_.swift:51:5 Main actor-isolated let '$s20PlaygroundMacroIssue0022ContentViewswift_tiAIefMX26_0_33_B691877350F20F2DFC040B9E585F4D10Ll0A0fMf_23PlaygroundContentRecordfMu_' can not be referenced from a nonisolated context Here are my Xcode and system versions: Mac is running the first public beta of Tahoe. iOS Simulator is running 26.0 dev beta 4. Xcode is Xcode 26 beta 4. So, I went to try to reproduce the error in a blank iOS app project (the error above is the one that I reproduced in that project). Here are the steps that I took. I created a new iOS project i
2
0
97
Aug ’25
iOS 26 Beta 3 — iPhone 13 stuck at 1% battery, 0% battery health, reboots every few minutes
Hello Apple team and community, I’m reporting a critical issue affecting iPhone 13 (128 GB) on iOS 26 Public Beta 3. Problem Summary: • Device stays stuck at 1% battery, even while charging • Battery Health shows 0% in Settings • Phone reboots every 5 minutes while unplugged • Only works when connected to power • Cannot update, charge properly, or maintain uptime Additional Context: • The issue appeared immediately after installing iOS 26 beta 3 • Affected devices often have a replaced battery (even official or high-quality replacements) • Seems to be a software validation bug related to battery firmware • Reported by many users across Reddit, Apple Forums, and Twitter — but not listed in Known Issues What Has Been Tried: • Recovery Mode / Safe charging / Clean install (same version) – no effect • Third-party repair tools (ReiBoot, 3uTools) — partial workaround • Jailbreak with Nugget or iCleaner to disable crash daemons – temporarily helps • Apple Support suggested full device replacement (!) ⸻ Requ
4
0
1.2k
Aug ’25
Reply to For the property modifiers of XIB controls, should we use strong or weak?
The standard answer is it depends. Without more context about your crash, I can't know which recommendation is correct for your needs, but the right choice for any situation comes down to understanding the fundamentals of ARC and UIKit view composition. Xcode uses weak when you drag out an outlet as its default, so that's a hint as to a good default, but let's look at some common examples to understand things in terms of memory references. Important: In the diagrams that follow, each solid arrow represents a strong reference and dotted arrows are weak references. Consider these diagrams conceptual — they are not meant to confer specific system implementation details. The most common case is that a subview is added to the parent view when designing the view in Interface Builder. When that view is created in memory by instantiating the XIB, the parent view's subviews array contains that child view, and thus has a strong reference to it, since it is in the view hierarchy by virtue of being in the subvie
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’25
Reply to iOS 18 Simulator Crash on Xcode 26: Symbol not found: _NSUserActivityTypeBrowsingWeb
I tried removing CoreServices.framework and it didn't work for me, it still crashes. What should I do? Hang tight — this is a bug in the iOS SDK. Aside from removing the NSUserActivityTypeBrowsingWeb constant from your source code just as a temporary measure for your own development purposes until this is fixed, you do not need to change your project configuration. — Ed Ford,  DTS Engineer
Jul ’25
Reply to TCP socket disconnection with EBROKENPIPE during file copy of signed app bundle
Thanks for your help! So, is your client/server app one app? Or two? two And is the server running locally as well? Or just the client? During the scenario, the server is on another machine. Is the client/server app related to the file server? Not at all. Actually we could reproduce the error by copying from a dmg file previously downloaded on the client machine. So the file server is not involved. Also, what version of macOS is this? We tested on macOS 15.4 and 15.5. And do you see any crash reports generated at the time you see this error? We didn't checked. We will. I’m not sure where you got EBROKENPIPE from. The error I’d expect to see when you write to a disconnected socket [1] is EPIPE (32). Right, sorry it's EPIPE(32). Actually we are using openssl + libuv. ssl_write returns error EPIPE(32), we can also get SSL_ERROR_ZERO_RETURN(6) which I think can also be the result of an EPIPE. Today we got a different log in console during the error (19813 is our tcp port): default 14:01:38.571568+0100 ke
Jul ’25
Swift Playground crashes
I'm trying to use the new #Playground feature in Xcode, but it keeps crashing in the canvas. I am testing on Xcode 26.0 beta 4, on both macOS 15 and macOS26 beta 4. How do I figure out what's going on? I also have a few SwiftUI previews in my project, which also crashes if I try to preview them. They're not in any active tab right now in Xcode. But the #Playground feature still doesn't work. I also don't get a crash when working on a #Playground in a different project. I've tried cleaning out Derived Data and restarting the Mac / Xcode, all with no avail. How do I track down what's causing this? Do previews and playground run on the same engine? System Integrity Protection: enabled Triggered by Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace OBJC, Code 1, Thread 0 Crashed: 0 libsystem_kernel.dylib 0x100634ad0 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x100659dc0 abort_with_payload_wr
2
0
117
Jul ’25
Reply to Image textures cause runtime crashes - what's the workaround?
I find this problem too. i creat one .SKS.file, and then add tile map node to it, but it crash. sandTest01 crashed due to an uncaught exceptionNSInvalidArgumentException. Reason: Cannot get value with size 16. The type encoded as {CGRect={CGPoint=dd}{CGSize=dd}} is expected to be 32 bytes.. what is intresting is that when i use the Sample Hexagonal Tile Set , it won't crash, it just crash when i use my own Tile Set. github xcode project thank for your help!
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Jul ’25
Reply to Insight into BaseBoard/FrontBoardServices Crashes Needed
After having spent some time in the debugger, I've learned the following: It appears that BaseBoard and FrontBoardServices are not iterating over our UI hierarchy like I had wondered. It seems to be dealing with things like UI configuration, accessibility, edge insets and safe areas, orientation, displays, etc. In other words, things that our app shouldn't be responsible for. This leads me to believe this may not be our app's bug. I don't think I have enough information for a good bug report, though. BaseBoard does work on the main thread and on background, worker threads. There's an XPC interprocess communication manager that receives messages on a background thread--I presume from the OS--about things that have changed. It may not have anything to do with a race condition. It seems plausible it could also be that BaseBoard/FrontBoardServices is getting its state corrupted. BSIntegerMapEnumerateWithBlock gets called a lot. It wasn't very useful printing out what's passed into it. I could file a bug report, b
Topic: UI Frameworks SubTopic: General Tags:
Jul ’25
Reply to iOS App not able to get VoIP push notification when device is powered on, After opening App VoIP push receiving
Before unlocking device - here understood as caused by device security as first authentication for device yet to be done after restart and device might not have an active network. In our case we can see 4G network symbol is shown on locked device screen. After unlocking device - in this case we can see network symbol 4G is shown on device but still waiting for up to 1/2 minutes App is not receiving VoIP push notification. If User opens App after 1/2 minutes then immediately App is getting VoIP push callback and App showing incoming call popup. In between Caller ends the call and incoming call popup become ghost call. What you're describing above are user level failures. That is, something did not work the way the user thought it should. As a practical matter, that kind of failure doesn't tell you ANYTHING about what's actually going wrong. The next step here is to figure out what actually happened at the system level, then decide how to fix it. Critically, during that process it's very important that you simp
Jul ’25