📜 ⬆️ ⬇️

IOS Alarm Log Demystification



Before sending your application to the AppStore, you test it for a long time to make sure that your application works flawlessly. It works fine on your device, but after the app hit the App Store, some users report that it crashes!

If you are like me, then you want your application to be five plus. So you are returning to your code to fix the crash ... and where to look?
')
That's when iOS emergency logs come in handy. In most cases, you will receive very detailed and useful information about the causes of the accident, this is kind of feedback from a good teacher.

In this tutorial, you will learn what the emergency logs look like, as well as how to get the emergency log from an iOS device and iTunes Connect. You will learn about symbolization and how to go back from the emergency log to the code. We will also debug the application with errors that can lead to failure in certain situations.

What is this emergency log and where to get it?


When an application crashes, that is, it crashes on an iOS device, the operating system reports a crash or crash log. This log is stored on the device.

You can find a lot of useful information in the emergency log, including the reasons why the application crashed. Typically, there is a complete stack trace for each executable thread, so that you can see what was happening in each thread at the time of the crash, and also determine the flow where the crash occurred.

There are many ways to get an emergency log from a device.
A device that syncs with iTunes keeps its alarm logs on a PC. Depending on the OS, here are the places where you can find them:

Mac OS X:
~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>

Windows XP:
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME> 


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
  • C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
    C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


    Windows Vista 7:
    C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

    , iTunes, ( ) .

    , , . , !
    , , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

    Organizer Devices. Device Logs, :


    , Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

    , iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



    , Refresh. , , .
    iTunes Connect, - :



    , . , .

    ?
    , :
    . .
    , :
    , , ; ; - .
    .


    , , , iOS 4.x, , iOS-, - .

    , , , . UIApplicationDelegate:
    application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
    . , .
    : , (, ) . , , Grand Central Dispatch NSOperations.


    iOS, 4.x, . , iOS- . .
    : , , , , . , .

    10 , , , . , , , – , . .

    -
    UIViewController, , , didReceiveMemoryWarning.
    , , . , , - .

    , UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

    , , , . , , , .

    , .

    : Apple , Xcode . , . , Xcode 4.5.2, «» «».

    , - . .

    , - , , , . .

    , , !


    , , , , .

    , :
    // 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    . :

    (1)
    , .
    Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
    (2)
    / iOS, . iOS 6.0, , iOS 6.

    (3)
    , . , . , .

    (4)
    . . , , . :

    2 XYZLib 0x34648e88 0x83000 + 8740
    :
    - , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
    (5)
    . , , .

    (6)
    , .


    , . , , :

    6 Rage Masters 0x0001625c 0x2a000 + 30034
    (symbolification).

    Xcode, . :

    6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    Xcode , , App Store, DSYM-, . , .

    , , . , Xcode . Xcode Organizer, Archives.
    : dSYM-, . , iTunes Connect.

    DSYM- , , , .

    Build and Archive , .

    ,
    , .

    , . .

    , , . , . , iOS, .

    , , . , . ( – 4 .)

    (jettisoned) , iOS, . , , , .

    , :

    Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
    - , , . Instruments, Allocations Leaks, . , , .

    ! Leaks Allocations Instruments . Allocations VM Tracker , .

    VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

    , , .


    , , – .

    № 3 (), . . , , .

    , , , - . , - , - , - .

    :

    0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
    : , , , . , , . .

    !
    , , ! :
    Rage-O-Rage LLC . App Store - Rage Masters .

    , , , , , , . - , , , .

    .
    : , , :
    Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
    1.
    : ", - ! iPod Touch, iPhone iPod Touch . , ..."
    : " , . ..."
    : « . . ..."

    , ! ? :
    Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
    ? - 0x000000008badf00d , , :

    Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
    , . ! , ( , ) ?

    . , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
    , . . :

    8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
    application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

    NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    , ! -? ? application:didFinishLaunchingWithOptions:?! ?

    , - . , , , application:didFinishLaunchingWithOptions: YES.

    , , , , , . . «» ( ) :

    [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
    2. ?
    : " . , ... ".
    : " ... , «» -!"

    , , . :
    Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
    - SIGABRT. , SIGABRT , . , , .

    , "foo" "bar", , "foo" . , , .

    . , №0. , , , , , .

    , , , – 22, main.m: 16. .
    , :

    2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
    . , , .

    RMDetailViewController.m, . , :

    -(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
    , (XIB ) , .



    ! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

    -(IBAction)bookmarkButtonPressed:(id)sender { // ... }
    , XIB- . .
    .

    3. , ...
    : " ...". : " , ..."

    , , . !
    Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
    . SIGABRT . : , ?

    , . . Rage Masters №6:

    6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
    UITableViewDataSource. ? , Apple - , , . , , . .

    :

    3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
    №5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

    , , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    , ? , .

    - ! , . , :

    -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
    ! ! ! !

    4.
    : " , ...". : " « » , !"

    :
    Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

    , !

    iOS 6. , , . , , , .

    , , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

    :
    Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

    , frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

    iOS . , iOS .

    , , Instruments. , , . , « », .
    Xcode RMLollipopLicker.m. . :

    RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
    , lickLollipop , . lickLollipop NSString PLIST- . , , .

    - , , . , .
    , ? didReceiveMemoryWarning lollipops:

    -(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
    !

    ?
    , ! , .

    .
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>


Windows Vista 7:
C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>

, iTunes, ( ) .

, , . , !
, , Xcode, . iOS- Xcode. Window\Organizer (Shift-CMD-2).

Organizer Devices. Device Logs, :


, Device Logs. Device Logs LIBRARY (, , Xcode). DEVICES Device Logs .

, iTunes Connect. , iTunes Connect, Manage Your Applications, , , View Details Crash Reports Links .



, Refresh. , , .
iTunes Connect, - :



, . , .

?
, :
. .
, :
, , ; ; - .
.


, , , iOS 4.x, , iOS-, - .

, , , . UIApplicationDelegate:
application:didFinishLaunchingWithOptions: applicationWillResignActive: applicationDidEnterBackground: applicationWillEnterForeground: applicationDidBecomeActive: applicationWillTerminate:
. , .
: , (, ) . , , Grand Central Dispatch NSOperations.


iOS, 4.x, . , iOS- . .
: , , , , . , .

10 , , , . , , , – , . .

-
UIViewController, , , didReceiveMemoryWarning.
, , . , , - .

, UIApplicationDidReceiveMemoryWarningNotification. , didReceiveMemoryWarning.

, , , . , , , .

, .

: Apple , Xcode . , . , Xcode 4.5.2, «» «».

, - . .

, - , , , . .

, , !


, , , , .

, :
// 1: Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [4155] Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] // 2: Date/Time: 2012-10-17 21:39:06.967 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 // 3: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 // 4: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000d4046 0xd2000 + 8262 Thread 1: 0 libsystem_kernel.dylib 0x32803d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3a987cf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3a987a12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3a9878a0 start_wqthread + 4 // 5: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x39529fc8 r4: 0xffffffff r5: 0x2fd7d301 r6: 0x2fd7d300 r7: 0x2fd7d9d0 r8: 0x2fd7d330 r9: 0x3adbf8a8 r10: 0x2fd7d308 r11: 0x00000032 ip: 0x00000025 sp: 0x2fd7d2ec lr: 0x001bdb25 pc: 0x30301838 cpsr: 0x00000010 // 6: Binary Images: 0xd2000 - 0xd7fff +Rage Masters armv7 <f37ee6d2c7b334868972e0e9c54f7062> /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters 0x2fe41000 - 0x2fe61fff dyld armv7 <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld 0x327f2000 - 0x32808fff libsystem_kernel.dylib armv7 <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib 0x328a8000 - 0x328bdfff libresolv.9.dylib armv7 <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib 0x32a70000 - 0x32b35fff CFNetwork armv7 <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x32b7a000 - 0x32cc3fff libicucore.A.dylib armv7 <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib 0x32cc4000 - 0x32cc5fff CoreSurface armv7 <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x32f65000 - 0x32f8afff OpenCL armv7 <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL

. :

(1)
, .
Incident Identifier - . CrashReporter Key - , . , : , 100 CrashReporter Key ( ), , - , . Hardware Model - . , , . iPhone 4S. Process - . – . .
(2)
/ iOS, . iOS 6.0, , iOS 6.

(3)
, . , . , .

(4)
. . , , . :

2 XYZLib 0x34648e88 0x83000 + 8740
:
- , 2. - , XYZLib. , - , 0x34648e88. , . 0×83000 + 8740, , - .
(5)
. , , .

(6)
, .


, . , , :

6 Rage Masters 0x0001625c 0x2a000 + 30034
(symbolification).

Xcode, . :

6 Rage Masters 0x0001625c -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
Xcode , , App Store, DSYM-, . , .

, , . , Xcode . Xcode Organizer, Archives.
: dSYM-, . , iTunes Connect.

DSYM- , , , .

Build and Archive , .

,
, .

, . .

, , . , . , iOS, .

, , . , . ( – 4 .)

(jettisoned) , iOS, . , , , .

, :

Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 OS Version: iPhone OS 3.1.3 (7E18) Date/Time: 2012-10-17 21:39:06.967 -0400 Free pages: 96 Wired pages: 10558 Purgeable pages: 0 Largest process: Rage Masters Processes Name UUID Count resident pages Rage Masters <cc527ca9b51937c5adbe035fe27a7b12> 9320 (jettisoned) (active) mediaserverd <3d3800d6acfff050e4d0ed91cbe2467e> 255 dataaccessd <13d80b2e707acc91f9aa3ec4c715b9cc> 505 syslogd <8eddddc00294d5615afded36ee3f1b62> 71 apsd <32070d91b216d806973c8f1b1d8077a4> 171 securityd <b9e51062610d27f727c5119b8f80dcdf> 243 notifyd <591dd4dd804b4b8741f52335ea1fa4ab> 2027 CommCenter <b4b87526ae086bb62c982f1078f43f81> 189 SpringBoard <324939a437d1cca1fa4af72d9f5d0eba> 2158 (active) accessoryd <8f21c8b376d16e2ccb95ed6d21d8317a> 91 configd <85efd41aceac34ccc0019df76623c7a9> 371 fairplayd <a2eaf736b3e07c7c9a2c82e9eb893555> 93 mDNSResponder <df1cd275e4ad434e0575990e8e1da4cb> 292 lockdownd <80d2bd44c0bcca273d48ce52010f7e65> 1204 launchd <a5988245aade809bf77576f1d9de42c5> 72
- , , . Instruments, Allocations Leaks, . , , .

! Leaks Allocations Instruments . Allocations VM Tracker , .

VM Tracker - . VM Tracker, VM Tracker Allocations Instrument, Automatic Snapshotting Snapshot Now .

, , .


, , – .

№ 3 (), . . , , .

, , , - . , - , - , - .

:

0xbaaaaaad : «». , , stackshot – , . stackshot, Home . . 0xc00010ff : «cool off» (). , ( ). , . 0x8badf00d : «ate bad food» ( ). , iOS . - , , , , . 0xbad22222 : , VoIP- iOS - . 0xdead10cc : «deadlock» (). , , , - ( ). 0xdeadfa11 : «deadfall» (). , . / , "", . Apple, 0xdeadfa11, , .
: , , , . , , . .

!
, , ! :
Rage-O-Rage LLC . App Store - Rage Masters .

, , , , , , . - , , , .

.
: , , :
Xcode. iOS- (Provisioning Profile). iOS-, Simulator Xcode . - ( ), Xcode. Xcode. . , Xcode.
1.
: ", - ! iPod Touch, iPhone iPod Touch . , ..."
: " , . ..."
: « . . ..."

, ! ? :
Incident Identifier: 85833DBA-3DF7-43EE-AF80-4E5C51091F42 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20067] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:37:31.148 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0 Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x327f2eb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x327f3048 mach_msg + 36 2 CoreFoundation 0x36bd4040 __CFRunLoopServiceMachPort + 124 3 CoreFoundation 0x36bd2d9e __CFRunLoopRun + 878 4 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 5 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 6 CFNetwork 0x32ac343e CFURLConnectionSendSynchronousRequest + 330 7 Foundation 0x346e69ba +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 242 8 Rage Masters 0x000ea1c4 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:36) 9 UIKit 0x37f30ad4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248 10 UIKit 0x37f3065e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186 11 UIKit 0x37f28846 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694 12 UIKit 0x37ed0c3c -[UIApplication handleEvent:withNewEvent:] + 1000 13 UIKit 0x37ed06d0 -[UIApplication sendEvent:] + 68 14 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 15 GraphicsServices 0x370835a0 _PurpleEventCallback + 588 16 GraphicsServices 0x370831ce PurpleEventCallback + 30 17 CoreFoundation 0x36bd4170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32 18 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 19 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 20 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 21 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 22 UIKit 0x37f27480 -[UIApplication _run] + 664 23 UIKit 0x37f242fc UIApplicationMain + 1116 24 Rage Masters 0x000ea004 main (main.m:16) 25 libdyld.dylib 0x3b630b1c start + 0
? - 0x000000008badf00d , , :

Application Specific Information: Soheil-Azarpour.Rage-Masters failed to launch in time Elapsed total CPU time (seconds): 8.030 (user 8.030, system 0.000), 20% CPU Elapsed application CPU time (seconds): 3.840, 10% CPU
, . ! , ( , ) ?

. , . (25 : libdyld.dylib) – , 24, Rage Masters, main (main.m:16) .
, . . :

8 Rage Masters 0x0009f244 -[RMAppDelegate application:didFinishLaunchingWithOptions:] (RMAppDelegate.m:35)
application:didFinishLaunchingWithOptions: , 35- RMAppDelegate.m (RMAppDelegate.m: 35). Xcode :

NSData *directoryData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
, ! -? ? application:didFinishLaunchingWithOptions:?! ?

, - . , , , application:didFinishLaunchingWithOptions: YES.

, , , , , . . «» ( ) :

[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSURL *cacheDirectory = [[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory inDomains:NSCachesDirectory] lastObject]; NSURL *filePath = [NSURL URLWithString:kDirectoryFile relativeToURL:cacheDirectory]; [data writeToFile:[filePath absoluteString] atomically:YES]; }];
2. ?
: " . , ... ".
: " ... , «» -!"

, , . :
Incident Identifier: 3AAA63CC-3088-41CC-84D9-82FE03F9F354 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20090] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:39:00.081 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x36c0152c ___forwarding___ + 388 4 CoreFoundation 0x36b58f64 _CF_forwarding_prep_0 + 20 5 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 6 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 7 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 8 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 9 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 10 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 11 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 12 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 13 GraphicsServices 0x3708359e _PurpleEventCallback + 586 14 GraphicsServices 0x370831ce PurpleEventCallback + 30 15 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 16 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 17 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 18 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 19 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 20 GraphicsServices 0x370822e6 GSEventRunModal + 70 21 UIKit 0x37f242fc UIApplicationMain + 1116 22 Rage Masters 0x000ca004 main (main.m:16) 23 libdyld.dylib 0x3b630b1c start + 0
- SIGABRT. , SIGABRT , . , , .

, "foo" "bar", , "foo" . , , .

. , №0. , , , , , .

, , , – 22, main.m: 16. .
, :

2 CoreFoundation 0x36c02e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
. , , .

RMDetailViewController.m, . , :

-(IBAction)bookmarkButtonPressed { self.master.isBookmarked = !self.master.isBookmarked; // Update shared bookmarks if (self.master.isBookmarked) [[RMBookmarks sharedBookmarks] bookmarkMaster:self.master]; else [[RMBookmarks sharedBookmarks] unbookmarkMaster:self.master]; // Update UI [self updateBookmarkImage]; }
, (XIB ) , .



! MainStoryboard.storyboard, bookmarkButtonPressed: bookmarkButtonPressed ( , , ). , :

-(IBAction)bookmarkButtonPressed:(id)sender { // ... }
, XIB- . .
.

3. , ...
: " ...". : " , ..."

, , . !
Incident Identifier: 5B62D681-D8FE-41FE-8D52-AB7E6D6B2AC7 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 Process: Rage Masters [20088] Path: /var/mobile/Applications/B2121A89-3D1F-4E61-BB18-5511E1DC150F/Rage Masters.app/Rage Masters Identifier: Rage Masters Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2012-11-03 13:38:45.762 -0400 OS Version: iOS 6.0 (10A403) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x36bff29e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x34f0f97a objc_exception_throw + 26 2 CoreFoundation 0x36bff158 +[NSException raise:format:arguments:] + 96 3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22 6 Rage Masters 0x000fd9ca -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68) 7 UIKit 0x3809a5d4 -[UITableView(UITableViewInternal) animateDeletionOfRowWithCell:] + 80 8 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 9 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 10 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 11 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 12 UIKit 0x37fbb0a8 -[UIApplication sendAction:to:from:forEvent:] + 68 13 UIKit 0x37fbb05a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26 14 UIKit 0x37fbb038 -[UIControl sendAction:to:forEvent:] + 40 15 UIKit 0x37fba8ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498 16 UIKit 0x37fbade4 -[UIControl touchesEnded:withEvent:] + 484 17 UIKit 0x37ee35f4 -[UIWindow _sendTouchesForEvent:] + 520 18 UIKit 0x37ed0804 -[UIApplication sendEvent:] + 376 19 UIKit 0x37ed011e _UIApplicationHandleEvent + 6150 20 GraphicsServices 0x3708359e _PurpleEventCallback + 586 21 GraphicsServices 0x370831ce PurpleEventCallback + 30 22 CoreFoundation 0x36bd416e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 23 CoreFoundation 0x36bd4112 __CFRunLoopDoSource1 + 134 24 CoreFoundation 0x36bd2f94 __CFRunLoopRun + 1380 25 CoreFoundation 0x36b45eb8 CFRunLoopRunSpecific + 352 26 CoreFoundation 0x36b45d44 CFRunLoopRunInMode + 100 27 GraphicsServices 0x370822e6 GSEventRunModal + 70 28 UIKit 0x37f242fc UIApplicationMain + 1116 29 Rage Masters 0x000fb004 main (main.m:16) 30 libdyld.dylib 0x3b630b1c start + 0
. SIGABRT . : , ?

, . . Rage Masters №6:

6 Rage Masters 0x00088c66 -[RMBookmarksViewController tableView:commitEditingStyle:forRowAtIndexPath:] (RMBookmarksViewController.m:68)
UITableViewDataSource. ? , Apple - , , . , , . .

:

3 Foundation 0x346812aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86 4 UIKit 0x37f04b7e -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7690 5 UIKit 0x3803a4a2 -[UITableView deleteRowsAtIndexPaths:withRowAnimation:] + 22
№5, UITableView , deleteRowsAtIndexPaths:withRowAnimation: _endCellAnimationsWithContext: , Apple. , Foundation, handleFailureInMethod:object:file:lineNumber:description: .

, , UITableView. Xcode. , ? ? №68 RMBookmarksViewController.m:

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
, ? , .

- ! , . , :

-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { RMMaster *masterToDelete = [bookmarks objectAtIndex:indexPath.row]; [bookmarks removeObject:masterToDelete]; [[RMBookmarks sharedBookmarks] unbookmarkMaster:masterToDelete]; [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; }
! ! ! !

4.
: " , ...". : " « » , !"

:
Incident Identifier: 081E58F5-95A8-404D-947B-5E104B6BC1B1 CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31 Hardware Model: iPhone4,1 OS Version: iPhone OS 6.0 (10A403) Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X Date: 2012-11-03 13:39:59 -0400 Time since snapshot: 4353 ms Free pages: 968 Active pages: 7778 Inactive pages: 4005 Throttled pages: 92319 Purgeable pages: 0 Wired pages: 23347 Largest process: Rage Masters Processes Name <UUID> rpages [reason] (state) lsd <6a9f5b5f36b23fc78f87b6d8f1f49a9d> 331 [vm] (daemon) (idle) afcd <b0aff2e7952e34a9882fec81a8dcdbb2> 141 [vm] (daemon) (idle) itunesstored <4e0cd9f873de3435b4119c48b2d6d13d> 1761 [vm] (daemon) (idle) softwareupdatese <2bc4b5ae016431c98d3b34f81027d0ae> 311 [vm] (daemon) (idle) Amazon <4600481f07ec3e59a925319b7f67ba14> 2951 [vm] (suspended) accountsd <ac0fce15c1a2350d951efc498d521ac7> 519 [vm] (daemon) (idle) coresymbolicatio <edba67001f76313b992056c712153b4b> 126 [vm] (daemon) (idle) Skype <504cf2fe60cb3cdea8273e74df09836b> 3187 [vm] (background) MobileMail <bff817c61ce33c85a43ea9a6c98c29f5> 14927 [vm] (continuous) MobileSMS <46778de076363d67aeea207464cfc581> 2134 [vm] (background) MobilePhone <3fca241f2a193d0fb8264218d296ea41> 2689 [vm] (continuous) librariand <c9a9be81aa9632f0a913ce79b911f27e> 317 [vm] (daemon) kbd <3e7136ddcefc3d77a01499db593466cd> 616 [vm] (daemon) tccd <eb5ddcf533663f8d987d67cae6a4c4ea> 224 [vm] (daemon) Rage Masters <90b45d6281e934209c5b06cf7dc4d492> 28591 [vm] (frontmost) (resume) ptpd <04a56fce67053c57a7979aeea8e5a7ea> 879 (daemon) iaptransportd <f784f30dc09d32078d87b450e8113ef6> 230 (daemon) locationd <892cd1c9ffa43c99a82dba197be5f09e> 1641 (daemon) syslogd <cbef142fa0a839f0885afb693fb169c3> 237 (daemon) mediaserverd <80657170daca32c9b8f3a6b1faac43a2> 4869 (daemon) dataaccessd <2a3f6a518f3f3646bf35eddd36f25005> 1786 (daemon) aosnotifyd <d4d14f2914c3343796e447cfef3e6542> 549 (daemon) wifid <9472b090746237998cdbb9b34f090d0c> 455 (daemon) SpringBoard <27372aae101f3bbc87804edc10314af3> 18749 backboardd <5037235f295b33eda98eb5c72c098858> 5801 (daemon) UserEventAgent <6edfd8d8dba23187b05772dcdfc94f90> 601 (daemon) mediaremoted <4ff39c50c684302492e396ace813cb25> 293 (daemon) pasteboardd <8a4279b78e4a321f84a076a711dc1c51> 176 (daemon) springboardservi <ff6f64b3a21a39c9a1793321eefa5304> 0 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) DTMobileIS <23303ca402aa3705870b01a9047854ea> 0 (daemon) notification_pro <845b7beebc8538ca9ceef731031983b7> 169 (daemon) syslog_relay <45e9844605d737a08368b5215bb54426> 0 (daemon) ubd <74dc476d1785300e9fcda555fcb8d774> 976 (daemon) twitterd <4b4946378a9c397d8250965d17055b8e> 730 (daemon) configd <4245d73a9e96360399452cf6b8671844> 809 (daemon) absinthed.N94 <7f4164c844fa340caa940b863c901aa9> 99 (daemon) filecoordination <fbab576f37a63b56a1039153fc1aa7d8> 226 (daemon) distnoted <a89af76ec8633ac2bbe99bc2b7964bb0> 137 (daemon) apsd <94d8051dd5f5362f82d775bc279ae608> 373 (daemon) networkd <0032f46009f53a6c80973fe153d1a588> 219 (daemon) aggregated <8c3c991dc4153bc38aee1e841864d088> 112 (daemon) BTServer <c92fbd7488e63be99ec9dbd05824f5e5> 522 (daemon) fairplayd.N94 <7bd896bd00783a48906090d05cf1c86a> 210 (daemon) fseventsd <996cc4ca03793184aea8d781b55bce08> 384 (daemon) imagent <1e68080947be352590ce96b7a1d07b2f> 586 (daemon) mDNSResponder <3e557693f3073697a58da6d27a827d97> 295 (daemon) lockdownd <ba1358c7a8003f1b91af7d5f58dd5bbe> 389 (daemon) powerd <2d2ffed5e69638aeba1b92ef124ed861> 174 (daemon) CommCenter <1f425e1e897d32e8864fdd8eeaa803a8> 2212 (daemon) notifyd <51c0e03da8a93ac8a595442fcaac531f> 211 (daemon) ReportCrash <8c32f231b2ed360bb151b2563bcaa363> 337

, !

iOS 6. , , . , , , .

, , : Incident Identifier, CrashReporter Key, Hardware Model, OS Version .

:
Free pages – . 4, 3 872 ( 3,9 ). Purgeable pages – , . 0 . Largest process – , , ! Processes - , . ( ), ( ) , ( ). (State), . , , frontmost . Rage Masters, 28591 ( 114 364 ) - !

, frontmost – , , - . , frontmost – . , , SpringBoard, , SpringBoard - , Apple iOS. . .

iOS . , iOS .

, , Instruments. , , . , « », .
Xcode RMLollipopLicker.m. . :

RMLollipopLicker.m #import "RMLollipopLicker.h" #define COUNT 20 @interface RMLollipopLicker () @property (weak, nonatomic) IBOutlet UIProgressView *progressView; @property (weak, nonatomic) IBOutlet UILabel *label; @property (weak, nonatomic) IBOutlet UILabel *lickedTimeLabel; @end @implementation RMLollipopLicker { NSOperationQueue *queue; NSMutableArray *lollipops; } #pragma mark - Life cycle - (void)viewDidLoad { [super viewDidLoad]; self.progressView.progress = 0.0; self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.lickedTimeLabel.text = @""; lollipops = [[NSMutableArray alloc] init]; queue = [[NSOperationQueue alloc] init]; } - (void)lickLollipop { NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"Lollipop" withExtension:@"plist"]; NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfURL:fileURL]; NSString *lollipop = [dictionary objectForKey:@"Lollipop"]; [lollipops addObject:lollipop]; } #pragma mark - IBActions - (IBAction)doneButtonPressed:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (IBAction)runButtonPressed:(id)sender { [sender setEnabled:NO]; [queue addOperationWithBlock:^{ for (NSInteger i = 0 ; i <= COUNT ; i++) { [self lickLollipop]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ self.label.text = [NSString stringWithFormat:@"Licked a strawberry lollipop %d time(s)!", i]; self.lickedTimeLabel.text = [NSString stringWithFormat:@"Licked the same lollipop %d time(s)!", lollipops.count-1]; self.progressView.progress = (float)(i/COUNT); if (i >= COUNT) { self.label.text = [NSString stringWithFormat:@"Tap on run and I'll lick a lollipop %d times!", COUNT]; self.progressView.progress = 0.0; [sender setEnabled:YES]; } }]; } }]; } @end
, lickLollipop , . lickLollipop NSString PLIST- . , , .

- , , . , .
, ? didReceiveMemoryWarning lollipops:

-(void)didReceiveMemoryWarning { [lollipops removeAllObjects]; [super didReceiveMemoryWarning]; }
!

?
, ! , .

.

Source: https://habr.com/ru/post/167805/


All Articles