The Page Freezes for quite some time

RESOLVED WORKSFORME

Status

()

Core
Layout
P2
normal
RESOLVED WORKSFORME
16 years ago
11 years ago

People

(Reporter: Vladimir, Assigned: Marc Attinasi)

Tracking

({perf})

Trunk
Future
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0rc2) Gecko/20020510
BuildID:    2002051006

The inficating URL open the page and it freezes for some time.
This navigation is almost instance in Netscape 4.7X and MS IE.

Reproducible: Always
Steps to Reproduce:
1. See above
2.
3.
wfm with win2k build 20020512..

-> Layout
Assignee: sgehani → attinasi
Component: XP Apps → Layout
QA Contact: paw → petersen
(Reporter)

Comment 2

16 years ago
Compare with other browsers!
If you have very fast machine it is probably difficult to observe.
I have PII 400 MGz.
In Netscape 4.7X it doest not freeze at all.

Comment 3

16 years ago
The page loads quickly enough, but then locks up while it builds the dhtml menus
on the left hand side of the page. There are similar bug reports on file :-/
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: perf

Updated

16 years ago
Priority: -- → P2
Target Milestone: --- → Future
*** Bug 146660 has been marked as a duplicate of this bug. ***
*** Bug 158183 has been marked as a duplicate of this bug. ***

Comment 6

15 years ago
I think this is the same bug, I've observed it with several different builds of
Firebird for Linux (Daily builds from 20030530, 20030605, 20030609), but I haven't
seen others confirm this on non-Windows platforms.

Shortly after starting up everything works hunky-doory, but after a few hours
page loads sometimes send my CPU to 100% for several seconds and the browser is
completely at a stand-still. Leave it running longer and soon it becomes every
page load sending the CPU to 100%.

I did an strace on one slow page load and saw approximately 80 seconds with
zillions of gettimeofday() calls.

$ ps -ef |grep -i moz
bgriffin  6952  6950  0 12:33 ?        00:00:00 /usr/local/phoenix/MozillaFirebi
bgriffin  6953  6952  0 12:33 ?        00:00:01 /usr/local/phoenix/MozillaFirebi
bgriffin  6954  6952  0 12:33 ?        00:00:00 /usr/local/phoenix/MozillaFirebi
bgriffin  6955  6952  0 12:33 ?        00:00:02 /usr/local/phoenix/MozillaFirebi
bgriffin  8286  6952  0 14:37 ?        00:00:00 /usr/local/phoenix/MozillaFirebi
bgriffin  6950  6933  6 12:33 ?        00:10:58 /usr/local/phoenix/MozillaFirebi
$ strace -p 6952
[...]
# A summary of what I saw from poll() to poll()
poll([{fd=3, events=POLLIN}, {fd=25, events=POLLIN}, {fd=4, events=POLLIN,
revents=POLLIN}], 3, -1) = 1
gettimeofday({1055197029, 179600}, NULL) = 0
gettimeofday({1055197029, 180862}, NULL) = 0
kill(6955, SIGRT_0)
gettimeofday({1055197029, 182681}, NULL) = 0
# 237011 more lines of gettimeofday()
gettimeofday({1055197109, 284381}, NULL) = 0
kill(6955, SIGRT_0)                     = 0
gettimeofday({1055197109, 289674}, NULL) = 0
gettimeofday({1055197109, 291615}, NULL) = 0
kill(6955, SIGRT_0)                     = 0
gettimeofday({1055197109, 302499}, NULL) = 0
gettimeofday({1055197109, 304648}, NULL) = 0
gettimeofday({1055197109, 306713}, NULL) = 0
gettimeofday({1055197109, 308790}, NULL) = 0
gettimeofday({1055197109, 327872}, NULL) = 0
kill(6955, SIGRT_0)                     = 0
gettimeofday({1055197109, 337663}, NULL) = 0
gettimeofday({1055197109, 339977}, NULL) = 0
gettimeofday({1055197109, 342971}, NULL) = 0
gettimeofday({1055197109, 346968}, NULL) = 0
gettimeofday({1055197109, 354815}, NULL) = 0
gettimeofday({1055197109, 357116}, NULL) = 0
uname({sys="Linux", node="bgriffin-unx", ...}) = 0
gettimeofday({1055197109, 376748}, NULL) = 0
gettimeofday({1055197109, 402921}, NULL) = 0
kill(6955, SIGRT_0)                     = 0
gettimeofday({1055197109, 408189}, NULL) = 0
# another 30-odd lines of gettimeofday()
gettimeofday({1055197109, 505846}, NULL) = 0
lseek(27, 327168, SEEK_SET)             = 327168
read(27, "\0\1\0\5\0\0\0\0\0\0\0\1>\337\324\220>\337\324\220>\344"..., 512) = 512
gettimeofday({1055197109, 511818}, NULL) = 0
gettimeofday({1055197109, 511818}, NULL) = 0
gettimeofday({1055197109, 514283}, NULL) = 0
gettimeofday({1055197109, 516651}, NULL) = 0
gettimeofday({1055197109, 518884}, NULL) = 0
write(6, "8", 1)                        = 1
kill(6953, SIGRT_0)                     = 0
gettimeofday({1055197109, 529233}, NULL) = 0
# 70+ lines of gettimeofday()
gettimeofday({1055197109, 664759}, NULL) = 0
kill(6955, SIGRT_0)                     = 0
lseek(29, 9900032, SEEK_SET)            = 9900032
write(29, "\n\n<HTML>\n<HEAD>\n<TITLE>Alex\'s in"..., 8192) = 8192
kill(6955, SIGRT_0)                     = 0
gettimeofday({1055197109, 665728}, NULL) = 0
gettimeofday({1055197109, 665869}, NULL) = 0
gettimeofday({1055197109, 665988}, NULL) = 0
gettimeofday({1055197109, 670805}, NULL) = 0
gettimeofday({1055197109, 670925}, NULL) = 0
gettimeofday({1055197109, 675474}, NULL) = 0
lseek(27, 5568000, SEEK_SET)            = 5568000
write(27, "\0\1\0\5\0\0\0\0\0\0\0\1>\345\7d>\345\7\265\0\0\0\0\0\0"..., 512) = 512
write(9, "\372", 1)                     = 1
gettimeofday({1055197109, 678891}, NULL) = 0
write(3, "\1\20\r\0Vz \3\360Y \3\0\0\0\0#\3(\2\0\0\1\0$\0\0\0*(\0"..., 900) = 900
ioctl(3, FIONREAD, [32])                = 0
read(3, "\6\0\375\fA\343\244\256*\0\0\0\373y \3\0\0\0\0\210\3=\3"..., 32) = 32
poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=25, events=POLLIN}], 2, 0) = 1
[...]

$ lsof -p 6952
[...]
MozillaFi 6952 bgriffin    0r   CHR        1,3          243074 /dev/null
MozillaFi 6952 bgriffin    1w   REG        3,3 1677837      33 /home/bgriffin/.Xlog
MozillaFi 6952 bgriffin    2w   REG        3,3 1677837      33 /home/bgriffin/.Xlog
MozillaFi 6952 bgriffin    3u  unix 0xc99e2ac0         6132191 socket
MozillaFi 6952 bgriffin    4r  FIFO        0,0         6132198 pipe
MozillaFi 6952 bgriffin    5r  FIFO        0,0         6132195 pipe
MozillaFi 6952 bgriffin    6w  FIFO        0,0         6132195 pipe
MozillaFi 6952 bgriffin    7r  FIFO        0,0         6132196 pipe
MozillaFi 6952 bgriffin    8w  FIFO        0,0         6132196 pipe
MozillaFi 6952 bgriffin    9w  FIFO        0,0         6132198 pipe
MozillaFi 6952 bgriffin   10u   REG        3,3  135168 1757276
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/Cache/_CACHE_MAP_
MozillaFi 6952 bgriffin   11r   REG       8,17 1753035  296086
/usr/local/phoenix/chrome/comm.jar
MozillaFi 6952 bgriffin   12r   REG       8,17  443737  296084
/usr/local/phoenix/chrome/en-US.jar
MozillaFi 6952 bgriffin   13r   REG       8,17   23308  296089
/usr/local/phoenix/chrome/embed-sample.jar
MozillaFi 6952 bgriffin   14r   REG       8,17  784005  296090
/usr/local/phoenix/chrome/classic.jar
MozillaFi 6952 bgriffin   15r   REG       8,17   75493  296094
/usr/local/phoenix/chrome/US.jar
MozillaFi 6952 bgriffin   16r   REG       8,17    8448  296092
/usr/local/phoenix/chrome/en-unix.jar
MozillaFi 6952 bgriffin   17r   REG       8,17 1260203  296088
/usr/local/phoenix/chrome/toolkit.jar
MozillaFi 6952 bgriffin   18r   REG       8,17     754  296096
/usr/local/phoenix/chrome/pipnss.jar
MozillaFi 6952 bgriffin   19r   REG       8,17  273034  296097
/usr/local/phoenix/chrome/pippki.jar
MozillaFi 6952 bgriffin   20r   REG       8,17  697655  296098
/usr/local/phoenix/chrome/browser.jar
MozillaFi 6952 bgriffin   21r   REG        3,3    1368 2244687
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/chrome/flashblock.jar
MozillaFi 6952 bgriffin   22r   REG       8,17   23154  296100
/usr/local/phoenix/chrome/livehttpheaders.jar
MozillaFi 6952 bgriffin   23r   REG        3,3    7181 2244691
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/chrome/nukeimage.jar
MozillaFi 6952 bgriffin   24r   REG       8,17   68412  296101
/usr/local/phoenix/chrome/preferential.jar
MozillaFi 6952 bgriffin   25r  FIFO        0,0         6132210 pipe
MozillaFi 6952 bgriffin   26w  FIFO        0,0         6132210 pipe
MozillaFi 6952 bgriffin   27u   REG        3,3 5568512 1757277
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/Cache/_CACHE_001_
MozillaFi 6952 bgriffin   28u   REG        3,3 2927616 1757278
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/Cache/_CACHE_002_
MozillaFi 6952 bgriffin   29u   REG        3,3 9908224 1757279
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/Cache/_CACHE_003_
MozillaFi 6952 bgriffin   30u   REG        3,3 6411732 2244671
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/history.dat
MozillaFi 6952 bgriffin   32u   REG        3,3   69143 2244676
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/formhistory.dat
MozillaFi 6952 bgriffin   33u   REG        3,3   65536 2244673
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/cert8.db
MozillaFi 6952 bgriffin   34u   REG        3,3   16384 2244674
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/key3.db
MozillaFi 6952 bgriffin   35u   REG        3,3       0 1757419
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/Cache/2993D664d01 (deleted)
MozillaFi 6952 bgriffin   37r   REG        3,3  637997 2244675
/home/bgriffin/.phoenix/default/1cpf1ud0.slt/XUL.mfasl
MozillaFi 6952 bgriffin   39u  unix 0xca9f20e0         6138960 socket
MozillaFi 6952 bgriffin   40u  unix 0xd4d19080         6138966 socket


Let me just say this bug really irratates me.

Comment 7

11 years ago
WFM, FF 2 and current trunk
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.