Skip to main content

Bug Tracker

Side navigation

#4717 closed bug (invalid)

Opened June 02, 2009 04:00PM UTC

Closed November 01, 2010 09:00PM UTC

jQuery creates permanent failed state in Firefox when rapidly reloaded

Reported by: matts Owned by:
Priority: critical Milestone: 1.3.2
Component: core Version: 1.3.2
Keywords: firefox crash won't load Cc:
Blocked by: Blocking:
Description

This is a serious bug because it results in the browser persistently refusing to load the jQuery scripts even through reloads. This naturally paralyzes all jQuery aspects of the page, and the only remedy is to restart Firefox or open the page in a new tab/window.

It's easily reproduced on a ubuntu jaunty machine anyway:

1) Use jQuery 1.3.2, development-bundle or minimized versions with the attached HTML file. To properly reproduce this you'll want all of the documents to be served from an apache install on your local machine, not pulling from jQuery.com.

2) Open Firefox. (see below for my version)

3) Very rapidly reload the page about 4 times to simulate at least a few partial content loads

4) Observe (with Firebug) that Firefox completely stops bothering to load jQuery at all.

This appeared when I started adding more ajax functionality to a site I'm working on, and I minimized the problem down to this.

I have no idea how to further debug it though, Firebug just shows that Firefox doesn't load jQuery anymore, and of course the jQuery scripts on the page never reach $(document).ready.

  • my browser id: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Attachments (1)

html file to expose faulty behavior

Change History (5)

Changed June 05, 2009 03:43AM UTC by dmethvin comment:1

You mentioned Firebug. Does the problem still occur when Firebug and other plugins are not active? There have been several Firebug heisenbugs like that in the past.

Changed June 05, 2009 12:42PM UTC by matts comment:2

I completely disabled Firebug (and just in case, webdeveloper too) and unfortunately the problem persists.

One thing that has helped is ceasing use of the jQuery based cluetip plugin. I can still duplicate the above reported situation, but without cluetip in the mix my regularly-loaded pages do not fail nearly as frequently. Speed-loading of course still causes a crash.

I might have to learn how to debug Firefox to get anywhere from here though hm? I wonder if it can be made to produce a useful log of javascript events.

Let me know if I can do anything else to help you reproduce the bug.

Changed June 05, 2009 02:57PM UTC by matts comment:3

Hm additionally I noticed that jqueryui is hanging up whenever I'm trying to use a plugin. It hangs on line 10 which is the start of the compressed script. I haven't been able to find an uncompressed version of jqueryui yet, but once I do that may give me a shot at narrowing this down.

Changed June 05, 2009 02:59PM UTC by matts comment:4

Replying to [comment:3 matts]:

Disregard that last comment, I had accidentally included jquery twice...

Changed November 01, 2010 09:00PM UTC by rwaldron comment:5

resolution: → invalid
status: newclosed