Can any one help me here?
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000005de6fbeb8
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread: 2
Thread 2 name:
Thread 2 Crashed:
0 libobjc.A.dylib 0x00000001824a4150 objc_msgSend + 16
1 UIKit 0x0000000189d899b8 -[UIWebDocumentView _updateSubviewCaches] + 40 (UIWebDocumentView.m:2683)
2 UIKit 0x0000000189baf8a8 -[UIWebDocumentView subviews] + 92 (UIWebDocumentView.m:2711)
3 UIKit 0x0000000189e5e04c -[UIView(CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 72 (UIView.m:14065)
4 UIKit 0x0000000189b5d0b4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1256 (UIView.m:14236)
5 QuartzCore 0x0000000186d4d274 -[CALayer layoutSublayers] + 148 (CALayer.mm:8937)
6 QuartzCore 0x0000000186d41de8 CA::Layer::layout_if_needed(CA::Transaction*) + 292 (CALayer.mm:8817)
7 QuartzCore 0x0000000186d41ca8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32 (CALayer.mm:2345)
8 QuartzCore 0x0000000186cbd34c CA::Context::commit_transaction(CA::Transaction*) + 252 (CAContextInternal.mm:1689)
9 QuartzCore 0x0000000186ce43ac CA::Transaction::commit() + 504 (CATransactionInternal.mm:420)
10 QuartzCore 0x0000000186ce4e78 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120 (CATransactionInternal.mm:793)
11 CoreFoundation 0x00000001839dc9a8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1802)
12 CoreFoundation 0x00000001839da630 __CFRunLoopDoObservers + 372 (CFRunLoop.c:1898)
13 CoreFoundation 0x000000018390adc4 CFRunLoopRunSpecific + 456 (CFRunLoop.c:3114)
14 WebCore 0x00000001885dc608 RunWebThread(void*) + 456 (WebCoreThread.mm:694)
15 libsystem_pthread.dylib 0x0000000182af168c _pthread_body + 240 (pthread.c:697)
16 libsystem_pthread.dylib 0x0000000182af159c _pthread_start + 284 (pthread.c:744)
17 libsystem_pthread.dylib 0x0000000182aeecb4 thread_start + 4
Related
I had crash when open push notification. crash log from apple. where is a problem
Help read this log
I just open "OrderDetailsVC" when user open push
xception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001028b15f8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [870]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 Moitane 0x00000001028b15f8 OrderDetailsVC.viewDidLoad() + 268 (OrderDetailsVC.swift:144)
1 Moitane 0x00000001028b1618 #objc OrderDetailsVC.viewDidLoad() + 28 (<compiler-generated>:0)
2 UIKitCore 0x00000001bdf7ae08 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 100 (UIViewController.m:2283)
3 UIKitCore 0x00000001bdf7f898 -[UIViewController loadViewIfRequired] + 936 (UIViewController.m:3382)
4 UIKitCore 0x00000001bdf7fca0 -[UIViewController view] + 28 (UIViewController.m:3404)
5 UIKitCore 0x00000001bdedf528 -[UINavigationController _startCustomTransition:] + 1180 (UINavigationController.m:1893)
6 UIKitCore 0x00000001bdef33f0 -[UINavigationController _startDeferredTransitionIfNeeded:] + 688 (UINavigationController.m:6719)
7 UIKitCore 0x00000001bdef4790 -[UINavigationController __viewWillLayoutSubviews] + 172 (UINavigationController.m:6988)
8 UIKitCore 0x00000001bded7cf0 -[UILayoutContainerView layoutSubviews] + 224 (UILayoutContainerView.m:86)
9 UIKitCore 0x00000001bea6ec7c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2144 (UIView.m:17176)
10 QuartzCore 0x00000001c10084ac -[CALayer layoutSublayers] + 284 (CALayer.mm:9644)
11 QuartzCore 0x00000001c100e604 CA::Layer::layout_if_needed(CA::Transaction*) + 468 (CALayer.mm:9518)
12 QuartzCore 0x00000001c1019148 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 140 (CALayer.mm:2468)
13 QuartzCore 0x00000001c0f61e34 CA::Context::commit_transaction(CA::Transaction*, double) + 296 (CAContextInternal.mm:1992)
14 QuartzCore 0x00000001c0f8b7c4 CA::Transaction::commit() + 676 (CATransactionInternal.mm:438)
15 QuartzCore 0x00000001c0f8c1d8 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92 (CATransactionInternal.mm:890)
16 CoreFoundation 0x00000001ba492fb8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1758)
17 CoreFoundation 0x00000001ba48deac __CFRunLoopDoObservers + 420 (CFRunLoop.c:1868)
18 CoreFoundation 0x00000001ba48e328 __CFRunLoopRun + 968 (CFRunLoop.c:2910)
19 CoreFoundation 0x00000001ba48dc34 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3192)
20 GraphicsServices 0x00000001c45d738c GSEventRunModal + 160 (GSEvent.c:2246)
21 UIKitCore 0x00000001be5c022c UIApplicationMain + 1932 (UIApplication.m:4820)
22 Moitane 0x0000000102887b70 main + 68 (LocalizableBtn.swift:19)
23 libdyld.dylib 0x00000001ba315800 start + 4
Your viewDidLoad in OrderDetailsVC.swift (frames 1 and 2 of the stack trace) are the culprit:
0 Moitane 0x00000001028b15f8 OrderDetailsVC.viewDidLoad() + 268 (OrderDetailsVC.swift:144)
1 Moitane 0x00000001028b1618 #objc OrderDetailsVC.viewDidLoad() + 28 (<compiler-generated>:0)
I know this question might sound stupid but I hope to understand what is the problem in this crash report that generated in Xcode. I have no idea which view controller/page or which feature it crashes at. How to study a crash report? Anyone please help..
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001000ba1d8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 myfirstapp 0x00000001000ba1d8 0x1000b0000 + 41432
1 myfirstapp 0x00000001000ba208 0x1000b0000 + 41480
2 UIKit 0x0000000197b3e754 -[UIViewController _setViewAppearState:isAnimating:] + 624 (UIViewController.m:3801)
3 UIKit 0x0000000197b3e4cc -[UIViewController __viewWillAppear:] + 156 (UIViewController.m:3911)
4 UIKit 0x0000000197bdf760 -[UINavigationController _startTransition:fromViewController:toViewController:] + 784 (UINavigationController.m:4824)
5 UIKit 0x0000000197bdef28 -[UINavigationController _startDeferredTransitionIfNeeded:] + 856 (UINavigationController.m:4971)
6 UIKit 0x0000000197bdeadc -[UINavigationController __viewWillLayoutSubviews] + 64 (UINavigationController.m:5224)
7 UIKit 0x0000000197bdea40 -[UILayoutContainerView layoutSubviews] + 188 (UILayoutContainerView.m:86)
8 UIKit 0x0000000197b23a80 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1196 (UIView.m:14198)
9 QuartzCore 0x0000000194fd19d8 -[CALayer layoutSublayers] + 148 (CALayer.mm:8926)
10 QuartzCore 0x0000000194fc64cc CA::Layer::layout_if_needed(CA::Transaction*) + 292 (CALayer.mm:8806)
11 QuartzCore 0x0000000194fc638c CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32 (CALayer.mm:2345)
12 QuartzCore 0x0000000194f433e0 CA::Context::commit_transaction(CA::Transaction*) + 252 (CAContextInternal.mm:1683)
13 QuartzCore 0x0000000194f6aa68 CA::Transaction::commit() + 512 (CATransactionInternal.mm:419)
14 QuartzCore 0x0000000194f6b488 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120 (CATransactionInternal.mm:778)
15 CoreFoundation 0x0000000191c1e0c0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1802)
16 CoreFoundation 0x0000000191c1bcf0 __CFRunLoopDoObservers + 372 (CFRunLoop.c:1898)
17 CoreFoundation 0x0000000191c1c180 __CFRunLoopRun + 1024 (CFRunLoop.c:2849)
18 CoreFoundation 0x0000000191b4a2b8 CFRunLoopRunSpecific + 444 (CFRunLoop.c:3113)
19 GraphicsServices 0x00000001935fe198 GSEventRunModal + 180 (GSEvent.c:2245)
20 UIKit 0x0000000197b917fc -[UIApplication _run] + 684 (UIApplication.m:2650)
21 UIKit 0x0000000197b8c534 UIApplicationMain + 208 (UIApplication.m:4092)
22 myfirstapp 0x00000001000b7b54 0x1000b0000 + 31572
23 libdyld.dylib 0x0000000190b2d5b8 start + 4
You can use the po command in the debugger console or add na exception breakpoint in Xcode breakpoint setting section.
Apparently an App I submitted for review crashed twice on an iPad, with the following issue highlighted. I'm having trouble deciphering anything usable from this, if anyone's able to shed some light on this I'd appreciate it. I've attempted to replicate the issue using the simulator's but I've been unsuccessful. I don't understand how this could work on an iPhone, whilst testing, but not on the iPad.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000195a8f270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000195b2d224 pthread_kill + 108
2 libsystem_c.dylib 0x0000000195a06b14 abort + 108
3 Christmas 0x0000000100101b90 0x1000f4000 + 56208
4 Christmas 0x0000000100101744 0x1000f4000 + 55108
5 Christmas 0x00000001000ff504 0x1000f4000 + 46340
6 Christmas 0x00000001000ff218 0x1000f4000 + 45592
7 Christmas 0x0000000100135088 0x1000f4000 + 266376
8 UIKit 0x0000000188f6be3c -[UIViewController _setViewAppearState:isAnimating:] + 512
9 UIKit 0x00000001890099bc -[UINavigationController _startTransition:fromViewController:toViewController:] + 796
10 UIKit 0x00000001890093b8 -[UINavigationController _startDeferredTransitionIfNeeded:] + 636
11 UIKit 0x00000001890090d8 -[UINavigationController __viewWillLayoutSubviews] + 52
12 UIKit 0x0000000189009058 -[UILayoutContainerView layoutSubviews] + 196
13 UIKit 0x0000000188f51a28 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 568
14 QuartzCore 0x00000001888a9990 -[CALayer layoutSublayers] + 164
15 QuartzCore 0x00000001888a4560 CA::Layer::layout_if_needed(CA::Transaction*) + 316
16 QuartzCore 0x00000001888a4404 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 28
17 QuartzCore 0x00000001888a3c04 CA::Context::commit_transaction(CA::Transaction*) + 272
18 QuartzCore 0x00000001888a3988 CA::Transaction::commit() + 432
19 UIKit 0x0000000188f489fc _afterCACommitHandler + 152
20 CoreFoundation 0x000000018475e148 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
21 CoreFoundation 0x000000018475b0d4 __CFRunLoopDoObservers + 356
22 CoreFoundation 0x000000018475b4b4 __CFRunLoopRun + 832
23 CoreFoundation 0x00000001846891f0 CFRunLoopRunSpecific + 392
24 GraphicsServices 0x000000018d7eb5a0 GSEventRunModal + 164
25 UIKit 0x0000000188fba780 UIApplicationMain + 1484
26 Christmas 0x0000000100103914 0x1000f4000 + 63764
27 libdyld.dylib 0x0000000195976a04 start + 0
Recently our released app have crashed several times with a stack trace that contain very little information to what the root cause can be. According to the crash log, the crash happens in thread 1, but this thread only have two calls. Could it be that the real problem is still in the main thread 0?
Could anyone suggest the best approach to find the background problem?
Hardware Model: iPhone6,2
Process: App [159]
Version: 0813 (1.3.2)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-08-16 16:51:48.114 +0200
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Thread 0:
0 libobjc.A.dylib 0x00000001924901d0 objc_msgSend + 16
1 UIKit 0x0000000189026d94 -[UITableView _updateVisibleCellsNow:] + 1748
2 UIKit 0x0000000189026610 -[UITableView layoutSubviews] + 164
3 UIKit 0x0000000188f3afdc -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 344
4 QuartzCore 0x0000000188b2c254 -[CALayer layoutSublayers] + 180
5 QuartzCore 0x0000000188b26e1c CA::Layer::layout_if_needed(CA::Transaction*) + 296
6 QuartzCore 0x0000000188b26cd4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 28
7 QuartzCore 0x0000000188b2655c CA::Context::commit_transaction(CA::Transaction*) + 276
8 QuartzCore 0x0000000188b26300 CA::Transaction::commit() + 420
9 QuartzCore 0x0000000188b1fc34 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 76
10 CoreFoundation 0x0000000185f37854 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
11 CoreFoundation 0x0000000185f34adc __CFRunLoopDoObservers + 368
12 CoreFoundation 0x0000000185e75df4 CFRunLoopRunSpecific + 488
13 GraphicsServices 0x000000018bb5dc08 GSEventRunModal + 164
14 UIKit 0x0000000188fa6fc0 UIApplicationMain + 1152
15 App 0x00000001000c8808 main (main.m:16)
16 libdyld.dylib 0x0000000192a73a9c start + 0
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x0000000192b55aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000192a59998 _dispatch_mgr_thread + 48
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x0000000192b55ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000185f36d20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000185f34eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000185e75dcc CFRunLoopRunSpecific + 448
4 Foundation 0x0000000186a6a424 +[NSURLConnection(Loader) _resourceLoadLoop:] + 344
5 Foundation 0x0000000186af8408 __NSThread__main__ + 996
6 libsystem_pthread.dylib 0x0000000192befe18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000192befd70 _pthread_start + 13
I have only a little knowledge on how to read the crash reason in device logs. Please give me some clue on where should I start to look at in my app. It crashed the minute I clicked on a button when I open the app. I only got this error when I unplugged the device. I cannot reproduce the device if I try to build with my phone via Xcode.
Thank you.
OS Version: iOS 7.0.5 (11B601)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Thread 0:
0 libobjc.A.dylib 0x3a45bb66 objc_msgSend + 6
1 CoreFoundation 0x3003ec4a -[__NSDictionaryM setObject:forKey:] + 178
2 UIKit 0x32b157a4 -[NSString(UIStringDrawingLegacy) _legacy_drawInRect:withFont:lineBreakMode:alignment:lineSpacing:includeEmoji:truncationRect:] + 456
3 UIKit 0x32b155c8 -[NSString(UIStringDrawingLegacy) _legacy_drawInRect:withFont:lineBreakMode:alignment:lineSpacing:includeEmoji:] + 72
4 UIKit 0x32b15512 -[NSString(UIStringDrawingLegacy) _legacy_drawInRect:withFont:lineBreakMode:alignment:] + 70
5 UIKit 0x32b14f9e -[NSString(UIStringDrawing) drawInRect:withFont:lineBreakMode:alignment:] + 54
6 ST iPhone Standalone AppStore 0x001fc4a4 -[ArticleTableViewCell_CG drawContentView:] (ArticleTableViewCell_CG.m:178)
7 ST iPhone Standalone AppStore 0x001f9a7c -[ABTableViewCellView drawRect:] (ABTableViewCell.m:43)
8 UIKit 0x32907dd4 -[UIView(CALayerDelegate) drawLayer:inContext:] + 368
9 QuartzCore 0x3253da74 -[CALayer drawInContext:] + 96
10 QuartzCore 0x32527240 CABackingStoreUpdate_ + 1856
11 QuartzCore 0x326012e8 ___ZN2CA5Layer8display_Ev_block_invoke + 48
12 QuartzCore 0x32526af0 x_blame_allocations + 80
13 QuartzCore 0x325267a2 CA::Layer::display_() + 1114
14 QuartzCore 0x3250a364 CA::Layer::display_if_needed(CA::Transaction*) + 204
15 QuartzCore 0x32509ffc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 20
16 QuartzCore 0x32509a08 CA::Context::commit_transaction(CA::Transaction*) + 224
17 QuartzCore 0x3250981a CA::Transaction::commit() + 310
18 QuartzCore 0x32503548 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 52
19 CoreFoundation 0x300cef66 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
20 CoreFoundation 0x300cc8f2 __CFRunLoopDoObservers + 282
21 CoreFoundation 0x300ccc3e __CFRunLoopRun + 734
22 CoreFoundation 0x3003746c CFRunLoopRunSpecific + 520
23 CoreFoundation 0x3003724e CFRunLoopRunInMode + 102
24 GraphicsServices 0x34d712e6 GSEventRunModal + 134
25 UIKit 0x328ec840 UIApplicationMain + 1132
26 ST iPhone Standalone AppStore 0x000597cc main (main.m:14)
27 ST iPhone Standalone AppStore 0x00059764 start + 36
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x3a9fd838 kevent64 + 24
1 libdispatch.dylib 0x3a94c0d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3a94661e _dispatch_mgr_thread + 34