<?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>304644</bug_id>
          
          <creation_ts>2025-12-23 08:28:48 -0800</creation_ts>
          <short_desc>[Debug][GTK] inspector/unit-tests/editing-support.html crashes</short_desc>
          <delta_ts>2026-02-17 03:23:06 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Claudio Saavedra">csaavedra</reporter>
          <assigned_to name="Claudio Saavedra">csaavedra</assigned_to>
          <cc>aboya</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>fujii</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2167955</commentid>
    <comment_count>0</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2025-12-23 08:28:48 -0800</bug_when>
    <thetext>In the bot it looks like a timeout, but it&apos;s actually an assertion crash. For this reason it also crashes (timeouts) in EWS with assertions enabled.

#0  WTFCrash () at ../../../Source/WTF/wtf/Assertions.cpp:380
#1  0x00007ff544800960 in WTFCrashWithInfo () at WTF/Headers/wtf/Assertions.h:985
#2  0x00007ff54c843fa1 in WebCore::VisiblePosition::previous (this=0x7ffc8721f620, rule=WebCore::CanCrossEditingBoundary, reachedBoundary=0x0) at ../../../Source/WebCore/editing/VisiblePosition.cpp:111
#3  0x00007ff54c8406a3 in WebCore::TypingCommand::markMisspellingsAfterTyping (this=0x7ff51e611140, commandType=WebCore::TypingCommand::Type::InsertText) at ../../../Source/WebCore/editing/TypingCommand.cpp:467
#4  0x00007ff54c840b74 in WebCore::TypingCommand::typingAddedToOpenCommand (this=0x7ff51e611140, commandTypeForAddedTyping=WebCore::TypingCommand::Type::InsertText)
    at ../../../Source/WebCore/editing/TypingCommand.cpp:527
#5  0x00007ff54c840f4e in WebCore::TypingCommand::insertTextRunWithoutNewlines (this=0x7ff51e611140, text=..., selectInsertedText=false) at ../../../Source/WebCore/editing/TypingCommand.cpp:563
#6  0x00007ff54c83e8ec in WebCore::TypingCommandLineOperation::operator() (this=0x7ffc8721f840, lineOffset=0, lineLength=6, isLastLine=true) at ../../../Source/WebCore/editing/TypingCommand.cpp:73
#7  0x00007ff54c85d30f in WebCore::forEachLineInString&lt;WebCore::TypingCommandLineOperation&gt; (string=..., operation=...) at ../../../Source/WebCore/editing/TextInsertionBaseCommand.h:60
#8  0x00007ff54c840c2f in WebCore::TypingCommand::insertText (this=0x7ff51e611140, text=..., selectInsertedText=false) at ../../../Source/WebCore/editing/TypingCommand.cpp:540
#9  0x00007ff54c840d30 in WebCore::TypingCommand::insertTextAndNotifyAccessibility (this=0x7ff51e611140, text=..., selectInsertedText=false) at ../../../Source/WebCore/editing/TypingCommand.cpp:548
#10 0x00007ff54c8402f1 in WebCore::TypingCommand::doApply (this=0x7ff51e611140) at ../../../Source/WebCore/editing/TypingCommand.cpp:395
#11 0x00007ff54c720cc6 in WebCore::CompositeEditCommand::apply (this=0x7ff51e611140) at ../../../Source/WebCore/editing/CompositeEditCommand.cpp:418
#12 0x00007ff54c803cb9 in WebCore::TextInsertionBaseCommand::applyTextInsertionCommand (frame=0x7ff51e0614a0, command=..., selectionForInsertion=..., endingSelection=...)
    at ../../../Source/WebCore/editing/TextInsertionBaseCommand.cpp:50
#13 0x00007ff54c83f947 in WebCore::TypingCommand::insertText
    (document=..., text=..., triggeringEvent=0x0, selectionForInsertion=..., options=..., compositionType=WebCore::TypingCommand::TextCompositionType::None)
    at ../../../Source/WebCore/editing/TypingCommand.cpp:274
#14 0x00007ff54c83f53a in WebCore::TypingCommand::insertText (document=..., text=..., triggeringEvent=0x0, options=..., composition=WebCore::TypingCommand::TextCompositionType::None)
    at ../../../Source/WebCore/editing/TypingCommand.cpp:234
#15 0x00007ff54c785565 in WebCore::executeInsertText (frame=..., event=0x0, value=...) at ../../../Source/WebCore/editing/EditorCommand.cpp:539
#16 0x00007ff54c78d94f in WebCore::Editor::Command::execute (this=0x7ffc8721fbf0, parameter=..., triggeringEvent=0x0) at ../../../Source/WebCore/editing/EditorCommand.cpp:1925
#17 0x00007ff54c31e869 in WebCore::Document::execCommand (this=0x7ff51c0c6000, commandName=..., userInterface=false, value=...) at ../../../Source/WebCore/dom/Document.cpp:8010
#18 0x00007ff5483cf6b0 in WebCore::jsDocumentPrototypeFunction_execCommandBody (lexicalGlobalObject=0x7ff51c122088, callFrame=0x7ffc8721fec0, castedThis=0x7ff51e017748)
    at WebCore/DerivedSources/JSDocument.cpp:7003
#19 0x00007ff548403563 in WebCore::IDLOperation&lt;WebCore::JSDocument&gt;::call&lt;WebCore::jsDocumentPrototypeFunction_execCommandBody&gt;
    (lexicalGlobalObject=..., callFrame=..., operationName=0x7ff53a1c628c &quot;execCommand&quot;) at WebCore/PrivateHeaders/WebCore/JSDOMOperation.h:63
#20 0x00007ff5483cf7b9 in WebCore::jsDocumentPrototypeFunction_execCommand (lexicalGlobalObject=0x7ff51c122088, callFrame=0x7ffc8721fec0) at WebCore/DerivedSources/JSDocument.cpp:7008
#21 0x00007ff4db40c038 in ??? ()
#22 0x00007ffc8721ffa0 in ??? ()
#23 0x00007ff53212af1b in llint_op_call_ignore_result () at /host/home/claudio/git/webkit/WebKit/WebKitBuild/GTK/Debug/lib/libjavascriptcoregtk-6.0.so.1
#24 0x0000000000000000 in ??? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167959</commentid>
    <comment_count>1</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2025-12-23 08:54:47 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/55830</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167960</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-12-23 08:58:46 -0800</bug_when>
    <thetext>Test gardening commit 304902@main (8ba7854ee96a): &lt;https://commits.webkit.org/304902@main&gt;

Reviewed commits have been landed. Closing PR #55830 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2182098</commentid>
    <comment_count>3</comment_count>
    <who name="Alicia Boya García">aboya</who>
    <bug_when>2026-02-16 09:08:03 -0800</bug_when>
    <thetext>The crash stopped happening somewhere in 304906@main-304907@main. Removing expectations...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2182340</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-02-17 03:23:06 -0800</bug_when>
    <thetext>inspector/unit-tests/editing-support.html still has a problem.
Alicia submitted a patch removing the marker, GTK-WK2-Tests-EWS reported it timed out with an assertion failure. This is another assertion failure to comment#0.
https://ews-build.webkit.org/#/builders/1/builds/119521

https://ews-build.s3-us-west-2.amazonaws.com/GTK-WK2-Tests-EWS/8bebfbad-119521/inspector/unit-tests/editing-support-stderr.txt

VM 0x7f79ea400000 on pid 1155296 received NeedDebuggerBreak trap
ASSERTION FAILED: inSameLine(upstreamCopy, prev)
../../../Source/WebCore/editing/VisiblePosition.cpp(111) : WebCore::VisiblePosition WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule, bool*) const
1   0x7f7877d1ffe4 WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule, bool*) const
2   0x7f7877d2e073 WebCore::TypingCommand::markMisspellingsAfterTyping(WebCore::TypingCommand::Type)
3   0x7f7877d2e326 WebCore::TypingCommand::typingAddedToOpenCommand(WebCore::TypingCommand::Type)
4   0x7f7877d31f63 WebCore::TypingCommandLineOperation::operator()(unsigned long, unsigned long, bool) const
5   0x7f7877d3258d WebCore::TypingCommand::insertText(WTF::String const&amp;, bool)
6   0x7f7877d3289a WebCore::TypingCommand::insertTextAndNotifyAccessibility(WTF::String const&amp;, bool)
7   0x7f7877bd2776 WebCore::CompositeEditCommand::apply()
8   0x7f7877d3a486 WebCore::TypingCommand::insertText(WTF::Ref&lt;WebCore::Document, WTF::RawPtrTraits&lt;WebCore::Document&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt; &gt;&amp;&amp;, WTF::String const&amp;, WebCore::Event*, WebCore::VisibleSelection const&amp;, WTF::OptionSet&lt;WebCore::TypingCommand::Option, (WTF::ConcurrencyTag)0&gt;, WebCore::TypingCommand::TextCompositionType)
9   0x7f7877c26615 WebCore::executeInsertText(WebCore::LocalFrame&amp;, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&amp;)
10  0x7f7877c33c77 WebCore::Editor::Command::execute(WTF::String const&amp;, WebCore::Event*) const
11  0x7f78779da2dd WebCore::Document::execCommand(WTF::String const&amp;, bool, mpark::variant&lt;WTF::String, WTF::Ref&lt;WebCore::TrustedHTML, WTF::RawPtrTraits&lt;WebCore::TrustedHTML&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::TrustedHTML&gt; &gt; &gt; const&amp;)
12  0x7f78759eca04 WebCore::jsDocumentPrototypeFunction_execCommand(JSC::JSGlobalObject*, JSC::CallFrame*)
13  0x7f7816e0c038 ???

https://ews-build.s3-us-west-2.amazonaws.com/GTK-WK2-Tests-EWS/8bebfbad-119521/inspector/unit-tests/editing-support-actual.txt

FAIL: Timed out waiting for notifyDone to be called

Testing that WI.incrementElementValue works for numeric values.


== Running test suite: WI.incrementElementValue
-- Running test case: incrementElementValue.numeric</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>