Search results for

LLDB crash

29,550 results found

Post

Replies

Boosts

Views

Activity

Reply to CommonCrypto swift module error in App
Thanks Quinn, Seeking to discard any other cause, I isolate the code that uses CommonCrypto in a separated app and run it. Same behavior. In my computer run perfectly well, but when trying to use the very same app in another Mac (in this case a MacBook air M2) it crashes immediately with the message ...quit unexpectedly (Attached the crash log it offered just after the failure). So, I'm pretty sure this is somehow caused by CommonCrypto. I even tried using the package CryptoSwift but fails exactly the same way. Any help will be highly appreciated. Thanks TestLic_quitUnexp_March1-2024.txt
Topic: Privacy & Security SubTopic: General Tags:
Mar ’24
Reply to EXC_BAD_INSTRUCTION
It would be more helpful to start with the crash report to start with, since it sounds like you're trying to debug the reason for the EXC_BAD_INSTRUCTION crash. Since you're at a breakpoint in LLDB, you can run the detach command, which will allow the crash to complete, rather than be intercepted by LLDB. That way, the crash report will be stored, and you can retrieve it from disk to share here. All of the info you need to collect the report and then post it here is in Posting a crash report. — Ed Ford,  DTS Engineer
Feb ’25
Security & Privacy dialog quit unexpectedly With Prompt "Preference error,There was an error in ..." In mojave macOS 10.14
As we know,macOS mojave 10.14 have an new security & privacy feature that when app need access to camera or microphene ,they must first request user's permission,then the app will be added to the correspond device permission list ,this feature is the same as ios. My app named CCLiveForMac ,however ,come across a headache problem after upgrade to macOS mojave 10.14.Simply, when My app get the permisson to access microphone from user ,then it is ok to be added in device permission list In Security & Privacy Dialog.unfortunately, when I want to cancel the permission by unChecked myApp,then Security & Privacy dialog quit unexpectedly with the prompt Preference error There was an error in Security & Privacy PreferenceI don't know this prompt mean deeply! then I try to solve this problem as these two methods :1、 add NSCameraUsageDescription and in NSMicrophoneUsageDescription to info.plist https://bugzilla.mozilla.org/show_bug.cgi?id=14708332、add entitlements info when codesign ht
5
0
1.7k
Oct ’18
Reply to XCBBuildService Crash on Xcode 16 beta4
Xcode auto updated today on sept 17 to version 16. All apps crash with XCBBuildService quit unexpectedly unexpected service error: The Xcode build system has crashed. Build again to continue. I see various posts about this about beta. But having your prod release crash 100% of the time after you auto push to everyone seems short sighted to say the least. Fix: https://xcodereleases.com/?scope=release hit download for 15.4 and turn off system settings>general>software update> and turn off auto updates for App Store and don't forget to do this after you get a new machine, like I did.
Sep ’24
What are the steps to load crashlog using LLDB
I'm studying iOS crash analysis. Now, I need to import crashlog files into LLDB. As WWDC18 Session 414 said, I now have a copy of myApp, dSYM, ***.crash. Run the following command in a folder that I created:$ lldb(lldb) command script import lldb.macosx.crashlog(lldb) crashlog /xxxx.crashHowever, the stack trace file is not available and there is only a lot of error like:error: unable to locate any executables from the crash logDid I use it wrong? What is the correct stepts?Thanks in advance. For any question please just let me know.
1
0
2.1k
May ’19
Reply to LLDB crashes whenever trying to `po` while debugging
As a general rule LLDB itself should never crash, so you should definitely file a bug - https://developer.apple.com/bug-reporting/ about this. Please post your bug number, just for the record. Make sure to include your crash report. Also, if you can include a project that reproduces the issue, that’d be great. Looking at the crash I see this: Thread 4 Crashed: 0 … lldb_private::Status::Fail() const + 4 1 … lldb_private::Target::GetScratchSwiftASTContext(lldb_private::Status&, lldb_private::ExecutionContextS… 2 … lldb_private::SwiftUserExpression::ScanContext(lldb_private::ExecutionContext&, lldb_private::Status&)… 3 … lldb_private::SwiftUserExpression::Parse(lldb_private::DiagnosticManager&, lldb_private::ExecutionCont… 4 … lldb_private::UserExpression::Evaluate(lldb_private::ExecutionContext&, lldb_private::EvaluateExpressi… 5 … lldb_private::Target::EvaluateExpression(llvm::StringRef, lldb_private::ExecutionContextScope*, lldb_p… 6 … lldb_priv
Mar ’21
Error creating LLDB target at path
Hello! I'm trying to upload an app, the review is rejected because it crashes on iPad, in the simulators it works perfectly, but the review team tells me that it crashes on launch. When running my project, the only thing that appears is a warning: Error creating LLDB target at path .... using an empty LLDB target which can cause slow memory reads from remote devices: the specified architecture 'arm64--' is not compatible with 'x86_64-apple-ios12.0.0-simulator' in.... Am I missing some configuration? Or what could I check to solve this warning?
1
0
2.1k
Dec ’22
Reply to Debug Failed in Xcode Simulator
Running into the same thing. Am no longer able to place breakpoints in any project: 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.
Mar ’25
Is my copy of lldb up-to-date?
In WWDC 2015 session 402 (titled What's new in lldb) the presenter describes a number of improvements in lldb but none of them seem to work in my Xcode 7. The presenter shows several examples in which he says here's what used to happen... (and shows an error message), but we've fixed that and here's what you get now ... (and shows that you now get the result you expected). So I tried a few of those examples, copying exactly from his slide, and in every example I tried my lldb still gives the old error message. IOW it's acting as if it didn't get updated.For example the lldb command: (lldb) p NSMakeRect(0, 0, 10, 10)while debugging an Objective-C class formerly gave no response because NSMakeRect wasn't recognized. But now (he says) it gives:(NSRect) $0 = (origin = (x = 0, y = 0), size = (width = 10, height = 10))However when I try it, I get the old error:(lldb) p NSMakeRect(0, 0, 10, 10) error: use of undeclared identifier 'NSMakeRect' error: 1 errors pars
3
0
1.6k
Dec ’15
Swift LLDB fail
when i use po, alway show this error. (lldb) po viewModel error: warning: Failed to load linked library UIKit of module Login - errors: Looking for @rpath/UIKit.framework/UIKit, error: (null) Failed to find framework for UIKit looking along paths: /Users/name/Library/Developer/Xcode/DerivedData/Game-fbcssrnefpcutjgjoxicuabsatne/Build/Products/Debug-iphoneos/UIKit.framework/ Looking for /Users/name/Library/Developer/Xcode/DerivedData/MegabilityInterface-hiqhsjxojjhqgudnbcwzmovnxrqu/Build/Intermediates.noindex/ArchiveIntermediates/MegabilityInterface/BuildProductsPath/Release-iphoneos/UIKit.framework/ , error: (null) error: :2:11: error: cannot find type '$__lldb_context' in scope extension $__lldb_context { ^~~~~~~~~~~~~~~ error: :19:5: error: cannot find '$__lldb_injected_self' in scope $__lldb_injected_self.$__lldb_wrapped_expr_10( ^~~~~~~~~~~~~~~~~~~~~ (lldb) I was try setting this config by SWIFT_OPTIMIZATION_LEVEL DEBUG_INFORMATION_FORMAT Still does't work. if i use IDE 'Print Descriptio
2
0
2.7k
Sep ’22
Reply to LLDB RPC server has crashed
Hi, thank you. I saw, 26883783 is duplicated now, which is good. There is also 27018553 where I put some more specific issue I had been facing with. Maybe that might be helpfull too.There is a question, though. I would like to understand the connection (from architecture point of view) between REPL and LLDB RPC server. I know, that REPL backed by LLDB. I also understand that LLDB RPC is now a separated process, so when it is crashed that does not lead to Xcode crash. But, this is all I know. Could you please point out some docs, I could gain more understanding of this?Thank you in advance.
Jun ’16
Reply to Debug Failed in Xcode Simulator
same issue here macOS 15.4 (24E248) Xcode 16.0 (16A242d) &16.2 (16C5032a) run any simulator will hit 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.
Apr ’25
what on earth is (lldb)
So I am new to xcode and am just figuring the ins and outs of it. I am learning c programming and the main thing I am most comfused about is the debuger and how I can use it without it confusing the crap out of me. So just a few days ago I was writing some code in xcode and ran it and in my results there was somthing that said (lldb). I know it has something to do with the compiler but I still remain confused. So it would be great if someone could give me some background on what this is and what I do with it. Also it would be awesome you could tell me where I could get some basic info on how to use the bebuger in Xcode because every time I serch on google I don't find any help on Xcode.It would be great if you could help,🙂
2
0
316
Sep ’15
GDB equivalent of "-x" option in lldb
Do we have -x like option in lldb, which help us to pass set of lldb command in a file. i know about python scripting in lldb but i am looking for -x like option in lldb which could allow me not to write a python script . Exampleif i do following#lldb(lldb)process attach -n CoRD(lldb)breakpoint set -n tcp_connect(lldb)breakpoint set -n tcp_send(lldb) cthen script test should contain above command in lldb context and should be passed as something like#lldb -x testand it should execute all command from process attach to cis there exists something like this?
1
0
275
Jul ’15