Search results for

“LLDB crash”

30,527 results found

Post

Replies

Boosts

Views

Activity

Reply to Outgoing SSL connections fail on macOS 15, work fine on earlier versions
@DTS Engineer I'm not asking for OpenSSL support. I'm asking for help on why lldb hangs when I try to step into an SSL library function. I also want to be clear: we can load the OpenSSL libraries fine. They work fine in macOS < 15. They do not work in macOS 15. lldb hangs in macOS 15. It does not hang in < 15. This all feels like some sort of security measure in macOS 15. I followed your Posting a Crash Report link and it seems to apply to everything except macOS. I don't see any your app crashed dialog, so I don't know if there is information in the system which would help diagnose the problem.
Nov ’24
Reply to User defined camera with AVFoundation Crash At Xcode8
Thanks very much,your answer solved my problem.But when I running again,crash and log is'Message from debugger: The LLDB RPC server has crashed. Please file a bug with Apple with the crash log.'Although the camera is still running,but in console is disconnect and log crash.May be the problem come from version of Xcode 8.0 beta2,besides not reason can explain why the problem appearin the newest version of Xcode
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’16
Reply to I can't find Device Logs with all logs in Xcode
[quote='762334021, hyejunghayat, /thread/762334, /profile/hyejunghayat'] I think It is not crash file coming from my device, but from ios review..? How can I symbolicate crash log that I get from iOS team? [/quote] You can also drag the .crash file onto the Xcode icon and select your app project. Or you can run xcrun crashlog /Path/To/YourApp.crash in Terminal to have LLDB symbolicate it and tell you more information that way. — Ed Ford,  DTS Engineer
Aug ’24
Not able to connect to process neither from Xcode or lldb from terminal
Hi, I'm using macOS 12.5, Xcode 13.4.1 to develop system extension based app. When I'm trying to connect debugger to system extension(by pid, by name or choosing from list), process crashes every time, when I try to connect to it throught lldb I'm getting error Process 1098 stopped * thread #1, stop reason = signal SIGSTOP frame #0: 0xffffffffffffffff Target 0: (No executable module.) stopped. Architecture set to: . Process 1098 exited with status = -1 (0xffffffff) debugserver died with an exit status of 0x00000000 Would be grateful for any suggestions
1
0
1.3k
Jul ’22
Reply to [Resolved] App crashes when launched from dock, doesn't crash when run from terminal
Does the crash happen if you start the app within lldb? If not, one way to investigate this is to add a pause call to the start of your app. You can then launch it from the Finder and it’ll stop, at which point you can attach to it from lldb. That should reproduce the problem, because the app was started in the standard environment, while allowing you to investigate it in the debugger. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jan ’20
lldb terminate app while launch in Xcode 14
When I try to debug my app Xcode popup a dialog it says lldb is waiting longer than expected should I wait or continue and bottom has a don't ask again checkbox. I do not read it carefully and checked that checkbox and tap continue then nightmares came. I can not debug my app at all. lldb will terminate my app by signal 9 every time. I tried delete ~/Library/Developer ~/Library/Application Support/Xcode and defaults delete com.apple.xcode and many other ways to reset the ask dialog but no lucky. How should I reset it?
0
0
267
Sep ’22
Reply to SwiftData/ModelContext.swift:3253: Fatal error: Failed to identify a store that can hold instances of SwiftData._KKMDBackingData<Presents_2024.Item> from [:]
Here's the output of the debug error when it crashes: I'm also receiving the following failed assertion: wiftData/ModelContext.swift:3253: Fatal error: Failed to identify a store that can hold instances of SwiftData._KKMDBackingData from [:] error: Assertion failed: (byte_size > 0 && byte_size <= 8 && GetMaxU64 invalid byte_size!), function GetMaxU64, file DataExtractor.cpp, line 527 Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 LLDB 0x0000000115319aac llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 LLDB 0x0000000114e7a198 lldb_private::lldb_assert(bool, char const*, char const*, char const*, unsigned int) + 148 2 LLDB 0x0000000114e73818 lldb_private::DataExtractor::GetMaxU64(unsigned long long*, unsigned long) const + 72 3 LLDB 0x0000000114d7ded0 lldb_private::CompilerType::GetValueAsScalar(lldb_private::DataExtractor const&
Sep ’24
Reply to po $arg1 no longer working in Xode 6.4
and crash on iOS 7.1 Simulaotor when using Xcode 6.4.In my testing it works with the 7.1 simulator if you target a 64-bit CPU (like iPhone 5s) but fails, as you’ve described, when targeting a 32-bit CPU.I suspect you’re being bitten by a limitation of $arg1, namely, that it always maps to a register. On i386, which is what the 32-bit simulator uses, parameters are passed on the stack, not in a registers, and thus aren’t available via $argXXX notation. Rather, you have to dump the stack and work things out from there. Here’s an example, assuming you’re stopped at the first instruction of objc_exception_throw: (lldb) po $arg1 error: use of undeclared identifier '$arg1' error: 1 errors parsing expression (lldb) # Dump 8 4-bit words in hex from the top of the stack. (lldb) m r -c 8 -s 4 -f x $esp 0xbff3454c: 0x007d5fbb 0x79c55090 0x008de3d0 0x000cc038 0xbff3455c: 0x79c55110 0x00000000 0x008dd82c 0x0091b940 (lldb) # The first word is the return address; the second is th
Aug ’15
lldb issue: 'self cannot be reconstructed'
everything works fine in Xcode15, but in Xcode16 it break down. when I add breakpoint, I start po variable , the lldb shows error: type for self cannot be reconstructed: type for typename $s8XYRouter8RegistryOXMtD was not found (cached) error: Couldn't realize Swift AST type of self. Hint: using `v` to directly inspect variables and fields may still work. how can I fix the issues!!!. it really mattttttes, and it cause cant developing as normally. pls, save the child.
4
0
881
Dec ’24
Reply to Outgoing SSL connections fail on macOS 15, work fine on earlier versions
@DTS Engineer I'm not asking for OpenSSL support. I'm asking for help on why lldb hangs when I try to step into an SSL library function. I also want to be clear: we can load the OpenSSL libraries fine. They work fine in macOS < 15. They do not work in macOS 15. lldb hangs in macOS 15. It does not hang in < 15. This all feels like some sort of security measure in macOS 15. I followed your Posting a Crash Report link and it seems to apply to everything except macOS. I don't see any your app crashed dialog, so I don't know if there is information in the system which would help diagnose the problem.
Replies
Boosts
Views
Activity
Nov ’24
Reply to User defined camera with AVFoundation Crash At Xcode8
Thanks very much,your answer solved my problem.But when I running again,crash and log is'Message from debugger: The LLDB RPC server has crashed. Please file a bug with Apple with the crash log.'Although the camera is still running,but in console is disconnect and log crash.May be the problem come from version of Xcode 8.0 beta2,besides not reason can explain why the problem appearin the newest version of Xcode
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jul ’16
Can't display some variables in LLDB: unresolved identifier
The local variables are right there in the function in my current stack frame, but I can't look at them.(lldb) po newPatherror: <EXPR>:3:1: error: use of unresolved identifier 'newPath'Some variables print as expected, some dont.SWIFT_OPTIMIZATION_LEVEL is -Onone. Xcode 10, build 10A254a.
Replies
1
Boosts
0
Views
2.2k
Activity
Sep ’18
Investigating kext memory leak with lldb and KDK
Is there a way I can use the lldb user defined commands, which I can load from a KDK, to determine how much memory my kext has consumed? Is there a way to figure out what size blocks they are? I have already run the showallclasses command and the output has assured me that I am not leaking any objects which are defined by my driver's classes. Thanks, Tim
Replies
1
Boosts
0
Views
562
Activity
Dec ’24
lldb breakpoint error: use of unresolved identifier
I am breaking within a switch case (within a method) and lldb is not able to p or po my local vars. I have checked both optimization flags and they are set to none.Interestingly, I *am* able to po variables outside the switch and properties of the containing struct.XCode 9.2, Swift 4
Replies
2
Boosts
0
Views
1.2k
Activity
Jan ’18
The debugging from lldb command to Xcode 8 GUI
By the machine of Mac OS X EI Captain (10.11.6) / Xcode(8.0(8A218a)),there is executable binary file with the debugging symbolwhich was created by g++ -g - c <name> *.cpp .This can be debugged in lldb of the command line.I wants to debug this by the GUI of Xcode8, but is it possible?When possible, please tell me the procedure on Xcode8?Regards
Replies
1
Boosts
0
Views
3.3k
Activity
Oct ’16
Reply to I can't find Device Logs with all logs in Xcode
[quote='762334021, hyejunghayat, /thread/762334, /profile/hyejunghayat'] I think It is not crash file coming from my device, but from ios review..? How can I symbolicate crash log that I get from iOS team? [/quote] You can also drag the .crash file onto the Xcode icon and select your app project. Or you can run xcrun crashlog /Path/To/YourApp.crash in Terminal to have LLDB symbolicate it and tell you more information that way. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
Aug ’24
Not able to connect to process neither from Xcode or lldb from terminal
Hi, I'm using macOS 12.5, Xcode 13.4.1 to develop system extension based app. When I'm trying to connect debugger to system extension(by pid, by name or choosing from list), process crashes every time, when I try to connect to it throught lldb I'm getting error Process 1098 stopped * thread #1, stop reason = signal SIGSTOP frame #0: 0xffffffffffffffff Target 0: (No executable module.) stopped. Architecture set to: . Process 1098 exited with status = -1 (0xffffffff) debugserver died with an exit status of 0x00000000 Would be grateful for any suggestions
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’22
Reply to [Resolved] App crashes when launched from dock, doesn't crash when run from terminal
Does the crash happen if you start the app within lldb? If not, one way to investigate this is to add a pause call to the start of your app. You can then launch it from the Finder and it’ll stop, at which point you can attach to it from lldb. That should reproduce the problem, because the app was started in the standard environment, while allowing you to investigate it in the debugger. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
Jan ’20
lldb terminate app while launch in Xcode 14
When I try to debug my app Xcode popup a dialog it says lldb is waiting longer than expected should I wait or continue and bottom has a don't ask again checkbox. I do not read it carefully and checked that checkbox and tap continue then nightmares came. I can not debug my app at all. lldb will terminate my app by signal 9 every time. I tried delete ~/Library/Developer ~/Library/Application Support/Xcode and defaults delete com.apple.xcode and many other ways to reset the ask dialog but no lucky. How should I reset it?
Replies
0
Boosts
0
Views
267
Activity
Sep ’22
lldb-rpc-server 'hangs' MacOS app won't start with debugger attached
iMac 2017, latest Catalina, Xcode 11.7 and 12.3 same symptoms.) can not attach a debugger to running app, Xcode crash or error ) starting app from Xcocde in Debug build -> lldb-rpc-server freezes, app is not starting, killing the lldb-rpc-server process starts the app without debugger. Any Ideas on how to solve this? Stephan
Replies
2
Boosts
0
Views
3.7k
Activity
Jan ’21
Reply to SwiftData/ModelContext.swift:3253: Fatal error: Failed to identify a store that can hold instances of SwiftData._KKMDBackingData<Presents_2024.Item> from [:]
Here's the output of the debug error when it crashes: I'm also receiving the following failed assertion: wiftData/ModelContext.swift:3253: Fatal error: Failed to identify a store that can hold instances of SwiftData._KKMDBackingData from [:] error: Assertion failed: (byte_size > 0 && byte_size <= 8 && GetMaxU64 invalid byte_size!), function GetMaxU64, file DataExtractor.cpp, line 527 Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 LLDB 0x0000000115319aac llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 LLDB 0x0000000114e7a198 lldb_private::lldb_assert(bool, char const*, char const*, char const*, unsigned int) + 148 2 LLDB 0x0000000114e73818 lldb_private::DataExtractor::GetMaxU64(unsigned long long*, unsigned long) const + 72 3 LLDB 0x0000000114d7ded0 lldb_private::CompilerType::GetValueAsScalar(lldb_private::DataExtractor const&
Replies
Boosts
Views
Activity
Sep ’24
Reply to po $arg1 no longer working in Xode 6.4
and crash on iOS 7.1 Simulaotor when using Xcode 6.4.In my testing it works with the 7.1 simulator if you target a 64-bit CPU (like iPhone 5s) but fails, as you’ve described, when targeting a 32-bit CPU.I suspect you’re being bitten by a limitation of $arg1, namely, that it always maps to a register. On i386, which is what the 32-bit simulator uses, parameters are passed on the stack, not in a registers, and thus aren’t available via $argXXX notation. Rather, you have to dump the stack and work things out from there. Here’s an example, assuming you’re stopped at the first instruction of objc_exception_throw: (lldb) po $arg1 error: use of undeclared identifier '$arg1' error: 1 errors parsing expression (lldb) # Dump 8 4-bit words in hex from the top of the stack. (lldb) m r -c 8 -s 4 -f x $esp 0xbff3454c: 0x007d5fbb 0x79c55090 0x008de3d0 0x000cc038 0xbff3455c: 0x79c55110 0x00000000 0x008dd82c 0x0091b940 (lldb) # The first word is the return address; the second is th
Replies
Boosts
Views
Activity
Aug ’15
Reply to Mono initialization code crashes on ElCap in Xcode6/7
I searched the Xamarin bugzilla and found this bug that includes a small sample app: https://bugzilla.xamarin.com/show_bug.cgi?id=34631It crashes in the same way our app does within Xcode but runs ok from Finder or when launched from command line lldb.
Replies
Boosts
Views
Activity
Nov ’15
lldb issue: 'self cannot be reconstructed'
everything works fine in Xcode15, but in Xcode16 it break down. when I add breakpoint, I start po variable , the lldb shows error: type for self cannot be reconstructed: type for typename $s8XYRouter8RegistryOXMtD was not found (cached) error: Couldn't realize Swift AST type of self. Hint: using `v` to directly inspect variables and fields may still work. how can I fix the issues!!!. it really mattttttes, and it cause cant developing as normally. pls, save the child.
Replies
4
Boosts
0
Views
881
Activity
Dec ’24