Closed tdc-peter closed 1 year ago
@CITPeter Thanks for the report! I will do more tests on it when I get a chance.
@guoyingtao still an issue with version 2.8
I have added some logging to the app to see how much is used.. and size detail from images people crop. No clear indicator what goes wrong unfortunately.
Events/Users that use the Crop functionality: 959 events - 297 users
Crashes: 54 events - 38 users
Log:
Fatal Exception: CALayerInvalidGeometry
0 CoreFoundation 0x9e38 __exceptionPreprocess
1 libobjc.A.dylib 0x178d8 objc_exception_throw
2 CoreFoundation 0xf9c28 __CFDictionaryCreateGeneric
3 QuartzCore 0x27974 CA::Layer::set_bounds(CA::Rect const&, bool)
4 QuartzCore 0xece4 -[CALayer setBounds:]
5 UIKitCore 0x31b28 -[UIView(Geometry) setBounds:]
6 UIKitCore 0x318c8 -[UIScrollView setBounds:]
7 AppName 0x17b090 specialized CropView.adjustUIForNewCrop(contentRect:animation:zoom:completion:) + 495 (CropView.swift:495)
8 AppName 0x175a98 CropView.setFixedRatioCropBox(zoom:cropBox:) (<compiler-generated>)
9 AppName 0x179198 CropView.setFixedRatio(_:zoom:presetFixedRatioType:) + 802 (CropView.swift:802)
10 AppName 0x183000 CropViewController.createCropToolbar() (<compiler-generated>)
11 AppName 0x1834c0 CropViewController.viewDidLoad() + 131 (CropViewController.swift:131)
12 AppName 0x183b00 @objc CropViewController.viewDidLoad() (<compiler-generated>)
13 UIKitCore 0x38205c -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled]
14 UIKitCore 0x1a35c -[UIViewController loadViewIfRequired]
15 UIKitCore 0x1a074 -[UIViewController view]
16 SwiftUI 0x9da34 OUTLINED_FUNCTION_867
17 SwiftUI 0x14300c OUTLINED_FUNCTION_684
18 SwiftUI 0x6078c OUTLINED_FUNCTION_244
19 SwiftUI 0x1492f7c OUTLINED_FUNCTION_2
20 SwiftUI 0x1493e9c OUTLINED_FUNCTION_2
21 SwiftUI 0x1493080 OUTLINED_FUNCTION_2
22 SwiftUI 0xe3e9b8 OUTLINED_FUNCTION_0
23 SwiftUI 0xe419d0 OUTLINED_FUNCTION_0
24 SwiftUI 0xa1d00 OUTLINED_FUNCTION_513
25 SwiftUI 0xe3e7d0 OUTLINED_FUNCTION_0
26 SwiftUI 0xe3da00 OUTLINED_FUNCTION_0
27 SwiftUI 0x8faf8 OUTLINED_FUNCTION_1160
28 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
29 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
30 AttributeGraph 0x5088 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long)
31 AttributeGraph 0x271c AGGraphGetValue
32 SwiftUI 0x138820 __swift_allocate_value_buffer
33 SwiftUI 0x77118 OUTLINED_FUNCTION_123
34 SwiftUI 0x8faf8 OUTLINED_FUNCTION_1160
35 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
36 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
37 AttributeGraph 0x5088 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long)
38 AttributeGraph 0x7188 AGGraphGetInputValue
39 SwiftUI 0xf92ca0 OUTLINED_FUNCTION_14
40 SwiftUI 0x356e18 OUTLINED_FUNCTION_1
41 SwiftUI 0x3561a0 OUTLINED_FUNCTION_1
42 SwiftUI 0x4cf5ac OUTLINED_FUNCTION_1
43 SwiftUI 0x3592f4 OUTLINED_FUNCTION_1
44 SwiftUI 0x298ef4 OUTLINED_FUNCTION_1
45 SwiftUI 0xdd91c __swift_memcpy28_4
46 SwiftUI 0xd7e74 -[TimeProvider .cxx_destruct]
47 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
48 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
49 AttributeGraph 0x4ff0 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long)
50 AttributeGraph 0x7188 AGGraphGetInputValue
51 SwiftUI 0x6ee98 OUTLINED_FUNCTION_112
52 SwiftUI 0x95e944 OUTLINED_FUNCTION_1
53 SwiftUI 0x95eb38 OUTLINED_FUNCTION_1
54 SwiftUI 0x96b51c OUTLINED_FUNCTION_8
55 SwiftUI 0x96b3f4 OUTLINED_FUNCTION_8
56 SwiftUI 0x1087378 OUTLINED_FUNCTION_61
57 SwiftUI 0xf94db4 OUTLINED_FUNCTION_14
58 SwiftUI 0xf93e18 OUTLINED_FUNCTION_14
59 SwiftUI 0xf96344 OUTLINED_FUNCTION_14
60 SwiftUI 0xf93b90 OUTLINED_FUNCTION_14
61 SwiftUI 0x147b18c OUTLINED_FUNCTION_20
62 SwiftUI 0x147b6ec OUTLINED_FUNCTION_20
63 SwiftUI 0xb0d1bc OUTLINED_FUNCTION_77
64 SwiftUI 0x1087378 OUTLINED_FUNCTION_61
65 SwiftUI 0xfea4c OUTLINED_FUNCTION_491
66 SwiftUI 0xd2ffc OUTLINED_FUNCTION_1257
67 SwiftUI 0x419cc OUTLINED_FUNCTION_105
68 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
69 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
70 AttributeGraph 0x5088 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long)
71 AttributeGraph 0x271c AGGraphGetValue
72 SwiftUI 0x8bccc OUTLINED_FUNCTION_134
73 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
74 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
75 AttributeGraph 0x5088 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long)
76 AttributeGraph 0x271c AGGraphGetValue
77 SwiftUI 0x6f9a4 OUTLINED_FUNCTION_71
78 SwiftUI 0xf4cec OUTLINED_FUNCTION_1125
79 SwiftUI 0x837c8 OUTLINED_FUNCTION_120
80 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
81 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
82 AttributeGraph 0x5088 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long)
83 AttributeGraph 0x271c AGGraphGetValue
84 SwiftUI 0x12cff80 OUTLINED_FUNCTION_0
85 SwiftUI 0x54e9ec objectdestroy.6496Tm
86 AttributeGraph 0x46f4 AG::Graph::UpdateStack::update()
87 AttributeGraph 0x3f44 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)
88 AttributeGraph 0x2c00 AG::Subgraph::update(unsigned int)
89 SwiftUI 0xd2cc OUTLINED_FUNCTION_15
90 SwiftUI 0x1c754 OUTLINED_FUNCTION_157
91 SwiftUI 0xbdf48 OUTLINED_FUNCTION_450
92 SwiftUI 0x7b37fc OUTLINED_FUNCTION_2
93 SwiftUI 0x52b3c OUTLINED_FUNCTION_764
94 libdispatch.dylib 0x2460 _dispatch_call_block_and_release
95 libdispatch.dylib 0x3f88 _dispatch_client_callout
96 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain
97 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF
98 CoreFoundation 0x9a6c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
99 CoreFoundation 0x7c02c __CFRunLoopRun
100 CoreFoundation 0x80eb0 CFRunLoopRunSpecific
101 GraphicsServices 0x1368 GSEventRunModal
102 UIKitCore 0x3a1668 -[UIApplication _run]
103 UIKitCore 0x3a12cc UIApplicationMain
104 libswiftUIKit.dylib 0x35308 UIApplicationMain(_:_:_:_:)
105 AppName 0x7458 main (BackButton.swift)
106 ??? 0x1a91c8960 (Missing)
Hi @7blueXY I released Mantis 2.9.1 which add more guard logics for this issue. Can you have a try to see if it solves the issue? Thanks!
@guoyingtao thank you! Will add this to next release of the app, which will be probably next week.
@7blueXY Has the new version solved the issue?
@guoyingtao the app is in production for a week or two. People are slowly updating... so will have a more clear answer in two weeks, but but, no crashes are reported since updating so the signs are good :)
Thanks again for looking into this crash report!
I have not seen any crash reports after updating to 2.9.1. So this issue is closed! Thanks again!
Crash report...
Version 1.8.0
I cannot reproduce it yet. But it is important to keep track of it. As my investigation continues I will update this issue.