Closed Bug 553808 Opened 15 years ago Closed 14 years ago

mochitest-chrome: test_tmpl_errors.xul causes 3 "ASSERTION: This is unsafe! Fix the caller!: 'Error', file .../nsEventDispatcher.cpp, line 514" in a row

Categories

(Core :: XUL, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- final+

People

(Reporter: sgautherie, Assigned: enndeakin)

References

()

Details

(Keywords: assertion)

FF and SM 'mochitest-other' builds report this error.

Examples:
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1269087450.1269089074.27737.gz&fulltext=1
Linux mozilla-central debug test mochitest-other on 2010/03/20 05:17:30
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1269084827.1269088184.24785.gz&fulltext=1
WINNT 5.2 comm-central-trunk debug test mochitest-other on 2010/03/20 04:33:47

This assertion happens 3 times.
It might also happen on other tests (builds): I didn't check.

I didn't copy the stack, because I don't know what is interesting in it wrt
this assertion...

***

This assertion was added initially in:
"You are not authorized to access bug #531176"!
http://hg.mozilla.org/mozilla-central/rev/e58c2ef1d65b
Olli, can you have a look at this? If you find out this doesn't need to block, I'm fine with unblocking on this.
Assignee: nobody → Olli.Pettay
blocking2.0: ? → beta1+
Blocks: 531176
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1273906124.1273908466.7724.gz
Rev3 Fedora 12x64 mozilla-central debug test mochitest-other on 2010/05/14 23:48:44
s: talos-r3-fed64-010

###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error', file /builds/slave/mozilla-central-linux64-debug/build/content/events/src/nsEventDispatcher.cpp, line 514

Various other assertions follow, but this is the first one that shows up, hence noting it here.
blocking2.0: beta1+ → beta2+
Olli, any idea when you might get to this?
blocking2.0: beta2+ → beta3+
Serge, have you still seen the assertion?
At least some of the cases when "This is unsafe!" assertion fired have been
fixed after this was filed.
So has anyone seen this one for awhile?
blocking2.0: beta3+ → betaN+
I was just seeing this on http://apps.facebook.com/wildones/ (from bug 588591).
Martijn, are you sure it is the same as this one?
Just having the assertion doesn't mean it is the same bug.
The assertion in bug 588591 is caused by something else.
Sorry, I thought it was about seeing this assertion.
Marking this WFM, since apparently this hasn't happened with mochitests for awhile.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Comment 0 case happens still/again:

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1283750333.1283752120.24940.gz&fulltext=1
Rev3 Fedora 12 mozilla-central debug test mochitest-other on 2010/09/05 22:18:53
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1283747217.1283748852.11163.gz&fulltext=1
Rev3 Fedora 12x64 mozilla-central debug test mochitest-other on 2010/09/05 21:26:57
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1283745094.1283746880.4007.gz&fulltext=1
Rev3 MacOSX Leopard 10.5.8 mozilla-central debug test mochitest-other on 2010/09/05 20:51:34
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1283745179.1283746983.4325.gz&fulltext=1
Rev3 MacOSX Snow Leopard 10.6.2 mozilla-central debug test mochitest-other on 2010/09/05 20:52:59
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1283746297.1283748079.8435.gz&fulltext=1
WINNT 5.2 mozilla-central debug test mochitest-other on 2010/09/05 21:11:37
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1283743505.1283745870.31878.gz&fulltext=1
Linux comm-central-trunk debug test mochitest-other on 2010/09/05 20:25:05
{
...
243 INFO TEST-PASS | chrome://mochikit/content/chrome/content/xul/templates/tests/chrome/test_tmpl_errors.xul | logged message Error parsing template: <triple> should have at least one variable as a subject or object - "Error parsing template: <triple> should have at least one variable as a subject or object" should equal "Error parsing template: <triple> should have at least one variable as a subject or object"
###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error', file /builds/slave/mozilla-central-linux-debug/build/content/events/src/nsEventDispatcher.cpp, line 514
...
###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error', file /builds/slave/mozilla-central-linux-debug/build/content/events/src/nsEventDispatcher.cpp, line 514
...
###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error', file /builds/slave/mozilla-central-linux-debug/build/content/events/src/nsEventDispatcher.cpp, line 514
...
244 INFO TEST-PASS | chrome://mochikit/content/chrome/content/xul/templates/tests/chrome/test_tmpl_errors.xul | logged message Error parsing template: XPath expression in query could not be parsed - "Error parsing template: XPath expression in query could not be parsed" should equal "Error parsing template: XPath expression in query could not be parsed"
}
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Summary: "ASSERTION: This is unsafe! Fix the caller!: 'Error', file .../nsEventDispatcher.cpp, line 490" → mochitest-chrome: test_tmpl_errors.xul causes 3 "ASSERTION: This is unsafe! Fix the caller!: 'Error', file .../nsEventDispatcher.cpp, line 514" in a row
http://mxr.mozilla.org/mozilla-central/source/content/xul/templates/tests/chrome/test_tmpl_errors.xul
{
188 // neither triple subject or object variable are bound
189 {
190   pre: function(template) { var triple = $("triple"); triple.setAttribute("subject", "blah");
191                             triple.setAttribute("object", "blah"); },
192   error: "Error parsing template: <triple> should have at least one variable as a subject or object",
193   post: function() { var triple = $("triple"); triple.setAttribute("subject", "?uri");
194                      triple.setAttribute("object", "?uri") }
195 },
196 
197 // could not parse xml query expression
198 {
199   firstXMLTest: true,
200   pre: function(template) { $("query").setAttribute("expr", "something()"); },
201   error: "Error parsing template: XPath expression in query could not be parsed",
202   post: function() { }
203 },
}
Assignee: Olli.Pettay → nobody
Status: REOPENED → NEW
Component: Event Handling → XUL
QA Contact: events → xptoolkit.widgets
Neil, are you the right person to take this?
Assignee: nobody → enndeakin
blocking2.0: betaN+ → final+
http://hg.mozilla.org/mozilla-central/rev/3e08f8844f87
Status: NEW → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
V.Fixed, per
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1288109189.1288111299.2425.gz&fulltext=1
Rev3 Fedora 12 mozilla-central debug test mochitest-other on 2010/10/26 09:06:29
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
Target Milestone: --- → mozilla2.0b8
Target Milestone: mozilla2.0b8 → mozilla2.0b7
Depends on: 608687
Blocks: 553840
You need to log in before you can comment on or make changes to this bug.