Posts

Post not yet marked as solved
1 Replies
2.4k Views
My app only crashes on one iPhone 11 Max Pro, "deviceModel" : "iPhone12,5", "osVersion" : "13.4".When we try to present buttons with custom appearance like rounded borders and specific image with different rendering mode, occure a bad access error but only if I use it device.I tried with different devices, emulator and even we get to try in another iPhone with same settings and we could not show the error, so it's so difficult find a solution.We tried updating OS Version but it doesn't work. It seems, it is because a fail into the View(Hierarchy), but it never crash on different devices, just in that , that unfortunately is from my customer.Exception Type: EXC_BAD_ACCESS (SIGSEGV)Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000016b727ff8VM Region Info: 0x16b727ff8 is in 0x16b724000-0x16b728000; bytes after start: 16376 bytes before end: 7 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL MALLOC_SMALL 000000015b000000-000000015b800000 [ 8192K] rw-/rwx SM=PRV GAP OF 0xff24000 BYTES---> STACK GUARD 000000016b724000-000000016b728000 [ 16K] ---/rwx SM=NUL ... for thread 0 Stack 000000016b728000-000000016b824000 [ 1008K] rw-/rwx SM=PRV thread 0Termination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [866]Triggered by Thread: 0Thread 0 name:Thread 0 Crashed:0 libsystem_pthread.dylib 0x000000019aabda18 ___chkstk_darwin + 641 Foundation 0x000000019b0916b0 -[NSISEngine _flushPendingRemovals] + 52 (NSISEngine.m:1753)2 Foundation 0x000000019b099854 -[NSISEngine optimize] + 36 (NSISEngine.m:1606)3 Foundation 0x000000019b099514 -[NSISEngine performPendingChangeNotifications] + 116 (NSISEngine.m:632)4 UIKitCore 0x000000019f3b1f20 -[UIView(Hierarchy) layoutBelowIfNeeded] + 244 (UIView.m:11982)5 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)6 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)7 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)8 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)9 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)10 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)11 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)12 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)13 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)14 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)15 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)16 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)17 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)18 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)19 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)20 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)21 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)22 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)23 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)24 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)25 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)26 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)27 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)28 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)29 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)30 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)31 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)32 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)33 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)34 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)35 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)36 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)37 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)38 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)39 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)40 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)41 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)42 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)43 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)44 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)45 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)46 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)47 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)48 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)49 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)50 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)51 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)52 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)53 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)54 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)55 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)56 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)57 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)58 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)59 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)60 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)61 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)62 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)63 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)64 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)65 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)66 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)67 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)68 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)69 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)70 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)71 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)72 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)73 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)74 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)75 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)76 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)77 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)78 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)79 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)80 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)81 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)82 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)83 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)84 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)85 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)86 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)87 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)88 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)89 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)90 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)91 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)92 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)93 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)94 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)95 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)96 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)97 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)98 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)99 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)100 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)101 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)102 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)103 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)104 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)105 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)106 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)107 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)108 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)109 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)110 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)111 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)112 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)113 UIKitCore 0x000000019f3c66a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)114 QuartzCore 0x00000001a1a194a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)115 QuartzCore 0x00000001a1a198e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)116 UIKitCore 0x000000019f3b2058 -[UIView(Hierarchy) layoutBelowIfNeeded] + 556 (UIView.m:12122)117 UIKitCore 0x000000019e8d54f8 -[UIButton imageView] + 128 (UIButton.m:1641)118 SfereaUtilitiesFramework 0x0000000105679050 SFButtonCustom.layoutSubviews() + 860 (SFButtonCustom.swift:117)119 SfereaUtilitiesFramework 0x0000000105679378 @objc SFButtonCustom.layoutSubviews() + 28 (<compiler-generated>:0)
Posted Last updated
.