Bug 149589 - REGRESSION(r190214): Assertion failure in EventContext's constructor when hovering over any input element
Summary: REGRESSION(r190214): Assertion failure in EventContext's constructor when hov...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2015-09-27 19:49 PDT by Michael Catanzaro
Modified: 2015-09-30 06:08 PDT (History)
9 users (show)

See Also:


Attachments
backtrace (92.60 KB, text/plain)
2015-09-27 19:49 PDT, Michael Catanzaro
no flags Details
Fixes the bug (1.40 KB, patch)
2015-09-29 20:18 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2015-09-27 19:49:13 PDT
Created attachment 261997 [details]
backtrace

I get this assertion:

ASSERTION FAILED: !isUnreachableNode(m_target.get())
../../Source/WebCore/dom/EventContext.cpp(43) : WebCore::EventContext::EventContext(PassRefPtr<WebCore::Node>, PassRefPtr<WebCore::EventTarget>, PassRefPtr<WebCore::EventTarget>)

When I click on any input element (such as the text entry on this Bugzilla page). It's a quite recent regression, so I'm suspicious of r190153 and r190214, which recently modified this code (CC: Ryosuke).
Comment 1 Ryosuke Niwa 2015-09-29 00:43:58 PDT
Is this still happening after http://trac.webkit.org/changeset/190288 ?
Comment 2 Michael Catanzaro 2015-09-29 11:22:06 PDT
Correction: the crash doesn't require the element to be focused. It occurs on hover, not on focus.

(In reply to comment #1)
> Is this still happening after http://trac.webkit.org/changeset/190288 ?

Yes, unfortunately.
Comment 3 Ryosuke Niwa 2015-09-29 20:18:39 PDT
Created attachment 262136 [details]
Fixes the bug
Comment 4 WebKit Commit Bot 2015-09-29 22:56:09 PDT
Comment on attachment 262136 [details]
Fixes the bug

Clearing flags on attachment: 262136

Committed r190340: <http://trac.webkit.org/changeset/190340>
Comment 5 WebKit Commit Bot 2015-09-29 22:56:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Michael Catanzaro 2015-09-30 06:08:57 PDT
Thank you!