[Webkit-unassigned] [Bug 266902] WKWebView is crashing when loading in iOS 16.x

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 26 17:21:32 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=266902

--- Comment #5 from Raiam Quesada <raiam.quesada at ilumivu.com> ---
sure, our app is https://apps.apple.com/cr/app/cardiogram-heart-rate-monitor/id1000017994

we started facing this issue 2 version behind, where we did a rebranding and had to compile/generate a new build with latest xcode, had to update libraries and so on! before this, everything was working normally on every iOS! 3.7.21 was the latest working perfectly

crashes started 3.7.23! and again, the issues are more than 2k, but it's not really common to reproduce, my team and QA team has tried to reproduce it but no luck, but we have many users complaining about it, and analytics shows the errors indeed happening! 

this is another variant of the "same issue", and I say same issue because its happening in the very same line of our code, the stack trace is the one a bit different


com.apple.main-thread
0  ???                            0x1b658d50c (Missing)
1  ???                            0x1b658d4f8 (Missing)
2  ???                            0x1b653f6a0 (Missing)
3  ???                            0x1b653eaac (Missing)
4  WebKit                         0x1c488c invocation function for block in WebKit::get_TCC_kTCCServiceMicrophone() + 28
5  libdispatch.dylib              0x3fdc _dispatch_client_callout + 20
6  libdispatch.dylib              0x5828 _dispatch_once_callout + 32
7  WebKit                         0x1c486c WebKit::get_TCC_kTCCServiceMicrophone() + 64
8  WebKit                         0x3d6df8 WebKit::checkUsageDescriptionStringForType(WebKit::MediaPermissionType) + 272
9  WebKit                         0x4111a0 WebKit::WebPreferences::platformInitializeStore() + 72
10 WebKit                         0x60d2a8 WebKit::WebPreferences::WebPreferences(WTF::String const&, WTF::String const&, WTF::String const&) + 204
11 WebKit                         0x60d04c WebKit::WebPreferences::createWithLegacyDefaults(WTF::String const&, WTF::String const&, WTF::String const&) + 72
12 WebKit                         0x5d1c24 WebKit::WebPageGroup::WebPageGroup(WTF::String const&) + 276
13 WebKit                         0x60f188 WebKit::WebProcessPool::WebProcessPool(API::ProcessPoolConfiguration&) + 204
14 WebKit                         0x2dec -[WKProcessPool _initWithConfiguration:] + 80
15 WebKit                         0xb48c -[WKProcessPool init] + 48
16 WebKit                         0x4d04 -[WKWebViewConfiguration processPool] + 56
17 WebKit                         0x49f8 -[WKWebViewConfiguration copyWithZone:] + 112
18 WebKit                         0x3f40 -[WKWebView _initializeWithConfiguration:] + 140
19 WebKit                         0x3ea0 -[WKWebView initWithFrame:configuration:] + 72
20 PROJECT-11                     0xbac4 ViewController.initializeWebView() + 308 (ViewController.swift:308)
21 PROJECT-11                     0xaaec ViewController.mountWebView() + 210 (ViewController.swift:210)
22 PROJECT-11                     0xa19c ViewController.viewWillAppear(_:) + 157 (ViewController.swift:157)
23 PROJECT-11                     0xa1dc @objc ViewController.viewWillAppear(_:) + 40 (<compiler-generated>:40)
24 UIKitCore                      0xd500 -[UIViewController _setViewAppearState:isAnimating:] + 612
25 UIKitCore                      0xb1d94 -[UIViewController __viewWillAppear:] + 116
26 UIKitCore                      0x1a8778 -[UINavigationController _startTransition:fromViewController:toViewController:] + 592
27 UIKitCore                      0x1a7aa4 -[UINavigationController _startDeferredTransitionIfNeeded:] + 608
28 UIKitCore                      0x1a70f4 -[UINavigationController __viewWillLayoutSubviews] + 96
29 UIKitCore                      0x1a7058 -[UILayoutContainerView layoutSubviews] + 172
30 UIKitCore                      0x4cec -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980
31 QuartzCore                     0xa4e8 CA::Layer::layout_if_needed(CA::Transaction*) + 500
32 QuartzCore                     0x1db9c CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 148
33 QuartzCore                     0x2f098 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 456
34 QuartzCore                     0x663c4 CA::Transaction::commit() + 652
35 QuartzCore                     0x4d408 CA::Transaction::flush_as_runloop_observer(bool) + 88
36 UIKitCore                      0x504fb0 _UIApplicationFlushCATransaction + 52
37 UIKitCore                      0x651678 _UIUpdateSequenceRun + 84
38 UIKitCore                      0xc90904 schedulerStepScheduledMainSection + 172
39 UIKitCore                      0xc8fad0 runloopSourceCallback + 92
40 CoreFoundation                 0xd622c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
41 CoreFoundation                 0xe2614 __CFRunLoopDoSource0 + 176
42 CoreFoundation                 0x6657c __CFRunLoopDoSources0 + 340
43 CoreFoundation                 0x7beb8 __CFRunLoopRun + 836
44 CoreFoundation                 0x811e4 CFRunLoopRunSpecific + 612
45 GraphicsServices               0x1368 GSEventRunModal + 164
46 UIKitCore                      0x3a2d88 -[UIApplication _run] + 888
47 UIKitCore                      0x3a29ec UIApplicationMain + 340
48 PROJECT-11                     0x3bba8 main + 21 (AppDelegate.swift:21)
49 ???                            0x1b654d948 (Missing)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231227/e87795d1/attachment.htm>


More information about the webkit-unassigned mailing list