[Webkit-unassigned] [Bug 266902] New: WKWebView is crashing when loading in iOS 16.x
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 26 14:41:32 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266902
Bug ID: 266902
Summary: WKWebView is crashing when loading in iOS 16.x
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: iOS 16
Status: NEW
Severity: Blocker
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: raiam.quesada at ilumivu.com
Hi guys, I have more than 2000 users that have their app blocked because we submitted an update some days ago and now the app is no longer opening for them!
It's kinda strange to test, we have the same devices and the error rate is less than 1% (we have around 5M users), but the errors seems when we try to load a new instance of WKWebView, and getting some data from crashlytics this is the error:
com.apple.main-thread
0 libsystem_kernel.dylib 0x16cc stat + 8
1 libsystem_kernel.dylib 0x16cc stat64 + 8
2 Foundation 0x2908c -[NSFileManager fileExistsAtPath:isDirectory:] + 92
3 Foundation 0x27f38 -[NSURL(NSURL) initFileURLWithPath:] + 156
4 Foundation 0x27e90 +[NSURL(NSURL) fileURLWithPath:] + 28
5 CoreUI 0x5b6d0 +[CUIDesignLibraryCatalog catalogForDesignSystem:colorScheme:contrast:styling:error:] + 264
6 CoreUI 0x5bfa4 +[CUIDesignLibraryCompositeCatalog _catalogsForDesignSystem:colorScheme:contrast:styling:error:] + 100
7 CoreUI 0x5c214 +[CUIDesignLibraryCompositeCatalog compositeCatalogForDesignSystem:colorScheme:contrast:styling:error:] + 168
8 CoreUI 0x3b008 +[CUIDesignLibrary colorWithName:designSystem:palette:colorScheme:contrast:styling:displayGamut:error:] + 108
9 CoreUI 0x3af90 +[CUIDesignLibrary colorWithTraits:error:] + 44
10 UIKitCore 0x95812c -[UIDynamicCatalogSystemColor _resolvedColorWithTraitCollection:] + 296
11 UIKitCore 0x63ec8 -[UIDynamicColor CGColor] + 56
12 WebCore 0xd82368 <redacted> + 68
13 WebCore 0xd7a610 WebCore::RenderThemeIOS::cssValueToSystemColorMap() + 336
14 WebKit 0x3dc7a4 <redacted> + 1280
15 WebKit 0x55ff00 <redacted> + 1912
16 WebKit 0x560868 <redacted> + 292
17 WebKit 0x562238 <redacted> + 848
18 WebKit 0x562484 <redacted> + 296
19 WebKit 0x5e84 <redacted> + 64
20 WebKit 0x5e18 <redacted> + 160
21 WebKit 0x42ec <redacted> + 972
22 WebKit 0x3f0c <redacted> + 68
23 PROJECT 0xbac4 ViewController.initializeWebView() + 308 (ViewController.swift:308)
24 PROJECT 0xaaec ViewController.mountWebView() + 210 (ViewController.swift:210)
25 PROJECT 0xa19c ViewController.viewWillAppear(_:) + 157 (ViewController.swift:157)
26 PROJECT 0xa1dc @objc ViewController.viewWillAppear(_:) + 40 (<compiler-generated>:40)
27 UIKitCore 0xc880 -[UIViewController _setViewAppearState:isAnimating:] + 612
28 UIKitCore 0xa66a8 -[UIViewController __viewWillAppear:] + 100
29 UIKitCore 0x1914cc -[UINavigationController _startTransition:fromViewController:toViewController:] + 588
30 UIKitCore 0x1907ec -[UINavigationController _startDeferredTransitionIfNeeded:] + 604
31 UIKitCore 0x18fe78 -[UINavigationController __viewWillLayoutSubviews] + 92
32 UIKitCore 0x18fde0 -[UILayoutContainerView layoutSubviews] + 168
33 UIKitCore 0x47a8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1932
34 QuartzCore 0x960c CA::Layer::layout_if_needed(CA::Transaction*) + 496
35 QuartzCore 0x1bf2c CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144
36 QuartzCore 0x2c9f0 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 456
37 QuartzCore 0x59dc0 CA::Transaction::commit() + 644
38 QuartzCore 0x44dbc CA::Transaction::flush_as_runloop_observer(bool) + 84
39 CoreFoundation 0x898e8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
40 CoreFoundation 0x1951c __CFRunLoopDoObservers + 552
41 CoreFoundation 0x75214 __CFRunLoopRun + 1004
42 CoreFoundation 0x79d20 CFRunLoopRunSpecific + 584
43 GraphicsServices 0x1998 GSEventRunModal + 160
44 UIKitCore 0x37180c -[UIApplication _run] + 868
45 UIKitCore 0x371484 UIApplicationMain + 312
46 PROJECT 0x3bba8 main + 21 (AppDelegate.swift:21)
47 ??? 0x1f123c344 (Missing)
Our eng team has tried like 2 weeks to identify the root cause, but we can only say the only thing that changed, was the user of webkit in a newer version! We are able to see data with ios 16.x.x and some minor with ios 15.x.x, and iphone X, 6s, 7, 8, 11, 13, 13 Pro Max
any help would be needed!
--
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/20231226/a52eb790/attachment.htm>
More information about the webkit-unassigned
mailing list