<?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>224151</bug_id>
          
          <creation_ts>2021-04-03 09:33:42 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: unifiedTextCheckerEnabled() when searching for &quot;mdn text&quot; on google.com</short_desc>
          <delta_ts>2023-06-22 13:59:56 -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>HTML Editing</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 10.15</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Tyler Wilcock">twilco.o</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>megan_gardner</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1746784</commentid>
    <comment_count>0</comment_count>
    <who name="Tyler Wilcock">twilco.o</who>
    <bug_when>2021-04-03 09:33:42 -0700</bug_when>
    <thetext>Steps to reproduce the crash:

0. `Tools/Scripts/build-webkit --debug` (2019 MBP, macOS 10.15.7)
1. `Tools/scripts/run-minibrowser --debug`
2. Go to google.com via the address bar
3. Type &quot;mdn text&quot; into the search box and press enter.

ASSERTION FAILED: unifiedTextCheckerEnabled()
./editing/Editor.cpp(2694) : void WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges(OptionSet&lt;WebCore::TextCheckingType&gt;, const Optional&lt;WebCore::SimpleRange&gt; &amp;, const Optional&lt;WebCore::SimpleRange&gt; &amp;, const Optional&lt;WebCore::SimpleRange&gt; &amp;)
1   0x47fdeb0a9 WTFCrash
2   0x4608fa24b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x463b97f10 WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges(WTF::OptionSet&lt;WebCore::TextCheckingType&gt;, WTF::Optional&lt;WebCore::SimpleRange&gt; const&amp;, WTF::Optional&lt;WebCore::SimpleRange&gt; const&amp;, WTF::Optional&lt;WebCore::SimpleRange&gt; const&amp;)
4   0x463b2e2a1 WebCore::AlternativeTextController::timerFired()
5   0x463b542d7 decltype(*(std::__1::forward&lt;WebCore::AlternativeTextController*&amp;&gt;(fp0)).*fp()) std::__1::__invoke&lt;void (WebCore::AlternativeTextController::*&amp;)(), WebCore::AlternativeTextController*&amp;, void&gt;(void (WebCore::AlternativeTextController::*&amp;)(), WebCore::AlternativeTextController*&amp;)
6   0x463b54250 std::__1::__bind_return&lt;void (WebCore::AlternativeTextController::*)(), std::__1::tuple&lt;WebCore::AlternativeTextController*&gt;, std::__1::tuple&lt;&gt;, __is_valid_bind_return&lt;void (WebCore::AlternativeTextController::*)(), std::__1::tuple&lt;WebCore::AlternativeTextController*&gt;, std::__1::tuple&lt;&gt; &gt;::value&gt;::type std::__1::__apply_functor&lt;void (WebCore::AlternativeTextController::*)(), std::__1::tuple&lt;WebCore::AlternativeTextController*&gt;, 0ul, std::__1::tuple&lt;&gt; &gt;(void (WebCore::AlternativeTextController::*&amp;)(), std::__1::tuple&lt;WebCore::AlternativeTextController*&gt;&amp;, std::__1::__tuple_indices&lt;0ul&gt;, std::__1::tuple&lt;&gt;&amp;&amp;)
7   0x463b54209 std::__1::__bind_return&lt;void (WebCore::AlternativeTextController::*)(), std::__1::tuple&lt;WebCore::AlternativeTextController*&gt;, std::__1::tuple&lt;&gt;, __is_valid_bind_return&lt;void (WebCore::AlternativeTextController::*)(), std::__1::tuple&lt;WebCore::AlternativeTextController*&gt;, std::__1::tuple&lt;&gt; &gt;::value&gt;::type std::__1::__bind&lt;void (WebCore::AlternativeTextController::*&amp;)(), WebCore::AlternativeTextController*&gt;::operator()&lt;&gt;()
8   0x463b5418e WTF::Detail::CallableWrapper&lt;std::__1::__bind&lt;void (WebCore::AlternativeTextController::*&amp;)(), WebCore::AlternativeTextController*&gt;, void&gt;::call()
9   0x46090eac2 WTF::Function&lt;void ()&gt;::operator()() const
10  0x46094b1de WebCore::Timer::fired()
11  0x4649f49f4 WebCore::ThreadTimers::sharedTimerFiredInternal()
12  0x4649ff151 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const
13  0x4649ff0de WTF::Detail::CallableWrapper&lt;WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0, void&gt;::call()
14  0x46090eac2 WTF::Function&lt;void ()&gt;::operator()() const
15  0x4649ab45b WebCore::MainThreadSharedTimer::fired()
16  0x464a7b556 WebCore::timerFired(__CFRunLoopTimer*, void*)
17  0x7fff30b0b7f9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
18  0x7fff30b0b35f __CFRunLoopDoTimer
19  0x7fff30b0ae47 __CFRunLoopDoTimers
20  0x7fff30aefbea __CFRunLoopRun
21  0x7fff30aeee3e CFRunLoopRunSpecific
22  0x7fff3318a1d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
23  0x7fff3323cc7f -[NSRunLoop(NSRunLoop) run]
24  0x7fff6add54ea _xpc_objc_main.cold.4
25  0x7fff6add5430 _xpc_objc_main
26  0x7fff6add4f63 _xpc_copy_xpcservice_dictionary
27  0x450d511c8 WebKit::XPCServiceMain(int, char const**)
28  0x4523d452b WKXPCServiceMain
29  0x10c8b4ea2 main
30  0x7fff6ab87cc9 start
2021-04-03 11:10:41.728 MiniBrowser[25543:4294912] WebContent process crashed; reloading</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748011</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-04-07 12:18:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/76359781&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1963136</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-06-22 13:56:36 -0700</bug_when>
    <thetext>Chris, have you fixed this in bug 258356?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1963137</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-06-22 13:59:56 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #2)
&gt; Chris, have you fixed this in bug 258356?

Seems likely but we should verify.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>