<?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>289741</bug_id>
          
          <creation_ts>2025-03-13 15:33:19 -0700</creation_ts>
          <short_desc>REGRESSION(292104@main): ASSERTION FAILED: m_ptr in WTF::Ref&lt;WTF::Thread&gt;::ptr() const under SliderThumbElement::setPositionFromPoint for fast/forms/range/range-type-change-oninput.html</short_desc>
          <delta_ts>2025-03-16 17:54:15 -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>New Bugs</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=289672</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>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2103089</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-03-13 15:33:19 -0700</bug_when>
    <thetext>fast/forms/range/range-type-change-oninput.html is crashing for debug builds.

History:
  https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fforms%2Frange%2Frange-type-change-oninput.html&amp;style=debug

Log:
  https://build.webkit.org/results/Apple-Sequoia-Debug-WK1-Tests/292106@main%20(1349)/fast/forms/range/range-type-change-oninput-crash-log.txt

ASSERTION FAILED: m_ptr
/Volumes/Data/worker/Apple-Sequoia-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/Ref.h(134) : T *WTF::Ref&lt;WTF::Thread&gt;::ptr() const [T = WTF::Thread, _PtrTraits = WTF::RawPtrTraits&lt;WTF::Thread&gt;, RefDerefTraits = WTF::DefaultRefDerefTraits&lt;WTF::Thread&gt;]
1   0x167ad6d86 WTF::Ref&lt;WTF::Thread, WTF::RawPtrTraits&lt;WTF::Thread&gt;, WTF::DefaultRefDerefTraits&lt;WTF::Thread&gt;&gt;::ptr() const
2   0x167ba1261 WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;::assertThread() const
3   0x167ba1499 WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;::operator--()
4   0x167ba1424 WTF::CanMakeCheckedPtrBase&lt;WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;, unsigned int, (WTF::DefaultedOperatorEqual)0&gt;::decrementCheckedPtrCount() const
5   0x16b9203bf WTF::CheckedPtr&lt;WebCore::RenderBox, WTF::RawPtrTraits&lt;WebCore::RenderBox&gt;&gt;::derefIfNotNull()
6   0x16b920375 WTF::CheckedPtr&lt;WebCore::RenderBox, WTF::RawPtrTraits&lt;WebCore::RenderBox&gt;&gt;::~CheckedPtr()
7   0x16b8de475 WTF::CheckedPtr&lt;WebCore::RenderBox, WTF::RawPtrTraits&lt;WebCore::RenderBox&gt;&gt;::~CheckedPtr()
8   0x16cffd163 WebCore::SliderThumbElement::setPositionFromPoint(WebCore::LayoutPoint const&amp;)
9   0x16cffc7ce WebCore::SliderThumbElement::dragFrom(WebCore::LayoutPoint const&amp;)
10  0x16ce2dd67 WebCore::RangeInputType::handleMouseDownEvent(WebCore::MouseEvent&amp;)
11  0x16cc934b9 WebCore::HTMLInputElement::defaultEventHandler(WebCore::Event&amp;)
12  0x16c7da8fb WebCore::callDefaultEventHandlersInBubblingOrder(WebCore::Event&amp;, WebCore::EventPath const&amp;)
13  0x16c7d9f26 WebCore::EventDispatcher::dispatchEvent(WebCore::Node&amp;, WebCore::Event&amp;)
14  0x16c88db3d WebCore::Node::dispatchEvent(WebCore::Event&amp;)
15  0x16c76c094 WebCore::Element::dispatchMouseEvent(WebCore::PlatformMouseEvent const&amp;, WTF::AtomString const&amp;, int, WebCore::Element*, WebCore::IsSyntheticClick)
16  0x16d7662a1 WebCore::EventHandler::dispatchMouseEvent(WTF::AtomString const&amp;, WebCore::Node*, int, WebCore::PlatformMouseEvent const&amp;, WebCore::EventHandler::FireMouseOverOut)
17  0x16d76596f WebCore::EventHandler::handleMousePressEvent(WebCore::PlatformMouseEvent const&amp;)
18  0x169b90be1 WebCore::EventHandler::mouseDown(NSEvent*, NSEvent*)
19  0x1108a0ae8 -[WebHTMLView mouseDown:]
20  0x10921f437 -[EventSendingController mouseDown:withModifiers:]
21  0x7ff808c7b79c __invoking___
22  0x7ff808c7b655 -[NSInvocation invoke]
23  0x1681c3c43 JSC::Bindings::ObjcInstance::invokeObjcMethod(JSC::JSGlobalObject*, JSC::CallFrame*, JSC::Bindings::ObjcMethod*)
24  0x1681c321f JSC::Bindings::ObjcInstance::invokeMethod(JSC::JSGlobalObject*, JSC::CallFrame*, JSC::RuntimeMethod*)
25  0x16bb8f7b7 JSC::callRuntimeMethod(JSC::JSGlobalObject*, JSC::CallFrame*)
26  0x188e48207 25  ???                                 0x0000000188e48207 0x0 + 6591644167
27  0x11fd9c11b jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__934_callHelper__dispatch_LowLevelInterpreter64_asm_2535
28  0x11fd9acdf jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__916_callHelper__dispatch_LowLevelInterpreter64_asm_2535
29  0x11fd72dba llint_call_javascript
30  0x11eb93a97 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::JSGlobalObject*, JSC::JSObject*)
31  0x11eee91eb JSC::evaluate(JSC::JSGlobalObject*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103656</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-03-16 15:37:38 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/42553</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103665</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-16 17:53:56 -0700</bug_when>
    <thetext>Committed 292254@main (40e926fbb105): &lt;https://commits.webkit.org/292254@main&gt;

Reviewed commits have been landed. Closing PR #42553 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103666</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-16 17:54:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/147182494&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>