Bug Tracker

Opened 14 years ago

Closed 12 years ago

#4717 closed bug (invalid)

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:


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: Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10

Attachments (1)

frontpage_bare.html (758 bytes) - added by matts 14 years ago.
html file to expose faulty behavior

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by matts

Attachment: frontpage_bare.html added

html file to expose faulty behavior

comment:1 Changed 14 years ago by dmethvin

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.

comment:2 Changed 14 years ago by matts

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.

comment:3 Changed 14 years ago by matts

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.

comment:4 in reply to:  3 Changed 14 years ago by matts

Replying to matts: Disregard that last comment, I had accidentally included jquery twice...

comment:5 Changed 12 years ago by Rick Waldron

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.