To adopt glass effect in custom view, we are using glassEffect modifier. It is working fine iOS26. However in iPadOS 26 beta 3, app is getting crash as soon as app launch. In iPad simulator it's working fine. Symbol not found: _$s7SwiftUI4ViewPAAE11glassEffect_2inQrAA5GlassV_qd__tAA5ShapeRd__lF
Search results for
LLDB crash
29,559 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Spatial widget is a new feature of visionos 26. I notice The system’s Photo app can add a Spatial Image in the widget. I wonder if third apps can use spatial image or any 3D content in it's widget? I try to use RealityView in widget and it run with a crash. So does spatial Image in widget only supported by the system Photo app, and not available to developers now?
Hello, I've been dealing with a puzzling issue for some time now, and I’m hoping someone here might have insights or suggestions. The Problem: We’re observing an occasional crash in our app that seems to originate from the Vision framework. Frequency: It happens randomly, after many successful executions of the same code, hard to tell how long the app was working, but in some cases app could run for like a month without any issues. Devices: The issue doesn't seem device-dependent (we’ve seen it on various iPad models). OS Versions: The crashes started occurring with iOS 18.0.1 and are still present in 18.1 and 18.1.1. What I suspected: The crash logs point to a potential data race within the Vision framework. The relevant section of the code where the crash happens: guard let cgImage = image.cgImage else { throw ... } let request = VNCoreMLRequest(model: visionModel) try VNImageRequestHandler(cgImage: cgImage).perform([request]) // <- the line causing the crash
Error: Fatal error: init(coder:) has not been implemented File: UIKitCore/UICoreHostingView.swift:54 Stack Trace Snippet: swift Copy Edit UIKitCore/UICoreHostingView.swift:54: Fatal error: init(coder:) has not been implemented Can't show file for stack frame: <DBGLldbStackFrame: 0x10ca74560> - stackNumber: 23 name: @objc ThemeableViewController.init(coder:). The file path does not exist on the file system: /
When testing with the Endpoint Security Framework for the AUTH_OPEN event, I found that the deadline was 15 seconds, but the actual process termination occurred at 5 or 6 seconds. Is this intended? That depends on what you mean by intended... In terms of why you're seeing that difference, the basic issue here is a disconnect between what the deadline actually means and the information available to your ES client. At a very high level, the deadline describes how long the system will stall that particular syscall. You can visualize that processing sequence as something like this: The in kernel receives the syscall and does its processing The in kernel ES system sets the deadline and calls out to user space. Time passes Your ES client receives the event and does its processing. Your ES client sends its response. Time passes. The in kernel ES system receives your response and completes the syscall. The disconnect here is that what the deadline describes is the time between 2 and 7, but the ONLY part of that proce
Topic:
App & System Services
SubTopic:
Core OS
Tags:
It sounds like your launchd job is failing to start. There are two common reasons for that: launchd tries to start it and it crashes. launchd is unable to start it. A good place to… ahem… start is to look for a crash report. In the first case, and many times in the second case as well, a failure will generate a crash report. If that doesn’t show up anything, add a ‘first light’ log point to your job [1]. Then try to communicate with the named XPC endpoint. That’ll divide the problem in half: If you see a log entry, you know that your job started and you can debug your code. If not, you know that your code never got running and you can debug your configuration. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] I explain this ‘first light’ concept in Debugging a Network Extension Provider.
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags:
@DTS Engineer I think that I got general understanding of the issue that occurs. In our application we still depend on TVML Kit (which is marked as deprecated already). On many screens we use the stackTemplate with collectionList that contains big numer of shelfs (10-20) with lockups that allow to horizontally scroll the rows. Based on investigation of what is going on with memory I see that TVML engine does its best to speedup the process of rendering the lockup elements to provide the best experience while doing the quick scroll through the all shelfs. To handle it, the TVML uses some kind of rasterisation mechanism for TVML elements and display them as a single image in TVStackedImageView. It leads to issues in case of using the first generation of apple TV as rastered elements are kept in memory as long as the template keeps alive. There is a big difference in memory consumptions in case of using 4k display and 1080p. It seems to be related to fact that created images for 4K displays are bigger and in res
Topic:
Safari & Web
SubTopic:
General
Tags:
Hi there, I'm experiencing several crashes on JavaScriptCore pas_panic_on_out_of_memory_error, only on devices with tvOS 15.4 and 15.4.1. This happens with users using the app for several hours as well as 5 seconds after launching the app. Devices: AppleTV6,2 and AppleTV5,3 Thread 14 — JavaScriptCore pas_panic_on_out_of_memory_error (JavaScriptCore) JavaScriptCore bmalloc_try_iso_allocate_impl_impl_slow (JavaScriptCore) JavaScriptCore bmalloc_heap_config_specialized_local_allocator_try_allocate_small_segregated_slow (JavaScriptCore) JavaScriptCore bmalloc_allocate_impl_casual_case (JavaScriptCore) JavaScriptCore ***::String::String(char16_t const*, unsigned int) (JavaScriptCore) JavaScriptCore JSC::LiteralParser::parsePrimitiveValue(JSC::VM&) (JavaScriptCore) JavaScriptCore JSC::LiteralParser::parse(JSC::ParserState) (JavaScriptCore) JavaScriptCore JSC::jsonProtoFuncParse(JSC::JSGlobalObject*, JSC::CallFrame*) (JavaScriptCore) JavaScriptCore llint_entry (JavaScriptCore) JavaScriptCore llint_entry
Maybe it serves me right that I can't delete the post above! It might make me think thrice before posting here ... Ignore all above: I found a crash log with a clue in it and it turns out this is in fact a bizarre async issue happening during my AU initialisation that wasn't caught before probably because it's in a bit of Objc code.
Topic:
Media Technologies
SubTopic:
Audio
Tags:
The following repro case results in a previews crash on Xcode 26 beta 3 (report attached). FB18762054 import SwiftUI final class MyItem: Identifiable, Labelled { var label: String init(_ label: String) { self.label = label } } protocol Labelled { var label: String { get } } struct HelloView: View { let label: String var body: some View { Text(label) } } struct ListView: View { @Binding var elements: [Element] var body: some View { List { ForEach($elements, id: .id) { $element in HelloView(label: element.label) // crash // Replacing the above with a predefined view works correctly // Text(element.label) } } } } struct ForEachBindingRepro: View { @State var elements: [MyItem] = [ MyItem(hello), MyItem(world), ] var body: some View { ListView(elements: $elements) } } #Preview(ForEachBindingRepro) { ForEachBindingRepro() } foreachbindingrepro-2025-07-12-020628.ips
Your new example doesn't cause a crash in Xcode 26 beta 3 or Xcode 16.4 on my M1 Max Mac Studio with macOS 15.5. I wonder if it's something else. Are you on macOS 26 beta?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
@Developer Tools Engineer thanks. The FB you linked is the right one. @darkpaw Here's a simpler repro without bindings that still crashes. import SwiftUI struct MyItem: Identifiable { var id = UUID() var label: String } struct HelloView: View { let element: MyItem var body: some View { Text(element.label) } } struct ForEachSubView: View { @State var elements: [MyItem] = [ MyItem(label: hello), MyItem(label: world), ] var body: some View { List { ForEach(elements, id: .id) { element in HelloView(element: element) // crash // Works ok: // Text(element.label) } } } } #Preview(ForEachSubViewRepro) { ForEachSubView() } Seems SwiftUI is internally invoking an OutlineList and then crashing when trying to walk a tree, despite the fact that MyItem has no children and no children keypath is specified in the List constructor. Thread 0 Crashed: 0 libswiftCore.dylib 0x1a9b458f0 _assertionFailure(_:_:file:line:flags:) + 176 1 SwiftUI 0x1cab7e9c8 ViewListTree.visitItem(_:force:) + 5232 2
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
[quote='792781021, retrograde, /thread/792781, /profile/retrograde'] The following repro case results in a previews crash on Xcode 26 beta 3 (report attached). FB18762054 [/quote] Thanks for reporting this. I believe the feedback you meant to reference was FB18792113 which I've made sure has reached the right team for the initial triaging of your issue. If we need more information we will reach out to you via the feedback mechanism.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
It also crashes in Xcode 16.4 because what you're doing isn't valid. In your second example, line 28 is wrong. HelloView does not have any Bindings in it; it just takes a label parameter, so line 29 passes in element.label. Correct. Line 28 is treating your elements State var as though it's a binding, by adding the $ in front. And you're also adding the $ to the element part towards the end of the line. elements is a State var and element is a var whose label property is being passed into a view that does not have a Binding. This is why Preview crashes. It will compile if line 13 is this instead: @Binding var label: String, but based on what you're doing with label inside HelloView, i.e. you're not changing it, there's no need for it to be a binding var.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Simpler repro without generics. import SwiftUI struct MyItem: Identifiable { var id = UUID() var label: String init(_ label: String) { self.label = label } } struct HelloView: View { let label: String var body: some View { Text(label) } } struct ForEachBindingRepro: View { @State var elements: [MyItem] = [ MyItem(hello), MyItem(world), ] var body: some View { List { ForEach($elements, id: .id) { $element in HelloView(label: element.label) // crash // Works ok: // Text(element.label) } } } } #Preview(ForEachBindingRepro) { ForEachBindingRepro() }
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: