Bug 232321

Summary: [ Windows EWS ] imported/mozilla/svg/viewBox-and-pattern-03.svg is a flaky crash in computeSHA1HashStringForBitmapContext
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, ap, ehutchison, pvollan, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Crash Log none

Description Eric Hutchison 2021-10-26 11:15:41 PDT
Created attachment 442510 [details]
Crash Log

imported/mozilla/svg/viewBox-and-pattern-03.svg

is a flaky crash on Windows EWS

History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fmozilla%2Fsvg%2FviewBox-and-pattern-03.svg&platform=win

Build: https://ews-build.webkit.org/#/builders/10/builds/111462

Results: https://ews-build.s3-us-west-2.amazonaws.com/Windows-EWS/r442490-111462-rerun/results.html

Crash Log (attached): https://ews-build.s3-us-west-2.amazonaws.com/Windows-EWS/r442490-111462-rerun/imported/mozilla/svg/viewBox-and-pattern-03-crash-log.txt

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify checksum for C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\bin64\WebKit.dll
*** WARNING: Unable to verify checksum for C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\bin64\WTF.dll
*** WARNING: Unable to verify checksum for C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\bin64\DumpRenderTree.exe
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Common Files\Apple\Apple Application Support\CoreFoundation.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Common Files\Apple\Apple Application Support\CFNetwork.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Common Files\Apple\Apple Application Support\pthreadVC2.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Common Files\Apple\Apple Application Support\libdispatch.dll - 
*** WARNING: Unable to verify checksum for C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\bin64\JavaScriptCore.dll

KEY_VALUES_STRING: 1


STACKHASH_ANALYSIS: 1

TIMELINE_ANALYSIS: 1

Timeline: !analyze.Start
    Name: <blank>
    Time: 2021-10-26T16:25:45.489Z
    Diff: 510 mSec

Timeline: Dump.Current
    Name: <blank>
    Time: 2021-10-26T16:25:46.0Z
    Diff: 0 mSec

Timeline: Process.Start
    Name: <blank>
    Time: 2021-10-26T16:21:05.0Z
    Diff: 281000 mSec

Timeline: OS.Boot
    Name: <blank>
    Time: 2021-10-20T00:41:16.0Z
    Diff: 575070000 mSec


DUMP_CLASS: 2

DUMP_QUALIFIER: 0

FAULTING_IP: 
DumpRenderTreeLib!computeSHA1HashStringForBitmapContext+2b [C:\cygwin\home\buildbot\worker\Windows-EWS\build\Tools\DumpRenderTree\cg\PixelDumpSupportCG.cpp @ 75]
00007ff8`f6bb1ecb 488b5910        mov     rbx,qword ptr [rcx+10h]

EXCEPTION_RECORD:  (.exr -1)
.exr -1
ExceptionAddress: 00007ff8f6bb1ecb (DumpRenderTreeLib!computeSHA1HashStringForBitmapContext+0x000000000000002b)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000010
Attempt to read from address 0000000000000010

FAULTING_THREAD:  00001d10

DEFAULT_BUCKET_ID:  NULL_CLASS_PTR_READ

FOLLOWUP_IP: 
DumpRenderTreeLib!computeSHA1HashStringForBitmapContext+2b [C:\cygwin\home\buildbot\worker\Windows-EWS\build\Tools\DumpRenderTree\cg\PixelDumpSupportCG.cpp @ 75]
00007ff8`f6bb1ecb 488b5910        mov     rbx,qword ptr [rcx+10h]

READ_ADDRESS:  0000000000000010 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000000000000010


I don't have a platform to attempt local reproduction.
Comment 1 Radar WebKit Bug Importer 2021-10-26 11:17:04 PDT
<rdar://problem/84672226>
Comment 2 Eric Hutchison 2021-10-26 11:19:59 PDT
Updated test expectations at https://trac.webkit.org/changeset/284882/webkit
Comment 3 Alexey Proskuryakov 2021-10-28 10:32:33 PDT
> History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fmozilla%2Fsvg%2FviewBox-and-pattern-03.svg&platform=win

So looks like this only happens on EWS on this test.