LookingGlassUI icon indicating copy to clipboard operation
LookingGlassUI copied to clipboard

Possible crash related to LookingGlassUI

Open rennarda opened this issue 1 year ago • 2 comments

Hi - I have incorporated your library into my app, but after doing so I saw a new class of crashes that have the following kind of stack trace:

Thread 19 Crashed:
0   libswiftCore.dylib            	0x0000000181d03080 getCache(swift::TargetTypeContextDescriptor<swift::InProcess> const&) + 292 (Lazy.h:126)
1   libswiftCore.dylib            	0x0000000181d03804 _swift_getGenericMetadata(swift::MetadataRequest, void const* const*, swift::TargetTypeContextDescriptor<swift::InProcess> const*) + 56 (Metadata.cpp:862)
2   libswiftCore.dylib            	0x0000000181ce0e08 __swift_instantiateCanonicalPrespecializedGenericMetadata + 36 (<compiler-generated>:0)
3   SwiftUI                       	0x000000018b50f454 AnimatorBox.value(in:for:) + 168 (Animation.swift:167)
4   SwiftUI                       	0x000000018b48febc AnyAnimator.value(in:for:) + 156 (Animation.swift:116)
5   SwiftUI                       	0x000000018b491564 DefaultCombiningAnimator.value(in:for:) + 688 (DefaultCombiningAnimation.swift:26)
6   SwiftUI                       	0x000000018b50f454 AnimatorBox.value(in:for:) + 168 (Animation.swift:167)
7   SwiftUI                       	0x000000018b48febc AnyAnimator.value(in:for:) + 156 (Animation.swift:116)
8   SwiftUI                       	0x000000018b491564 DefaultCombiningAnimator.value(in:for:) + 688 (DefaultCombiningAnimation.swift:26)
9   SwiftUI                       	0x000000018b50f454 AnimatorBox.value(in:for:) + 168 (Animation.swift:167)
10  SwiftUI                       	0x000000018b48febc AnyAnimator.value(in:for:) + 156 (Animation.swift:116)
... and so in in an infinite loop

Crashes are spread across a range of iOS 15 and 16 versions and various devices.

I have not seen anything like this before. I was wondering if it looks like familiar? There's nothing in the trace to say it is LookingGlassUI doing this, but the timing of when the crashes started to happen is more than coincidental.

Any ideas?

rennarda avatar Mar 15 '23 16:03 rennarda