Closed Bug 961322 Opened 12 years ago Closed 10 years ago

Javascript causes Firefox to not respond for a few minutes

Categories

(Core :: JavaScript Engine: JIT, defect)

26 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox26 --- affected
firefox27 --- affected
firefox28 --- unaffected
firefox29 --- unaffected

People

(Reporter: keviga, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36 Steps to reproduce: I was asked to reference the Baseline Javascript compiler as the problem for this bug. What I did: Loaded a page that contains a large amount of dynamically generated javascript that uses jQuery to handle click events in a form. To cause the issue all I need to do is select radio buttons in the form and Firefox will stop responding. Actual results: If the javascript.options.baselinejit.content option is set to false the form works fine, with that option set to true Firefox will stop responding part way through the form and the title will get the (Not Responding) text. Firefox will be unresponsive for a few minutes (about two) then start responding again, if more options are selected it will quickly stop responding again. Expected results: The form should have allowed selection of form options. This form has been tested on Chrome 31, Internet Explorer 7, 8, 9, and 10, and has also worked with previous versions of Firefox but I'm not sure of the exact release.
Can you please post a link to the page in question or attach it to this bug using https://bugzilla.mozilla.org/attachment.cgi?bugid=961322&action=enter ? It's hard to say anything about the issue as things stand. :(
Flags: needinfo?(keviga)
My apologies for not including a link to the page. The link to the page that causes the problem is: https://gates.selinc.com/onlinemot/Default.aspx?product_id=651R2 Access to the link above will require you to create an account and login.
Flags: needinfo?(keviga)
Thank you. When I load that page and select some radio buttons, nothing bad happens. I tried both a current nightly and Firefox 26. What are the exact steps to reproduce the bug after loading that page? What Firefox version are you seeing it in?
Flags: needinfo?(keviga)
Actually, wait. I did manage to reproduce this in Firefox 26; after I stopped interacting with the page for a bit it started chewing up CPU. I still can't reproduce with a nightly, though. Do you see the bug with a nightly on your end?
I was also unable to reproduce the issue using the nightly build. I don't have any specific steps as the timing is somewhat variable. Using version 26.0 I open the page and click around on the radio buttons and eventually the page will become unresponsive, sometimes it will become unresponsive before I finish the form, other times I'll have to go back and make a number of changes before it becomes unresponsive.
Flags: needinfo?(keviga)
I tested this bug and managed to reproduce it using FF 26 release and FF 27 buid id:20140127194636 on win 7 x64. STR 1. Create an account on https://www.selinc.com/ 2. Login and go to https://gates.selinc.com/onlinemot/Default.aspx?product_id=651R2 3. Select several radio buttons for in quick succession for like 15 sec at least. Expected: The radio buttons are successfully selected without any issues. Actual: After several seconds Firefox becomes unresponsive. Note: The bug is not reproducible on FF Aurora 28 build id: 20140130004003 and FF Nigthly 29 build id:20140130030202 This seems like it was fixed in FF 28 I will provide a fix range as soon as I will find one.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Fix range : Last bad nightly: 2013-11-17 First good nightly: 2013-11-18 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a475f94bb1b1&tochan ge=beddd6d4bcdf
Hmm. Nothing in the JS changes in that range jumps out at me as fixing this bug.
(In reply to Boris Zbarsky [:bz] from comment #8) > Hmm. Nothing in the JS changes in that range jumps out at me as fixing this > bug. Bug 928050 was pretty big and could be related somehow. There's also a number of bug fixes like bug 936403. But yeah nothing obvious...
Catalin, are there still tinderbox builds for that date range, perhaps?
Flags: needinfo?(catalin.varga)
(In reply to Boris Zbarsky [:bz] from comment #10) > Catalin, are there still tinderbox builds for that date range, perhaps? I didn't find tinderbox builds for that date. I will create my own builds locally but I will do it only next week due to high importance tasks that take priority.
Flags: needinfo?(catalin.varga)
Attached file SEL Online MOT.html —
Unminimized testcase. This freezes within 5 seconds in older versions of Firefox, but not on trunk.
Resolving based on comment 12.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: