Search results for

“LLDB crash”

30,527 results found

Post

Replies

Boosts

Views

Activity

Reply to Error when clicking on TextField : CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
I was able to verify the above backtrace is really the offending log: (lldb) po $x0 6935281664 (lldb) po $x1 (lldb) po $x2 17 (lldb) po $x3 6936223887 (lldb) po $x4 6157865216 (lldb) po $x5 22 (lldb) po $x6 6149505024 (lldb) po $x7 1 (lldb) x/s $x3 0x19d6e608f: CLIENT ERROR: %@ does not override -%@ and thus cannot react to catastrophic errors beyond logging them (lldb) x/22bx $x4 0x16f099100: 0x02 0x02 0x40 0x08 0x50 0x7a 0x21 0x6e 0x16f099108: 0x02 0x00 0x00 0x00 0x40 0x08 0x50 0xef 0x16f099110: 0x66 0x2f 0x01 0x00 0x00 0x00 (lldb) po 0x000000012f66ef50 viewServiceDidTerminateWithError: (lldb) po 0x000000026e217a50 TUINSRemoteViewController
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’24
Xcode 8 Error creating LLDB target
I facing issues in Xcode 8 while trying to execute the application. I am using Xcode Version 8.3.2 (8E2002) and Swift 3 for creating the project and when i try to run the application it is getting installed in the iPhone simulator but displays an error message in the console window as mentioned below.Warning: Error creating LLDB target at path '/Users/anand/Library/Developer/Xcode/DerivedData/Dicee-gslmyrsjbqfaecdnquedjgmlmxwj/Build/Products/Debug-iphonesimulator/Dicee.app'- using an empty LLDB target which can cause slow memory reads from remote devices. error: failed to launch '53355'Kindly provide solution to the above error.
1
0
1.8k
Apr ’17
Reply to Crash in iOS 15 EXC_CRASH (SIGKILL) without reason on TestFlight
without any Termination Reason or Code. Consider this snippet from your crash report: Termination Reason: RUNNINGBOARD 3735883980 Note that the termination code is in decimal: % lldb (lldb) p/x 3735883980 (long) $0 = 0x00000000dead10cc This dead10cc code is explained in Understanding the Exception Types in a Crash Report. The fact that this code is in decimal rather than hex is annoying. I know @edford is working to get that fixed, although I don’t know the current status of that effort. On the plus side, at least we include the exception code now, which is a marked improvement from the previous situation. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’22
Reply to Cant upgrade Big Sur 11.0.1
@Mrfearless. Your issue actually sounds like the documented issue with Safari. Have you tried this? Safari Known Issues Safari might quit unexpectedly if iCloud Tabs are enabled. (70625636) Workaround: Bypass the Start Page by clicking a URL in a different application, such as Mail or Notes, to open Safari. In Safari > Preferences > General, set “New windows open with:” and “New tabs open with:” to “Empty Page”.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
Reply to CFNetwork crash in CFURLRequestSetMainDocumentURL
Perhaps the issue is in PLCrashReporter, or in the interplay between PLCrashReporter and CFNetwork? Perhaps. Frankly, I don’t trust any crash reports other than Apple crash reports. See Implementing Your Own Crash Reporter for an explanation as to why. Bug number is [FB10663350] Thanks for that. Digging into the crash report a little more, I can confirm that the specific crash is caused by CFNetwork calling dispatch_source_set_timer [1] with NULL in the first parameter. Indeed, if you write a tiny test project with this code: dispatch_source_set_timer(NULL, 0, 0, 0); frame 0 of the crash will exactly match the crash report [2]: (lldb) disas -s 0x10274ac3c -c 9 libdispatch.dylib`_dispatch_source_set_runloop_timer_4CF: 0x10274ac3c <+0>: pacibsp 0x10274ac40 <+4>: stp x26, x25, [sp, #-0x50]! 0x10274ac44 <+8>: stp x24, x23, [sp, #0x10] 0x10274ac48 <+12>: stp x22, x21, [sp, #0x20] 0x10274ac4c <+16>: stp x20, x19, [
Topic: App & System Services SubTopic: General Tags:
Jul ’22
How do I get source code debugging in LLDB for System Extensions?
Following the instructions found here as well as around the Developer Forums, I've successfully managed to begin debugging my system extension on a virtual machine. Unfortunately, after archiving my system extension and copying over the .app file to my virtual machine, my .app loses access to the source code (on my host machine) and hitting any beak points via lldb yields me hard-to-read assembly code. How do I also get source code when attaching lldb to a system extension?
4
0
2.0k
Mar ’22
Reply to RangeExpression Frustrations
Looks like a bug, not new....See https://stackoverflow.com/questions/43635522/what-is-lldb-rpc-server-when-does-it-crash-in-xcode-why-it-crashesIf you take the time to file one, be sure to add your report # to your thread for reference, thanks and good luck.Ken
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’18
lldb-server not found in command line tools in Catalina.
Hi, I installed command line tools using command xcode-select --install in Catalina. I could not find 'lldb-server' in path /Library/Developer/CommandLineTools in Catalina. I could find lldb-server at below path in Mojave /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/ Please guide me how to install lldb-server in Catalina as I require it for remote debugging. Regards
0
0
1k
Dec ’20
2 machine lldb@10.11.3 - no symbols
I recently had to kernel debug my kext again. It used to have all symbols available while kernel debugging an earlier 10.11 a while ago.I build my kext with dwarf-with-dsym against an 10.9 SDK and I am assuming my build settings are OK, since it used to work.When connecting to the panic'd system, I do (or - more precicly my script does):(lldb) target create /Library/Developer/KDKs/KDK_10.11.3_15D13b.kdk/System/Library/Kernels/kernelwarning: 'kernel' contains a debug script. To run this script in this debug session: command script import /Library/Developer/KDKs/KDK_10.11.3_15D13b.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/DWARF/../Python/kernel.pyTo run all discovered debug scripts in this session: settings set target.load-script-from-symbol-file trueCurrent executable set to '/Library/Developer/KDKs/KDK_10.11.3_15D13b.kdk/System/Library/Kernels/kernel' (x86_64).(lldb) settings set target.load-script-from-symbol-file trueLoading kernel debugging from /Library/Developer/KDKs/KDK
1
0
1.5k
Jan ’16
LLDB "unable to attach" on Xcode v10.1 (10B61)
I am running the most up to date version of Xcode (v10.1 (10B61)) on a High Sierra system (10.13.6 (17G10021)) and find that compiling for macOS will work, but not visually display in the sumulator. I get the LLDB message: unable to attach. Advice online suggested submitting new security certificates, which I have done, but still the simulator will not show up, even though the code compiles.
0
0
466
Nov ’23
Reply to App is Crashing with "Message from debugger: Terminated due to signal 6" in Xcode 16
Signal 6 is SIGABRT, which likely means that something called abort() in your app. When this happens and you get that message in Xcode, you can review the thread backtraces in the debugger to see what aborted. Alternatively, you can enter the LLDB command detach, which will detach the debugger, and allow the app to continue to crash using normal means, resulting in a crash report that you can then review. — Ed Ford,  DTS Engineer
Sep ’24
Reply to Outgoing SSL connections fail on macOS 15, work fine on earlier versions
@DTS Engineer On disabling the signal handler I was able to get a crash report. ... which suggests you have a Mach exception handler that’s active even with your signal handler disabled. Is it possible to disable that? No, the exception handler is crucial to the operation of the product. Remember this is a language. We produce compiled code, catch exceptions on behalf of users, etc. This has been part of the product since the first version, in MacOS 10.0. For example, in Common Lisp, we have an API for virtual multi-threading and that facility uses the exception handler for its operation. That feature cannot be turned off. Our application is not a normal application. We have an entire programming system inside our product, and that includes catching exceptions and dealing with them programmatically. Implementing a Mach exception handler correctly is really hard, We agree. We would be happy to send you the source code for it, but we don't want to post it here. This exception handler is as old as MacOS
Nov ’24
LLDB doesn’t stop on SIGABRT (assert) with x86 executable on Apple ARM
Hello. I am currently developing a C++ application for x86_64 using XCode, and I am experiencing the same problem as described in the following link. https://discourse.llvm.org/t/lldb-doesnt-stop-on-sigabrt-assert-with-x86-executable-on-apple-arm/69749/1 Due to this bug, when the application crashes, it is difficult to tell which source code caused the crash, and this is reducing our development efficiency. How can this be fixed? Thank you in advance for your help.
2
0
1.1k
Nov ’23
Reply to Error when clicking on TextField : CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
I was able to verify the above backtrace is really the offending log: (lldb) po $x0 6935281664 (lldb) po $x1 (lldb) po $x2 17 (lldb) po $x3 6936223887 (lldb) po $x4 6157865216 (lldb) po $x5 22 (lldb) po $x6 6149505024 (lldb) po $x7 1 (lldb) x/s $x3 0x19d6e608f: CLIENT ERROR: %@ does not override -%@ and thus cannot react to catastrophic errors beyond logging them (lldb) x/22bx $x4 0x16f099100: 0x02 0x02 0x40 0x08 0x50 0x7a 0x21 0x6e 0x16f099108: 0x02 0x00 0x00 0x00 0x40 0x08 0x50 0xef 0x16f099110: 0x66 0x2f 0x01 0x00 0x00 0x00 (lldb) po 0x000000012f66ef50 viewServiceDidTerminateWithError: (lldb) po 0x000000026e217a50 TUINSRemoteViewController
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’24
Xcode 8 Error creating LLDB target
I facing issues in Xcode 8 while trying to execute the application. I am using Xcode Version 8.3.2 (8E2002) and Swift 3 for creating the project and when i try to run the application it is getting installed in the iPhone simulator but displays an error message in the console window as mentioned below.Warning: Error creating LLDB target at path '/Users/anand/Library/Developer/Xcode/DerivedData/Dicee-gslmyrsjbqfaecdnquedjgmlmxwj/Build/Products/Debug-iphonesimulator/Dicee.app'- using an empty LLDB target which can cause slow memory reads from remote devices. error: failed to launch '53355'Kindly provide solution to the above error.
Replies
1
Boosts
0
Views
1.8k
Activity
Apr ’17
Reply to Crash in iOS 15 EXC_CRASH (SIGKILL) without reason on TestFlight
without any Termination Reason or Code. Consider this snippet from your crash report: Termination Reason: RUNNINGBOARD 3735883980 Note that the termination code is in decimal: % lldb (lldb) p/x 3735883980 (long) $0 = 0x00000000dead10cc This dead10cc code is explained in Understanding the Exception Types in a Crash Report. The fact that this code is in decimal rather than hex is annoying. I know @edford is working to get that fixed, although I don’t know the current status of that effort. On the plus side, at least we include the exception code now, which is a marked improvement from the previous situation. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Cant upgrade Big Sur 11.0.1
@Mrfearless. Your issue actually sounds like the documented issue with Safari. Have you tried this? Safari Known Issues Safari might quit unexpectedly if iCloud Tabs are enabled. (70625636) Workaround: Bypass the Start Page by clicking a URL in a different application, such as Mail or Notes, to open Safari. In Safari > Preferences > General, set “New windows open with:” and “New tabs open with:” to “Empty Page”.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’20
Reply to Debug Failed in Xcode Simulator
Same issue for me since the latest updates to Sequoia 15.4 and 16.2. Whenever I attach to a Simulator and try to view any variable, the LLDB RPC server crashes immediately. FB16682372 Debugging physical devices still seems to work fine.
Replies
Boosts
Views
Activity
Mar ’25
Reply to CFNetwork crash in CFURLRequestSetMainDocumentURL
Perhaps the issue is in PLCrashReporter, or in the interplay between PLCrashReporter and CFNetwork? Perhaps. Frankly, I don’t trust any crash reports other than Apple crash reports. See Implementing Your Own Crash Reporter for an explanation as to why. Bug number is [FB10663350] Thanks for that. Digging into the crash report a little more, I can confirm that the specific crash is caused by CFNetwork calling dispatch_source_set_timer [1] with NULL in the first parameter. Indeed, if you write a tiny test project with this code: dispatch_source_set_timer(NULL, 0, 0, 0); frame 0 of the crash will exactly match the crash report [2]: (lldb) disas -s 0x10274ac3c -c 9 libdispatch.dylib`_dispatch_source_set_runloop_timer_4CF: 0x10274ac3c <+0>: pacibsp 0x10274ac40 <+4>: stp x26, x25, [sp, #-0x50]! 0x10274ac44 <+8>: stp x24, x23, [sp, #0x10] 0x10274ac48 <+12>: stp x22, x21, [sp, #0x20] 0x10274ac4c <+16>: stp x20, x19, [
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
How do I get source code debugging in LLDB for System Extensions?
Following the instructions found here as well as around the Developer Forums, I've successfully managed to begin debugging my system extension on a virtual machine. Unfortunately, after archiving my system extension and copying over the .app file to my virtual machine, my .app loses access to the source code (on my host machine) and hitting any beak points via lldb yields me hard-to-read assembly code. How do I also get source code when attaching lldb to a system extension?
Replies
4
Boosts
0
Views
2.0k
Activity
Mar ’22
Reply to RangeExpression Frustrations
Looks like a bug, not new....See https://stackoverflow.com/questions/43635522/what-is-lldb-rpc-server-when-does-it-crash-in-xcode-why-it-crashesIf you take the time to file one, be sure to add your report # to your thread for reference, thanks and good luck.Ken
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’18
lldb-server not found in command line tools in Catalina.
Hi, I installed command line tools using command xcode-select --install in Catalina. I could not find 'lldb-server' in path /Library/Developer/CommandLineTools in Catalina. I could find lldb-server at below path in Mojave /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/ Please guide me how to install lldb-server in Catalina as I require it for remote debugging. Regards
Replies
0
Boosts
0
Views
1k
Activity
Dec ’20
2 machine lldb@10.11.3 - no symbols
I recently had to kernel debug my kext again. It used to have all symbols available while kernel debugging an earlier 10.11 a while ago.I build my kext with dwarf-with-dsym against an 10.9 SDK and I am assuming my build settings are OK, since it used to work.When connecting to the panic'd system, I do (or - more precicly my script does):(lldb) target create /Library/Developer/KDKs/KDK_10.11.3_15D13b.kdk/System/Library/Kernels/kernelwarning: 'kernel' contains a debug script. To run this script in this debug session: command script import /Library/Developer/KDKs/KDK_10.11.3_15D13b.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/DWARF/../Python/kernel.pyTo run all discovered debug scripts in this session: settings set target.load-script-from-symbol-file trueCurrent executable set to '/Library/Developer/KDKs/KDK_10.11.3_15D13b.kdk/System/Library/Kernels/kernel' (x86_64).(lldb) settings set target.load-script-from-symbol-file trueLoading kernel debugging from /Library/Developer/KDKs/KDK
Replies
1
Boosts
0
Views
1.5k
Activity
Jan ’16
LLDB "unable to attach" on Xcode v10.1 (10B61)
I am running the most up to date version of Xcode (v10.1 (10B61)) on a High Sierra system (10.13.6 (17G10021)) and find that compiling for macOS will work, but not visually display in the sumulator. I get the LLDB message: unable to attach. Advice online suggested submitting new security certificates, which I have done, but still the simulator will not show up, even though the code compiles.
Replies
0
Boosts
0
Views
466
Activity
Nov ’23
Reply to App is Crashing with "Message from debugger: Terminated due to signal 6" in Xcode 16
Signal 6 is SIGABRT, which likely means that something called abort() in your app. When this happens and you get that message in Xcode, you can review the thread backtraces in the debugger to see what aborted. Alternatively, you can enter the LLDB command detach, which will detach the debugger, and allow the app to continue to crash using normal means, resulting in a crash report that you can then review. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
Sep ’24
Reply to Outgoing SSL connections fail on macOS 15, work fine on earlier versions
@DTS Engineer On disabling the signal handler I was able to get a crash report. ... which suggests you have a Mach exception handler that’s active even with your signal handler disabled. Is it possible to disable that? No, the exception handler is crucial to the operation of the product. Remember this is a language. We produce compiled code, catch exceptions on behalf of users, etc. This has been part of the product since the first version, in MacOS 10.0. For example, in Common Lisp, we have an API for virtual multi-threading and that facility uses the exception handler for its operation. That feature cannot be turned off. Our application is not a normal application. We have an entire programming system inside our product, and that includes catching exceptions and dealing with them programmatically. Implementing a Mach exception handler correctly is really hard, We agree. We would be happy to send you the source code for it, but we don't want to post it here. This exception handler is as old as MacOS
Replies
Boosts
Views
Activity
Nov ’24
Reply to how do i fix the sigabrt error?
I have do this.If I take the name from my storyboard and run the app, crash and sgabrt.If I take the name Main, I becoes this error:2015-08-22 09:47:35.911 Kapitel2[1168:47555] [+] <ViewController: 0x7ba78de0>.writeLog:(lldb)So whats now?
Replies
Boosts
Views
Activity
Aug ’15
LLDB doesn’t stop on SIGABRT (assert) with x86 executable on Apple ARM
Hello. I am currently developing a C++ application for x86_64 using XCode, and I am experiencing the same problem as described in the following link. https://discourse.llvm.org/t/lldb-doesnt-stop-on-sigabrt-assert-with-x86-executable-on-apple-arm/69749/1 Due to this bug, when the application crashes, it is difficult to tell which source code caused the crash, and this is reducing our development efficiency. How can this be fixed? Thank you in advance for your help.
Replies
2
Boosts
0
Views
1.1k
Activity
Nov ’23