Search results for

LLDB crash

29,550 results found

Post

Replies

Boosts

Views

Activity

lldb issues with Vision
HI, I've been modifying the Camera sample app found here: https://developer.apple.com/tutorials/sample-apps/capturingphotos-camerapreview ... in the processpreview images, I am calling in to the Vision APis to either detect a person or object, then I'm using the segmentation mask to extract the person and composite them onto a different background with some other filters. I am using coreimage to filter the CIImages, and converting and displaying as a SwiftUI Image. When running on my IPhone, it works fine. When running on my Iphone with the debugger, it crashes within a few seconds... Attached is a screenshot. At the top is an EXC_BAD_ACCESS in libRPAC.dylib`std::__1::__hash_table, std::__1::__unordered_map_hasher, std::__1::hash, std::__1::equal_to, true>, std::__1::__unordered_map_equal, std::__1::equal_to, std::__1::hash, true>, std::__1::allocator>>::__emplace_unique_key_args, std::__1::tuple<>>: This was working fine a couple of days ago.. Not sure why it's popping up now. A
3
0
90
Apr ’25
Reply to RangeExpression Frustrations
I tried your code in a test app, and it still crashes, but it logs the following:Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.Fatal error: Index out of rangeSo the range error was correctly detected, but the debugger failed. This might be a bug in the debugger or in Swift (in generating debug info), but either way you should look in your user Library folder (at the indicated subpath) for the crash log, and submit a bug report.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’18
Reply to When debugging the code, the phone will disconnect
Hey @test_j Any solution for this issue. i am facing this same issue. at my end if at the starting of the app the breakpoints are off then the same popup with Lost connection to the debugger on ......... Appers. but if i have launched my app with breakpoints switched off and then in between the app turn them on , if the app stops at the breakpint it shows this error: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
Aug ’21
Reply to UIDocumentInteractionController not available
Yeah, they mention this in the release notes.Catalyst apps using UIDocumentInteractionControllermight quit unexpectedly. You can work around this issue by excluding UIDocumentInteractionControllerfunctionality with target macros. (48878552) As a work around for my problem, we pushed files to the Downloads folder when exporting.
Topic: App & System Services SubTopic: General Tags:
Nov ’19
kIOReturnNotPermitted from IOHIDManagerOpen under lldb
I'm writing a C/C++ command line program which, at some point, calls IOHIDManagerOpen. I've added both my program executable and lldb as permitted for input monitoring (as far as I remember, my program was added after showing up a permission prompt, I've added lldb manually later, trying to resolve the problem). My problem is that when I run my program from within lldb in Terminal, the call to IOHIDManagerOpen returns kIOReturnNotPermitted. When I run my program directly in the terminal session (without lldb), this call returns kIOReturnSuccess. Such behaviour means it will be impractical to use lldb for any debugging of this program. What can be done to make lldb session behave the same way, the normal execution works? I'm on: 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020 arm64 and: lldb-1500.0.200.58 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
2
0
1.2k
Jan ’24
How do I use lldb with Playground?
I'm getting a runtime error in Playground that tells me to run an lldb command. I am not able to type anything in the debug area of Playground as I can in Xcode. How do I use lldb with Playground. Specifically, the error I'm getting is: error: Execution was interrupted, reason: shared-library-event. The process has been left at the point where it was interrupted, use thread return -x to return to the state before expression evaluation. I'm able to see some of the stack trace, I think is what it is, when I click on the icon of an eye on the right side of the code editor in Playground, but it only shows a small portion it.
1
0
1.3k
Oct ’22
Reply to Debug Failed in Xcode Simulator
Having the exact same issue on the latest version macOS 15.4 Beta (24E5238a) Couldn't find the Objective-C runtime library in loaded images. Message from debugger: The LLDB RPC server has crashed. You may need to manually terminate your process. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log. Note: It doesn't crash on breakpoints. It crashes when Inspecting with po Inspecting on the left panel in the Debug Area. If you disable the left panel, you can step through. Enabling Environment Overrides
Mar ’25
Xcode debug lldb remote
I want to do source level debugging of an external environment using Xcode's graphical debugger. I have an External Build System project with local source files that builds libraries/executables (not macOS or iOS) and creates their dSYM symbol files (also stored locally). I have a script that I can run from Xcode that starts the library/executables (in an external environment), and gets their slide addresses so their symbols can be loaded into lldb. The script also returns a gdb-remote url that I can use with lldb to begin debugging. Is there a way for Xcode to use the lldb info gathered by my script to start its graphical debugger? If this feature doesn't exist, then I see two simple ways that this feature could be implemented: a) In the Run Action, there's a Run Script action in the Pre-actions to start the remote environment and gather the debug info to create a lldb script that has the gdb-remote command, and commands to add the target modules, and to load the target mo
1
0
2.0k
Jun ’21
Reply to Strange problems with breakpoints appear after migration (MacBook x86_64 Sequoia to Mac M3 arm64 Sequoia)
It would help if you put your preformatted text into a code block. See Quinn’s Top Ten DevForums Tips for advice on how to do that. I’m very confused by your post, so lemme start out with some thing simple. You wrote: [quote='768774021, boitet2002, /thread/768774, /profile/boitet2002'] without lldb … stop reason = EXC_BREAKPOINT [/quote] I don’t understand this. The stop reason message clearly indicates that you’re running your program under LLDB. So how can that be “without lldb”? It looks like you’re building a standalone executable rather than an app. If so, what happens if you run the program from Terminal directly? I’m presuming it’ll crash there too. If so, that should generate a crash report. Please post the crash report here. See Posting a Crash Report for advice on how to do that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Nov ’24