<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>255624</bug_id>
          
          <creation_ts>2023-04-18 13:57:17 -0700</creation_ts>
          <short_desc>REGRESSION: [Win] GPUProcess is randomly crasing for some WebGL tests: RELEASE_ASSERT(::IsWindow(m_runLoopMessageWindow))</short_desc>
          <delta_ts>2023-05-24 12:45:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=215812</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1949568</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-18 13:57:17 -0700</bug_when>
    <thetext>REGRESSION: [Win] GPUProcess is randomly crasing for some WebGL tests

This crashes are happening only on WinCairo-64-bit-Release-Tests.
This isn&apos;t reproducible on my PC and the internal Jenkins WinCairo tester.

263066@main https://build.webkit.org/#/builders/728/builds/686

  webgl/2.0.y/conformance/programs/invalid-UTF-16.html [ Crash ]
  webgl/2.0.y/conformance/programs/program-handling.html [ Crash ]
  webgl/2.0.y/conformance/programs/program-infolog.html [ Crash ]
  webgl/2.0.y/conformance/programs/program-test.html [ Crash ]
  webgl/2.0.y/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html [ Crash ]
  webgl/2.0.y/conformance/reading/fbo-remains-unchanged-after-read-pixels.html [ Crash ]
  webgl/2.0.y/conformance/reading/read-pixels-pack-alignment.html [ Crash ]
  webgl/2.0.y/conformance/reading/read-pixels-test.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/depth-renderbuffer-initialization.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/feedback-loop.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/framebuffer-state-restoration.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/renderbuffer-initialization.html [ Crash ]

263068@main https://build.webkit.org/#/builders/728/builds/687

  webgl/2.0.y/conformance/renderbuffers/framebuffer-state-restoration.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/renderbuffer-initialization.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/stencil-renderbuffer-initialization.html [ Crash ]
  webgl/2.0.y/conformance/rendering/bind-framebuffer-flush-bug.html [ Crash ]
  webgl/2.0.y/conformance/rendering/blending.html [ Crash ]
  webgl/2.0.y/conformance/rendering/canvas-alpha-bug.html [ Crash ]
  webgl/2.0.y/conformance/rendering/clear-after-copyTexImage2D.html [ Crash ]
  webgl/2.0.y/conformance/rendering/clear-default-framebuffer-with-scissor-test.html [ Crash ]
  webgl/2.0.y/conformance/rendering/color-mask-preserved-during-implicit-clears.html [ Crash ]
  webgl/2.0.y/conformance/rendering/color-mask-should-not-affect-antialiased-framebuffer-resolution.html [ Crash ]
  webgl/2.0.y/conformance/rendering/culling.html [ Crash ]
  webgl/2.0.y/conformance/rendering/default-texture-draw-bug.html [ Crash ]

263069@main https://build.webkit.org/#/builders/728/builds/688

  webgl/2.0.y/conformance/reading/read-pixels-pack-alignment.html [ Crash ]
  webgl/2.0.y/conformance/reading/read-pixels-test.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/depth-renderbuffer-initialization.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/feedback-loop.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/framebuffer-state-restoration.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/renderbuffer-initialization.html [ Crash ]
  webgl/2.0.y/conformance/renderbuffers/stencil-renderbuffer-initialization.html [ Crash ]
  webgl/2.0.y/conformance/rendering/bind-framebuffer-flush-bug.html [ Crash ]
  webgl/2.0.y/conformance/rendering/blending.html [ Crash ]
  webgl/2.0.y/conformance/rendering/canvas-alpha-bug.html [ Crash ]
  webgl/2.0.y/conformance/rendering/clear-after-copyTexImage2D.html [ Crash ]
  webgl/2.0.y/conformance/rendering/clear-default-framebuffer-with-scissor-test.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949571</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-18 14:07:28 -0700</bug_when>
    <thetext>https://build.webkit.org/results/WinCairo-64-bit-Release-Tests/263066@main%20(686)/CrashLog_1cfc_2023-04-18_03-36-03-092.txt

#  7  Id: 3b44.3270 Suspend: 1 Teb: 00000011`35ae8000 Unfrozen
 # Child-SP          RetAddr           Call Site
00 00000011`362ff9d0 00007ffd`90241919 WTF!WTFCrash(void)+0x43 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\Assertions.cpp @ 327]
01 00000011`362ffb30 00007ffd`902c6507 WTF!WTFCrashWithSecurityImplication(void)+0x9 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\Assertions.cpp @ 733]
02 00000011`362ffb60 00007ffd`9026d0b5 WTF!WTF::RunLoop::RunLoop(void)+0x1b7 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\win\RunLoopWin.cpp @ 109]
03 (Inline Function) --------`-------- WTF!WTF::RunLoop::Holder::{ctor}+0x17 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\RunLoop.cpp @ 46]
04 (Inline Function) --------`-------- WTF!WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::Data::{ctor}+0x38 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\ThreadSpecific.h @ 94]
05 (Inline Function) --------`-------- WTF!WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::set+0x51 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\ThreadSpecific.h @ 195]
06 (Inline Function) --------`-------- WTF!WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::operator class WTF::RunLoop::Holder *+0x73 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\ThreadSpecific.h @ 211]
07 (Inline Function) --------`-------- WTF!WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::operator-&gt;+0x73 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\ThreadSpecific.h @ 217]
08 00000011`362ffc30 00007ffd`9026ce5e WTF!WTF::RunLoop::current(void)+0x85 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\RunLoop.cpp @ 79]
09 (Inline Function) --------`-------- WTF!WTF::RunLoop::create::__l2::&lt;lambda_1&gt;::operator()+0x5 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\RunLoop.cpp @ 112]
0a 00000011`362ffc60 00007ffd`902711af WTF!WTF::Detail::CallableWrapper&lt;`WTF::RunLoop::create&apos;::`2&apos;::&lt;lambda_1&gt;,void&gt;::call(void)+0xe [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\Function.h @ 53]
0b (Inline Function) --------`-------- WTF!WTF::Function&lt;void __cdecl+0x9 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\Function.h @ 82]
0c 00000011`362ffc90 00007ffd`902c76e9 WTF!WTF::Thread::entryPoint(struct WTF::Thread::NewThreadContext * newThreadContext = 0x00000205`a9be16c0)+0xbf [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\Threading.cpp @ 250]
0d 00000011`362ffcf0 00007ffd`9e091ffa WTF!WTF::wtfThreadEntryPoint(void * data = &lt;Value unavailable error&gt;)+0x9 [C:\BW\WinCairo-64-bit-Release-Build\build\Source\WTF\wtf\win\ThreadingWin.cpp @ 151]
0e 00000011`362ffd20 00007ffd`9e8c7974 ucrtbase!o_exp+0x5a
0f 00000011`362ffd50 00007ffd`c6b7a271 KERNEL32!BaseThreadInitThunk+0x14
10 00000011`362ffd80 00000000`00000000 ntdll!RtlUserThreadStart+0x21

&gt; RELEASE_ASSERT(::IsWindow(m_runLoopMessageWindow));
https://github.com/WebKit/WebKit/blob/main/Source/WTF/wtf/win/RunLoopWin.cpp#L109&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949941</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-19 20:18:48 -0700</bug_when>
    <thetext>WinCairo-64-bit-Debug-Tests is also crashing.
263077@main
https://build.webkit.org/#/builders/727/builds/20138

ASSERTION FAILED: ::IsWindow(m_runLoopMessageWindow)
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WTF\wtf\win\RunLoopWin.cpp(109) : WTF::RunLoop::RunLoop
1   00007FFC154B249B WTFCrash
2   00007FFC154B76BD WTFCrashWithInfo
3   00007FFC1564B57F WTF::RunLoop::RunLoop
4   00007FFC15562C3B WTF::RunLoop::Holder::Holder
5   00007FFC15562B8C WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::Data::Data
6   00007FFC155654A7 WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::set
7   00007FFC155632A2 WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::operator WTF::RunLoop::Holder *
8   00007FFC155633C4 WTF::ThreadSpecific&lt;WTF::RunLoop::Holder,0&gt;::operator-&gt;
9   00007FFC15560103 WTF::RunLoop::current
10  00007FFC15560A5F `WTF::RunLoop::create&apos;::`2&apos;::&lt;lambda_1&gt;::operator()
11  00007FFC15560CFB WTF::Detail::CallableWrapper&lt;`WTF::RunLoop::create&apos;::`2&apos;::&lt;lambda_1&gt;,void&gt;::call
12  00007FFC154CA4F3 WTF::Function&lt;void __cdecl(void)&gt;::operator()
13  00007FFC1556FE18 WTF::Thread::entryPoint
14  00007FFC1564D314 WTF::wtfThreadEntryPoint
15  00007FFC0A001FFA o_exp
16  00007FFC0B8F7974 BaseThreadInitThunk
17  00007FFC26DAA271 RtlUserThreadStart
ASSERTION FAILED: m_maxTransformFeedbackSeparateAttribs &gt;= 4
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebCore\html/canvas/WebGL2RenderingContext.cpp(163) : WebCore::WebGL2RenderingContext::initializeNewContext
1   00007FFC154B249B WTFCrash
2   00007FFBD3E0318E WTFCrashWithInfo
3   00007FFBD6FF9382 WebCore::WebGL2RenderingContext::initializeNewContext
4   00007FFBD6FE431D WebCore::WebGL2RenderingContext::create
5   00007FFBD703270A WebCore::WebGLRenderingContextBase::create
6   00007FFBD6E24B0C WebCore::HTMLCanvasElement::createContextWebGL
7   00007FFBD6E23FDD WebCore::HTMLCanvasElement::getContext
8   00007FFBD49CA1AE WebCore::jsHTMLCanvasElementPrototypeFunction_getContextBody
9   00007FFBD49D3965 WebCore::IDLOperation&lt;WebCore::JSHTMLCanvasElement&gt;::call&lt;&amp;WebCore::jsHTMLCanvasElementPrototypeFunction_getContextBody,0&gt;
10  00007FFBD49C88B5 WebCore::jsHTMLCanvasElementPrototypeFunction_getContext
11  00000264000014DE (null)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949948</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-19 21:29:38 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12955</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950158</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-20 14:03:54 -0700</bug_when>
    <thetext>Committed 263194@main (a44713b31e56): &lt;https://commits.webkit.org/263194@main&gt;

Reviewed commits have been landed. Closing PR #12955 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950159</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-20 14:04:27 -0700</bug_when>
    <thetext>&lt;rdar://problem/108337242&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950594</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-22 15:22:05 -0700</bug_when>
    <thetext>Still crashing. Reopened.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950872</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-24 14:37:00 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13118</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950878</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-24 14:53:14 -0700</bug_when>
    <thetext>Committed 263338@main (f9f73906842f): &lt;https://commits.webkit.org/263338@main&gt;

Reviewed commits have been landed. Closing PR #13118 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950962</commentid>
    <comment_count>9</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-25 00:58:06 -0700</bug_when>
    <thetext>Regressed: Bug 255908 – REGRESSION(263338@main) [Win] JSTests/stress/settimeout-starvation.js is timing out</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951429</commentid>
    <comment_count>10</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-26 13:37:40 -0700</bug_when>
    <thetext>OMG. This is happening again after 263401@main. Reopen.

Buildbot: builder WinCairo-64-bit-Debug-Tests build 20176: 263405@main
https://build.webkit.org/#/builders/727/builds/20176

Regressions: Unexpected crashes (7)
  webgl/pending/conformance/context/context-attributes-alpha-depth-stencil-antialias.html [ Crash ]
  webgl/pending/conformance/glsl/misc/shader-with-reserved-words-2.html [ Crash ]
  webgl/pending/conformance2/glsl3/empty-shader-with-output.html [ Crash ]
  webgl/pending/conformance2/glsl3/float-constant-expressions.html [ Crash ]
  webgl/pending/conformance2/misc/webgl2-after-webgl1-bug.html [ Crash ]
  workers/worker-to-worker.html [ Crash ]
  workers/worker-web-lock-released-on-reload.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957692</commentid>
    <comment_count>11</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-05-24 12:45:42 -0700</bug_when>
    <thetext>264465@main (bug#249769) fixed the problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>