Bug 84463 - Crashes in WebProcess at AccessibilityRenderObject::isAttachment
Summary: Crashes in WebProcess at AccessibilityRenderObject::isAttachment
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: chris fleizach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 09:52 PDT by chris fleizach
Modified: 2012-04-26 00:36 PDT (History)
6 users (show)

See Also:


Attachments
patch (3.27 KB, patch)
2012-04-20 10:17 PDT, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris fleizach 2012-04-20 09:52:32 PDT
* BACKTRACE ('>' indicates stack frame used for CrashTracer aggregation)

   1 page zero                      000000000000000000 0 + 0
>  2 com.apple.WebCore              0x7fff86940c9d WebCore::AccessibilityRenderObject::isAttachment() const + 0x1d
   3 com.apple.WebCore              0x7fff86ddc092 WebCore::AccessibilityObject::detachFromParent() + 0x12
   4 com.apple.WebCore              0x7fff869475c1 WebCore::AccessibilityRenderObject::clearChildren() + 0x31
   5 com.apple.WebCore              0x7fff86947565 WebCore::AccessibilityRenderObject::detach() + 0x15
   6 com.apple.WebCore              0x7fff86947378 WebCore::AXObjectCache::~AXObjectCache() + 0x78
   7 com.apple.WebCore              0x7fff868f9002 WebCore::Document::detach() + 0x122
   8 com.apple.WebCore              0x7fff8689a3b8 WebCore::Frame::setView(WTF::PassRefPtr<WebCore::FrameView>) + 0x48
   9 com.apple.WebCore              0x7fff86fe3571 WebCore::Frame::createView(WebCore::IntSize const&, WebCore::Color const&, bool, WebCore::IntSize const&, bool, WebCore::ScrollbarMode, bool, WebCore::ScrollbarMode, bool) + 0x61
  10 com.apple.WebKit2              0x7fff890f4eef WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage() + 0xb9
  11 com.apple.WebCore              0x7fff86899a3c WebCore::FrameLoader::transitionToCommitted(WTF::PassRefPtr<WebCore::CachedPage>) + 0x29c
  12 com.apple.WebCore              0x7fff86899018 WebCore::FrameLoader::commitProvisionalLoad() + 0x158
  13 com.apple.WebCore              0x7fff8690ac05
Comment 1 chris fleizach 2012-04-20 09:53:23 PDT
It looks like the problem is that it's possible to ask for the focused ui element through WK2 without actually enabling accessibility.
Comment 2 chris fleizach 2012-04-20 10:17:54 PDT
Created attachment 138111 [details]
patch
Comment 3 Ryosuke Niwa 2012-04-22 23:05:37 PDT
Not sure if we want to enable accessibility on demand like this.
Comment 4 chris fleizach 2012-04-22 23:06:44 PDT
(In reply to comment #3)
> Not sure if we want to enable accessibility on demand like this.

yes we do. it's an oversight in WK2 that it's not done here
Comment 5 WebKit Review Bot 2012-04-26 00:36:38 PDT
Comment on attachment 138111 [details]
patch

Clearing flags on attachment: 138111

Committed r115295: <http://trac.webkit.org/changeset/115295>
Comment 6 WebKit Review Bot 2012-04-26 00:36:43 PDT
All reviewed patches have been landed.  Closing bug.