Search results for

LLDB crash

29,557 results found

Post

Replies

Boosts

Views

Activity

Reply to crash report _NSThreadPerformPerform
I can't examine the iPad CPU registers unless I recreate the crash myself in the debugger.The CPU registers are included in the crash report, in the Thread State section.One thing I find instructive when debugging wacky problems like this is to create a dummy app that reproduces the problem. I can then experiment in the dummy app and, once I know what I’m doing, apply those results to the crash in the real app.For example, this code produces a crash that’s very like the one you’ve reported:@interface Hack : NSObject - (void)varnishWaffles:(id)sender; @end @implementation Hack - (void)varnishWaffles:(id)sender { NSLog(@varnish request from %@, sender); } @end Hack * h = [[Hack alloc] init]; [h performSelector:@selector(varnishWaffles:) withObject:self afterDelay:0.1]; [h release]; [h release];When I run this in the debugger, I see that x1 contains the selector: (lldb) p (char *)$x1 (char *) $0 = 0x00000001000b3215 varnishWaffles:Now let’s look at that in a crash
Nov ’16
Spotlight, Immediate crash
I've been finding that Spotlight just crashes instantly, no matter what the input after 1-2 seconds. Im getting an error the preference file com.apple.safari.history quit unexpectedly. I can still use it however, if you re-open and try again a couple times.
2
0
914
Sep ’15
Reply to Attribute being read has no value: 768444
It happens on a real device This problem occurs when I close the window without writing anything or tapping done, and other times it crashes just when I close the app I think this is the real error: 2020-12-29 13:31:50.645517+0100 Nums[2002:352091] [error] precondition failure: attribute being read has no value: 785340 AttributeGraph precondition failure: attribute being read has no value: 785340. (lldb) I also get this when I separate the iPhone from the Mac: warning: failed to set breakpoint site at 0x1a2116b1c for breakpoint -5.1: error sending the breakpoint request (lldb) @State private var saveGoal = UserDefaults.standard.string(forKey: Save)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’20
Xcode Console: LLDB debug "po" command not working
Hi I have updated my Xcode version to 15.4 and now notice that the po command of the console is not working properly. It shows the below error whenever try to print any variable data (lldb) po sectionItem.collectionType error: Expression evaluation failed. Retrying without binding generic parameters error: Could not evaluate the expression without binding generic types. Do you have any idea why is it happening and the solution of it?
2
0
1k
Jun ’24
Reply to GamePlayKit help
It looks like GameKit tries to import GamePlayKit, which crashes on dyld.dyld: Library not loaded: /System/Library/Frameworks/GameplayKit.framework/GameplayKit Referenced from: /private/var/mobile/Containers/Bundle/Application/D64C3101-F1AB-454C-8992-2D24B9499076/Pique.app/Frameworks/libswiftGameKit.dylib Reason: image not found (lldb)
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15
Reply to ubc_msync have a bug
(lldb) image lookup -a 0xffffff801a5ac283 Address: kernel[0xffffff80003ac283] (kernel.TEXT.text + 344707) Summary: kernelpanic + 99 at debug.c (lldb) image lookup -a 0xffffff801a6d91ea Address: kernel[0xffffff80004d91ea] (kernel.TEXT.text + 1577450) Summary: kernelpanic64 + 218 at trapnative.c:152 (lldb) image lookup -a 0xffffff801a55a51f Address: kernel[0xffffff800035a51f] (kernel.TEXT.text + 9503) Summary: kernelhndl_double_fault + 15 (lldb) image lookup -a 0xffffff801a6cd95f Address: kernel[0xffffff80004cd95f] (kernel.TEXT.text + 1530207) Summary: kernelusimplelock + 47 at machineroutines.c (lldb) image lookup -a 0xffffff801a5c95ad Address: kernel[0xffffff80003c95ad] (kernel.TEXT.text + 464301) Summary: kernelthread_dispatch + 445 at sched_prim.c:2768 (lldb) image lookup -a 0xffffff801a5c906e Address: kernel[0xffffff80003c906e] (kernel.TEXT.text + 462958) Summary: kernelthreadinvoke + 1710 at schedprim.c:2559 (lldb) image lookup -a 0xffffff801a
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21
Reply to Xcode 7 crash at breakpoint
@rickbdotcomSame story here. Excluding 3rd party framework from Carthage (which was distributed as pre-compiled binary) and compiling/linking it directly within the project – does fix Xcode crash and restores lldb breakpoints functionality.Thanks!UPDATE: It is possible to force Carthage to build frameworks from sources by passing additional argument carthage update --no-use-binaries
Dec ’15
Reply to Sequoia 'local network' permission failure from launch agent
So I found the lldb incantation to wait for a process: sudo lldb -n svn -w I then launched svn via my launchagent and indeed lldb attached to it, and indeed the launchagent waited. I waited minutes, then told lldb to continue, and it did, and then the launchagent also finished. But again svn output 'no route to host', and again no permission prompt appeared for me the whitelist svn. I also updated to macOS 15.4, which has not helped.
Apr ’25
Reply to kernel debug kit KDK_12.1_21C52
This is caused by Python version mismatch between LLDB and scripts inside kernel's dSYM. Python scripts inside your dSYM require Python 2 but Python 2 support has been removed from newer LLDBs. To solve the problem you will have to install older LLDB/Xcode that still has Python 2 support.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Xcode 12 crashing native simulator widgets
I'm experiencing crashes on my Simulator when I build and run apps using Xcode 12 and iOS 14 Simulators. Probably it crashes when Simulator's OS boots. I get alert dialogs of possibly uncaught exceptions. Many things are crashing: NewsToday2 quit unexpectedly NewsTag quit unexpectedly CalendarWidgetExtension quit unexpectedly and so on... I think there aren't more instances like that in the Forum because it fails silently for most people. But if you try to see the correspondent widgets they are all a black rectangle in the widgets screen. To see those alerts you need the CrashReporterPrefs.app that can be found inside Additional Tools for Xcode 12 at the official developers download page - https://developer.apple.com/download/more/ Set it as Developer and the check the Display alert dialog for uncaught exceptions. I don't see the direct impact of it in my app, besides an infinite auto-layout loop that I don't think has any relati
1
0
1.1k
Oct ’20
Reply to NSMutableDictionary addObject for key
(lldb) po retails { item_id = 43; qty = 11; } (lldb) po [retails setObject:@(self.eventID) forKey:(id)@event_id]; error: Execution was interrupted, reason: internal ObjC exception breakpoint(-4).. The process has been returned to the state before expression evaluation. (lldb) po [retails objectForKey:(id)@event_id] nil (lldb)Thank you for the help. It is odd issue. I will debug more.
Topic: Programming Languages SubTopic: General Tags:
Mar ’18