Crash [WKWebView _addUpdateVisibleContentRectPreCommitHandler]

Originator:vkosmirak
Number:rdar://46095080 Date Originated:November 15 2018, 5:20 PM
Status:Open Resolved:
Product:iPad Product Version:iOS 11.2.6, 11.4.1, 12.0.0
Classification:Crash Reproducible:Occasionally
 
Area: 
WebKit

Environment: 
iPad 
iOS 11.2.6, 11.4.1, 12.0.0

Summary: 
Fantom rare crash (0.01%) happens inside WKWebView for our users (through Crashlitic). Not able to reproduce in debug mode.
```
#0. Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x180960910 objc_msgSend + 16
1  WebKit                         0x1914b5aac __57-[WKWebView _addUpdateVisibleContentRectPreCommitHandler]_block_invoke + 32
2  QuartzCore                     0x1858b4650 CA::Transaction::run_commit_handlers(CATransactionPhase) + 64
3  QuartzCore                     0x18588cd08 CA::Context::commit_transaction(CA::Transaction*) + 1920
4  QuartzCore                     0x1858b41b0 CA::Transaction::commit() + 580
5  QuartzCore                     0x1858b5030 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
6  CoreFoundation                 0x18173a910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
7  CoreFoundation                 0x181738238 __CFRunLoopDoObservers + 412
8  CoreFoundation                 0x181738884 __CFRunLoopRun + 1436
9  CoreFoundation                 0x181658da8 CFRunLoopRunSpecific + 552
10 GraphicsServices               0x18363e020 GSEventRunModal + 100
11 UIKit                          0x18b678758 UIApplicationMain + 236
12 OCE                            0x100c36d50 main (main.swift:29)
13 libdyld.dylib                  0x1810e9fc0 start + 4
```


Steps to reproduce: 
None. Happens occasionally

Attachment:
Full crash logs


==============

Apple Response: Engineering has requested the following information regarding your bug report: Please attach a sysdiagnose focused on Safari while reproducing the issue Hold (Vol Up + Vol Down + Sleep / Wake) for 2 seconds and release. A short vibration should confirm that the sysdiagnose was triggered. Also do you have a repro case? Thank you.

Reporter response: Hello, Thanks for response. Unfortunately we don't have access to end users to be able to get sysdiagnose. And we have no steps to reproduce. This crash happened few times per 90 days in Crashlytics. Stacktraces looks not informative. Is it anything else I can help? Thanks in advance

Reporter notes: This is reported in https://bugs.webkit.org/show_bug.cgi?id=191689

Comments

Internal ticket OCE-20827

By vkosmirak at Jan. 4, 2019, 2:53 p.m. (reply...)

Last update

Apple Response: Engineering has requested the following information regarding your bug report: Please attach a sysdiagnose focused on Safari while reproducing the issue Hold (Vol Up + Vol Down + Sleep / Wake) for 2 seconds and release. A short vibration should confirm that the sysdiagnose was triggered. Also do you have a repro case? Thank you.

Reporter response: Hello, Thanks for response. Unfortunately we don't have access to end users to be able to get sysdiagnose. And we have no steps to reproduce. This crash happened few times per 90 days in Crashlytics. Stacktraces looks not informative. Is it anything else I can help? Thanks in advance

Reporter notes: This is reported in https://bugs.webkit.org/show_bug.cgi?id=191689


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!