iOS7 [UIApplication sendAction:toTarget:fromSender:forEvent:] Crash SEGV_ACCERR - ios

I have a crash that is occurring on iOS7 only. it is random reproduce, The problem is there is no user code in the stack trace so it is proving difficult to track down,Please help me guys.
Thank you
Crash Log:
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x6001c121
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x39c36636 objc_msgSend + 15
1 UIKit 0x318b2fd6 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 30
2 UIKit 0x318b2fb0 -[UIControl sendAction:to:forEvent:] + 44
3 UIKit 0x3189e716 -[UIControl _sendActionsForEvents:withEvent:] + 374
4 UIKit 0x318b2a2e -[UIControl touchesEnded:withEvent:] + 590
5 UIKit 0x318b2700 -[UIWindow _sendTouchesForEvent:] + 528
6 UIKit 0x318ad6ca -[UIWindow sendEvent:] + 758
7 UIKit 0x318828cc -[UIApplication sendEvent:] + 196
8 UIKit 0x31880f76 __UIApplicationHandleEventQueue + 7102
9 CoreFoundation 0x2f02c20a ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
+ 14
10 CoreFoundation 0x2f02b6da ___CFRunLoopDoSources0 + 206
11 CoreFoundation 0x2f029ece ___CFRunLoopRun + 622
12 CoreFoundation 0x2ef94ebe CFRunLoopRunSpecific + 515
13 CoreFoundation 0x2ef94ca2 CFRunLoopRunInMode + 103
14 GraphicsServices 0x33ebb662 GSEventRunModal + 135
15 UIKit 0x318e114c UIApplicationMain + 1131
16 IPadTest 0x00957eca main (main.m:19)
17 libdyld.dylib 0x3a139ab6 _start + 2

Related

Cannot understand iOS crash log

Could someone please help me understand this crash report. I can't make head or tail of it.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x181a7edb0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x1810e3f80 objc_exception_throw + 56
2 CoreFoundation 0x181a7ec80 +[NSException raise:format:arguments:] + 108
3 Foundation 0x182404154 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKit 0x1871779f4 +[UIAlertAction _actionWithTitle:descriptiveText:image:style:handler:shouldDismissHandler:] + 512
5 UIKit 0x187177bd4 +[UIAlertAction _actionWithTitle:image:style:handler:shouldDismissHandler:] + 148
6 UIKit 0x187177d98 +[UIAlertAction actionWithTitle:style:handler:] + 108
7 carerecord 0x1000d1ce0 -[CRUserList03ViewController btnUserTap:event:] (CRUserList03ViewController.m:1227)
8 UIKit 0x186c0cbe8 -[UIApplication sendAction:to:from:forEvent:] + 100
9 UIKit 0x186c0cb64 -[UIControl sendAction:to:forEvent:] + 80
10 UIKit 0x186bf4870 -[UIControl _sendActionsForEvents:withEvent:] + 436
11 UIKit 0x186c0c454 -[UIControl touchesEnded:withEvent:] + 572
12 UIKit 0x186c0c084 -[UIWindow _sendTouchesForEvent:] + 804
13 UIKit 0x186c04c20 -[UIWindow sendEvent:] + 784
14 carerecord 0x100235a08 -[CRWindow sendEvent:] (CRWindow.m:23)
15 UIKit 0x186bd504c -[UIApplication sendEvent:] + 248
16 UIKit 0x186bd3628 _UIApplicationHandleEventQueue + 6568
17 CoreFoundation 0x181a3509c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
18 CoreFoundation 0x181a34b30 __CFRunLoopDoSources0 + 540
19 CoreFoundation 0x181a32830 __CFRunLoopRun + 724
20 CoreFoundation 0x18195cc50 CFRunLoopRunSpecific + 384
21 GraphicsServices 0x183244088 GSEventRunModal + 180
22 UIKit 0x186c3e088 UIApplicationMain + 204
23 carerecord 0x1002a1f3c main (main.m:14)
24 libdyld.dylib 0x1814fa8b8 start + 4

How can I fix a EXC_BAD_ACCESS crash in QuartzCore CALayerGetLayer, on iOS 9.3.1?

I'm looking into a crash report in Fabric, and I have no idea what might have caused it. The stack trace is not particularly helpful, however it looks the app was preparing to be suspended in the background. Here is the crash message:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x444444444444445
Here's the stack trace:
Crashed: com.apple.main-thread
0 QuartzCore 0x18680fdf0 CALayerGetLayer + 12
1 QuartzCore 0x186810540 CA::Context::invalidate() + 68
2 QuartzCore 0x1868104cc -[CAContextImpl dealloc] + 64
3 UIKit 0x188f04bc4 -[UIWindow _destroyContext] + 324
4 UIKit 0x188f049e4 +[UIWindow _prepareWindowsForAppSuspend] + 172
5 UIKit 0x188f0491c -[UIApplication _destroyContextsAndNotifySpringBoard] + 28
6 UIKit 0x189124244 __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke_2 + 240
7 UIKit 0x1891280f0 __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke2283 + 148
8 FrontBoardServices 0x1856c9fc0 -[FBSSceneSnapshotAction _finishAllRequests] + 80
9 FrontBoardServices 0x1856c9d38 -[FBSSceneSnapshotAction executeRequestsWithHandler:completionHandler:expirationHandler:] + 224
10 UIKit 0x189127ee0 __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke + 272
11 UIKit 0x1891274e0 -[UIApplication _beginSnapshotSessionForScene:withSnapshotBlock:] + 900
12 UIKit 0x189127d7c -[UIApplication _performSnapshotsWithAction:forScene:completion:] + 560
13 UIKit 0x189127ad0 -[UIApplication _handleSnapshotAction:forScene:completion:] + 156
14 UIKit 0x1891243dc __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke2031 + 272
15 UIKit 0x189123ffc __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke2017 + 1040
16 UIKit 0x189126fd8 _runAfterCACommitDeferredBlocks + 292
17 UIKit 0x189134990 _cleanUpAfterCAFlushAndRunDeferredBlocks + 92
18 UIKit 0x188e664a4 _afterCACommitHandler + 96
19 CoreFoundation 0x183ce07b0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
20 CoreFoundation 0x183cde554 __CFRunLoopDoObservers + 372
21 CoreFoundation 0x183cde984 __CFRunLoopRun + 928
22 CoreFoundation 0x183c08d10 CFRunLoopRunSpecific + 384
23 GraphicsServices 0x1854f0088 GSEventRunModal + 180
24 UIKit 0x188eddf70 UIApplicationMain + 204
25 HDWR 0x1000706dc main (AppDelegate.swift:37)
26 libdispatch.dylib 0x1837a68b8 (Missing)
Any idea how I can get to the bottom of this?
Does this seem like it might be a bug in UIKit or QuartzCore, or is it more likely to be a bug in our own code?
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x444444444444445
i think you are using nil object which is not insalized

ios App crashes with EXC_BAD_ACCESS (SIGSEGV) on ipad ios 7.1.1 device

I have no idea about this crash. The crash happens at various screens without any actions sometimes. Any help would be appreciated. Thanks in advance.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000c
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3b3a1626 objc_msgSend + 6
1 UIKit 0x33301b46 +[UIViewController _viewControllerForFullScreenPresentationFromView:] + 174
2 UIKit 0x33301614 -[UIWindow _scrollToTopViewsUnderScreenPointIfNecessary:resultHandler:] + 428
3 UIKit 0x3330143e -[_UIScrollsToTopInitiatorView touchesEnded:withEvent:] + 210
4 UIKit 0x3330134e -[UIStatusBar touchesEnded:withEvent:] + 334
5 UIKit 0x33255790 forwardTouchMethod + 228
6 UIKit 0x3310371c -[UIWindow _sendTouchesForEvent:] + 524
7 UIKit 0x330fe6e6 -[UIWindow sendEvent:] + 754
8 UIKit 0x330d38e8 -[UIApplication sendEvent:] + 192
9 UIKit 0x330d1f92 _UIApplicationHandleEventQueue + 7098
10 CoreFoundation 0x3087e258 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
11 CoreFoundation 0x3087d726 __CFRunLoopDoSources0 + 202
12 CoreFoundation 0x3087bf1a __CFRunLoopRun + 618
13 CoreFoundation 0x307e6f0a CFRunLoopRunSpecific + 518
14 CoreFoundation 0x307e6cee CFRunLoopRunInMode + 102
15 GraphicsServices 0x356e065e GSEventRunModal + 134
16 UIKit 0x33132168 UIApplicationMain + 1132
17 MyApp 0x0029c0a0 main (main.m:16)
18 libdyld.dylib 0x3b8a4ab4 start + 0

UIApplication crash when open the app after few days

Could you help me with this mysterious crash? It happens when I re-open the app after a few days, so it's practically impossible to debug it :/
Any clue or idea would be super helpful. I'm kinda lost here. Thank you!
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x0000000196a63bd0 objc_msgSend + 16
1 UIKit 0x000000018ab35418 -[UIApplication sendAction:to:from:forEvent:] + 96
2 UIKit 0x000000018ab1e52c -[UIControl _sendActionsForEvents:withEvent:] + 612
3 UIKit 0x000000018ab34db4 -[UIControl touchesEnded:withEvent:] + 592
4 UIKit 0x000000018ab34a40 -[UIWindow _sendTouchesForEvent:] + 700
5 UIKit 0x000000018ab2df94 -[UIWindow sendEvent:] + 684
6 UIKit 0x000000018ab0168c -[UIApplication sendEvent:] + 264
7 UIKit 0x000000018ada060c _UIApplicationHandleEventFromQueueEvent + 14992
8 UIKit 0x000000018aaffbf4 _UIApplicationHandleEventQueue + 1616
9 CoreFoundation 0x000000018630a9ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
10 CoreFoundation 0x0000000186309c90 __CFRunLoopDoSources0 + 264
11 CoreFoundation 0x0000000186307d40 __CFRunLoopRun + 712
12 CoreFoundation 0x00000001862350a4 CFRunLoopRunSpecific + 396
13 GraphicsServices 0x000000018f3d75a4 GSEventRunModal + 168
14 UIKit 0x000000018ab66aa4 UIApplicationMain + 1488
15 Wiretap 0x000000010012b604 main (main.m:16)
16 libdyld.dylib 0x00000001970bea08 start + 4

EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000c

my application keeps crashing because of the below error. I tried debugging it but am not able to understand why is it caused and how to debug and remove this..
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x335cef46 objc_msgSend + 5
1 UIKit 0x29307c2b -[UIApplication sendAction:to:from:forEvent:] + 70
2 UIKit 0x29307bd1 -[UIControl sendAction:to:forEvent:] + 44
3 UIKit 0x292f2863 -[UIControl _sendActionsForEvents:withEvent:] + 582
4 UIKit 0x2930763d -[UIControl touchesEnded:withEvent:] + 588
5 UIKit 0x29307317 -[UIWindow _sendTouchesForEvent:] + 522
6 UIKit 0x29300be1 -[UIWindow sendEvent:] + 544
7 UIKit 0x292d73dd -[UIApplication sendEvent:] + 196
8 UIKit 0x2954ac29 _UIApplicationHandleEventFromQueueEvent + 13888
9 UIKit 0x292d5e39 _UIApplicationHandleEventQueue + 1296
10 CoreFoundation 0x25dde377 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
11 CoreFoundation 0x25ddd787 __CFRunLoopDoSources0 + 218
12 CoreFoundation 0x25ddbded __CFRunLoopRun + 772
13 CoreFoundation 0x25d2a211 CFRunLoopRunSpecific + 476
14 CoreFoundation 0x25d2a023 CFRunLoopRunInMode + 106
15 GraphicsServices 0x2d1230a9 GSEventRunModal + 136
16 UIKit 0x293361d1 UIApplicationMain + 1440
17 Application 0x000ffefb main (main.m:17)

Resources