Closed Bug 465013 Opened 16 years ago Closed 16 years ago

TM: General Error trying to play video on CNN

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9.1b2

People

(Reporter: jmjjeffery, Assigned: brendan)

References

()

Details

(Keywords: regression, verified1.9.1)

Attachments

(2 files)

CNN videos no longer play with the latest builds following the merge from trace-monkey I suspect: bad in build/changeset http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32/1226683627/ http://hg.mozilla.org/mozilla-central/rev/b7a7180130d5 good in build/changeset: http://hg.mozilla.org/mozilla-central/rev/6521a5409bd9 http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32/1226676427/ No errors on the Console, no crash, just a blank/gray video window that states 'General Error' Video controls are not loaded. Requesting blocking due to impending beta2 and that CNN is a popular site.
Flags: blocking1.9.1?
flash video not working at all
This is definitely involved with the TM merge :(
Assignee: nobody → general
Component: General → JavaScript Engine
QA Contact: general → general
Summary: General Error trying to play video on CNN → TM: General Error trying to play video on CNN
Assignee: general → nobody
Component: JavaScript Engine → General
QA Contact: general → general
Summary: TM: General Error trying to play video on CNN → General Error trying to play video on CNN
Assignee: nobody → general
Component: General → JavaScript Engine
QA Contact: general → general
Summary: General Error trying to play video on CNN → TM: General Error trying to play video on CNN
Any hope of testcase reduction? Or else bisecting among changesets in the tracemonkey repo to find the offending patch? /be
BTW, this is also true on YouTube. I have never seen this before. Reported by me on XP and Elen on Vista here: http://forums.mozillazine.org/viewtopic.php?f=23&t=948915 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081114 Firefox/3.0 ID:20081114164955
YouTube works with this build just like CNN videos: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081114 Firefox/3.0 ID:20081114081911
USAToday.com is also affected, so it appears that all videos are not working. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081114 Firefox/3.0 ID:20081114164955
Works with jit off so this is definitively us. Any volunteers to bisect?
This regressed between 2008-11-12-02 and 2008-11-13-02 tracemonkey nightlies.
Seems to be bug 456511. I backed out these 3 changesets and flash videos work again https://bugzilla.mozilla.org/show_bug.cgi?id=456511#c50
Depends on: imacros
Timo: thanks for bisecting. I will comment out individual call_imacro(...) calls to see what is failing -- please feel free to do the same after restoring all of the patches you reverted locally. Thanks again. /be
Assignee: general → brendan
Status: NEW → ASSIGNED
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1b2
Interestingly, most flash fails, but videos at www.msnbc.msn.com work. On abcnews.go.com, if you click a video, the video windows pops up and flash fails; but if you look at the bottom of that window, you'll notice JavaScript code--probably whatever script got busted. I was going to past it, but after a select all copy to a text editor, I saw it would be a bit much to post here.
Attached file reduced testcase
With -j this test prints bgcolor="dummy" quality="dummy" allowScriptAccess="dummyboolean Without, it prints bgcolor="dummy" quality="dummy" allowScriptAccess="dummy" Dumb bug, hard-ish to reduce, easy fix. /be
Attached patch fixSplinter Review
The atoms local in js_Interpret is (and must be) updated by the jstracer.h RECORD_ARGS macro. The atoms member of TraceRecorder was not updated upon tracing the JSOP_STOP at the end of the imacro. Easy to miss this if mentally checking off the "Set atoms = script->atomMap.vector" todo-item! The assignments look the same but differ in the LHS, and both are mandatory, but in different places :-P. /be
Attachment #348366 - Flags: review?(gal)
Fixed in tracemonkey ahead of review, this is really an r=self thinko: http://hg.mozilla.org/tracemonkey/rev/9e411a7500b5 /be
Jim, Larry, Timo, and anyone else helping test: thanks a ton for your help. Note that many video sites use the same (originally from Macromedia) flash scripting glue, so please find and mark dups of this bug if you can. And test against the next tracemonkey automatic build to confirm the fix on all affected sites. Thanks again, /be
Attachment #348366 - Flags: approval1.9.1b2?
A bit hurried at home, and it shows. Followup nit fix: http://hg.mozilla.org/tracemonkey/rev/74d95f4b5928 /be
Flags: blocking1.9.1? → blocking1.9.1+
Attachment #348366 - Flags: approval1.9.1b2? → approval1.9.1b2+
Comment on attachment 348366 [details] [diff] [review] fix a=sayrer after this settles on TM for a bit
Attachment #348366 - Flags: review?(gal) → review+
Confirming the patch does fix the video problems. CNN and ABCNews now play just fine using the latest hourly TM build: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081115 Minefield/3.1b2pre Firefox/3.0 ID:20081115125511 Vista HP SP1
we should land this for Beta 2 asap
It will be merged into central very soon and will be in b2
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Videos are fine again in XP. At least on CNN and YouTube, which are the only ones I checked. Thanks to all. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081116 Firefox/3.0 ID:20081116005730
VERIFIED on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2pre) Gecko/20081116 Minefield/3.1b2pre, built from http://hg.mozilla.org/mozilla-central/rev/8b3caddca8f5.
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
Flags: in-litmus-
Keywords: verified1.9.1
Keywords: fixed1.9.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: