Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Reply to LLDB always exits abnormally on local code
No solution, sorry, but I have exactly the same problem. I can debug successfully a local program on Sonoma 14.2.1 on an M2, but when trying to debug the same code/program on Sonoma 14.2.1 on a 2019 Intel i5, I repeatedly get the lost connection outcome after setting a breakpoint at main(): (lldb) target create factorial Current executable set to '/Users/chris/src/showc/showc/src/factorial' (x86_64). (lldb) br set -n main Breakpoint 1: where = factorial`main + 22 at factorial.c:30:9, address = 0x0000000100000e96 (lldb) run Process 85314 launched: '/Users/chris/src/showc/showc/src/factorial' (x86_64) Process 85314 exited with status = -1 (0xffffffff) lost connection The frequent suggestion of using settings set plugin.process.gdb-remote.packet-timeout 300 has no effect.
Jan ’24
Reply to Swift "Bus error: 10"
Thank you for not giving up!The error is not directly reproducible. It occurs intermittenly, days apart. Usually, but not always, in relation to Sleep. I have gotten the error on my iMac and my MacBook. The application accesses a shared file on a Linux device on my LAN.I had been getting occasional, random xxxx has quit unexpectedly for a long time. I concluded it was due to a network problem because I could reproduce it by turning WiFi off. In December, I added do-try-catch (tested through WiFi disconnect). But the errors continued, so I ran it from inside the package in Terminal. That's when I saw the Bus error: 10 and, with help of this board, discovered the Crash Report. Whew!Whatever is wrong, I think I injected it during December do-try-catch changes. But, part of debugging is asking How would I intentionally create that error?. I'm coming up dry on that question because Swift keeps coders a safe distance from memory allocation/pointers.A memory leak is a possibility, but Acti
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’17
Crash debugging for translated x86_64 process under Rosetta
Hi all, I want to analyze the crash dump of translated x86_64 application under Rosetta emulation. After survey, I enable core dump at the start of my application, build application with DWARF and dSym config in XCode, and collect core dump from /cores/core.PID However, when I want to analyze core dump with lldb, I use the following command for backtracing: lldb -c /cores/core.PID (lldb) target create --core /cores/core.PID Core file '/cores/core.PID' (arm64) was loaded. (lldb) bt and I only got frame number with function address * thread #1, stop reason = ESR_EC_DABORT_EL0 (fault address: 0x0) * frame #0: 0x0000000102ae4c04 * frame #1: 0x0000000202d166ac Therefore, I try to add-sym but get the following error message: error: symbol file 'xxxxx.dSYM' does not match any existing module I know that macOS would generate crash report in ~/Library/Logs/DiagnosticReports/, but I need further analysis of crash dump. Is there any way to do post-mortem deb
1
0
1.8k
Nov ’22
Reply to Xcode 7 crash at breakpoint
Can you file a bug with this information? (Stacktrace and the fact that it goes away with CLANG_ENABLE_MODULE_DEBUGGING)It also looks like you may have some python LLDB script being interpreted here, so if you could include any that might be involved that would be helpful.
Oct ’15
Xcode crashes when opening .SKS files
Hi guys,I have been suffering from this stupid error of Xcode for month, and now is really desperated. Everytime I click any .SKS files, Xcode crashes with the announcement ''Xcode quit unexpectedly. I use the lastest Xcode 7.3 and even the beta 7.3.1 and El Capitan OS. Yes, I have searched on google for this error. There are hundreds of results about this, means many people also suffer from this error. Howevery the reason why I still create a discussion here is: from all the pages I searched there is NO ANSWER for this error at all. An even on this website, some people raised the same question, but Apple Staff seems to ignore them and I feel like they just dont care about this! How can I open .SKS files now? Because if I can't, I can't create and modify scenes. Can't create a game with only one scene.Help, please!
8
0
2.2k
May ’16
Reply to dlopen() reloads original instead of new dylib after changes
Also just to emphasize the broken behavior. If lldb cannot report the correct data, then I'm not sure how to triage this. image list and image list report different output. One doesn't and one does list the original dylib that's already been unloaded (at least according to dyld printouts). So I think the dyld gets confused, and starts trying to return the original dylib from time to tim. (lldb) image list -b -m bar_signed_000.dylib [ 0] bar_signed_000.dylib Fri Jan 15 11:23:27 2021 dlclose(lib) <- bar_signed_000.dylib dyld: unloaded: /foo/bar_signed_000.dylib <- great dlopen(“/foo/bar_signed_001.dylib”) (lldb) image list -b -m /foo/bar_signed_000.dylib [ 0] bar_signed_000.dylib Fri Jan 15 11:23:27 2021. <- why is this still listed? it’s not in image list dyld: Mapping /foo/bar_signed_001.dylib dyld: loaded: /foo/bar_signed_001.dylib (lldb) image list -b -m Game_signed_001.dylib error: no modules found that match 'Game_signed_001.dylib’ <- dyld said it just lo
Topic: App & System Services SubTopic: General Tags:
Jan ’21
Reply to DNS duration 4294893875545978
[quote='777684021, huuu, /thread/777684, /profile/huuu'] The hexadecimal value of 4294893875545978 is 0xF3F3F3F3F3F3A. [/quote] Is it? That’s not what I calculate: (lldb) p/x 4294893875545978 (long) 0x000f422ee7ccc77a (lldb) p/x -4294893875545978 (long) 0xfff0bdd118333886 I’m not entirely sure what’s going on with your code but I do have one hint to pass along: Both domainLookupStartDate and domainLookupEndDate can be nil, so you should only run this calculation if both values are valid. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Mar ’25