[Bug 120991] Re: ff hangs after longer period of inactivity. seems to intermittently stop working

Ariel Faigon ubuntu at yendor.com
Sun Dec 9 20:13:42 UTC 2007


So many reports on firefox hanging, I'm not sure if this is the one I
should pick to add to.

The reason I picked it is that it seems most similar to what I see, and I don't want to open yet another bug.
But really, I'm not 100% sure if this is the same bug.

Kubuntu version:
Gutsy (7.10) with all latest updates applied as of Dec 9, 2007

Firefox version:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11

Symptom:
Firefox hangs (busy cursor) after a long time of inactivity.

It happens of different websites when I leave the browser on them overnight.
I come in the morning and the browser is hung.
example:  http://www.peterpaulandmary.com/coffeehouse/coffeehouse1.html

Nothing I tried can get it out of this state, clicking on 'stop' button
grays out the stop button, but any new web site I enter gives the same
result: firefox is busy spinning but never actually loads the page.
Firefox seems to be responsive to key and button presses, but is unable
to fetch any content anymore.

Digging deeper:
Firefox is in some high-speed infinite loop (strace looks like this)
gettimeofday({1197227920, 392372}, NULL) = 0
gettimeofday({1197227920, 392489}, NULL) = 0
gettimeofday({1197227920, 392628}, NULL) = 0
gettimeofday({1197227920, 392742}, NULL) = 0
read(7, "\372", 1)                      = 1
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=49, events=POLLIN}], 7, 0) = 0
write(3, "5\30\4\0\304\317\232\1c\0\0\0\30\0\30\0F\377\5\0\304\317"..., 312) = 312
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=49, events=POLLIN}, {fd=7, events=POLLIN, revents=POLLIN}], 8, -1) = 1
gettimeofday({1197227920, 398373}, NULL) = 0
gettimeofday({1197227920, 398489}, NULL) = 0
gettimeofday({1197227920, 398609}, NULL) = 0
gettimeofday({1197227920, 398722}, NULL) = 0
read(7, "\372", 1)                      = 1
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=49, events=POLLIN}, {fd=7, events=POLLIN, revents=POLLIN}], 8, -1) = 1
gettimeofday({1197227920, 442397}, NULL) = 0
gettimeofday({1197227920, 442515}, NULL) = 0
gettimeofday({1197227920, 442654}, NULL) = 0
gettimeofday({1197227920, 442768}, NULL) = 0
read(7, "\372", 1)                      = 1
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=49, events=POLLIN}], 7, 0) = 0
write(3, "5\30\4\0\306\317\232\1c\0\0\0\30\0\30\0F\377\5\0\306\317"..., 300) = 300
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=49, events=POLLIN}, {fd=7, events=POLLIN, revents=POLLIN}], 8, -1) = 1
gettimeofday({1197227920, 448397}, NULL) = 0
gettimeofday({1197227920, 448513}, NULL) = 0
gettimeofday({1197227920, 448631}, NULL) = 0
gettimeofday({1197227920, 448744}, NULL) = 0
read(7, "\372", 1)                      = 1
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=49, events=POLLIN}, {fd=7, events=POLLIN, revents=POLLIN}], 8, -1) = 1
gettimeofday({1197227920, 492419}, NULL) = 0
gettimeofday({1197227920, 492535}, NULL) = 0
gettimeofday({1197227920, 492675}, NULL) = 0
gettimeofday({1197227920, 492789}, NULL) = 0
read(7, "\372", 1)                      = 1

Which almost looks "normal" except it is going through these system
calls MUCH faster than during normal operations. Several of these (full
cycle from gettimeofday, poll, read, ...) per second.

I tried to get a stack trace (I have the package firefox-dbg installed
for this purpose) but there seem to be no symbols:

~> pstack 10543

10543: /usr/lib/firefox/firefox-bin
(No symbols found)
0xffffe410: ???? (a096f58, 8, ffffffff, a096f58, 8, b75e621c) + 40
0xb755c593: ???? (805e520, 1, 81bb058, b4d08780, bff67ac8, 805e520) + 10
0xb755c909: ???? (8160ee0, 8160ee0, 1, 0, 0, 8160ee0) + 30
0xb7bf39e4: ???? (81bb058, b4d09d38, bff67ae8, 8059208, 805b78c, 81bb018)
0xb67ba7aa: ???? (81bb058, 836c4c8)
0xb5c9c6b2: ???? (81bb018, 80582f0, 0, 0, 0, bff67f94) + 3c0
0x0804ec0a: ???? (1, bff67f94, 805b100, bff67f10, b7829ff4, b7ffdce0)
0x0804abdf: ???? (b7ffdce0, 80581c0, bff67f68, b76fa050, 1, bff67f94) + 50
0xb76fa050: ???? (804aba0, 1, bff67f94, 80581c0, 80581b0, b7ff0800) + 40098078

[I should probably file a separate bug on this: firefox-dbg doesn't seem
to actually add symbols]

Some more random info:
- I don't have Google toolbar installed
- I do have several firefox extensions (adblockplus, noscript, firebug, web developer, fasterfox, mcafee site advisor, and various search plugins) 
- I've seen the hang on both youtube.com and last time here (both with javascript enabled):
  http://www.peterpaulandmary.com/coffeehouse/coffeehouse1.html
- Firefox has been updated in the past few days, in the previous version it was hanging on 'futex' and cause a "hard-freeze" (no button key-press is responsive) strace used to show firefox hung forever in:
    futex(0xabbfbbd8, FUTEX_WAIT, 19860, NULL
   and never returning.

  The latest fix seems to have switched firefox from a hard-freeze (never returns from the system call)
  to this 'busy hang' where firefox is responsive, but useless (not fetching pages)

I will gladly answer any question and provide more specific information
to anyone who can ask the right questions.

-- 
ff hangs after longer period of inactivity. seems to intermittently stop working
https://bugs.launchpad.net/bugs/120991
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug assignee.




More information about the Ubuntu-mozillateam-bugs mailing list