<?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>212903</bug_id>
          
          <creation_ts>2020-06-08 08:03:09 -0700</creation_ts>
          <short_desc>[ iOS Debug ] REGRESSION (r262685): ASSERTION FAILED: !m_keyEventQueue.isEmpty() in WebKit::WebPageProxy::didReceiveEvent  seen with editing/caret/ios/fixed-caret-position-after-scroll.html</short_desc>
          <delta_ts>2020-07-16 11:43:43 -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>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=212864</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="Jacob Uphoff">jacob_uphoff</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sellyrachmayanti14</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1660209</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-06-08 08:03:09 -0700</bug_when>
    <thetext>editing/caret/ios/fixed-caret-position-after-scroll.html

This test recently because a flaky crash and started around commit r262685 iOS Debug

History:

https://results.webkit.org/?suite=layout-tests&amp;test=editing%2Fcaret%2Fios%2Ffixed-caret-position-after-scroll.html

Crash:

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [6790]

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 000000010403d000-0000000104141000 [ 1040K] r-x/r-x SM=COW  /Users/USER/Library/Developer/CoreSimulator/Devices/2AA1B096-38B4-42DE-8475-9D225A84C0B9/data/Containers/Bundle/Application/11C37290-4919-41B3-A0BC-8EFED8D8B50E/WebKitTestRunnerApp.app/WebKitTestRunnerApp

Application Specific Information:
CRASHING TEST: editing/caret/ios/emoji.html
CoreSimulator 704.12 - Device: Managed 7 (2AA1B096-38B4-42DE-8475-9D225A84C0B9) - Runtime: iOS 13.4 (17E255) - DeviceType: iPhone SE

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000010507652e WTFCrash + 14 (Assertions.cpp:303)
1   com.apple.WebKit              	0x00000001130d887b WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebKit              	0x0000000113eef06c WebKit::WebPageProxy::didReceiveEvent(unsigned int, bool) + 1596 (WebPageProxy.cpp:6948)
3   com.apple.WebKit              	0x0000000114a83a2e void IPC::callMemberFunctionImpl&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned int, bool), std::__1::tuple&lt;unsigned int, bool&gt;, 0ul, 1ul&gt;(WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned int, bool), std::__1::tuple&lt;unsigned int, bool&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;) + 190 (HandleMessage.h:42)
4   com.apple.WebKit              	0x0000000114a83820 void IPC::callMemberFunction&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned int, bool), std::__1::tuple&lt;unsigned int, bool&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt; &gt;(std::__1::tuple&lt;unsigned int, bool&gt;&amp;&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned int, bool)) + 112 (HandleMessage.h:48)
5   com.apple.WebKit              	0x0000000114a6e586 void IPC::handleMessage&lt;Messages::WebPageProxy::DidReceiveEvent, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned int, bool)&gt;(IPC::Decoder&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned int, bool)) + 150 (HandleMessage.h:115)
6   com.apple.WebKit              	0x0000000114a6821e WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 494 (WebPageProxyMessageReceiver.cpp:858)
7   com.apple.WebKit              	0x00000001131ec411 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 305 (MessageReceiverMap.cpp:124)
8   com.apple.WebKit              	0x0000000113d301be WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 46 (AuxiliaryProcessProxy.cpp:210)
9   com.apple.WebKit              	0x0000000113f2beaf WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 47 (WebProcessProxy.cpp:759)
10  com.apple.WebKit              	0x000000011314aa0f IPC::Connection::dispatchMessage(IPC::Decoder&amp;) + 431 (Connection.cpp:1002)
11  com.apple.WebKit              	0x000000011314b340 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 528
12  com.apple.WebKit              	0x0000000113149d50 IPC::Connection::dispatchIncomingMessages() + 1168 (Connection.cpp:1184)
13  com.apple.WebKit              	0x000000011316a5a8 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_7::operator()() + 72 (Connection.cpp:976)
14  com.apple.WebKit              	0x000000011316a4ce WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_7, void&gt;::call() + 30 (Function.h:52)
15  com.apple.JavaScriptCore      	0x00000001050a1cd2 WTF::Function&lt;void ()&gt;::operator()() const + 130 (Function.h:84)
16  com.apple.JavaScriptCore      	0x000000010511b178 WTF::RunLoop::performWork() + 280 (RunLoop.cpp:120)
17  com.apple.JavaScriptCore      	0x000000010511c921 WTF::RunLoop::performWork(void*) + 33 (RunLoopCF.cpp:39)
18  com.apple.CoreFoundation      	0x000000010c055c71 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19  com.apple.CoreFoundation      	0x000000010c055b9c __CFRunLoopDoSource0 + 76
20  com.apple.CoreFoundation      	0x000000010c0553cc __CFRunLoopDoSources0 + 268
21  com.apple.CoreFoundation      	0x000000010c04ff6e __CFRunLoopRun + 974
22  com.apple.CoreFoundation      	0x000000010c04f884 CFRunLoopRunSpecific + 404
23  com.apple.Foundation          	0x000000010b6c8831 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
24  org.webkit.WebKitTestRunnerApp	0x00000001040a4c1e WTR::TestController::platformRunUntil(bool&amp;, WTF::Seconds) + 302
25  org.webkit.WebKitTestRunnerApp	0x000000010406122f WTR::TestController::runUntil(bool&amp;, WTF::Seconds) + 79
26  org.webkit.WebKitTestRunnerApp	0x000000010404d870 WTR::TestController::platformResetStateToConsistentValues(WTR::TestOptions const&amp;) + 1792
27  org.webkit.WebKitTestRunnerApp	0x0000000104067331 WTR::TestController::resetStateToConsistentValues(WTR::TestOptions const&amp;, WTR::TestController::ResetStage) + 2193
28  org.webkit.WebKitTestRunnerApp	0x00000001040aac89 WTR::TestInvocation::invoke() + 521
29  org.webkit.WebKitTestRunnerApp	0x000000010406b2b6 WTR::TestController::runTest(char const*) + 534
30  org.webkit.WebKitTestRunnerApp	0x000000010406bce6 WTR::TestController::runTestingServerLoop() + 214
31  org.webkit.WebKitTestRunnerApp	0x0000000104061d17 WTR::TestController::run() + 39
32  org.webkit.WebKitTestRunnerApp	0x00000001040615e9 WTR::TestController::TestController(int, char const**) + 921
33  org.webkit.WebKitTestRunnerApp	0x0000000104061de3 WTR::TestController::TestController(int, char const**) + 35
34  org.webkit.WebKitTestRunnerApp	0x0000000104046e9c -[WebKitTestRunnerApp _runTestController] + 44
35  com.apple.Foundation          	0x000000010b6dea02 __NSThreadPerformPerform + 209
36  com.apple.CoreFoundation      	0x000000010c055c71 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37  com.apple.CoreFoundation      	0x000000010c055b9c __CFRunLoopDoSource0 + 76
38  com.apple.CoreFoundation      	0x000000010c0553cc __CFRunLoopDoSources0 + 268
39  com.apple.CoreFoundation      	0x000000010c04ff6e __CFRunLoopRun + 974
40  com.apple.CoreFoundation      	0x000000010c04f884 CFRunLoopRunSpecific + 404
41  com.apple.GraphicsServices    	0x000000010bc64c1a GSEventRunModal + 139
42  com.apple.UIKitCore           	0x000000013e0f8220 UIApplicationMain + 1605
43  org.webkit.WebKitTestRunnerApp	0x0000000104047048 main + 136
44  libdyld.dylib                 	0x0000000111dc910d start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660210</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-08 08:03:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/64119053&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660297</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-06-08 12:12:06 -0700</bug_when>
    <thetext>ASSERTION FAILED: !m_keyEventQueue.isEmpty()
/Volumes/Data/slave/ios-simulator-13-debug/build/Source/WebKit/UIProcess/WebPageProxy.cpp(6948) : void WebKit::WebPageProxy::didReceiveEvent(uint32_t, bool)

It does indeed seem to be related to r262685.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660308</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2020-06-08 12:35:29 -0700</bug_when>
    <thetext>It would be fine to revert r262685.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660336</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-06-08 13:07:30 -0700</bug_when>
    <thetext>The change was reverted in https://trac.webkit.org/changeset/262685/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>