Closed
Bug 662468
Opened 13 years ago
Closed 13 years ago
Android jsreftest-1 and jsreftest-2 mostly timing out mostly in e4x/Regress/regress-373082.js following June 6th TM merge
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: philor, Unassigned)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
igor
:
review+
|
Details | Diff | Splinter Review |
Representative example in http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307400826.1307404228.31543.gz&fulltext=1#err0 - at some point in e4x/Regress/regress-373082.js (not the same point in all runs), it apparently drifts off to sleep, there's a section of httpd.js GC (which started filling up the Android logs with bug 508128), then a 2400 seconds without output timeout. So far since the merge, there have been 3 instances of this, 2 of an unrelated infra failure, and one passing run.
Reporter | ||
Comment 1•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307440246.1307443424.27331.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307434006.1307438439.7512.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307446426.1307450000.32711.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307428185.1307431265.9630.gz&fulltext=1
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Comment 3•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307567626.1307570930.23056.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1307522205.1307527686.14993.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1307497966.1307501943.16519.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1307496225.1307499607.7225.gz&fulltext=1#err0
Reporter | ||
Comment 5•13 years ago
|
||
Reporter | ||
Comment 6•13 years ago
|
||
Reporter | ||
Comment 7•13 years ago
|
||
Blocks: 661896
Summary: Android jstreftest-1 mostly timing out in e4x/Regress/regress-373082.js following June 6th TM merge → Android jsreftest-1 mostly timing out in e4x/Regress/regress-373082.js following June 6th TM merge
Reporter | ||
Comment 8•13 years ago
|
||
Reporter | ||
Comment 9•13 years ago
|
||
Reporter | ||
Comment 10•13 years ago
|
||
Starting to think that regress-373082.js is just the most common, or maybe it's very long so it offers more opportunity to be the one running when it hits. These two are in ecma/Date/15.9.5.9.js and ecma/Expressions/11.7.1.js.
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307722194.1307727575.18058.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307698665.1307702713.28087.gz&fulltext=1
Summary: Android jsreftest-1 mostly timing out in e4x/Regress/regress-373082.js following June 6th TM merge → Android jsreftest-1 mostly timing out mostly in e4x/Regress/regress-373082.js following June 6th TM merge
Reporter | ||
Comment 11•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307706428.1307710235.8033.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1307726691.1307732158.3998.gz&fulltext=1
js1_8/regress/regress-384412.js
Summary: Android jsreftest-1 mostly timing out mostly in e4x/Regress/regress-373082.js following June 6th TM merge → Android jsreftest-1 and jsreftest-2 mostly timing out mostly in e4x/Regress/regress-373082.js following June 6th TM merge
Reporter | ||
Comment 12•13 years ago
|
||
Comment 13•13 years ago
|
||
What's up with all the before ... after ... messages? Aren't they from gc ? Is there a stuck preference somewhere ?
Reporter | ||
Comment 14•13 years ago
|
||
They're from httpd.js doing gc, since bug 508128. I'm hoping that it's not a problem, other than being massively annoying in Android logs (particularly when it shows up in the middle of data: URIs in reftest logs).
Comment 15•13 years ago
|
||
I'm wondering if the successful deletion of Object.prototype.toString would cause reftest to stop responding? Would saving toString prior to the deletion and restoring it after the assigment to actual help?
expect = 'TypeError: String.prototype.toString called on incompatible XML';
try
{
delete XML.prototype.function::toString;
> var saveToString = Object.prototype.toString;
delete Object.prototype.toString;
actual = <a>TEXT</a>.toString();
> Object.prototype.toString = saveToString
}
catch(ex)
{
actual = ex + '';
}
TEST(7, expect, actual);
Reporter | ||
Comment 16•13 years ago
|
||
Reporter | ||
Comment 17•13 years ago
|
||
Reporter | ||
Comment 18•13 years ago
|
||
Reporter | ||
Comment 19•13 years ago
|
||
Reporter | ||
Comment 20•13 years ago
|
||
Reporter | ||
Comment 21•13 years ago
|
||
Reporter | ||
Comment 22•13 years ago
|
||
Reporter | ||
Comment 23•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1307764851.1307769546.24158.gz&fulltext=1
We've apparently pretty much thoroughly broken it, I'm hiding it on mozilla-inbound.
Reporter | ||
Comment 24•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307796230.1307799813.17252.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307793306.1307797376.5841.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307777986.1307781598.28291.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1307792566.1307796796.2728.gz
Reporter | ||
Comment 25•13 years ago
|
||
Reporter | ||
Comment 26•13 years ago
|
||
Reporter | ||
Comment 27•13 years ago
|
||
Reporter | ||
Comment 28•13 years ago
|
||
Reporter | ||
Comment 29•13 years ago
|
||
Reporter | ||
Comment 30•13 years ago
|
||
Reporter | ||
Comment 31•13 years ago
|
||
Reporter | ||
Comment 32•13 years ago
|
||
Reporter | ||
Comment 33•13 years ago
|
||
Reporter | ||
Comment 34•13 years ago
|
||
Reporter | ||
Comment 35•13 years ago
|
||
Reporter | ||
Comment 36•13 years ago
|
||
Reporter | ||
Comment 37•13 years ago
|
||
Reporter | ||
Comment 38•13 years ago
|
||
Comment 39•13 years ago
|
||
Reporter | ||
Comment 40•13 years ago
|
||
Comment 41•13 years ago
|
||
Igor, ping comment 15 ?
Reporter | ||
Comment 42•13 years ago
|
||
Reporter | ||
Comment 43•13 years ago
|
||
Reporter | ||
Comment 44•13 years ago
|
||
Reporter | ||
Comment 45•13 years ago
|
||
Reporter | ||
Comment 46•13 years ago
|
||
Reporter | ||
Comment 47•13 years ago
|
||
Reporter | ||
Comment 48•13 years ago
|
||
Reporter | ||
Comment 49•13 years ago
|
||
Comment 50•13 years ago
|
||
Reporter | ||
Comment 51•13 years ago
|
||
Reporter | ||
Comment 52•13 years ago
|
||
Reporter | ||
Comment 53•13 years ago
|
||
Reporter | ||
Comment 54•13 years ago
|
||
Reporter | ||
Comment 55•13 years ago
|
||
Reporter | ||
Comment 56•13 years ago
|
||
Reporter | ||
Comment 57•13 years ago
|
||
Reporter | ||
Comment 58•13 years ago
|
||
Reporter | ||
Comment 59•13 years ago
|
||
Reporter | ||
Comment 60•13 years ago
|
||
Reporter | ||
Comment 61•13 years ago
|
||
Reporter | ||
Comment 62•13 years ago
|
||
Reporter | ||
Comment 63•13 years ago
|
||
Reporter | ||
Comment 64•13 years ago
|
||
Reporter | ||
Comment 65•13 years ago
|
||
Reporter | ||
Comment 66•13 years ago
|
||
Reporter | ||
Comment 67•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308229080.1308232651.972.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308221094.1308226925.5443.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308227522.1308231204.26422.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308206699.1308214084.5361.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308203698.1308210726.21235.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308213052.1308216129.14857.gz
Reporter | ||
Comment 68•13 years ago
|
||
Reporter | ||
Comment 69•13 years ago
|
||
Reporter | ||
Comment 70•13 years ago
|
||
Reporter | ||
Comment 71•13 years ago
|
||
Reporter | ||
Comment 72•13 years ago
|
||
Reporter | ||
Comment 73•13 years ago
|
||
Reporter | ||
Comment 74•13 years ago
|
||
Reporter | ||
Comment 75•13 years ago
|
||
Reporter | ||
Comment 76•13 years ago
|
||
Reporter | ||
Comment 77•13 years ago
|
||
Reporter | ||
Comment 78•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308294659.1308298033.14914.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1308306359.1308310818.9274.gz
http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1308295852.1308299188.19457.gz
http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1308312719.1308318453.16029.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1308294898.1308298624.17547.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1308311038.1308315225.31513.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1308288898.1308292301.23828.gz
Reporter | ||
Comment 79•13 years ago
|
||
Reporter | ||
Comment 80•13 years ago
|
||
Reporter | ||
Comment 81•13 years ago
|
||
Reporter | ||
Comment 82•13 years ago
|
||
Reporter | ||
Comment 83•13 years ago
|
||
Reporter | ||
Comment 84•13 years ago
|
||
Reporter | ||
Comment 86•13 years ago
|
||
Comment 87•13 years ago
|
||
Comment on attachment 540104 [details] [diff] [review]
patch
I think that code's supposed to throw, so putting that in a finally block would be better, if the patch actually does anything to address this.
Reporter | ||
Comment 88•13 years ago
|
||
Comment 89•13 years ago
|
||
Thanks Waldo. I'll try it on try.
Reporter | ||
Comment 90•13 years ago
|
||
Reporter | ||
Comment 91•13 years ago
|
||
Reporter | ||
Comment 92•13 years ago
|
||
Updated•13 years ago
|
Attachment #540104 -
Flags: review?(igor)
Comment 93•13 years ago
|
||
try doesn't run jsreftests on android yet. philor is going to hide this until we get that resolved.
Comment 94•13 years ago
|
||
Comment on attachment 540104 [details] [diff] [review]
patch
> try
> {
> delete XML.prototype.function::toString;
>+ var saveToString = Object.prototype.toString;
> delete Object.prototype.toString;
> actual = <a>TEXT</a>.toString();
>+ Object.prototype.toString = saveToString;
> }
> catch(ex)
> {
> actual = ex + '';
> }
Waldo is right as we need to restore prototype in any case. So lets write this as:
delete XML.prototype.function::toString;
var xml = <a>TEXT</a>;
var saveToString = Object.prototype.toString;
delete Object.prototype.toString;
try {
actual = xml.toString();
} catch(ex) {
actual = ex + '';
} finally {
Object.prototype.toString = saveToString;
}
Note that the try covers only the part of the code that is expected to throw.
Comment 95•13 years ago
|
||
Attachment #540104 -
Attachment is obsolete: true
Attachment #540416 -
Flags: review?(igor)
Comment 96•13 years ago
|
||
Comment on attachment 540416 [details] [diff] [review]
patch v2
Review of attachment 540416 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #540416 -
Flags: review?(igor) → review+
Comment 97•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/2ff6092157a5
leaving open as we don't know this was the issue.
Reporter | ||
Comment 98•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1308679224.1308682382.5597.gz&fulltext=1
REFTEST TEST-START | http://10.250.48.211:30091/jsreftest/tests/jsreftest.html?test=e4x/Regress/regress-373082.js
REFTEST TEST-PASS | http://10.250.48.211:30091/jsreftest/tests/jsreftest.html?test=e4x/Regress/regress-373082.js | Section 1 of test - Simpler sharing of XML and XMLList functions item 1
REFTEST TEST-PASS | http://10.250.48.211:30091/jsreftest/tests/jsreftest.html?test=e4x/Regress/regress-373082.js | Section 2 of test - Simpler sharing of XML and XMLList functions item 2
REFTEST TEST-PASS | http://10.250.48.211:30091/jsreftest/tests/jsreftest.html?test=e4x/Regress/regressbefore 393216, after 389120, break 057ff000
(etc. etc.)
command timed out: 2400 seconds without output, killing pid 12122
Comment 99•13 years ago
|
||
(In reply to comment #93)
> try doesn't run jsreftests on android yet. philor is going to hide this
> until we get that resolved.
Filed bug#666647 to get jsreftests on android enabled in TryServer.
Comment 100•13 years ago
|
||
(In reply to comment #94)
> Comment on attachment 540104 [details] [diff] [review] [review]
> patch
>
> > try
> > {
> > delete XML.prototype.function::toString;
> >+ var saveToString = Object.prototype.toString;
> > delete Object.prototype.toString;
> > actual = <a>TEXT</a>.toString();
> >+ Object.prototype.toString = saveToString;
> > }
> > catch(ex)
> > {
> > actual = ex + '';
> > }
>
>
> Waldo is right as we need to restore prototype in any case. So lets write
> this as:
>
> delete XML.prototype.function::toString;
> var xml = <a>TEXT</a>;
> var saveToString = Object.prototype.toString;
> delete Object.prototype.toString;
> try {
> actual = xml.toString();
> } catch(ex) {
> actual = ex + '';
> } finally {
> Object.prototype.toString = saveToString;
> }
>
> Note that the try covers only the part of the code that is expected to throw.
Has this patch landed in m-c yet? I ask because I see later reports of continues problems, but cant tell if this fix landed yet or not.
Comment 101•13 years ago
|
||
(In reply to comment #100)
> Has this patch landed in m-c yet? I ask because I see later reports of
> continues problems, but cant tell if this fix landed yet or not.
No, but the problem still persists on tracemonkey where it did land.
Comment 102•13 years ago
|
||
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/2ff6092157a5
Note: not marking as fixed because fixed-in-tracemonkey is not present on the whiteboard.
Comment 103•13 years ago
|
||
Is this still happening, or did bug 668594 fix it?
Comment 104•13 years ago
|
||
that bug landed on 07-09 (4 days ago) on mozilla-central. I would say this is fixed, and if we see issues we can reopen. If y'all agree, change the status.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange]
You need to log in
before you can comment on or make changes to this bug.
Description
•