Bug 187314 - WebKit.ResponsivenessTimerCrash sometimes fails
Summary: WebKit.ResponsivenessTimerCrash sometimes fails
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-03 19:43 PDT by Brady Eidson
Modified: 2018-07-03 20:46 PDT (History)
4 users (show)

See Also:


Attachments
Patch (3.19 KB, patch)
2018-07-03 19:58 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2018-07-03 19:43:03 PDT
WebKit.ResponsivenessTimerCrash sometimes fails

    TestWebKitAPI.WebKit.ResponsivenessTimerCrash
        2018-07-03 14:46:27.244 TestWebKitAPI[9648:12507315] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7ff537c34a80 of class WKObservablePageState was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x7ff537d0ebc0> (
        <NSKeyValueObservance 0x7ff537d24d20: Observer: 0x7ff537f72c60, Key path: _webProcessIsResponsive, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x7ff537d24d50>
        )'
        *** First throw call stack:
        (
        	0   CoreFoundation                      0x00007fffb760a57b __exceptionPreprocess + 171
        	1   libobjc.A.dylib                     0x00007fffcc86a1da objc_exception_throw + 48
        	2   CoreFoundation                      0x00007fffb7687c55 +[NSException raise:format:] + 197
        	3   Foundation                          0x00007fffb9007384 NSKVODeallocate + 293
        	4   Foundation                          0x00007fffb8fe660b NSKVOPendingNotificationRelease + 202
        	5   CoreFoundation                      0x00007fffb756f150 __CFArrayReleaseValues + 400
        	6   CoreFoundation                      0x00007fffb752ae6f _CFArrayReplaceValues + 479
        	7   Foundation                          0x00007fffb8fe667a NSKeyValuePopPendingNotificationPerThread + 68
        	8   Foundation                          0x00007fffb8fd2c1f NSKeyValueDidChange + 529
        	9   Foundation                          0x00007fffb8fa1ad6 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
        	10  WebKit                              0x00000001079823c7 _ZN6WebKit13PageLoadState20callObserverCallbackEMNS0_8ObserverEFvvE + 137
        	11  WebKit                              0x0000000107ba5e4a _ZN6WebKit15WebProcessProxy21didChangeIsResponsiveEv + 170
        	12  WebKit                              0x00000001079e932c _ZN6WebKit19ResponsivenessTimer10timerFiredEv + 50
                ...
Comment 1 Brady Eidson 2018-07-03 19:58:18 PDT
Created attachment 344258 [details]
Patch
Comment 2 WebKit Commit Bot 2018-07-03 20:45:56 PDT
Comment on attachment 344258 [details]
Patch

Clearing flags on attachment: 344258

Committed r233498: <https://trac.webkit.org/changeset/233498>
Comment 3 WebKit Commit Bot 2018-07-03 20:45:57 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2018-07-03 20:46:17 PDT
<rdar://problem/41805863>