Search results for

LLDB crash

29,557 results found

Post

Replies

Boosts

Views

Activity

Reply to Any easy explanation about how Model I/O works combined wiht Scenekit?
I downloaded this and testing it on XCode 9 Beta, and seems to always crash on me. With this error message:Assertion failed: ([url isKindOfClass:NSURL.class]), function -[AAPLSceneViewController voxelize:], file /Users/justme/Documents/_DEVELOPMENT/VoxelPandaGettingStartedwithVoxelsUsingModelIOandSceneKit/VoxelPanda/VoxelPanda/AAPLSceneViewController.m, line 79.(lldb)Maybe my MacBookPro is too old?
Topic: Graphics & Games SubTopic: SceneKit Tags:
Aug ’17
LLDB plugin fails to load on new XCode - apparent library validation issues
The .NET Runtime has shipped an lldb extension that looks to extend LLDB functionality to be able to reason about .NET managed code. This has been working for a long time, but now it fails to load with the error error: this file does not represent a loadable dylib. Loading works if I use a self-compiled version of LLDB. I can't really debug XCode's LLDB, but there are some logs that seemed to hint it was signing checks failing for library validation, but neither Developer nor Application signing would satisfy these. LLDB resides within the XCode bundle at /Applications/Xcode.app/Contents/Developer/usr/bin/lldb. codesign confirms that the bundle enforces library validation. Is there any way to confirm this is the issue? It looks like: Library Validation failed: Rejecting '/*/libsosplugin.dylib' (Team ID: none, platform: no) for process 'lldb(77691)' (Team ID: none, platform: yes), reason: mapped file has no Team ID and is not a platform binary (sig
3
0
1.3k
May ’23
LLDB is invoking Xcode to display source code all of a sudden. How to switch back?
I've cross posted this at https://stackoverflow.com/q/79647300/6230282 Basically, I use command line and emacs app to develop on daily basis, but all of a sudden, LLDB is invoking Xcode to display source code for me, instead of printing them in command line. How do I switch back? Or alternatively, can I set a custom editor for LLDB? (lldb) version lldb-1700.0.9.502 Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) About Xcode: Version 16.4 (16F6)
1
0
112
Jun ’25
Reply to NSDocument doesn't autosave last changes
I tried this implementation to autosave changes before quitting the app, but it doesn't work since NSDocument.hasUnautosavedChanges is unexpectedly false. I now get the impression that perhaps a document would be saved automatically before quitting, but there is an issue with how NSTextView marks a document as edited. I would appreciate any insight into this issue. func applicationShouldTerminate(_ sender: NSApplication) -> NSApplication.TerminateReply { let edited = documents.filter({ $0.hasUnautosavedChanges }) if edited.isEmpty { return .terminateNow } var remaining = edited.count for document in edited { document.autosave(withImplicitCancellability: false) { [self] error in if let error = error { presentError(error) } else { remaining -= 1 if remaining == 0 { NSApp.reply(toApplicationShouldTerminate: true) } } } } return .terminateLater }
Topic: UI Frameworks SubTopic: AppKit Tags:
1w
Unable to properly attach to executable with lldb running under Rosetta
I'm trying to attach with lldb to a x64 process running under Rosetta, attachment itself succeeded but lldb is unable to load target neither it's modules. And getting this output: (lldb) process attach --pid 20586 Process 20586 stopped * thread #1, stop reason = signal SIGSTOP frame #0: 0x00007ff813a1d1ee -> 0x7ff813a1d1ee: jae 0x7ff813a1d1f8 0x7ff813a1d1f0: movq %rax, %rdi 0x7ff813a1d1f3: jmp 0x7ff813a18cdb 0x7ff813a1d1f8: retq Target 0: (No executable module.) stopped. Architecture set to: x86_64-apple-macosx-. (lldb) target modules list error: the target has no associated executable images A few weeks ago I had the same problem, but some combination of actions like rebuilding deleting and redownloading binaries and some other unknown magic fixed this behaviour. And today I stumbled upon this problem again, and same actions does not make any effect. Attaching to process works in general (event to processes running under Rosetta), but this specific process I want to deb
2
0
1.4k
Jul ’23
Reply to Debugger lldb-mi no longer present?
It seems that lldb-mi is no longer part of the main LLDB project. See this announcement. Xcode does not use lldb-mi itself — it was only included in the Xcode distribution as a side effect of including LLDB proper — and thus this change means lldb-mi no longer ships with Xcode. If you need lldb-mi you can build it yourself based on the open source repository. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Nov ’19
Reply to Execution was interrupted, reason: internal ObjC exception breakpoint(-10)..
Can't show the exact code.As the break point hit the function, I am trying to change its parameter value in debug pane like below: (lldb) po someVar ABC (lldb) expression self.someVar = XYZ () $R4 = {} (lldb) po self.someVar XYZ (lldb) po methodName(with: self.someVar) error: Execution was interrupted, reason: internal ObjC exception breakpoint(-10).. The process has been returned to the state before expression evaluation. (lldb)
Feb ’21
Reply to Establishing stable multi peer data transfer with Network framework
Yeah that was my feeling as well. I don't know how one would go about debugging that, or how I could get it in a symbolicated form. In Xcode when your app crashes, lldb should come up in the console and you can type bt into the console and this will give you the symbolicated trace of the crashing thread. If this happened on the device then you will need to get the crash logs from the device, so see this article here. But if I add both cases to my set of connections to monitor, this never happens. Well done debugging and finding this missing case. Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Aug ’21
XCode Popup error - LLDB provided no error string
Hi all, Whenever I am trying to build my app on IOS and attach it to a Simulator. The build is getting succeeded but whenever the app is starting to launch on simulator, it is throwing a pop up error - LLDB provided no error string The following error in the popup - Could not launch “XX” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Reason: LLDB provided no error string. User Info: { DVTErrorCreationDateKey = 2024-07-22 04:47:11 +0000; DVTRadarComponentKey = 855031; IDERunOperationFailingWorker = DBGLLDBLauncher; RawUnderlyingErrorMessage = LLDB provided no error string.; } Additionally in the console, this is printed in red in console - Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables. I have tried all things - like restarting Xcode, restarting my Mac, cleaning up my workspace and trying to build again, but nothing helps. I have even
1
0
748
Jul ’24
track function overloading in LLDB
Int this piece of code ****, there are three overloading of the function Func in the class A, but I need to know which of these functions where called in main function.The vtable provide only the memory address of these three functions, but I don't know where I should checkthe foot print of these virtual functions.#include <stdio.h>#include <stdint.h>class A{ public: A(){} virtual ~A() {} virtual int Func(int a) { return puts(__PRETTY_FUNCTION__); } virtual int Func(char a) { return puts(__PRETTY_FUNCTION__); } virtual int Func(float a) { return puts(__PRETTY_FUNCTION__); }};int main(int argc, const char **argv){ A *a = new A(); a->Func(3); return 0;}
1
0
440
Feb ’17
Reply to Xcode 11 debugger crashes on breakpoint
I’m going to recommend that you do what that message tells you, that is, file a bug with the crash report. I’m not entirely sure what’s going on here, but the backtrace of the crash thread indicates that LLDB is having problems demangling Swift symbols, and that should never crash.Please post your bug number, just for the record.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Dec ’19
Reply to Xcode 13 doesn't stay paused on breakpoint
Thanks for the response. Actually, it will pause and stay paused if I break in the main View, but in a service function I have for processing data it stops for a few seconds, then continues. It's a static function in a singleton, but I don't think that would make a difference. However, I actually just noticed a couple of things: 1) the app is actually detaching and continuing, and 2) it's posting an error that I hadn't noticed before (gulp): 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.... It does the same breaking at various points in a custom package I'm developing alongside the app. I'll file a bug... I guess this should go to Swift, not necessarily Apple? EDIT: Actually, I see a similar unresolved issue from August at bugs.swift.org: https://bugs.swift.
Oct ’21