Search results for

LLDB crash

29,558 results found

Post

Replies

Boosts

Views

Activity

Crash in Swift 6 when using UNUserNotification
After porting code to Swift 6 (Xcode 16.4), I get a consistent crash (on simulator) when using UNUserNotificationServiceConnection It seems (searching on the web) that others have met the same issue. Is it a known Swift6 bug ? Or am I misusing UNUserNotification ? I do not have the crash when compiling on Xcode 26 ß5, which hints at an issue in Xcode 16.4. Crash log: Thread 10 Queue : com.apple.usernotifications.UNUserNotificationServiceConnection.call-out (serial) As far as I can tell, it seems error is when calling nonisolated func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) I had to declare non isolated to solve a compiler error. Main actor-isolated instance method 'userNotificationCenter(_:didReceive:withCompletionHandler:)' cannot be used to satisfy nonisolated requirement from protocol 'UNUserNotificationCenterDelegate' I w
4
0
125
Aug ’25
Reply to macOS26: MenuBarExtra item not showing
Hi, Indeed, I do not see any call to NSApplicationMain just like you have: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x19f8e85b0 __pthread_kill + 8 1 libsystem_pthread.dylib 0x19f922848 pthread_kill + 296 2 libsystem_c.dylib 0x19f828808 abort + 124 3 kDrive 0x1009954a4 KDC::AppServer::init()::$_1::operator()() const + 20 (appserver.cpp:404) 4 kDrive 0x100995450 QtPrivate::FunctorCall<>, QtPrivate::List<>, void, KDC::AppServer::init()::$_1>::call(KDC::AppServer::init()::$_1&, void**) + 44 (qobjectdefs_impl.h:146) 5 kDrive 0x1009953ec void QtPrivate::Functor::call<>, void>(KDC::AppServer::init()::$_1&, void*, void**) + 36 (qobjectdefs_impl.h:256) 6 kDrive 0x100995388 QtPrivate::QFunctorSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 168 (qobjectdefs_impl.h:420) 7 QtCore 0x10520b0d8 QtPrivate::QSlotObjectBase::call(QObject*, void**) + 20 (qobjectdefs_impl.h:375) [inlined] 8 QtCore 0x10520b0d8 QSingleShotTimer::timerEvent(QTimerEven
Aug ’25
Why doesn’t Apple fix Xcode’s performance and stability issues?
**Background: Many iOS/macOS developers have faced issues like: • Autocomplete randomly stopping • Indexing freezing or slowing down • SwiftUI previews breaking unexpectedly • Build process hanging or crashing Even after multiple updates, these issues seem to come back in different forms. ** Do you think Apple should consider a full architectural rewrite of Xcode? Would separating SDK updates from IDE updates help? How do you personally deal with Xcode’s instability in your workflow?
1
0
126
Aug ’25
Reply to Insight into BaseBoard/FrontBoardServices Crashes Needed
Here's the crash report, as downloaded using Xcode's organizer. Will this work? I redacted the app and framework names. All of our symbols are symbolicated, except for MyFramework, which is a C++ library of ours whose only job is to decode video, so I think it's irrelevant to this crash. 2025-07-28_00-11-07.8114_-0600-ddc7ad494d0b81224d315ee28d9b96d7aca9a9ca.crash I'll take another look at that tech note. I've gone over it before, but maybe I'll find something if I look again. Thank you!
Topic: UI Frameworks SubTopic: General Tags:
Aug ’25
Reply to Initializing LanguageModelSession crashes app on macOS
Thank you @DTS Engineer! This was exactly what I had, I was building with Xcode Beta 5 and running on previous iOS 26 versions. Because of the symbol changes, building with Xcode 26 Beta 5 and running on macOS / iOS 26 Beta 4 / 3 may trigger the crash. I was able to run properly after upgrading my iOS device to Beta 5 and no more crashes! It seems you'll need to be on both Xcode 26 Beta 5 + iOS 26 Beta 5.
Aug ’25
CGColorRef is NOT a struct
The documentation for CGColorRef (https://developer.apple.com/documentation/coregraphics/cgcolorref?language=objc) clearly shows that it is a struct. However, when I try to store a cell's border color using CGColorRef originalColor = self.bg.layer.borderColor and inspect what happens in the debugger, both that property and its copy have the same address. And later when I try to restore the border color the copy still has the same address but is no longer valid and causes a crash on assignment (originalColor is actually an instance variable...) This is all object behavior, not struct behavior. If CGColorRef really was a struct, the contents would have been copied, the instance variable would have had its own address that would never have changed, and the value would have remained valid indefinitely and let me copy it back without a problem. Why is this documented wrong? Was this a recent change? I actually had this code working at some point, and now it's broken.
9
0
1k
Aug ’25
XCPreviewAgent crashed with some SwiftUI View
The steps to reproduce this issue are a bit complicated. In my app, previewing View A in Package P works fine, but another view in the same package fails to preview. The error message is shown below. It seems that the memory used for the preview is interfering with the shared memory area. This is reported as FB18519266 Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000003402d8900 Exception Codes: 0x0000000000000002, 0x00000003402d8900 VM Region Info: 0x3402d8900 is in 0x3402c8000-0x340a18000; bytes after start: 67840 bytes before end: 7599871 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL mapped file 3401dc000-3402c8000 [ 944K] r-x/rwx SM=COW Object_id=57e4ac ---> shared memory 3402c8000-340a18000 [ 7488K] rw-/rw- SM=SHM mapped file 340a18000-340f38000 [ 5248K] r-x/rwx SM=COW Object_id=1dc9a049 Termination Reason: ****** 10 Bus error: 10 Terminating Process: exc handler [94787]
3
0
115
Aug ’25
Reply to XCPreviewAgent crashed with some SwiftUI View
Hi, For your information, in Xcode 26 beta 5, the crash report provides some interesting new information. The crash occurred same with 'shared memory' Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000038851ffd0 Exception Codes: 0x0000000000000002, 0x000000038851ffd0 VM Region Info: 0x38851ffd0 is in 0x38850c000-0x389a0c000; bytes after start: 81872 bytes before end: 21938223 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL shared memory 3884fc000-38850c000 [ 64K] rw-/rw- SM=SHM ---> shared memory 38850c000-389a0c000 [ 21.0M] rw-/rw- SM=SHM mapped file 389a0c000-38a8d8000 [ 14.8M] r-x/rwx SM=COW Object_id=c949d43b Termination Reason: SIGNAL 10 Bus error: 10 Terminating Process: exc handler [75426] However, the crash point provides even more information. 0 ??? 0x38851ffd0 ??? 1 RuntimeInternal 0x243f29ff8 _withConformanceCache(for:do:) + 240 2 ReflectionInternal 0x2428d7004 _typesThatConform(to:) + 148 3 PreviewsInjection 0x24178d7f0 0x241736000 + 358384 4 Preview
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’25
iOS 26 beta 5 WKWebView crashes
WKWebView has set the option to disable selection (document. documentElement. style. webkitUserSelect='none ';) and long press (document. documentElement. style. webkitTouchCallout='none';). If there is text on one of the images in WebView, simply tap the image twice and then long press the text. The program will crash with the following error message: 0 CoreFoundation 0x185e058c8 __exceptionPreprocess + 164 1 libobjc.A.dylib 0x182d797c4 objc_exception_throw + 88 2 CoreFoundation 0x185e908d4 -[NSException initWithCoder:] + 0 3 QuartzCore 0x18678a874 CA::Layer::set_position(CA::Vec2<double> const&, bool) + 160 4 QuartzCore 0x1869a7270 -[CALayer setPosition:] + 52 5 UIKitCore 0x18c4ac564 -[UIView _backing_setPosition:] + 176 6 UIKitCore 0x18cefdf0c -[UIView setCenter:] + 220 7 UIKitCore 0x18cd9f794 -[_UIEditMenuContentPresentation _displayPreparedMenu:titleView:reason:didDismissMenu:configuration:] + 936 8 UIKitCore 0x18cd9f3c0 __54-[_UIEditMenuContentPresentation _displayMenu:reason:]_block_
Topic: Safari & Web SubTopic: General Tags:
1
0
207
Aug ’25
UIStoryboard.instantiateInitialViewController Not Working in iOS 18.6 When Built with iOS 26 SDK
In my SceneDelegate via 'scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions)' I call the following code to assign a Storyboard: let storyboard = UIStoryboard(name: Main, bundle: nil) let initialVC = storyboard.instantiateInitialViewController() self.window?.rootViewController = initialVC The Initial VC is a UITabBarController. The app crashes when calling 'instantiateInitialViewController': *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _TtGC5UIKit17UICoreHostingViewVCS_21ToolbarVisualProvider8RootView_ because no class named _TtGC5UIKit17UICoreHostingViewVCS_21ToolbarVisualProvider8RootView_ 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)' terminating due to uncaught exception of type NSException CoreSimulator 1047 - Device: iPhone 16 Pro (06A3EAF6-6623-49FD-BEFE-BE88FDD1
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
74
Aug ’25