<?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>131409</bug_id>
          
          <creation_ts>2014-04-08 17:30:30 -0700</creation_ts>
          <short_desc>REGRESSION(r166890): Crash inside WebKit::WebEditorClient::textFieldDidEndEditing</short_desc>
          <delta_ts>2014-05-31 11:50:59 -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>WebKit2</component>
          <version>528+ (Nightly build)</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>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>andersca</cc>
    
    <cc>dbates</cc>
    
    <cc>joepeck</cc>
    
    <cc>kling</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>998908</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-04-08 17:30:30 -0700</bug_when>
    <thetext>Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--&gt; 
    __TEXT                 00000001054f6000-00000001054f8000 [    8K] r-x/rwx SM=COW  /Volumes/VOLUME/*/WebKit2.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.Development.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development

Application Specific Information:
Bundle controller class:
BrowserBundleController
 
Process Model:
Multiple Web Processes
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit2             	0x0000000108509579 WebKit::WebEditorClient::textFieldDidEndEditing(WebCore::Element*) + 79
1   com.apple.WebCore             	0x000000010903e1a1 WebCore::FrameLoader::stopLoading(WebCore::UnloadEventPolicy) + 161
2   com.apple.WebCore             	0x00000001090dff7c WebCore::FrameLoader::detachFromParent() + 76
3   com.apple.WebKit2             	0x0000000108519df0 WebKit::WebPage::close() + 598
4   com.apple.WebKit2             	0x0000000108661b43 WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection*, IPC::MessageDecoder&amp;) + 4647
5   com.apple.WebKit2             	0x00000001085bc145 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection*, IPC::MessageDecoder&amp;) + 125
6   com.apple.WebKit2             	0x0000000108694b2c WebKit::WebProcess::didReceiveMessage(IPC::Connection*, IPC::MessageDecoder&amp;) + 28
7   com.apple.WebKit2             	0x000000010857afae IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::MessageDecoder, std::__1::default_delete&lt;IPC::MessageDecoder&gt; &gt;) + 94
8   com.apple.WebKit2             	0x000000010857d01a IPC::Connection::dispatchOneMessage() + 106
9   com.apple.JavaScriptCore      	0x0000000108ded8e2 WTF::RunLoop::performWork() + 850
10  com.apple.JavaScriptCore      	0x0000000108dede12 WTF::RunLoop::performWork(void*) + 34
11  com.apple.CoreFoundation      	0x00007fff8bf11731 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
12  com.apple.CoreFoundation      	0x00007fff8bf02ea2 __CFRunLoopDoSources0 + 242
13  com.apple.CoreFoundation      	0x00007fff8bf0262f __CFRunLoopRun + 831
14  com.apple.CoreFoundation      	0x00007fff8bf020b5 CFRunLoopRunSpecific + 309
15  com.apple.HIToolbox           	0x00007fff90f2fa0d RunCurrentEventLoopInMode + 226
16  com.apple.HIToolbox           	0x00007fff90f2f7b7 ReceiveNextEventCommon + 479
17  com.apple.HIToolbox           	0x00007fff90f2f5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
18  com.apple.AppKit              	0x00007fff91a4c3de _DPSNextEvent + 1434
19  com.apple.AppKit              	0x00007fff91a4ba2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
20  com.apple.AppKit              	0x00007fff91a3fb2c -[NSApplication run] + 553
21  com.apple.AppKit              	0x00007fff91a2a913 NSApplicationMain + 940
22  com.apple.XPCService          	0x00007fff85f1cc0f _xpc_main + 385
23  libxpc.dylib                  	0x00007fff8c846bde xpc_main + 399
24  com.apple.WebKit.WebContent.Development	0x00000001054f76a0 0x1054f6000 + 5792
25  libdyld.dylib                 	0x00007fff8e2135fd start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>998910</commentid>
    <comment_count>1</comment_count>
      <attachid>228918</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-04-08 17:33:13 -0700</bug_when>
    <thetext>Created attachment 228918
Fixes the bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>998912</commentid>
    <comment_count>2</comment_count>
      <attachid>228918</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-04-08 17:36:07 -0700</bug_when>
    <thetext>Comment on attachment 228918
Fixes the bug

View in context: https://bugs.webkit.org/attachment.cgi?id=228918&amp;action=review

&gt; Source/WebKit2/WebProcess/WebPage/WebPage.cpp:889
&gt; +    m_formClient = std::make_ptr&lt;API::InjectedBundle::FormClient&gt;();

What is make_ptr? Did you mean make_unique?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>998915</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-04-08 17:39:33 -0700</bug_when>
    <thetext>Landed in r166985, and fixed the typo in r166986.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1012750</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2014-05-31 11:50:59 -0700</bug_when>
    <thetext>Closing bug as Resolved Fixed since the patch landed per comment #3. If the patch didn&apos;t resolve this bug then please reopen/file a new bug as appropriate.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>228918</attachid>
            <date>2014-04-08 17:33:13 -0700</date>
            <delta_ts>2014-04-08 17:36:13 -0700</delta_ts>
            <desc>Fixes the bug</desc>
            <filename>fix131409</filename>
            <type>text/plain</type>
            <size>1396</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE2Njk3NSkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDE0LTA0LTA4ICBSeW9zdWtl
IE5pd2EgIDxybml3YUB3ZWJraXQub3JnPgorCisgICAgICAgIFJFR1JFU1NJT04ociAxNjY4OTAp
OiBDcmFzaCBpbnNpZGUgV2ViS2l0OjpXZWJFZGl0b3JDbGllbnQ6OnRleHRGaWVsZERpZEVuZEVk
aXRpbmcKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEz
MTQwOQorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIENy
ZWF0ZSBhbiBlbXB0eSBBUEk6OkluamVjdGVkQnVuZGxlOjpGb3JtQ2xpZW50IHRvI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nQuaW5pdGlh
bGl6ZSgwKTsKICAgICBtX3BvbGljeUNsaWVudC5pbml0aWFsaXplKDApOwogICAgIG1fcmVzb3Vy
Y2VMb2FkQ2xpZW50LmluaXRpYWxpemUoMCk7Cg==
</data>
<flag name="review"
          id="253253"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>