Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

LLDB error after update xcode 26 beta 3
self = : MiBanco.NumericPadButtonView _amount = : Binding _maxDigitsReached = : Binding button = : MiBanco.NumericPadButton After update xcode beta 26 custom numeric pad that use bindings variable get stuck my app when binigns variable change, and the console shows those messages self = : MiBanco.NumericPadButtonView _amount = : Binding _maxDigitsReached = : Binding button = : MiBanco.NumericPadButton
1
0
82
Jul ’25
Reply to Debug SIGTERM handler in Xcode?
Is it possible to configure Xcode, so the the lldb always does the process handle SIGTERM --stop false --pass true? When launching the app inside Xcode? instead of always having to type in the process handle SIGTERM --stop false --pass true everytime (it's getting a bit tedious to re-type this everytime you CMD+R the app, when you are testing that it's handling the signals correctly ....) Would be nice if there was a setting in inside Xcode, that you could configure the lldb with what you want it to do each time.
Jul ’21
Reply to How to attach to a running process on Apple Watch?
The same issue for me, I'm trying to debug the net core application on mac and see error: (lldb) process attach -p 3304 error: attach failed: attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries when the attached failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.) Running lldb with sudo not helping to me.
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’21
Reply to Can someone explain this message
The program might be using a deprecated API, such as NSCountWindows which can cause that os_log message to appear in the console. Try compiling with -Wdeprecated-declarations enabled, and clean up the code that is using deprecated APIs. Alternatively, in your lldb, you can set a breakpoint (lldb) b libsystem_trace.dylib``_os_log_error_impl (only one backtick; concession to the forum formatting) and when that gets hit you can look up the callstack to figure out what in your code triggered the os_log message.
Topic: Graphics & Games SubTopic: General Tags:
Apr ’23
Reply to Unable to Debug macOS Action Extension: "Attach failed" Error
[quote='788982022, vojta.bohm, /thread/756097?answerId=788982022#788982022, /profile/vojta.bohm'] Right now it seems I have a remnant. [/quote] Yeah, this is tricky on macOS because app extensions are embedded in apps and apps can be placed anywhere on the system. Sometimes you can fix things using the lsregister tool to tell the system where the app is and the pluginkit tool to manipulate the appex database. [quote='788977022, vojta.bohm, /thread/756097?answerId=788977022#788977022, /profile/vojta.bohm'] crash upon stepping over or upon usage of lldb. [/quote] If you choose Process > Detach, does it crash? And do you get a crash report? Hmmm, another way I’ve found of dealing with this is to create a dummy ‘appex host’ app target in my appex project. I then target that rather than the Finder. The app is development signed, and thus avoids all the attachment drama associated with the Finder. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let
May ’24
Reply to CoreData + CloudKit compilation problem in iOS 15
That's exactly what I did, and it fixed the compilation problems. But to make sure what I'm fixing for iOS15 doesn't break iOS14, I installed iOS14.5 runtime in Xcode 13, and that's where the problem occurs. I can successfully compile the app, but at runtime, the 14.5 simulator crashes with: dyld: Library not loaded: /System/Library/Frameworks/_CoreData_CloudKit.framework/_CoreData_CloudKit Referenced from: /Users/andrei/Library/Developer/CoreSimulator/Devices/8554B734-4894-4DD0-A8FA-6C20983F3A49/data/Containers/Bundle/Application/29E251FD-B330-4B30-B3B8-22A86C2961A8/***.app/*** Reason: image not found (lldb)
Sep ’21
Reply to Help needed with crash report
I couldn't find the NSInvalidArgumentException that you refer to on Frame 2? To determine this I did the following:I built a simple test app and ran it on a device with the same OS version installed.To confirm that I was looking at exactly the right code, I compared the UUID from Binary Images section of the full crash report to the result of the LLDB image list command.I disassembled the frame 2 method, -[UIViewController _presentViewController:withAnimationController:completion:], focusing on the code at offset 4936, to determine what exception it threw.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Mar ’19
Reply to Entering debugger: Cannot create Swift scratch context (couldn't create a ClangImporter)
After hours and days of attempting to narrow down the cause, after I remove all zsh customizations (in dotfiles) on an account, the LLDB Swift debugging finally works again. Swift structure state can be inspected, and po symbol works. (the lldb startup error Cannot create Swift scratch context (couldn't create a ClangImporter) is gone too) I haven't isolated the specific root cause of why this is, but that is the general case.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’21
Xcode 12 Crash unexpectedly
When compile project on Xcode 12 it Crash and gives error of XCBBuildService quit unexpectedly. This is the Crash Report Process: XCBBuildService [36862] Path: /Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/MacOS/XCBBuildService Identifier: XCBBuildService Version: 12.1 (17140) Build Info: XCBuild-17140000000000000~69 (12A7403) Code Type: X86-64 (Native) Parent Process: Xcode [36853] Responsible: Xcode [36853] User ID: 501 Date/Time: 2020-11-10 17:28:57.608 +0500 OS Version: Mac OS X 10.15.7 (19H15) Report Version: 12 Anonymous UUID: 96D84FB1-AE33-8886-99E2-1CEB7C98F15F Sleep/Wake UUID: B518F282-98E3-4189-BA74-293ED19FFF59 Time Awake Since Boot: 40000 seconds Time Since Wake: 9100 seconds System Integrity Protection: enabled Crashed Thread: 14 Dispatch queue: XCBBuildSystem.OperationSystemAdaptor.queue Exception Type: EXCCRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Ex
5
0
4.5k
Nov ’20
Reply to How to grant command line tools full disk access
Hello Quinn, Thank you for your reply. In the interim, others have contributed, and my questions have largely been addressed. We do not have a specific issue or use case at the moment; rather, we were seeking clarification on the behavior as it was not entirely clear to us. It is crucial for us to understand the intended behavior of TCC. Following your suggestion to wriker, I ran the above test program in LLDB from the command line. Interestingly, the program can open the file successfully if the binary has FDA, despite neither LLDB nor Terminal having FDA.
Jun ’24
Reply to Problem in Xcode 8 and iOS 10 to determine the height of a web view
Hi Wen,I'm experiencing the same problem with iOS 10 in both the Beta 1 and 2. I would suggest filing a Radar to get Apple's attention on this because ot seems to be an issue with the Javascript evaluation. I had the same problem trying to get any Javascript response with UIWebView. Ran inside the webViewDidFinishLoad:(lldb) po [webview stringByEvaluatingJavaScriptFromString:@window;] <object returned empty description>(lldb) po [webview stringByEvaluatingJavaScriptFromString:@window.body] <object returned empty description>(lldb) po [webview stringByEvaluatingJavaScriptFromString:@window.document.getElementById('body').offsetHeight;] <object returned empty description>However, I have noticed that the following JavaScriptFromString works: NSString *webViewHeight = [webView stringByEvaluatingJavaScriptFromString:@document.body.scrollHeight;]; //then convert it to a floatValue self.webViewHeight = [webViewHeight floatValue];I hope this helps.Adam Govan
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’16