poml88 / LibreWrist

iOS and watchOS to display glucose readings from the Freestyle Libre cloud.
MIT License
2 stars 0 forks source link

Apple Watch app won't open #4

Open julio8a opened 5 days ago

julio8a commented 5 days ago

WatchOS 11.0.1 iOS 18.0.1

Phone app works fine.

Apple Watch app doesn't open at all. When I click it, I get a brief loader with the app icon, then it just closes every time.

poml88 commented 2 days ago

No, unfortunately no concrete idea. Strangely enough, the TestFlight statistics still report 0 crashes. Either it will come later, or never, or in your case something else is crashing, but not the app, maybe something in watchOS, so the crash is not attributed to the app.

poml88 commented 1 day ago

Hi, some more info: I do not get any TestFlight crashes from you. I do not know why. Can you check your TestFlight settings that logs are indeed shared? What does appear in Xcode is the crashlog you also send above as a txt file. I looked at it again. It is something strange with the UI. It seems it cannot paint the graph or so. Up to now you are the only one reporting this. It could have something to do with watchOS11, because there appress a function

_UIGraphicsBeginImageContextWithOptions in the crashlog that is deprecated in watchOS 11. However, deprecated does not mean broken and it seems everyone else is using watchOS 11, too.

Indeed it might go away magically by some OS or Xcode updates. In any case, it would be good if those TestFlight crashlogs would reach me.

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: LibreWristWatch Watch App [727]

Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                  0x1dfe374c __exceptionPreprocess + 160 (NSException.m:249)
1   libobjc.A.dylib                 0x1c287180 objc_exception_throw + 72 (objc-exception.mm:356)
2   Foundation                      0x1cffb6c4 0x1c7d9000 + 8529604
3   UIKitCore                       0x3b38e374 _UIGraphicsBeginImageContextWithOptions + 544 (UIGraphics.m:407)
4   PepperUICore                    0x3cc64d28 -[PUICActivityIndicatorView _updateContentImage] + 260 (PUICActivityIndicatorView.m:300)
5   PepperUICore                    0x3cc64e1c -[PUICActivityIndicatorView setColor:] + 76 (PUICActivityIndicatorView.m:316)
6   SwiftUI                         0x4462189c 0x43cf4000 + 9623708
7   SwiftUI                         0x43e72ae8 0x43cf4000 + 1567464
8   SwiftUI                         0x43e6d638 0x43cf4000 + 1545784
9   SwiftUICore                     0x42619a58 0x41e0b000 + 8448600
10  SwiftUI                         0x445016b4 0x43cf4000 + 8443572
11  SwiftUI                         0x43e838f8 0x43cf4000 + 1636600
12  SwiftUI                         0x43e87078 0x43cf4000 + 1650808
13  SwiftUICore                     0x421d500c 0x41e0b000 + 3973132
14  SwiftUICore                     0x421d40d8 0x41e0b000 + 3969240
15  SwiftUI                         0x43e6c7c4 0x43cf4000 + 1542084
16  SwiftUI                         0x43e861d8 0x43cf4000 + 1647064
17  SwiftUI                         0x43e8554c 0x43cf4000 + 1643852
18  SwiftUICore                     0x42378d28 0x41e0b000 + 5692712
19  SwiftUICore                     0x42377c14 0x41e0b000 + 5688340
20  SwiftUICore                     0x421cf558 0x41e0b000 + 3949912
21  SwiftUICore                     0x42377300 0x41e0b000 + 5686016
22  SwiftUICore                     0x4237706c 0x41e0b000 + 5685356
23  SwiftUI                         0x43e66924 0x43cf4000 + 1517860
24  SwiftUICore                     0x42039cbc 0x41e0b000 + 2288828
25  SwiftUI                         0x43e793dc 0x43cf4000 + 1594332
26  AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
27  AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
28  AttributeGraph                  0x371b067c AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 680 (ag-graph.cc:1510)
29  AttributeGraph                  0x3719ba64 AGGraphGetValue + 240 (AGGraph.mm:723)
30  SwiftUI                         0x43d26db8 0x43cf4000 + 208312
31  SwiftUI                         0x44501d88 0x43cf4000 + 8445320
32  SwiftUI                         0x43cf8374 0x43cf4000 + 17268
33  AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
34  AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
35  AttributeGraph                  0x371b067c AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 680 (ag-graph.cc:1510)
36  AttributeGraph                  0x3719f9f4 AGGraphGetInputValue + 276 (AGGraph.mm:705)
37  SwiftUICore                     0x424f58d0 0x41e0b000 + 7252176
38  SwiftUICore                     0x420abda4 0x41e0b000 + 2756004
39  SwiftUICore                     0x42274f78 0x41e0b000 + 4628344
40  SwiftUICore                     0x42274ca4 0x41e0b000 + 4627620
41  SwiftUICore                     0x42278074 0x41e0b000 + 4640884
42  SwiftUICore                     0x42458414 0x41e0b000 + 6607892
43  SwiftUICore                     0x42274044 0x41e0b000 + 4624452
44  SwiftUICore                     0x422647f0 0x41e0b000 + 4560880
45  SwiftUICore                     0x4226473c 0x41e0b000 + 4560700
46  SwiftUICore                     0x42258a24 0x41e0b000 + 4512292
47  AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
48  AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
49  AttributeGraph                  0x371b067c AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 680 (ag-graph.cc:1510)
50  AttributeGraph                  0x3719f9f4 AGGraphGetInputValue + 276 (AGGraph.mm:705)
51  SwiftUICore                     0x424f58d0 0x41e0b000 + 7252176
52  SwiftUICore                     0x420abda4 0x41e0b000 + 2756004
53  SwiftUICore                     0x42274f78 0x41e0b000 + 4628344
54  SwiftUICore                     0x42274ca4 0x41e0b000 + 4627620
55  SwiftUICore                     0x42278074 0x41e0b000 + 4640884
56  SwiftUICore                     0x42458414 0x41e0b000 + 6607892
57  SwiftUICore                     0x42274044 0x41e0b000 + 4624452
58  SwiftUICore                     0x422647f0 0x41e0b000 + 4560880
59  SwiftUICore                     0x4226fc24 0x41e0b000 + 4607012
60  SwiftUICore                     0x42258a24 0x41e0b000 + 4512292
61  AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
62  AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
63  AttributeGraph                  0x371b04b8 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 228 (ag-graph.cc:1476)
64  AttributeGraph                  0x3719f9f4 AGGraphGetInputValue + 276 (AGGraph.mm:705)
65  SwiftUICore                     0x420d829c 0x41e0b000 + 2937500
66  SwiftUICore                     0x41e86370 0x41e0b000 + 504688
67  SwiftUICore                     0x42248760 0x41e0b000 + 4446048
68  SwiftUICore                     0x422484dc 0x41e0b000 + 4445404
69  SwiftUICore                     0x424594f4 0x41e0b000 + 6612212
70  SwiftUICore                     0x420d8da4 0x41e0b000 + 2940324
71  SwiftUICore                     0x41e88744 0x41e0b000 + 513860
72  SwiftUICore                     0x4227687c 0x41e0b000 + 4634748
73  SwiftUICore                     0x4227661c 0x41e0b000 + 4634140
74  SwiftUICore                     0x424594f4 0x41e0b000 + 6612212
75  SwiftUICore                     0x420d8da4 0x41e0b000 + 2940324
76  SwiftUICore                     0x41e88744 0x41e0b000 + 513860
77  SwiftUICore                     0x4227687c 0x41e0b000 + 4634748
78  SwiftUICore                     0x4227661c 0x41e0b000 + 4634140
79  SwiftUICore                     0x424594f4 0x41e0b000 + 6612212
80  SwiftUICore                     0x420d8da4 0x41e0b000 + 2940324
81  SwiftUICore                     0x41e88744 0x41e0b000 + 513860
82  SwiftUICore                     0x4227687c 0x41e0b000 + 4634748
83  SwiftUICore                     0x4227661c 0x41e0b000 + 4634140
84  SwiftUICore                     0x424594f4 0x41e0b000 + 6612212
85  SwiftUICore                     0x420d830c 0x41e0b000 + 2937612
86  SwiftUICore                     0x41e86370 0x41e0b000 + 504688
87  SwiftUICore                     0x42248760 0x41e0b000 + 4446048
88  SwiftUICore                     0x422484dc 0x41e0b000 + 4445404
89  SwiftUICore                     0x424594f4 0x41e0b000 + 6612212
90  SwiftUICore                     0x420d8da4 0x41e0b000 + 2940324
91  SwiftUICore                     0x41e88744 0x41e0b000 + 513860
92  SwiftUICore                     0x4227687c 0x41e0b000 + 4634748
93  SwiftUICore                     0x4227661c 0x41e0b000 + 4634140
94  SwiftUICore                     0x424594f4 0x41e0b000 + 6612212
95  SwiftUICore                     0x42098b94 0x41e0b000 + 2677652
96  SwiftUICore                     0x4224fbb0 0x41e0b000 + 4475824
97  AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
98  AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
99  AttributeGraph                  0x371b067c AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 680 (ag-graph.cc:1510)
100 AttributeGraph                  0x3719ba64 AGGraphGetValue + 240 (AGGraph.mm:723)
101 SwiftUICore                     0x42264498 0x41e0b000 + 4560024
102 SwiftUICore                     0x422543a8 0x41e0b000 + 4494248
103 AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
104 AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
105 AttributeGraph                  0x371b067c AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 680 (ag-graph.cc:1510)
106 AttributeGraph                  0x3719ba64 AGGraphGetValue + 240 (AGGraph.mm:723)
107 SwiftUICore                     0x4226f914 0x41e0b000 + 4606228
108 SwiftUICore                     0x41f4bb8c 0x41e0b000 + 1313676
109 AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
110 AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
111 AttributeGraph                  0x371b067c AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 680 (ag-graph.cc:1510)
112 AttributeGraph                  0x3719ba64 AGGraphGetValue + 240 (AGGraph.mm:723)
113 SwiftUICore                     0x423e58a0 0x41e0b000 + 6138016
114 SwiftUICore                     0x41f4b2d0 0x41e0b000 + 1311440
115 AttributeGraph                  0x3719d164 AG::Graph::UpdateStack::update() + 544 (ag-graph-update.cc:583)
116 AttributeGraph                  0x3719e4c8 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 428 (ag-graph-update.cc:712)
117 AttributeGraph                  0x3719c754 AG::Subgraph::update(unsigned int) + 832 (ag-subgraph.cc:758)
118 SwiftUICore                     0x423615ac 0x41e0b000 + 5596588
119 SwiftUICore                     0x42618df8 0x41e0b000 + 8445432
120 SwiftUICore                     0x42616d58 0x41e0b000 + 8437080
121 SwiftUI                         0x4451ef4c 0x43cf4000 + 8564556
122 SwiftUI                         0x4451efb0 0x43cf4000 + 8564656
123 UIKitCore                       0x3b2e64ac -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2540 (UIView.m:20400)
124 QuartzCore                      0x1edef378 CA::Layer::layout_if_needed(CA::Transaction*) + 408 (CALayer.mm:10944)
125 QuartzCore                      0x1ede4fa8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 120 (CALayer.mm:2638)
126 QuartzCore                      0x1edddbe8 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 428 (CAContextInternal.mm:2613)
127 QuartzCore                      0x1ee30bb4 CA::Transaction::commit() + 652 (CATransactionInternal.mm:420)
128 QuartzCore                      0x1ee3b5e4 CA::Transaction::flush_as_runloop_observer(bool) + 84 (CATransactionInternal.mm:928)
129 UIKitCore                       0x3bf64f54 _UIApplicationFlushCATransaction + 48 (UIApplication.m:3311)
130 UIKitCore                       0x3b751fac _UIUpdateSequenceRun + 72 (_UIUpdateSequence.mm:136)
131 UIKitCore                       0x3bedebec schedulerStepScheduledMainSection + 168 (_UIUpdateScheduler.m:1171)
132 UIKitCore                       0x3beddff4 runloopSourceCallback + 84 (_UIUpdateScheduler.m:1334)
133 CoreFoundation                  0x1dfe4f6c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1950)
134 CoreFoundation                  0x1dff99a8 __CFRunLoopDoSource0 + 172 (CFRunLoop.c:1994)
135 CoreFoundation                  0x1df9315c __CFRunLoopDoSources0 + 232 (CFRunLoop.c:2031)
136 CoreFoundation                  0x1df339fc __CFRunLoopRun + 796 (CFRunLoop.c:2949)
137 CoreFoundation                  0x1df78d40 CFRunLoopRunSpecific + 532 (CFRunLoop.c:3414)
138 GraphicsServices                0x25290844 GSEventRunModal + 160 (GSEvent.c:2196)
139 UIKitCore                       0x3b41c7a8 -[UIApplication _run] + 856 (UIApplication.m:3820)
140 UIKitCore                       0x3b3d459c UIApplicationMain + 124 (UIApplication.m:5472)
141 WatchKit                        0x44fa4f14 WKApplicationMain + 124 (WKApplicationMain.m:20)
142 WatchKit                        0x44fad83c WKApplicationExtensionMain + 380 (main.m:133)
143 SwiftUI                         0x44259c8c 0x43cf4000 + 5659788
144 SwiftUI                         0x440e796c 0x43cf4000 + 4143468
145 LibreWristWatch Watch App       0x23c5088 static LibreWristWatch_Watch_AppApp.$main() + 24 (LibreWristWatchApp.swift:0)
146 LibreWristWatch Watch App       0x23c5088 main + 36
147 dyld                            0x25a5a614 start + 1528 (dyldMain.cpp:1334)

Thread 0 Crashed:
0   libsystem_kernel.dylib          0x000000002546ec94 __pthread_kill + 8
1   libsystem_pthread.dylib         0x0000000025b4f3c8 pthread_kill + 208 (pthread.c:1721)
2   libsystem_c.dylib               0x000000001e3ee53c abort + 124 (abort.c:0)
3   libc++abi.dylib                 0x0000000023f1b3a8 abort_message + 132 (abort_message.cpp:78)
4   libc++abi.dylib                 0x0000000023f0af9c demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:77)
5   libobjc.A.dylib                 0x000000001c28a7d4 _objc_terminate() + 124 (objc-exception.mm:496)
6   libc++abi.dylib                 0x0000000023f1a964 std::__terminate(void (*)()) + 12 (cxa_handlers.cpp:59)
7   libc++abi.dylib                 0x0000000023f1d770 __cxa_rethrow + 144 (cxa_exception.cpp:648)
8   libobjc.A.dylib                 0x000000001c29e124 objc_exception_rethrow + 40 (objc-exception.mm:399)
9   CoreFoundation                  0x000000001df78e04 CFRunLoopRunSpecific + 728 (CFRunLoop.c:3430)
10  GraphicsServices                0x0000000025290844 GSEventRunModal + 160 (GSEvent.c:2196)
11  UIKitCore                       0x000000003b41c7a8 -[UIApplication _run] + 856 (UIApplication.m:3820)
12  UIKitCore                       0x000000003b3d459c UIApplicationMain + 124 (UIApplication.m:5472)
13  WatchKit                        0x0000000044fa4f14 WKApplicationMain + 124 (WKApplicationMain.m:20)
14  WatchKit                        0x0000000044fad83c WKApplicationExtensionMain + 380 (main.m:133)
15  SwiftUI                         0x0000000044259c8c 0x43cf4000 + 5659788
16  SwiftUI                         0x00000000440e796c 0x43cf4000 + 4143468
17  LibreWristWatch Watch App       0x00000000023c5088 static LibreWristWatch_Watch_AppApp.$main() + 24 (LibreWristWatchApp.swift:0)
18  LibreWristWatch Watch App       0x00000000023c5088 main + 36
19  dyld                            0x0000000025a5a614 start + 1528 (dyldMain.cpp:1334)