<?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>127387</bug_id>
          
          <creation_ts>2014-01-21 17:55:10 -0800</creation_ts>
          <short_desc>AX: Crash in WebKit::WebPageProxy::registerWebProcessAccessibilityToken</short_desc>
          <delta_ts>2014-02-28 14:58:33 -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>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="chris fleizach">cfleizach</reporter>
          <assigned_to name="chris fleizach">cfleizach</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>970501</commentid>
    <comment_count>0</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2014-01-21 17:55:10 -0800</bug_when>
    <thetext>37 com.apple.WebKit2:  WebKit::WebPageProxy::registerWebProcessAccessibilityToken + 11 &lt;==
        37 com.apple.WebKit2:  WebKit::WebPageProxy::didReceiveMessage + 7257
          37 com.apple.WebKit2:  CoreIPC::MessageReceiverMap::dispatchMessage + 125
            37 com.apple.WebKit2:  WebKit::ChildProcessProxy::dispatchMessage + 13
              37 com.apple.WebKit2:  WebKit::WebProcessProxy::didReceiveMessage + 24
                37 com.apple.WebKit2:  CoreIPC::Connection::dispatchMessage + 101
                  37 com.apple.WebKit2:  CoreIPC::Connection::dispatchOneMessage + 106
                    28 com.apple.WebCore:  WebCore::RunLoop::performWork + 270
                    | 28 com.apple.WebCore:  WebCore::RunLoop::performWork + 34
                    |   28 com.apple.CoreFoundation:  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
                    |     28 com.apple.CoreFoundation:  __CFRunLoopDoSources0 + 242
                    |       28 com.apple.CoreFoundation:  __CFRunLoopRun + 831
                    |         28 com.apple.CoreFoundation:  CFRunLoopRunSpecific + 309
                    |           28 com.apple.HIToolbox:  RunCurrentEventLoopInMode + 226
                    |             28 com.apple.HIToolbox:  ReceiveNextEventCommon + 479
                    |               28 com.apple.HIToolbox:  _BlockUntilNextEventMatchingListInModeWithFilter + 65
                    |                 28 com.apple.AppKit:  _DPSNextEvent + 1434
                    |                   28 com.apple.AppKit:  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
                    |                     28 com.apple.AppKit:  -[NSApplication run] + 553
                    |                       28 com.apple.quicklook.ui.helper:  main
                    |                         28 libdyld.dylib:  start + 1
                    9 com.apple.WebCore:  WebCore::RunLoop::performWork + 557
                      9 com.apple.WebCore:  WebCore::RunLoop::performWork + 34
                        9 com.apple.CoreFoundation:  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
                          9 com.apple.CoreFoundation:  __CFRunLoopDoSources0 + 242
                            9 com.apple.CoreFoundation:  __CFRunLoopRun + 831
                              9 com.apple.CoreFoundation:  CFRunLoopRunSpecific + 309
                                9 com.apple.HIToolbox:  RunCurrentEventLoopInMode + 226
                                  9 com.apple.HIToolbox:  ReceiveNextEventCommon + 479
                                    9 com.apple.HIToolbox:  _BlockUntilNextEventMatchingListInModeWithFilter + 65
                                      9 com.apple.AppKit:  _DPSNextEvent + 1434
                                        9 com.apple.AppKit:  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
                                          9 com.apple.AppKit:  -[NSApplication run] + 553
                                            9 com.apple.quicklook.ui.helper:  main
                                              9 libdyld.dylib:  start + 1

&lt;rdar://problem/15723355&gt;
&lt;rdar://probl;e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970502</commentid>
    <comment_count>1</comment_count>
      <attachid>221815</attachid>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2014-01-21 17:56:54 -0800</bug_when>
    <thetext>Created attachment 221815
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970731</commentid>
    <comment_count>2</comment_count>
      <attachid>221815</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-01-22 09:59:27 -0800</bug_when>
    <thetext>Comment on attachment 221815
patch

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

&gt; Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:390
&gt; +    if (!isValid())
&gt; +        return;

Is it semantically correct to ignore this call, or should the data be queued and sent once the process is (re)started?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970806</commentid>
    <comment_count>3</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2014-01-22 11:50:41 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 221815 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=221815&amp;action=review
&gt; 
&gt; &gt; Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:390
&gt; &gt; +    if (!isValid())
&gt; &gt; +        return;
&gt; 
&gt; Is it semantically correct to ignore this call, or should the data be queued and sent once the process is (re)started?

Good question. I should play with this some more</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985727</commentid>
    <comment_count>4</comment_count>
      <attachid>221815</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-28 14:58:31 -0800</bug_when>
    <thetext>Comment on attachment 221815
patch

Clearing flags on attachment: 221815

Committed r164887: &lt;http://trac.webkit.org/changeset/164887&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985728</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-28 14:58:33 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>221815</attachid>
            <date>2014-01-21 17:56:54 -0800</date>
            <delta_ts>2014-02-28 14:58:31 -0800</delta_ts>
            <desc>patch</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1305</size>
            <attacher name="chris fleizach">cfleizach</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE2MjQ4OSkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE0LTAxLTIxICBDaHJpcyBG
bGVpemFjaCAgPGNmbGVpemFjaEBhcHBsZS5jb20+CisKKyAgICAgICAgQVg6IENyYXNoIGluIFdl
YktpdDo6V2ViUGFnZVByb3h5OjpyZWdpc3RlcldlYlByb2Nlc3NBY2Nlc3NpYmlsaXR5VG9rZW4K
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEyNzM4Nwor
CisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFNwZWN1bGF0
aXZlIGZpeCBmb3IgY3Jhc2hlci4gV2Ugc2hvdWxkIGNoZWNrIGlmIHRoZSBjb25uZWN0aW9uIGlz
IHN0aWxsIHZhbGlkIGJlZm9yZSBwcm9jZWVkaW5nLgorCisgICAgICAgICogVUlQcm9jZXNzL21h
Yy9XZWJQYWdlUHJveHlNYWMubW06CisgICAgICAgIChXZWJLaXQ6OldlYlBhZ2VQcm94eTo6cmVn
aXN0ZXJXZWJQcm9jZXNzQWNjZXNzaWJpbGl0eVRva2VuKToKKwogMjAxNC0wMS0yMSAgVGltIEhv
cnRvbiAgPHRpbW90aHlfaG9ydG9uQGFwcGxlLmNvbT4KIAogICAgICAgICBEb24ndCBjb3B5IFZp
ZXdHZXN0dXJlR2VvbWV0cnlDb2xsZWN0b3IubWVzc2FnZXMuaW4gaW50byB0aGUgV2ViUHJvY2Vz
cyBidW5kbGUuCkluZGV4OiBTb3VyY2UvV2ViS2l0Mi9VSVByb2Nlc3MvbWFjL1dlYlBhZ2VQcm94
eU1hYy5tbQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2ViS2l0Mi9VSVByb2Nlc3MvbWFjL1dlYlBh
Z2VQcm94eU1hYy5tbQkocmV2aXNpb24gMTYyMjA1KQorKysgU291cmNlL1dlYktpdDIvVUlQcm9j
ZXNzL21hYy9XZWJQYWdlUHJveHlNYWMubW0JKHdvcmtpbmcgY29weSkKQEAgLTM4Niw2ICszODYs
OSBAQAogICAgIAogdm9pZCBXZWJQYWdlUHJveHk6OnJlZ2lzdGVyV2ViUHJvY2Vzc0FjY2Vzc2li
aWxpdHlUb2tlbihjb25zdCBJUEM6OkRhdGFSZWZlcmVuY2UmIGRhdGEpCiB7CisgICAgaWYgKCFp
c1ZhbGlkKCkpCisgICAgICAgIHJldHVybjsKKyAgICAKICAgICBtX3BhZ2VDbGllbnQuYWNjZXNz
aWJpbGl0eVdlYlByb2Nlc3NUb2tlblJlY2VpdmVkKGRhdGEpOwogfSAgICAKICAgICAK
</data>

          </attachment>
      

    </bug>

</bugzilla>