Our iOS 17.4.1 users are experiencing a crash when we try to convert Markdowns to HTML. We're wondering what could be the trigger for this crash 💥. we would love to get some help.
Here is the full stack:
Crashed: WebThread
0 WebCore 0x2ee8 <redacted> + 20
1 WebCore 0x15df7d0 <redacted> + 11068
2 WebCore 0x191b6b0 <redacted> + 264
3 WebCore 0x15e0e7c <redacted> + 784
4 WebCore 0x1e1a01c WebCore::LocalFrame::~LocalFrame() + 548
5 WebCore 0x1e1a760 WebCore::LocalFrame::~LocalFrame() + 16
6 WebCore 0x1e5470c WebCore::Page::~Page() + 7264
7 WebKitLegacy 0xb65e8 __29-[WebView(WebPrivate) _close]_block_invoke + 372
8 WebCore 0x214d070 <redacted> + 648
9 CoreFoundation 0x3762c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
10 CoreFoundation 0x368a8 __CFRunLoopDoSource0 + 176
11 CoreFoundation 0x350b8 __CFRunLoopDoSources0 + 340
12 CoreFoundation 0x33d88 __CFRunLoopRun + 828
13 CoreFoundation 0x33968 CFRunLoopRunSpecific + 608
14 WebCore 0xe90110 <redacted> + 780
15 libsystem_pthread.dylib 0x2a90 _pthread_start + 136
16 libsystem_pthread.dylib 0x1fcc thread_start + 8
com.apple.uikit.datasource.diffing
0 libsystem_kernel.dylib 0x249c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1590 _pthread_cond_wait + 1228
2 JavaScriptCore 0x7d5f8 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 160
3 JavaScriptCore 0x51d78 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2072
4 JavaScriptCore 0x42468 WTF::LockAlgorithm<unsigned char, (unsigned char)1, (unsigned char)2, WTF::EmptyLockHooks<unsigned char> >::lockSlow(WTF::Atomic<unsigned char>&) + 216
5 WebCore 0xe8da54 <redacted> + 280
6 WebCore 0xe8ea38 WebThreadLock + 132
7 UIFoundation 0xdb68c -[NSHTMLReader _loadUsingWebKit] + 1448
8 UIFoundation 0xdc234 -[NSHTMLReader attributedString] + 24
9 UIFoundation 0x83c88 _NSReadAttributedStringFromURLOrDataCommon + 6440
10 UIFoundation 0x7ed34 _NSReadAttributedStringFromURLOrData + 288
11 UIFoundation 0x7ebac -[NSAttributedString(NSAttributedStringUIFoundationAdditions) initWithData:options:documentAttributes:error:] + 148
...