microsoft / clarity-apps

Repo for distributing Clarity Apps packages
MIT License
46 stars 2 forks source link

[BUG][iOS] crash:Fatal Exception: NSInternalInconsistencyException #64

Closed CtrlJone closed 2 months ago

CtrlJone commented 2 months ago

Describe the Bug

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x83f20 __exceptionPreprocess
1  libobjc.A.dylib                0x172b8 objc_exception_throw
2  Foundation                     0x6de934 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:]
3  UIKitCore                      0xc2e34 _UIGraphicsBeginImageContextWithOptions
4  Clarity                        0x10e58 (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
5  Clarity                        0xc114 (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
6  Clarity                        0x7668 (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
7  Clarity                        0x656c (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
8  Foundation                     0xf40f4 _startElementNs
9  libxml2.2.dylib                0x2968 xmlParseStartTag2
10 libxml2.2.dylib                0x125ec xmlParseTryOrFinish
11 libxml2.2.dylib                0x11748 xmlParseChunk
12 Foundation                     0x123b6c -[NSXMLParser parseData:]
13 Foundation                     0x123cf8 -[NSXMLParser parseData:]
14 Foundation                     0x1238bc -[NSXMLParser parseFromStream]
15 Clarity                        0x1075c (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
16 Clarity                        0x5a20 (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
17 Clarity                        0xf473c (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
18 Clarity                        0xf4690 (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
19 Clarity                        0x7ac70 (缺少 UUID 79d7c951c053365a83bdfef180a2e07e)
20 libdispatch.dylib              0x213c _dispatch_call_block_and_release
21 libdispatch.dylib              0x3dd4 _dispatch_client_callout
22 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain
23 libdispatch.dylib              0xbf30 _dispatch_lane_invoke
24 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh
25 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread
26 libsystem_pthread.dylib        0x4934 _pthread_wqthread
27 libsystem_pthread.dylib        0x10cc start_wqthread

com.apple.main-thread
0  libsystem_kernel.dylib         0x16c8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4ec8 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4de0 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4c20 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  GraphicsServices               0x11a8 GSEventRunModal + 164
8  UIKitCore                      0x40aae8 -[UIApplication _run] + 888
9  UIKitCore                      0x4bed98 UIApplicationMain + 340
10 UIKitCore                      0x638504 keypath_get_selector_hoverStyle + 11024
11 Kcex_ios                       0x357210 static AppDelegate.$main() + 4373312016 (<compiler-generated>:4373312016)
12 Kcex_ios                       0x3581c8 type metadata accessor for AppDelegate + 4373316040 (<compiler-generated>:4373316040)
13 ???                            0x1c1897154 (缺少)

Screenshots

image

Project Info

Platform/Framework Info

Additional Context This is my code

image
amralaa-MSFT commented 2 months ago

@CtrlJone Thank you for reporting this issue! A new Clarity version has been released with a fix for this crash. Please try upgrading to Clarity version 2.1.2 and let us know if this eliminates the crash.