Last Comment Bug 716456 - "ASSERTION: aRoot not an ancestor of |this|?"
: "ASSERTION: aRoot not an ancestor of |this|?"
Status: RESOLVED FIXED
: assertion, testcase
Product: Core
Classification: Components
Component: Editor (show other bugs)
: Trunk
: x86_64 Mac OS X
: -- normal (vote)
: mozilla12
Assigned To: :Ehsan Akhgari
:
: Makoto Kato [:m_kato]
Mentors:
Depends on:
Blocks: 336383
  Show dependency treegraph
 
Reported: 2012-01-08 22:15 PST by Jesse Ruderman
Modified: 2012-01-10 18:47 PST (History)
3 users (show)
ehsan: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
testcase (405 bytes, text/html)
2012-01-08 22:15 PST, Jesse Ruderman
no flags Details
stack trace (3.17 KB, text/plain)
2012-01-08 22:18 PST, Jesse Ruderman
no flags Details
Patch (v1) (2.91 KB, patch)
2012-01-10 11:58 PST, :Ehsan Akhgari
bzbarsky: review+
Details | Diff | Splinter Review

Description Jesse Ruderman 2012-01-08 22:15:58 PST
Created attachment 586882 [details]
testcase

###!!! ASSERTION: aRoot not an ancestor of |this|?: 'cur', file nsINode.h, line 1176
Comment 1 Jesse Ruderman 2012-01-08 22:18:54 PST
Created attachment 586884 [details]
stack trace
Comment 2 Boris Zbarsky [:bz] (still a bit busy) 2012-01-09 07:12:49 PST
This is bad; this can lead to a null-deref crash....
Comment 3 :Ehsan Akhgari 2012-01-10 11:58:05 PST
Created attachment 587417 [details] [diff] [review]
Patch (v1)
Comment 4 Boris Zbarsky [:bz] (still a bit busy) 2012-01-10 12:06:04 PST
Comment on attachment 587417 [details] [diff] [review]
Patch (v1)

r=me
Comment 6 Ed Morley [:emorley] 2012-01-10 18:47:56 PST
https://hg.mozilla.org/mozilla-central/rev/018cfb14c03e

Note You need to log in before you can comment on or make changes to this bug.