Search results for

“LLDB crash”

30,526 results found

Post

Replies

Boosts

Views

Activity

Reply to LLDB RPC server crash in Xcode 16.3
Same here: lldb started crashing with simulator on encountering breakpoints, as of right now it even seems to crash reliably after some time. It seems to work properly on physical device Sequoia 15.4, XCode 16.2, iPhone 16 pro simulator 18.2 If that matters: I use github copilot xcode extension and that one also has issues => chat assistant crashes a lot and forces me to relaunch xcode every couple requests report.txt
May ’25
Error creating LLDB target at path - Xcode 12
I'm using Xcode 12 beta 3. When running my Apple Watch's target on WatchOS 7, I get this error: Warning: Error creating LLDB target at path '/Users/evan/Library/Developer/Xcode/DerivedData/audigo-cneguthkmmoulfgcprsazbryrlrl/Build/Products/Debug-watchsimulator/AudigoWatchApplication.app'- using an empty LLDB target which can cause slow memory reads from remote devices. I know this error use to be when running 32 bit frameworks on 64 bit devices, but I'm not doing that. Is this a bug? Or is there a setting I don't know of that needs to be updated?
20
0
26k
Jul ’20
Reply to ProgressView not visible in ios14
Not sure it's your problem, but the latest beta release notes say this... SwiftUI ...Known Issues ......ProgressView generic type signature has changed, adding the ProgressViewStyleConfiguration.CurrentValueLabel generic parameter. This change does not require any source changes, but will cause apps you compile using an earlier beta SDK to quit unexpectedly. (63580200) You might want to file bugs and wait for next beta/release.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’20
Please help with this LLDB
Hi,I'm just starting to learn Swift and in the Playground area, I have come to a little problem.This is my code:/ import UIKit var str = Hello, playground class Person { init (){ println(A new person has been created) } func sayCheese(){ println(Cheese!) } } var b = Person() b.sayCheese()At line 17. adn 16. it says __lldb_expr_54.Person - I'm not really sure what this means but to my prior coding knowledge, there shoudl't be anything wrong? Unless C is very different to Java.Would really help if you could explain what is wrong and why its wrong!Thanks
2
0
369
Aug ’15
Very slow initial expression evaluation in LLDB
In our project (~ 40.000 LOC) we experience a very slow initial expression evaluation when using commands like po myVariable in LLDB or breakpoint actions using @expr@: It often takes more than 20 seconds for initial evaluation, further evaulations then take only a fraction of a second.We think this is due to the unwinding of the app context and doing a expression -L swift -O -- myVariable in the background, as commands like frame variable myVariable are much faster also on first call (~ 100 ms).However, because of that using breakpoint actions is no fun, and as the codebase is not that big: Is there any way to determine the cause of these slow initial evaluations, e.g.- caused by embedded (Objective-)C(++) libraries- Access of specific frameworks like AVFoundation- ...Any help is appreciated.
0
0
1.7k
Aug ’17
Reply to XCode 15: simple execv program exits with code 5 in the console.
Oh, you’re doing an exec* without a fork. That, and its reverse, presents unique challenges on macOS. If you run your test and then look in Console you’ll see that ls generated a crash report: Exception Type: EXC_CRASH (SIGTRAP) However, this doesn’t really tell you what’s gone wrong. My best guess si that this is related to the debugger. ls is a platform binary, and thus can’t be debugged: % lldb /bin/ls (lldb) target create /bin/ls Current executable set to '/bin/ls' (x86_64). (lldb) r error: process exited with status -1 … You’re trying to get to the same destination via a different route, and the system is blocking that as well. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Oct ’23
Can't Simulate BgTaskScheduler to run the tasks in LLDB
` func submitBackgroundTasks() { // Declared at the Permitted background task scheduler identifiers in info.plist let backgroundAppRefreshTaskSchedulerIdentifier = com.FeedX.backgroundAlerts let timeDelay = 10.0 do { let backgroundAppRefreshTaskRequest = BGAppRefreshTaskRequest(identifier: backgroundAppRefreshTaskSchedulerIdentifier) backgroundAppRefreshTaskRequest.earliestBeginDate = Date(timeIntervalSinceNow: timeDelay) try BGTaskScheduler.shared.submit(backgroundAppRefreshTaskRequest) print(Submitted task request) } catch { print(Failed to submit BGTask) } } I am able to submit the task and hit the breakpoint but in the LLDB i try to simulate the task using the command e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateExpirationForTaskWithIdentifier:@com.FeedX.backgroundAlerts] But i get the following error : error: Error [IRForTarget]: Rewriting an Objective-C constant string requires CFStringCreateWithBytes Any idea on how to solve this or run the task using a different way? Thanks.
1
0
2.3k
Jan ’23
lldb fails to launch process: "Not allowed to attach to process"
Xcode 12.4 on Big Sur, a very basic attempt to launch and debug a process. Little-Net:host-osx minfrin$ lldb ./tmp_firefox/Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing (lldb) target create ./tmp_firefox/Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing Current executable set to '/Users/minfrin/src/redwax/open-eid/chrome-token-signing-trunk/host-osx/tmp_firefox/Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing' (x86_64). (lldb) process launch -i cert.native error: process exited with status -1 (attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries when the attached failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)) Why would lldb, running as my local user, be unable
6
0
10k
Mar ’21
Reply to Application won't run GetDYLDEntryPointWithImage error
Hi Ben,Looks like you may still have old Xcode 6 runtimes on your system. You probably need to remove them from:~/Library/Developer/CoreSimulator/Profiles/RuntimesIn the 10.11 Release Notes it is explained that:Xcode processes may quit unexpectedly if older iOS Simulator runtimes (Xcode 6.x) are present on disk.It's possible that your runtimes are in a different directory, but similar issues have been resolved by removing them.Max.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Can React Native's Metro and Xcode's LLDB interfere with each other
Trying to run a React Native app via Xcode can be very very very slow. Excruciatingly so. I often see messages saying things like Launching app is taking longer than expected. LLDB is likely reading from device memory to resolve symbols. But I see this all the time, if that's what it's doing it never finishes, and does it every time. This isn't just with one phone, its with several. Is it possible there some fundamental conflict between Xcode and LLDB and React Native Metro trying to communicate / load / debug / whatever that slows things down to a standstill?
2
0
977
Feb ’24
Reply to XCode 11.5 LLDB crashes on break point (reproducible)
Be aware that when debugging Swift apps, all the components with swift code need to be rebuilt locally. So make sure that when you are developing Pods, you don't download binaries but rather build all your Pods locally with the version of Xcode whose debugger you are using. If that doesn't fix the issue, can you file a report with the Apple Feedback system, including the example project that is crashing for you and the crash report for lldb-rpc-server? Thanks!
Jun ’20
Reply to LLDB RPC server crash in Xcode 16.3
Same here: lldb started crashing with simulator on encountering breakpoints, as of right now it even seems to crash reliably after some time. It seems to work properly on physical device Sequoia 15.4, XCode 16.2, iPhone 16 pro simulator 18.2 If that matters: I use github copilot xcode extension and that one also has issues => chat assistant crashes a lot and forces me to relaunch xcode every couple requests report.txt
Replies
Boosts
Views
Activity
May ’25
Error creating LLDB target at path - Xcode 12
I'm using Xcode 12 beta 3. When running my Apple Watch's target on WatchOS 7, I get this error: Warning: Error creating LLDB target at path '/Users/evan/Library/Developer/Xcode/DerivedData/audigo-cneguthkmmoulfgcprsazbryrlrl/Build/Products/Debug-watchsimulator/AudigoWatchApplication.app'- using an empty LLDB target which can cause slow memory reads from remote devices. I know this error use to be when running 32 bit frameworks on 64 bit devices, but I'm not doing that. Is this a bug? Or is there a setting I don't know of that needs to be updated?
Replies
20
Boosts
0
Views
26k
Activity
Jul ’20
Reply to ProgressView not visible in ios14
Not sure it's your problem, but the latest beta release notes say this... SwiftUI ...Known Issues ......ProgressView generic type signature has changed, adding the ProgressViewStyleConfiguration.CurrentValueLabel generic parameter. This change does not require any source changes, but will cause apps you compile using an earlier beta SDK to quit unexpectedly. (63580200) You might want to file bugs and wait for next beta/release.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’20
Please help with this LLDB
Hi,I'm just starting to learn Swift and in the Playground area, I have come to a little problem.This is my code:/ import UIKit var str = Hello, playground class Person { init (){ println(A new person has been created) } func sayCheese(){ println(Cheese!) } } var b = Person() b.sayCheese()At line 17. adn 16. it says __lldb_expr_54.Person - I'm not really sure what this means but to my prior coding knowledge, there shoudl't be anything wrong? Unless C is very different to Java.Would really help if you could explain what is wrong and why its wrong!Thanks
Replies
2
Boosts
0
Views
369
Activity
Aug ’15
Reply to Xcode 6.4 crash during submission to app store.
OS X v10.11 Developer beta Release notes Known IssuesXcode 6.x has known compatibility issues when run on OS X El Capitan. It is strongly encouraged that you use Xcode 7 when running on OS X El Capitan.Xcode processes may quit unexpectedly if older iOS Simulator runtimes (Xcode 6.x) are present on disk.seems pretty clear to me
Replies
Boosts
Views
Activity
Aug ’15
Reply to DeviceActivityMonitor Extension methods not being triggered
As I tried later it still didn't work in real case scenario where I was trying to access data from main App. Using https://stackoverflow.com/a/33553524/10249964 lldb debbuging I was able to find that my extension hasn't App Group entitlment and because of that it was crashing.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’23
-[UIImage class]: message sent to deallocated instance 0x7fe0f349ac10 (lldb)
Hello ,I'm faced to this problem -[UIImage class]: message sent to deallocated instance 0x7fe0f349ac10(lldb)
Replies
0
Boosts
0
Views
280
Activity
Mar ’18
Reply to EXC_BAD_ACCESS (code=1) on an apparently valid address
I’m still interesting in seeing a crash report. It has a bunch of interesting info in and of itself, and it eliminates LLDB from the equation.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’17
Very slow initial expression evaluation in LLDB
In our project (~ 40.000 LOC) we experience a very slow initial expression evaluation when using commands like po myVariable in LLDB or breakpoint actions using @expr@: It often takes more than 20 seconds for initial evaluation, further evaulations then take only a fraction of a second.We think this is due to the unwinding of the app context and doing a expression -L swift -O -- myVariable in the background, as commands like frame variable myVariable are much faster also on first call (~ 100 ms).However, because of that using breakpoint actions is no fun, and as the codebase is not that big: Is there any way to determine the cause of these slow initial evaluations, e.g.- caused by embedded (Objective-)C(++) libraries- Access of specific frameworks like AVFoundation- ...Any help is appreciated.
Replies
0
Boosts
0
Views
1.7k
Activity
Aug ’17
Reply to XCode 15: simple execv program exits with code 5 in the console.
Oh, you’re doing an exec* without a fork. That, and its reverse, presents unique challenges on macOS. If you run your test and then look in Console you’ll see that ls generated a crash report: Exception Type: EXC_CRASH (SIGTRAP) However, this doesn’t really tell you what’s gone wrong. My best guess si that this is related to the debugger. ls is a platform binary, and thus can’t be debugged: % lldb /bin/ls (lldb) target create /bin/ls Current executable set to '/bin/ls' (x86_64). (lldb) r error: process exited with status -1 … You’re trying to get to the same destination via a different route, and the system is blocking that as well. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Oct ’23
Can't Simulate BgTaskScheduler to run the tasks in LLDB
` func submitBackgroundTasks() { // Declared at the Permitted background task scheduler identifiers in info.plist let backgroundAppRefreshTaskSchedulerIdentifier = com.FeedX.backgroundAlerts let timeDelay = 10.0 do { let backgroundAppRefreshTaskRequest = BGAppRefreshTaskRequest(identifier: backgroundAppRefreshTaskSchedulerIdentifier) backgroundAppRefreshTaskRequest.earliestBeginDate = Date(timeIntervalSinceNow: timeDelay) try BGTaskScheduler.shared.submit(backgroundAppRefreshTaskRequest) print(Submitted task request) } catch { print(Failed to submit BGTask) } } I am able to submit the task and hit the breakpoint but in the LLDB i try to simulate the task using the command e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateExpirationForTaskWithIdentifier:@com.FeedX.backgroundAlerts] But i get the following error : error: Error [IRForTarget]: Rewriting an Objective-C constant string requires CFStringCreateWithBytes Any idea on how to solve this or run the task using a different way? Thanks.
Replies
1
Boosts
0
Views
2.3k
Activity
Jan ’23
lldb fails to launch process: "Not allowed to attach to process"
Xcode 12.4 on Big Sur, a very basic attempt to launch and debug a process. Little-Net:host-osx minfrin$ lldb ./tmp_firefox/Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing (lldb) target create ./tmp_firefox/Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing Current executable set to '/Users/minfrin/src/redwax/open-eid/chrome-token-signing-trunk/host-osx/tmp_firefox/Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing' (x86_64). (lldb) process launch -i cert.native error: process exited with status -1 (attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries when the attached failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)) Why would lldb, running as my local user, be unable
Replies
6
Boosts
0
Views
10k
Activity
Mar ’21
Reply to Application won't run GetDYLDEntryPointWithImage error
Hi Ben,Looks like you may still have old Xcode 6 runtimes on your system. You probably need to remove them from:~/Library/Developer/CoreSimulator/Profiles/RuntimesIn the 10.11 Release Notes it is explained that:Xcode processes may quit unexpectedly if older iOS Simulator runtimes (Xcode 6.x) are present on disk.It's possible that your runtimes are in a different directory, but similar issues have been resolved by removing them.Max.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’15
Can React Native's Metro and Xcode's LLDB interfere with each other
Trying to run a React Native app via Xcode can be very very very slow. Excruciatingly so. I often see messages saying things like Launching app is taking longer than expected. LLDB is likely reading from device memory to resolve symbols. But I see this all the time, if that's what it's doing it never finishes, and does it every time. This isn't just with one phone, its with several. Is it possible there some fundamental conflict between Xcode and LLDB and React Native Metro trying to communicate / load / debug / whatever that slows things down to a standstill?
Replies
2
Boosts
0
Views
977
Activity
Feb ’24
Reply to XCode 11.5 LLDB crashes on break point (reproducible)
Be aware that when debugging Swift apps, all the components with swift code need to be rebuilt locally. So make sure that when you are developing Pods, you don't download binaries but rather build all your Pods locally with the version of Xcode whose debugger you are using. If that doesn't fix the issue, can you file a report with the Apple Feedback system, including the example project that is crashing for you and the crash report for lldb-rpc-server? Thanks!
Replies
Boosts
Views
Activity
Jun ’20