<?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>267878</bug_id>
          
          <creation_ts>2024-01-22 13:42:19 -0800</creation_ts>
          <short_desc>REGRESSION(273148@main): Crash on veggiegrill.com</short_desc>
          <delta_ts>2024-01-22 14:51:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>sabouhallawa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2006647</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-01-22 13:42:19 -0800</bug_when>
    <thetext>In debug, we hit the following assertion, and we crash in release builds.

ASSERTION FAILED: m_image
/Volumes/Data/safari-2/OpenSource/Source/WebCore/loader/ImageLoader.cpp(350) : void WebCore::ImageLoader::updateFromElementIgnoringPreviousErrorToSameValue()
1   0x137e2ad30 WTFCrash
2   0x282e09acc WebCore::AudioProcessingEvent::AudioProcessingEvent(WTF::AtomString const&amp;, WebCore::AudioProcessingEventInit&amp;&amp;)
3   0x284a923cc WebCore::ImageLoader::updateFromElementIgnoringPreviousErrorToSameValue()
4   0x284279460 WebCore::HTMLImageElement::attributeChanged(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;, WebCore::Element::AttributeModificationReason)
5   0x283d83450 WebCore::Element::notifyAttributeChanged(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;, WebCore::Element::AttributeModificationReason)
6   0x283d95010 WebCore::Element::didModifyAttribute(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;)
7   0x283d82b4c WebCore::Element::setAttributeInternal(unsigned int, WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WebCore::Element::InSynchronizationOfLazyAttribute)
8   0x283d830f8 WebCore::Element::setAttributeWithoutSynchronization(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;)
9   0x2811faa50 WebCore::setJSHTMLImageElement_srcSetter(JSC::JSGlobalObject&amp;, WebCore::JSHTMLImageElement&amp;, JSC::JSValue)::&apos;lambda&apos;()::operator()() const
10  0x2811faa00 void WebCore::invokeFunctorPropagatingExceptionIfNecessary&lt;WebCore::setJSHTMLImageElement_srcSetter(JSC::JSGlobalObject&amp;, WebCore::JSHTMLImageElement&amp;, JSC::JSValue)::&apos;lambda&apos;()&gt;(JSC::JSGlobalObject&amp;, JSC::ThrowScope&amp;, WebCore::setJSHTMLImageElement_srcSetter(JSC::JSGlobalObject&amp;, WebCore::JSHTMLImageElement&amp;, JSC::JSValue)::&apos;lambda&apos;()&amp;&amp;)
11  0x2811fa994 WebCore::setJSHTMLImageElement_srcSetter(JSC::JSGlobalObject&amp;, WebCore::JSHTMLImageElement&amp;, JSC::JSValue)
12  0x2810fd218 bool WebCore::IDLAttribute&lt;WebCore::JSHTMLImageElement&gt;::set&lt;&amp;WebCore::setJSHTMLImageElement_srcSetter(JSC::JSGlobalObject&amp;, WebCore::JSHTMLImageElement&amp;, JSC::JSValue), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, long long, long long, JSC::PropertyName)
13  0x2810fd0e4 WebCore::setJSHTMLImageElement_src(JSC::JSGlobalObject*, long long, long long, JSC::PropertyName)
14  0x139bcc2d0 WTF::FunctionPtr&lt;(WTF::PtrTag)28258, bool (JSC::JSGlobalObject*, long long, long long, JSC::PropertyName), (WTF::FunctionAttributes)1&gt;::operator()(JSC::JSGlobalObject*, long long, long long, JSC::PropertyName) const
15  0x139cd546c JSC::JSObject::putInlineSlow(JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
16  0x139320ba8 JSC::JSObject::putInlineForJSObject(JSC::JSCell*, JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
17  0x139e15544 JSC::JSCell::putInline(JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
18  0x139322e10 JSC::JSValue::putInline(JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
19  0x139915f64 llint_slow_path_put_by_id

&lt;rdar://121376760&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2006649</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-01-22 13:49:20 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/23064</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2006670</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-01-22 14:51:01 -0800</bug_when>
    <thetext>Committed 273321@main (18063444ac99): &lt;https://commits.webkit.org/273321@main&gt;

Reviewed commits have been landed. Closing PR #23064 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>