Closed
Bug 483857
Opened 16 years ago
Closed 16 years ago
JavaScript Debug assertions in gloda mime tests
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b3
People
(Reporter: standard8, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
22.72 KB,
text/plain
|
Details |
I'm trying to run make check on debug builds, I'm hitting various debug assertions in the gloda tests which means I can't do a successful "make -C mailnews check" run on a debug build. This isn't good for our developers who generally use debug builds afaik, hence the blocker status.
Flags: blocking-thunderbird3+
Comment 1•16 years ago
|
||
The assertion is at:
"/Users/moztest/comm/main/src/mozilla/js/src/jstracer.cpp:3174"
This looks like tracemonkey's problem, not gloda's problem. I suggest we turn off tracemonkey for xpcshell tests. (nb: Gloda is using more complex javascript features which likely cause gloda to get hit with the troubles.)
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> The assertion is at:
> "/Users/moztest/comm/main/src/mozilla/js/src/jstracer.cpp:3174"
>
> This looks like tracemonkey's problem, not gloda's problem. I suggest we turn
> off tracemonkey for xpcshell tests. (nb: Gloda is using more complex
> javascript features which likely cause gloda to get hit with the troubles.)
Well, unless there's some pref I don't know about, the default prefs:
pref("javascript.options.jit.content", true);
pref("javascript.options.jit.chrome", false);
will mean tracemonkey isn't enabled for xpcshell tests. Therefore this looks like we're hitting an assertion either with a javascript error or because gloda is doing something wrong.
cc'ing some folks who I hope can help us.
Comment 3•16 years ago
|
||
It turns out that in that particular preference name "content" is s3cr3t c0de for "content and XPCOM components". Given that we have reproducible tests for these problems, it seems like we'd be better off just filing specific bugs against tracemonkey.
Comment 4•16 years ago
|
||
Bug 480132 may have fixed that assertion; I suggest retesting with source that includes that fix and see whether it's still there before doing anything else.
Reporter | ||
Comment 5•16 years ago
|
||
(In reply to comment #4)
> Bug 480132 may have fixed that assertion; I suggest retesting with source that
> includes that fix and see whether it's still there before doing anything else.
I've just tried comm-central with today's trunk (head: http://hg.mozilla.org/mozilla-central/rev/e74b36d547de) and there are no problems with the tests, so it does look like it could have been fixed with that bug.
Will bug 480132 be going onto the 1.9.1 branch?
Comment 6•16 years ago
|
||
Yes.
Updated•16 years ago
|
Summary: Debug assertions in gloda mime tests → JavaScript JIT Debug assertions in gloda mime tests
![]() |
||
Comment 7•16 years ago
|
||
I should have popped into TB JS bugs earlier - "Assertion failure: !(fp->flags & JSFRAME_POP_BLOCKS)" is all too familiar to me a while back.
That assertion has indeed since been fixed. Perhaps resolve this and move on?
Reporter | ||
Comment 8•16 years ago
|
||
(In reply to comment #7)
> I should have popped into TB JS bugs earlier - "Assertion failure: !(fp->flags
> & JSFRAME_POP_BLOCKS)" is all too familiar to me a while back.
>
> That assertion has indeed since been fixed. Perhaps resolve this and move on?
It has been fixed on trunk, not 1.9.1 branch which is where our main focus is at the moment.
Reporter | ||
Comment 9•16 years ago
|
||
Also I believe this isn't just JIT. I tried setting "javascript.options.jit.content" to false in all.js and still reproduced the error.
So unless that pref doesn't work for xpcshell tests, then this isn't a JIT specific bug afaict.
Summary: JavaScript JIT Debug assertions in gloda mime tests → JavaScript Debug assertions in gloda mime tests
![]() |
||
Comment 10•16 years ago
|
||
(In reply to comment #9)
> Also I believe this isn't just JIT. I tried setting
> "javascript.options.jit.content" to false in all.js and still reproduced the
> error.
>
> So unless that pref doesn't work for xpcshell tests, then this isn't a JIT
> specific bug afaict.
Strange - jstracer.cpp usually involves JIT as far as I know, perhaps gal or mrbkap can correct me if I'm wrong?
Comment 11•16 years ago
|
||
(In reply to comment #9)
> So unless that pref doesn't work for xpcshell tests, then this isn't a JIT
> specific bug afaict.
It doesn't. xpcshell relies on flags passed to the program (in this case, -j). This is controlled by mozilla/testing/xpcshell/runxpcshelltests.py that passes -j unconditionally.
Comment 12•16 years ago
|
||
Is this different from bug 485585 ? Is it still happening?
Comment 13•16 years ago
|
||
(In reply to comment #12)
> Is this different from bug 485585 ? Is it still happening?
David : yes it needs to land on Branch.
Reporter | ||
Comment 14•16 years ago
|
||
Bug 480132 has now landed on 1.9.1. I've just done a successful run through gloda with a debug build, so this bug is now fixed by the landing of bug 480132.
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•