Bug 263396

Summary: REGRESSION (269504@main): [ iOS17, Sonoma wk2 ] css3/color/text.html is crashing
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Marta Darbinyan 2023-10-19 13:10:42 PDT
Description:
css3/color/text.html is currently crashing on iOS17 and Sonoma macOS on ToT starting on 269504@main.

This issue can be bisected to 269504@main by using the command: 
run-webkit-tests --release --iterations=1 css3/color/text.html

Verified 
269504@main - FAIL
269504@main - PASS

History:
https://results.webkit.org/?suite=layout-tests&test=css3%2Fcolor%2Ftext.html&version_name=Sonoma&version_name=iOS%2017

Link: https://build.webkit.org/results/Apple-Sonoma-Release-AppleSilicon-WK2-Tests/269524@main%20(357)/css3/color/text-crash-log.txt


Crash Log:
stdout:
layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,10) size 784x580
      RenderBlock {P} at (0,0) size 784x18
        RenderText {#text} at (0,0) size 176x18
          text run at (0,0) width 176: "This is normal text content."
      RenderBlock {P} at (0,28) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 281x18
          text run at (0,0) width 281: "This is colored text content with old syntax."
      RenderBlock {P} at (0,56) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 281x18
          text run at (0,0) width 281: "This is colored text content with old syntax "
        RenderInline {SPAN} at (0,0) size 121x18 [color=#0000FF]
          RenderText {#text} at (280,0) size 121x18
            text run at (280,0) width 121: "and an inline color"
        RenderText {#text} at (400,0) size 5x18
          text run at (400,0) width 5: "."
      RenderBlock {P} at (0,84) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 304x18
          text run at (0,0) width 304: "This is colored text content with color() syntax."
      RenderBlock {P} at (0,112) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 304x18
          text run at (0,0) width 304: "This is colored text content with color() syntax "
        RenderInline {SPAN} at (0,0) size 121x18 [color=color(srgb 0 0 1)]
          RenderText {#text} at (303,0) size 121x18
            text run at (303,0) width 121: "and an inline color"
        RenderText {#text} at (423,0) size 5x18
          text run at (423,0) width 5: "."
      RenderBlock {P} at (0,140) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 302x18
          text run at (0,0) width 302: "This is underlined text content with old syntax."
      RenderBlock {P} at (0,168) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 281x18
          text run at (0,0) width 281: "This is colored text content with old syntax "
        RenderInline {SPAN} at (0,0) size 121x18 [color=#0000FF]
          RenderText {#text} at (280,0) size 121x18
            text run at (280,0) width 121: "and an inline color"
        RenderText {#text} at (400,0) size 5x18
          text run at (400,0) width 5: "."
      RenderBlock {P} at (0,196) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 325x18
          text run at (0,0) width 325: "This is underlined text content with color() syntax."
      RenderBlock {P} at (0,224) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 304x18
          text run at (0,0) width 304: "This is colored text content with color() syntax "
        RenderInline {SPAN} at (0,0) size 121x18 [color=color(srgb 0 0 1)]
          RenderText {#text} at (303,0) size 121x18
            text run at (303,0) width 121: "and an inline color"
        RenderText {#text} at (423,0) size 5x18
          text run at (423,0) width 5: "."
      RenderBlock {P} at (0,252) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 497x18
          text run at (0,0) width 497: "This is underlined text content with old syntax and a different underline style."
      RenderBlock {P} at (0,280) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 497x18
          text run at (0,0) width 497: "This is underlined text content with old syntax and a different underline style."
      RenderBlock {P} at (0,308) size 784x18 [color=#FF0000]
        RenderText {#text} at (0,0) size 497x18
          text run at (0,0) width 497: "This is underlined text content with old syntax and a different underline style."
      RenderBlock {P} at (0,336) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 521x18
          text run at (0,0) width 521: "This is underlined text content with color() syntax and a different underline style."
      RenderBlock {P} at (0,364) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 521x18
          text run at (0,0) width 521: "This is underlined text content with color() syntax and a different underline style."
      RenderBlock {P} at (0,392) size 784x18 [color=color(srgb 1 0 0)]
        RenderText {#text} at (0,0) size 521x18
          text run at (0,0) width 521: "This is underlined text content with color() syntax and a different underline style."

stderr:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:971: assertion this->has_value() failed: optional operator* called on a disengaged valuecom.apple.WebKit.WebContent.Development terminated (pid 13714) for reason: crash
#CRASHED - com.apple.WebKit.WebContent.Development (pid 13714)
Comment 1 Marta Darbinyan 2023-10-19 13:12:08 PDT
Edited:

Verified:
269504@main - FAIL
269503@main - PASS
Comment 2 Radar WebKit Bug Importer 2023-10-19 13:14:28 PDT
<rdar://problem/117222106>
Comment 3 Marta Darbinyan 2023-10-19 13:40:00 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19298
Comment 4 Marta Darbinyan 2023-10-20 16:47:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19380
Comment 5 EWS 2023-10-20 16:52:43 PDT
Test gardening commit 269604@main (98f62ce7d837): <https://commits.webkit.org/269604@main>

Reviewed commits have been landed. Closing PR #19380 and removing active labels.