Bug 230572 - [ Mac ] TestWebKitAPI.Challenge.DeallocateDuringChallenge flakily crashes under DisplayLink::notifyObserversDisplayWasRefreshed
Summary: [ Mac ] TestWebKitAPI.Challenge.DeallocateDuringChallenge flakily crashes und...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-21 11:52 PDT by Eric Hutchison
Modified: 2022-02-14 09:28 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Hutchison 2021-09-21 11:52:25 PDT
TestWebKitAPI.Challenge.DeallocateDuringChallenge

is a flaky crash on Mac.

History: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.Challenge.DeallocateDuringChallenge

Results: https://ews-build.webkit.org/#/builders/3/builds/55987

Diff:
Crashed
    TestWebKitAPI.Challenge.DeallocateDuringChallenge
        2021-09-21 00:22:00.580 com.apple.WebKit.WebContent.Development[2040:68717] Application does not have permission to communicate with network resources. rc=1 : errno=3
        2021-09-21 00:22:00.580 com.apple.WebKit.WebContent.Development[2042:68724] Application does not have permission to communicate with network resources. rc=1 : errno=3
        2021-09-21 00:22:00.581 com.apple.WebKit.WebContent.Development[2039:68713] Application does not have permission to communicate with network resources. rc=1 : errno=3
        2021-09-21 00:22:00.587 com.apple.WebKit.WebContent.Development[2044:68812] Application does not have permission to communicate with network resources. rc=1 : errno=3
        2021-09-21 00:22:00.587 com.apple.WebKit.WebContent.Development[2047:68850] Application does not have permission to communicate with network resources. rc=1 : errno=3
        2021-09-21 00:22:00.702 com.apple.WebKit.WebContent.Development[2048:68856] Application does not have permission to communicate with network resources. rc=1 : errno=3
        2021-09-21 00:22:00.703 com.apple.WebKit.WebContent.Development[2051:68864] Application does not have permission to communicate with network resources. rc=1 : errno=3
Testing completed, Exit status: 3


Unable to reproduce locally.
Comment 1 Radar WebKit Bug Importer 2021-09-21 11:53:41 PDT
<rdar://problem/83362396>
Comment 3 Alexey Proskuryakov 2021-09-21 17:26:18 PDT
Divide by zero!

Crashed Thread:        14  CVDisplayLink

Exception Type:        EXC_ARITHMETIC (SIGFPE)
Exception Codes:       EXC_I386_DIV (divide by zero)
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Floating point exception: 8
Termination Reason:    Namespace SIGNAL, Code 0x8
Terminating Process:   exc handler [81187]

...

Thread 14 Crashed:: CVDisplayLink
0   com.apple.WebKit              	0x000000010be4fab6 nextUpdate + 10 (DisplayUpdate.h:44) [inlined]
1   com.apple.WebKit              	0x000000010be4fab6 WebKit::DisplayLink::notifyObserversDisplayWasRefreshed() + 302 (DisplayLink.cpp:243)
2   com.apple.WebKit              	0x000000010be4f0f6 WebKit::DisplayLink::displayLinkCallback(__CVDisplayLink*, CVTimeStamp const*, CVTimeStamp const*, unsigned long long, unsigned long long*, void*) + 12 (DisplayLink.cpp:207)
3   com.apple.CoreVideo           	0x00007fff2729114a 0x7fff2728e000 + 12618
4   com.apple.CoreVideo           	0x00007fff27290579 0x7fff2728e000 + 9593
5   libsystem_pthread.dylib       	0x00007fff2034b8fc 0x7fff20345000 + 26876
6   libsystem_pthread.dylib       	0x00007fff20347443 0x7fff20345000 + 9283
Comment 4 Alexey Proskuryakov 2021-09-21 17:26:54 PDT
This probably has nothing to do with this test, and is related to some preceding media one.
Comment 5 Brent Fulgham 2022-02-12 20:23:33 PST
This is actually:
<rdar://76095261>