I have a project in XCode 4.3.1 written for ARC so I do not mess with retain counts at all.
When I run the project either in the simulator or on the device, it runs fine. If I run it under the profiler for allocations and leaks, it runs fine.
However, if I archive the project and distribute it for Ad Hoc and load the .ipa file, the app will crash with console messages:
<Notice>: Quilters_AppP(1812,0x3f85cd98) malloc: *** error for object 0x1109a910: pointer being freed was not allocated
<Notice>: *** set a breakpoint in malloc_error_break to debug
I set a breakpoint in malloc_error_debug but since the error occurs in the released version, I never see the debugger.
Here's where it gets really weird: Now that I have added some NSLog statements, the problem will not reproduce.
Here is the log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x34f5432c __pthread_kill + 8
1 libsystem_c.dylib 0x36e50208 pthread_kill + 48
2 libsystem_c.dylib 0x36e49298 abort + 88
3 libsystem_c.dylib 0x36e0437a free + 374
4 libobjc.A.dylib 0x36583d72 object_dispose + 14
5 CoreFoundation 0x350b6618 -[NSObject dealloc] + 76
6 CoreFoundation 0x350b6736 -[__NSArrayI dealloc] + 162
7 libobjc.A.dylib 0x3658316e _objc_rootRelease + 30
8 libobjc.A.dylib 0x36584e50 objc_release + 32
9 libobjc.A.dylib 0x36583ea6 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 218
10 libobjc.A.dylib 0x36583dc2 _objc_autoreleasePoolPop + 6
11 CoreFoundation 0x350b0cf8 _CFAutoreleasePoolPop + 12
12 UIKit 0x3218ee34 _wrapRunLoopWithAutoreleasePoolHandler + 36
13 CoreFoundation 0x35134b14 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
14 CoreFoundation 0x35132d50 __CFRunLoopDoObservers + 252
15 CoreFoundation 0x351330aa __CFRunLoopRun + 754
16 CoreFoundation 0x350b649e CFRunLoopRunSpecific + 294
17 CoreFoundation 0x350b6366 CFRunLoopRunInMode + 98
18 GraphicsServices 0x363b2432 GSEventRunModal + 130
19 UIKit 0x321ace76 UIApplicationMain + 1074
20 Quilters_AppP 0x0003505c main (main.m:17)
21 Quilters_AppP 0x00034af4 0x33000 + 6900
Please help me catch this elusive bug. The app is targeted for 4.3/armv7.
You can set breakpoints and debug an iOS app using the Project's Release Build settings (which are often quite different from the Debug Build settings). Just modify either your Build settings or your Run/Test Schemes to do so. Then clean, build and device debug.
I had a similar problem. Your double loop described mine exactly. I had an array being defined nested between two while loops. In debug mode it was fine but when built for release it crashed with the exact same error.
Turns out that in Xcode 4.x.x you can add -O0 to the compiler flag of the file that is giving you problems (Under your project settings -> build phases -> compile sources) and it will turn off compiler optimization just for that single file. Worked like a charm for me.
Drew
It seems that the problem was not in the application code but in the compiler code. The error must be either in the ARC pre-compiler or the compiler itself.
This is a compiler error; specifically in optimization. Code for testing is not optimized and code for release is optimized for "fastest, smallest". When I removed optimization for the release version, the problem went away.
The application code that triggered this is a managed object context access...
- (NSArray *) fetchForGroup:(Group *)group
{
NSArray *array = [group.polygons allObjects];
return array;
}
which is performed inside a double loop. When a condition is met in the inner loop, the function is exited via "return". The array from this call is double-freed. - Dan
Related
I'm working on a bluetooth project, and getting a runtime error when dismissing our custom keyboard.
The development environment is based on M1 chip, Xcode version is 13.4.1, deployment target is iOS 13.0, and this issue happens on iOS 14.6, iOS 15.6.1 with iPhone7, XR, iPad mini and iPad Pro.
I've check this post: Xcode runtime error for iOS iPhone 8 - [AXRuntimeCommon]
Instead of Google Cloud Platform, we're using these pods:
RealmSwift, R.Swift, IQKeyboard, JGProgressHUD, SwiftCSVExport and Toast-Swift
At this moment, the AXRuntimeCommon issue not causing app crash or leaking, performance issue, or maybe just not been triggered yet :p
Still, I really want to figure it out, if you have any idea would be very helpful !
2022-10-19 17:31:22.651723+0800 AppName[91990:3536656] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:91992 (
0 AXRuntime 0x00000001b0213a8c CDC17371-8478-3982-936D-2AA23E6C61DC + 326284
1 AXRuntime 0x00000001b01c8d5c _AXGetPortFromCache + 704
2 AXRuntime 0x00000001b01ca688 AXUIElementPerformFencedActionWithValue + 564
3 UIKit 0x00000001fb2ad240 1E08AD1F-8154-3B7B-98BE-C064E7670933 + 934464
4 libdispatch.dylib 0x0000000105b08c70 _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x0000000105b0a7c0 _dispatch_client_callout + 20
6 libdispatch.dylib 0x0000000105b128a4 _dispatch_lane_serial_drain + 984
7 libdispatch.dylib 0x0000000105b135e0 _dispatch_lane_invoke + 428
8 libdispatch.dylib 0x0000000105b20168 _dispatch_workloop_worker_thread + 908
9 libsystem_pthread.dylib 0x00000001faf7d0bc _pthread_wqthread + 288
10 libsystem_pthread.dylib 0x00000001faf7ce5c start_wqthread + 8
)
I'm looking at a crash report provided by Apple
Hardware Model: iPhone4,1
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-11-18 16:03:44.951 -0600
OS Version: iOS 6.0.1 (10A523)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x51fe5264
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x352925b0 objc_msgSend + 16
1 MYAPP 0x0006573a -[MyViewController(Images) didReceiveImage:context:etag:expires:] + 42
2 MYAPP 0x0004fb26 -[MyImageTask didReceiveImage:] + 98
3 Foundation 0x361ac8e8 __NSThreadPerformPerform
4 CoreFoundation 0x3b37d680 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
5 CoreFoundation 0x3b37cee4 __CFRunLoopDoSources0
6 CoreFoundation 0x3b37bcb2 __CFRunLoopRun
7 CoreFoundation 0x3b2eeeb8 CFRunLoopRunSpecific
8 CoreFoundation 0x3b2eed44 CFRunLoopRunInMode
9 GraphicsServices 0x396bc2e6 GSEventRunModal
10 UIKit 0x3452e2f4 UIApplicationMain
11 MYAPP 0x0004934a main + 70
12 MYAPP 0x000492fc start + 36
The funny thing is when I use atos to lookup the line of code that corresponds to address locations 0x0006573a and 0x0004fb26 I get completely different match. The atos output is not even from the same class that's mentioned in the crash log (MyViewController, MyImageTask). Instead atos points me to totally benign lines of code in a completely unrelated class. I verified again that I'm working with the exact dSYM and IPA that I submitted to Apple.
My atos command
/Applications/Xcode.app/Contents/Developer/usr/bin/atos -arch armv7 -o MYAPP.app/MYAPP 0x0004fb26
Same result with /usr/bin/atos and for armv7s.
Has anyone else experienced this issue? Can you please advise? Thanks.
A simpler alternative: you can use the atos -l flag to make it do the maths for you.
Say you've got the following line in your crash log that you want to symbolicate:
5 MyApp 0x0044e89a 0x29000 + 4348058
The first hex number is the stack address, and the second hex number is the load address. You can ignore the last number. You don't need to worry about slide addresses either.
To symbolicate, do the following:
atos -o MyApp.app/MyApp -arch armv7 -l 0x29000 0x0044e89a
If you can't find your MyApp.app/MyApp file, rename your '.ipa' file to a '.zip', unzip it, and it'll be in the Payload folder.
And if you're not sure which architecture to use (for example, armv7 or armv7s), scroll to the 'Binary Images' part of the crash file and you can find it in there.
Cheers
You have to calculate the address to use with atos, you can't just use the one in the stacktrace.
symbol address = slide + stack address - load address
The slide value is the value of vmaddr in LC_SEGMENT cmd (Mostly this is 0x1000). Run the following to get it:
otool -arch ARCHITECTURE -l "APP_BUNDLE/APP_EXECUTABLE" | grep -B 3 -A 8 -m 2 "__TEXT"
Replace ARCHITECTURE with the actual architecture the crash report shows, e.g. armv7.
Replace APP_BUNDLE/APP_EXECUTABLE with the path to the actual executable.
The stack address is the hex value from the crash report.
The load address can be is the first address showing in the Binary Images section at the very front of the line which contains your executable. (Usually the first entry).
Since in the past value of the slide was equal to value of the load address this always worked. But since Apple introduced Address space layout randomization beginning with iOS 4.3 (in different variations), the apps loading address is randomized for security reasons.
Simply use dwarfdump:
dwarfdump --arch armv7 myApp.dSYM --lookup 0xaabbccdd | grep 'Line table'
No need to do any calculations at all.
(From Get symbol by address (symbolicating binary, iOS build)).
For whom that certain times doesn't have the value for Load Address like this:
Jan 14 11:02:39 Dennins-iPhone AppName[584] <Critical>: Stack Trace: (
0 CoreFoundation 0x2c3084b7 <redacted> + 150
1 libobjc.A.dylib 0x39abec8b objc_exception_throw + 38
2 CoreFoundation 0x2c21cc35 CFRunLoopRemoveTimer + 0
3 AppName 0x0005a7db AppName + 272347
I've created a simple bash to help me debug:
#! /bin/bash
read -p "[Path] [App Name] [Stack Address] [DecimalSum] " path appName stackAddress decimalSum
loadAddress=`echo "obase=16;ibase=10;$((stackAddress-decimalSum))" | bc`
atos -o $path/Payload/$appName.app/$appName -l $loadAddress $stackAddress -arch armv7
It just reads the path for the app, the app name, the stack address, and the value after "+" signal (the decimal value) and then find the value for load address to run atos command.
I continue to get this problem in my application even when i added all of the frameworks and code to another Xcode app. It happens even before the view loads.
this is my error message:
[Switching to process 11523 thread 0x2d03]
[Switching to process 11523 thread 0x2d03]
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
sharedlibrary apply-load-rules all
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Users/admin/Library/Developer/Xcode/iOS DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
warning: No copy of dns.so found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
2012-04-17 09:33:30.166 Little Birds! - iPhone[7445:307] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x1129f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key HighScoresPodium.'
*** Call stack at first throw:
(
0 CoreFoundation 0x35f08c7b __exceptionPreprocess + 114
1 libobjc.A.dylib 0x30186ee8 objc_exception_throw + 40
2 CoreFoundation 0x35f08a01 -[NSException dealloc] + 0
3 Foundation 0x34018bbf -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] + 186
4 Foundation 0x34018051 _NSSetUsingKeyValueSetter + 92
5 Foundation 0x34019ef3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 178
6 Foundation 0x33fcb805 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 144
7 UIKit 0x33aacf20 -[UIRuntimeOutletConnection connect] + 96
8 CoreFoundation 0x35ea9a8b -[NSObject(NSObject) performSelector:] + 18
9 CoreFoundation 0x35eb273b -[NSArray makeObjectsPerformSelector:] + 366
10 UIKit 0x33aab7a0 -[UINib instantiateWithOwner:options:] + 868
11 UIKit 0x33aad640 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 140
12 UIKit 0x3386cb18 -[UIApplication _loadMainNibFile] + 144
13 UIKit 0x338669ec -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 256
14 UIKit 0x338202e4 -[UIApplication handleEvent:withNewEvent:] + 1476
15 UIKit 0x3381fb1c -[UIApplication sendEvent:] + 68
16 UIKit 0x3381f3b4 _UIApplicationHandleEvent + 6824
17 GraphicsServices 0x35262c88 PurpleEventCallback + 1048
18 CoreFoundation 0x35e9a5cb __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 28
19 CoreFoundation 0x35e9a589 __CFRunLoopDoSource1 + 164
20 CoreFoundation 0x35e8c835 __CFRunLoopRun + 580
21 CoreFoundation 0x35e8c50b CFRunLoopRunSpecific + 226
22 CoreFoundation 0x35e8c419 CFRunLoopRunInMode + 60
23 UIKit 0x33865554 -[UIApplication _run] + 548
24 UIKit 0x33862558 UIApplicationMain + 972
25 Little Birds! - iPhone 0x0000248f main + 106
26 Little Birds! - iPhone 0x00002420 start + 40
)
terminate called after throwing an instance of 'NSException'
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
(gdb)
Looks like a dead outlet connection to me. An object in a XIB is connected to an outlet that has been deleted from the owner class.
Can you check all connection in interface builder for XIB? try with recreating XIB. I found issue when by mistake i delete a label from IB and call setText on label.
It looks like your problem is around "HighScoresPodium". You may have mis-assigned something to that variable. Check for where you would be interacting with that property and you should be close to the problem. AS others have said, the problem may be hiding out in the XIB connections.
I've recently converted to using ARC. However, i'm having a weird crash now, and the crashlogs are really unhelpful. During one of my application initialization processes (getting data from server, parsing it, setting up views), i get a bad_access. This is the error log from the device:
Incident Identifier: 7CE05452-7C5D-424A-8529-AE7B17C9FEBC
CrashReporter Key: b743ede30ce737293cf7444f67bb8a7b590c2fd9
Hardware Model: iPhone3,1
Process: BoreBeta [231]
Path: /var/mobile/Applications/52A15437-459A-4160-95C4-BF5DF5C98C15/BoreBeta.app/BoreBeta
Identifier: BoreBeta
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-08-18 14:53:41.800 +0200
OS Version: iPhone OS 5.0 (9A5288d)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x80000004
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreFoundation 0x3758e380 CFRelease + 28
1 CoreFoundation 0x375a93ec -[__NSArrayM dealloc] + 116
2 libobjc.A.dylib 0x30a4e0be _objc_rootRelease + 30
3 libobjc.A.dylib 0x30a4fdb0 objc_release + 32
4 libobjc.A.dylib 0x30a4ee06 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 218
5 libobjc.A.dylib 0x30a4ed22 _objc_autoreleasePoolPop + 6
6 CoreFoundation 0x3759f050 _CFAutoreleasePoolPop + 12
7 Foundation 0x337cd460 -[NSAutoreleasePool release] + 120
8 UIKit 0x33b8d948 _UIApplicationHandleEvent + 6664
9 GraphicsServices 0x30ff8ef4 PurpleEventCallback + 876
10 CoreFoundation 0x3760a9c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
11 CoreFoundation 0x3760a966 __CFRunLoopDoSource1 + 134
12 CoreFoundation 0x3760958c __CFRunLoopRun + 1364
13 CoreFoundation 0x375ab036 CFRunLoopRunSpecific + 294
14 CoreFoundation 0x375aaefe CFRunLoopRunInMode + 98
15 UIKit 0x33b8b758 -[UIApplication _run] + 544
16 UIKit 0x33b8898a UIApplicationMain + 1074
17 BoreBeta 0x00002d8a main (main.m:14)
18 BoreBeta 0x000027f8 start + 32
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3140d214 kevent + 24
1 libdispatch.dylib 0x376aaf60 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x376aac7e _dispatch_mgr_thread + 30
Etcetera, i believe this is the only helpful part. When i let it crash from running in XCode, i see it crashes in main, and i don't get to see any calltrace, apart from main, UIApplicationMain and CFRelease on top..
In the past, i would look through my code for overreleasing objects, but i doubt this is the case because i'm now using ARC. How do you fix errors like this?
Edit: the code for parsing the data is on a seperate thread using GCD, and that's where my only #autoreleasepool lives.
Also, when running with NSZombieEnabled, i'm getting the NSArrayM release call. Unfortunately, that's the same we read in the crash log, so still no real progress here i'm afraid...
Edit: Ok. Once i fixed all my other memory errors without ARC, i got this error once again. So apparently it's not ARC-related...
Known bug introduced relatively recently.
Fixed in a future release (Note that Xcode 4.2 is under NDA, but llvm-commits is not). The commit message is available here. The commit message is slightly vague, but it should cover the case you are seeing -- if that is not the case upon the next compiler release (or you could build one yourself, if so motivated), please immediately file a bug and post the bug # here.
Have you just recently upgraded to Xcode 4.2 beta 5? That seems to cause some random issues with ARC such as that, we sara very similar crash and had to revert back to 4.2 beta 4.
Look on the Apple developer forums for more detail.
I also get this when failing to return an object in a method that has a return type. When the method exits, it throws up EXC_BAD_ACCESS in objc_release.
I am trying to learn iphone programming and I have just upgraded xcode to version 3.2.4 (and to iOS 4.1).
When I create a new project I get the "Internal error" seen below. What is wrong? (by the way, I can't see any message in the console)
Internal Error
File: /SourceCache/DevToolsBase/DevToolsBase-1705/pbxcore/Target.subproj/PBXTarget.m
Line: 1603
Object: <PBXNativeTarget:0x20088e7c0>
Method: createPropertyExpansionContextWithBuildState:
Platform failed to completely load. Examine Console Log for error messages.
The same happened to me, and I fixed in the same way. Reinstaling from the same dowload image.
The first thing you need to do is follow the directive in the error message and check the console log. To do so, choose Run -> Console (or press Shift-Command-R). Read any displayed error messages. If you can't get to the root of the problem from there, post the console log, and I'll take a look.
I am also getting the exact same message with the version of the SDK that I downloaded yesterday. Here's what I get in the console. I verified that /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin exists, so I'm not sure what the problem is.
There were about 20 copies of the first message, I only pasted in one.
11/14/10 9:12:14 AM Xcode[8973] WARNING: Failed to load plugin at: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin, skipping. Could not load bundle.
11/14/10 9:12:14 AM Xcode[8973] Platform validation failed for Class 'XCiPhoneOSCodeSignContext'
11/14/10 9:12:14 AM Xcode[8973] [MT] File: /SourceCache/DevToolsBase/DevToolsBase-1705/pbxcore/Target.subproj/PBXTarget.m
Line: 1603
Object:
Method: createPropertyExpansionContextWithBuildState:
Platform failed to completely load. Examine Console Log for error messages.
Backtrace:
0 0x000000010099fe19 -[PBXAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsInterface)
1 0x00000001002dab1f _XCAssertionFailureHandler (in DevToolsCore)
2 0x00000001000e9ca1 -[PBXTarget createPropertyExpansionContextWithBuildState:] (in DevToolsCore)
3 0x00000001000e9212 -[PBXTarget createPropertyExpansionContextWithBuildAction:configurationName:] (in DevToolsCore)
4 0x00000001000e8ca2 -[PBXTarget cachedPropertyExpansionContextForConfigurationNamed:] (in DevToolsCore)
5 0x00000001000e8b33 -[PBXTarget expandedValueForString:forConfigurationNamed:] (in DevToolsCore)
6 0x00000001000f8c79 -[PBXProject _validArchsMayHaveChanged:] (in DevToolsCore)
7 0x00000001000f69a0 -[PBXProject _unarchiverDidFinishUnarchiving:] (in DevToolsCore)
8 0x00007fff819f8a66 _nsnote_callback (in Foundation)
9 0x00007fff87d7e000 __CFXNotificationPost (in CoreFoundation)
10 0x00007fff87d6a578 _CFXNotificationPostNotification (in CoreFoundation)
11 0x00007fff819ef9ce -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
12 0x00000001000d2cbb -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
13 0x00000001000d0da4 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
14 0x00000001000d0003 +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
15 0x0000000100963460 -[PBXProjectTemplateClonerWizard _instantiateASCIIMacroTemplateWithContext:] (in DevToolsInterface)
16 0x00000001009634f7 -[PBXProjectTemplateClonerWizard _instantiateTemplateWithContext:] (in DevToolsInterface)
17 0x00000001009d29d6 -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] (in DevToolsInterface)
18 0x00000001009d2895 -[PBXFileCopyingWizard _checkForOverwritingFiles:] (in DevToolsInterface)
19 0x00000001009400f1 -[PBXProjectWizard finish] (in DevToolsInterface)
20 0x000000010093be24 -[PBXProjectWizardChooserWizard sheetDidEndWithReturnCode:fileSystemLocations:contextInfo:] (in DevToolsInterface)
21 0x00000001008e3fda +[PBXOpenSavePanelHelper sheetDidEnd:returnCode:contextInfo:] (in DevToolsInterface)
22 0x00007fff86bd9946 -[NSSavePanel _didEndSheet:returnCode:contextInfo:] (in AppKit)
23 0x00007fff8697fbd1 -[NSApplication endSheet:returnCode:] (in AppKit)
24 0x00007fff86891e9a -[NSApplication sendAction:to:from:] (in AppKit)
25 0x00007fff86891df9 -[NSControl sendAction:to:] (in AppKit)
26 0x00007fff8691d76b -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
27 0x00007fff8694e2aa -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
28 0x00007fff8691c215 -[NSControl mouseDown:] (in AppKit)
29 0x00007fff8683634f -[NSWindow sendEvent:] (in AppKit)
30 0x00007fff8676ba86 -[NSApplication sendEvent:] (in AppKit)
31 0x00000001007fc21c -[PBXExtendedApplication sendEvent:] (in DevToolsInterface)
32 0x00007fff867024da -[NSApplication run] (in AppKit)
33 0x00007fff866fb1a8 NSApplicationMain (in AppKit)
34 0x00000001000017b4