High cpu load of an idle firefox process

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
13 years ago
8 years ago

People

(Reporter: Martin Gerbershagen, Unassigned)

Tracking

1.0 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.12) Gecko/20051004 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.12) Gecko/20051004 Firefox/1.0.7

Firefox seems to to permanent polling. This is a truss output of its activity within one
second. The left column is the thread number, the second column the elapsed time and the
rest the system call.

/6:      0.0019 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.0024 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.0027 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.0027 lwp_sema_wait(0xFDA21E60)                       = 0
/1:      0.0031 poll(0x006B22D0, 3, -1)                         = 1
/8:      0.0031 write(6, "FA", 1)                               = 1
/8:      0.0036 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.0038 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.0041 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.0043 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.0048 lwp_sema_post(0xFDA21E60)                       = 0
/8:      0.0050 lwp_sema_wait(0xFDA21E60)                       = 0
/1:      0.0052 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/8:      0.0054 lwp_mutex_lock(0xFE9F3500)                      = 0
/8:      0.0056 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.0058 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) = 0
/8:      0.0061 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.0063 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.0066 read(5, "FA", 1)                                = 1
/1:      0.0069 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.0071 poll(0x006B22D0, 3, 0)                          = 0
/1:      0.0116 write(3, "  ", 1)                               = 1
/1:      0.0119 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/6:      0.1103 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.1106 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.1108 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.1109 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.1112 write(6, "FA", 1)                               = 1
/1:      0.1116 poll(0x008D80B0, 3, -1)                         = 1
/8:      0.1119 lwp_sema_post(0x00031170)                       = 0
/1:      0.1120 lwp_sema_wait(0x00031170)                       = 0
/8:      0.1123 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.1124 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.1128 read(5, "FA", 1)                                = 1
/1:      0.1131 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.1134 poll(0x008D80B0, 3, 0)                          = 0
/1:      0.1168 write(3, "  ", 1)                               = 1
/1:      0.1172 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.1175 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.1177 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.1179 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.1181 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.2203 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.2206 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.2208 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.2209 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.2212 write(6, "FA", 1)                               = 1
/1:      0.2215 poll(0x007C1558, 3, -1)                         = 1
/8:      0.2218 lwp_sema_post(0x00031170)                       = 0
/1:      0.2220 lwp_sema_wait(0x00031170)                       = 0
/8:      0.2222 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.2224 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.2228 read(5, "FA", 1)                                = 1
/1:      0.2231 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.2233 poll(0x007C1558, 3, 0)                          = 0
/1:      0.2268 write(3, "  ", 1)                               = 1
/1:      0.2271 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.2274 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.2277 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.2279 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.2281 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.3204 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.3207 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.3210 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.3210 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.3214 write(6, "FA", 1)                               = 1
/1:      0.3217 poll(0x006B22D0, 3, -1)                         = 1
/8:      0.3220 lwp_sema_post(0x00031170)                       = 0
/1:      0.3222 lwp_sema_wait(0x00031170)                       = 0
/8:      0.3224 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.3226 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.3229 read(5, "FA", 1)                                = 1
/1:      0.3232 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.3235 poll(0x006B22D0, 3, 0)                          = 0
/1:      0.3270 write(3, "  ", 1)                               = 1
/1:      0.3273 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.3276 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.3278 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.3281 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.3283 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.4203 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.4207 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.4209 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.4209 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.4213 write(6, "FA", 1)                               = 1
/1:      0.4216 poll(0x008D80B0, 3, -1)                         = 1
/8:      0.4219 lwp_sema_post(0x00031170)                       = 0
/1:      0.4221 lwp_sema_wait(0x00031170)                       = 0
/8:      0.4223 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.4225 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.4228 read(5, "FA", 1)                                = 1
/1:      0.4231 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.4234 poll(0x008D80B0, 3, 0)                          = 0
/1:      0.4269 write(3, "  ", 1)                               = 1
/1:      0.4272 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.4275 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.4277 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.4280 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.4282 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.5203 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.5206 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.5209 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.5209 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.5213 write(6, "FA", 1)                               = 1
/1:      0.5216 poll(0x007C1558, 3, -1)                         = 1
/8:      0.5219 lwp_sema_post(0x00031170)                       = 0
/1:      0.5220 lwp_sema_wait(0x00031170)                       = 0
/8:      0.5223 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.5225 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.5228 read(5, "FA", 1)                                = 1
/1:      0.5231 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.5234 poll(0x007C1558, 3, 0)                          = 0
/1:      0.5268 write(3, "  ", 1)                               = 1
/1:      0.5272 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.5275 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.5277 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.5279 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.5281 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.6305 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.6308 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.6311 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.6311 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.6315 write(6, "FA", 1)                               = 1
/1:      0.6318 poll(0x006B22D0, 3, -1)                         = 1
/8:      0.6321 lwp_sema_post(0x00031170)                       = 0
/1:      0.6323 lwp_sema_wait(0x00031170)                       = 0
/8:      0.6325 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.6327 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.6330 read(5, "FA", 1)                                = 1
/1:      0.6334 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.6336 poll(0x006B22D0, 3, 0)                          = 0
/1:      0.6371 write(3, "  ", 1)                               = 1
/1:      0.6374 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.6378 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.6380 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.6382 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.6384 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.7425 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.7428 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.7430 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.7431 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.7434 write(6, "FA", 1)                               = 1
/1:      0.7438 poll(0x008D80B0, 3, -1)                         = 1
/8:      0.7441 lwp_sema_post(0x00031170)                       = 0
/1:      0.7443 lwp_sema_wait(0x00031170)                       = 0
/8:      0.7445 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.7447 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.7451 read(5, "FA", 1)                                = 1
/1:      0.7454 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.7456 poll(0x008D80B0, 3, 0)                          = 0
/1:      0.7492 write(3, "  ", 1)                               = 1
/1:      0.7495 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.7498 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.7500 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.7507 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.7509 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.8504 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.8507 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.8509 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.8509 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.8513 write(6, "FA", 1)                               = 1
/1:      0.8516 poll(0x007C1558, 3, -1)                         = 1
/8:      0.8519 lwp_sema_post(0x00031170)                       = 0
/1:      0.8521 lwp_sema_wait(0x00031170)                       = 0
/8:      0.8523 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.8525 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.8529 read(5, "FA", 1)                                = 1
/1:      0.8532 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.8534 poll(0x007C1558, 3, 0)                          = 0
/1:      0.8570 write(3, "  ", 1)                               = 1
/1:      0.8573 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.8576 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.8578 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.8581 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.8583 lwp_mutex_lock(0xFE9ECD18)                      = 0
/6:      0.9504 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.9508 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.9511 lwp_cond_signal(0xFDA21F18)                     = 0
/8:      0.9511 lwp_sema_wait(0xFDA21E60)                       = 0
/8:      0.9515 write(6, "FA", 1)                               = 1
/1:      0.9518 poll(0x006B22D0, 3, -1)                         = 1
/8:      0.9521 lwp_sema_post(0x00031170)                       = 0
/1:      0.9523 lwp_sema_wait(0x00031170)                       = 0
/8:      0.9525 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/1:      0.9527 lwp_mutex_lock(0xFE9F3500)                      = 0
/1:      0.9530 read(5, "FA", 1)                                = 1
/1:      0.9533 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.9536 poll(0x006B22D0, 3, 0)                          = 0
/1:      0.9571 write(3, "  ", 1)                               = 1
/1:      0.9574 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/8:      0.9577 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.9579 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/8:      0.9582 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.9584 lwp_mutex_lock(0xFE9ECD18)                      = 0

After some time running, usually a few hours but it also happened after some minutes
the situation becomes worse and FF uses up 25% cpu load on an ultra-sparc 440MHz
processor. The same behaviour can be observed on a Linux PC with an 800MHz cpu. Here
the basic load is permanently at 2% cpu. A strace shows a similar output. After some hours of program run the cpu load increases up to 60% on the Linux machine. Additionally this
continuous polling creates a high load on the X-Server.
Thread 1 runs the gtk  mainloop.

The problem is not present in the mozilla suite 1.7.12 and was not present in FF 1.0.6.

Reproducible: Always

Steps to Reproduce:
Nothing special to do, happens always.


Expected Results:  
Sleep in an input loop or use a much lower polling frequency.
(Reporter)

Comment 1

13 years ago
This is the truss output of the FF process when it is in the heavy load situation:

6:      0.0514 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.0575 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.0584 lwp_cond_signal(0xFDA21F18)                     = 0
/7:      0.0584 lwp_sema_wait(0xFDA21E60)                       = 0
/1:      0.0599 poll(0x00BA7B58, 3, -1)                         = 1
/7:      0.0599 write(6, "FA", 1)                               = 1
/7:      0.0616 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.0625 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/7:      0.0636 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.0645 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.0664 lwp_sema_post(0xFDA21E60)                       = 0
/7:      0.0673 lwp_sema_wait(0xFDA21E60)                       = 0
/1:      0.0681 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/7:      0.0689 lwp_mutex_lock(0xFE9F3500)                      = 0
/7:      0.0692 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.0695 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) = 0
/7:      0.0697 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.0700 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.0703 read(5, "FA", 1)                                = 1
/1:      0.0706 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.0712 poll(0x00B86630, 3, 0)                          = 0
/1:      0.0761 write(3, "  ", 1)                               = 1
/1:      0.0835 read(3, "0118DF O\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.0840 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.0851 write(3, "  ", 1)                               = 1
/1:      0.0857 read(3, "0118DF R\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.0860 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.0865 write(3, "  ", 1)                               = 1
/1:      0.0876 read(3, "0118DF T\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.0879 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.0891 write(3, "  ", 1)                               = 1
/1:      0.0896 read(3, "0118DF [\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.0900 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.1158 write(3, "  ", 1)                               = 1
/1:      0.1175 read(3, "0118DF u\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.1186 readv(3, 0xFFBECB38, 2)                         = 1024
/6:      0.1531 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.2026 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.2036 lwp_cond_signal(0xFDA21F18)                     = 0
/7:      0.2036 lwp_sema_wait(0xFDA21E60)                       = 0
/7:      0.2052 write(6, "FA", 1)                               = 1
/7:      0.2063 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.2073 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/7:      0.2084 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.2093 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.2159 write(3, "  ", 1)                               = 1
/1:      0.2177 read(3, "0118DF8E\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.2189 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.2201 write(3, "  ", 1)                               = 1
/1:      0.2215 read(3, "0118DF90\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2226 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2244 write(3, "  ", 1)                               = 1
/1:      0.2257 read(3, "0118DF97\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2268 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2287 write(3, "  ", 1)                               = 1
/1:      0.2300 read(3, "0118DF9E\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2312 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2331 write(3, "  ", 1)                               = 1
/1:      0.2344 read(3, "0118DFA5\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2355 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2372 write(3, "  ", 1)                               = 1
/1:      0.2378 read(3, "0118DFAC\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2382 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2538 write(3, "  ", 1)                               = 1
/1:      0.2554 read(3, "0118DFBF\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.2565 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.2576 write(3, "  ", 1)                               = 1
/1:      0.2581 read(3, "0118DFC1\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2584 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2594 write(3, "  ", 1)                               = 1
/1:      0.2599 read(3, "0118DFC4\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.2602 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.2607 write(3, "  ", 1)                               = 1
/1:      0.2630 read(3, "0118DFC6\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2676 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2693 write(3, "  ", 1)                               = 1
/1:      0.2703 read(3, "0118DFC9\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.2706 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.2714 write(3, "  ", 1)                               = 1
/1:      0.2719 read(3, "0118DFCB\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2722 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2765 write(3, "  ", 1)                               = 1
/1:      0.2777 read(3, "0118DFD2\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2788 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2813 write(3, "  ", 1)                               = 1
/1:      0.2826 read(3, "0118DFD9\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.2837 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.2853 write(3, "  ", 1)                               = 1
/1:      0.2872 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.2883 poll(0x008CDCA0, 3, -1)                         = 1
/1:      0.2901 lwp_sema_post(0xFDA21E60)                       = 0
/7:      0.2987 lwp_sema_wait(0xFDA21E60)                       = 0
/1:      0.3031 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/7:      0.3039 lwp_mutex_lock(0xFE9F3500)                      = 0
/7:      0.3048 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.3051 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) = 0
/7:      0.3068 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.3070 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.3086 read(5, "FA", 1)                                = 1
/1:      0.3096 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.3104 poll(0x00B86630, 3, 0)                          = 0
/1:      0.3164 write(3, "  ", 1)                               = 1
/1:      0.3235 read(3, "0118DFF5\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3248 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3266 write(3, "  ", 1)                               = 1
/1:      0.3278 read(3, "0118DFF8\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.3288 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.3300 write(3, "  ", 1)                               = 1
/1:      0.3312 read(3, "0118DFFA\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3323 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3341 write(3, "  ", 1)                               = 1
/1:      0.3353 read(3, "0118E001\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3364 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3416 write(3, "  ", 1)                               = 1
/1:      0.3432 read(3, "0118E01B\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3530 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3603 write(3, "  ", 1)                               = 1
/1:      0.3627 read(3, "0118E0 4\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.3639 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.3651 write(3, "  ", 1)                               = 1
/1:      0.3661 read(3, "0118E0 6\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3672 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3683 write(3, "  ", 1)                               = 1
/1:      0.3689 read(3, "0118E0 =\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3693 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3704 write(3, "  ", 1)                               = 1
/6:      0.3710 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) Err#62 ETIME
/6:      0.3716 lwp_sema_post(0xFDA21E60)                       = 0
/6:      0.3718 lwp_cond_signal(0xFDA21F18)                     = 0
/7:      0.3719 lwp_sema_wait(0xFDA21E60)                       = 0
/7:      0.3723 write(6, "FA", 1)                               = 1
/7:      0.3728 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.3730 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0x00000000) = 0
/7:      0.3733 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.3735 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.3739 read(3, "0118E0 D\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3742 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3754 write(3, "  ", 1)                               = 1
/1:      0.3760 read(3, "0118E0 K\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.3763 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.3774 write(3, "  ", 1)                               = 1
/1:      0.4764 read(3, "0118E0 R\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.4783 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.4835 write(3, "  ", 1)                               = 1
/1:      0.4851 read(3, "0118E0 e\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.4862 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.4874 write(3, "  ", 1)                               = 1
/1:      0.4886 read(3, "0118E0 g\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.4897 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.4915 write(3, "  ", 1)                               = 1
/1:      0.4927 read(3, "0118E0 j\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.4938 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.4950 write(3, "  ", 1)                               = 1
/1:      0.4961 read(3, "0118E0 l\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.4972 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.4988 write(3, "  ", 1)                               = 1
/1:      0.5000 read(3, "0118E0 o\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.5014 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.5026 write(3, "  ", 1)                               = 1
/1:      0.5037 read(3, "0118E0 q\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.5048 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.5068 write(3, "  ", 1)                               = 1
/1:      0.5081 read(3, "0118E0 x\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.5092 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.5117 write(3, "  ", 1)                               = 1
/1:      0.5129 read(3, "0118E07F\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.5140 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.5156 write(3, "  ", 1)                               = 1
/1:      0.5175 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.5293 poll(0x00BA7B58, 3, -1)                         = 1
/1:      0.6215 lwp_sema_post(0xFDA21E60)                       = 0
/7:      0.6228 lwp_sema_wait(0xFDA21E60)                       = 0
/1:      0.6237 lwp_mutex_wakeup(0xFE9F3500)                    = 0
/7:      0.6246 lwp_mutex_lock(0xFE9F3500)                      = 0
/7:      0.6256 lwp_cond_signal(0xFE9ECD30)                     = 0
/6:      0.6265 lwp_cond_wait(0xFE9ECD30, 0xFE9ECD18, 0xFE407D30) = 0
/7:      0.6276 lwp_mutex_wakeup(0xFE9ECD18)                    = 0
/6:      0.6285 lwp_mutex_lock(0xFE9ECD18)                      = 0
/1:      0.6295 read(5, "FA", 1)                                = 1
/1:      0.6306 ioctl(3, FIONREAD, 0xFFBEDA24)                  = 0
/1:      0.6317 poll(0x00B86630, 3, 0)                          = 0
/1:      0.6373 write(3, "  ", 1)                               = 1
/1:      0.6446 read(3, "0118E09B\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.6459 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.6478 write(3, "  ", 1)                               = 1
/1:      0.6490 read(3, "0118E09E\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.6501 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.6544 write(3, "  ", 1)                               = 1
/1:      0.6556 read(3, "0118E0A0\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.6567 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.6585 write(3, "  ", 1)                               = 1
/1:      0.6598 read(3, "0118E0A7\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.6611 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.6660 write(3, "  ", 1)                               = 1
/1:      0.6769 read(3, "0118E0C1\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.6781 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.6855 write(3, "  ", 1)                               = 1
/1:      0.6871 read(3, "0118E0DA\0\0\0 Q\0\0\0\0".., 32)       = 32
/1:      0.6881 readv(3, 0xFFBECB08, 2)                         = 324
/1:      0.6893 write(3, "  ", 1)                               = 1
/1:      0.6904 read(3, "0118E0DC\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.6921 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.6939 write(3, "  ", 1)                               = 1
/1:      0.6951 read(3, "0118E0E3\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.6962 readv(3, 0xFFBECB38, 2)                         = 1024
/1:      0.6980 write(3, "  ", 1)                               = 1
/1:      0.6992 read(3, "0118E0EA\0\001\0\0\0\0\0".., 32)       = 32
/1:      0.7003 readv(3, 0xFFBECB38, 2)                         = 1024

During this 0.7 seconds it took 25% of a cpu, but the process was idle. This is a 
pstack snapshot:
2753:   /ul30/gm0730/usr/local/lib/firefox/firefox-bin
-----------------  lwp# 1 / thread# 1  --------------------
 fea9fd1c _write   (35c50, fed9d264, fed9a000, fe880000, 35c50, 0) + c
 fed1c8b0 _XReply  (35c50, 0, 0, 0, 785994, 35c50) + a0
 fed3eb54 XGetImage (35c50, 2, ffffffff, 91, 10, 10) + a8
 fdc5ae20 ???????? (0, 10, 0, 0, 10, 10)
 fdc7be8c ???????? (fe2528, 556a20, ffbecea0, ffbecdd0, 1635, fdc5eb28)
 fd7fe8c0 ???????? (7151ac, 15, 637a20, ffbecec0, 211d00, fe2528)
 fd800368 ???????? (7151ac, 15, 637a20, 10, 211d00, fe2528)
 fd800ce8 ???????? (7151ac, 15, f, 211d00, fe2528, ffbed320)
 fd8021a8 ???????? (7151ac, 211d00, fe2528, ffbed320, 15, 0)
 fd50d540 ???????? (ffbed220, 7151ac, fe2528, ffbed320, 1, fd517238)
 fd7ad794 ???????? (7173f8, fe2528, ffbed320, 0, ffbed31c, fd7ad730)
 fd7b0978 ???????? (60fd50, fe2740, fe2528, 1083670, 0, 0)
 fd7b54fc ???????? (60fd50, 716308, ffbed5c0, ffbed410, 1083670, ffbed520)
 fd7b6278 ???????? (60fd50, 7173f8, fe2528, 7b0078, 1, 80000000)
 fd7b7a80 ???????? (60fd50, ffbed878, 60fd94, 0, 0, fd7b6d8c)
 fd7ac2ac ???????? (ffbed878, ffbed790, c9ee0, fffffff8, fdf59ce0, fdf5df30)
 fdf5af78 ???????? (716308, ffbed878, ffbed7fc, fdf708c0, ffbed8cc, fdf5aef8)
 fdf5a9ec ???????? (716308, ffbed878, ffbed8bc, ffbed8c0, ffbed8c4, 2)
 fdf62e40 ???????? (716308, 893178, 0, 0, 0, fdc76ba4)
 fdf6329c ???????? (716308, feabc008, 5fada0, feabc008, fdf891dc, fdf631a4)
 fdf5e6f0 ???????? (48090, fee6ac30, 0, fee47838, 0, 0)
 fee475dc g_idle_dispatch (fdf5e680, ffbedb90, 0, 0, 0, 1620) + 4
 fee45f1c g_main_dispatch (24, 24, 30, 28, 30, 480) + 140
 fee467fc g_main_iterate (28, 1, 24, 24, 4cc, 30) + 7f8
 fee46a08 g_main_run (152598, 152598, 5, fdf84c10, 718, f400) + b8
 fefe2e90 gtk_main (0, 7000, 739c, 0, 1, 0) + fc
 fdf4e058 ???????? (613d8, 1d500, 7, 0, ff1c48d8, fdf4e020)
 fe941e34 ???????? (7cd30, 1, 1e484, 400, ff2456d0, fe941e24)
 0001779c ???????? (0, ffbee868, 2eec0, ffbee838, 0, 0)
 00013770 _start   (0, 0, 0, 0, 0, 0) + 5c
-----------------  lwp# 2 / thread# 2  --------------------
 fea9f08c signotifywait ()
 fe9ce980 _dynamiclwps (fe9ec000, ff3e0b68, 0, ff120f88, 2f, 7efefeff) + 24
 fe9d1c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c
-----------------  lwp# 9  --------------------------------
 fea9cc30 door     (0, 0, 0, 0, fe101d38, 4)
 fe9d687c _sc_door_func (0, 0, 0, 0, 0, 0) + 6c
-----------------  lwp# 4 / thread# 3  --------------------
 fea9f73c lwp_sema_wait (fe70de60)
 fe9c96f4 _park    (fe70de60, fe9ec000, 0, fe70dd98, 23154, 0) + 114
 fe9c93bc _swtch   (fe70dd98, fe70dd98, fe9ec000, 5, 1000, 1) + 424
 fe9cd9e0 _reap_wait (fe9f0988, fe9ec000, 0, 3a, 0, 3a) + 38
 fe9cd738 _reaper  (fe9ece08, fe9f2710, fe9f0988, fe9ecde0, 1, fe400000) + 38
 fe9db11c _thread_start (0, 0, 0, 0, 0, 0) + 40
-----------------  lwp# 5 / thread# 4  --------------------
 fea9d8c8 poll     (fde019d8, 1, ffffffff)
 fe9da8dc poll     (aaaaaaaa, 1, ffffffff, fea41ff8, b0a0c, 0) + 34
 fdd3a960 ???????? (b06b8, 800, c00, fdde11b8, fdde11b8, fdde11b8)
 ff204870 _ZN8nsThread4MainEPv (aff84, 1, fe9ec000, 4, 6ef18, 48ef0) + 20
 ff156988 ???????? (6ef18, fe509d38, 1, fe9f8d0c, 0, 2)
 fe9db11c _thread_start (6ef18, 0, 0, 0, 0, 0) + 40
-----------------  lwp# 6 / thread# 7  --------------------
 fe9d92fc lwp_cond_wait (fe9ecd30, fe9ecd18, fe407d30)
 fe9c89b0 _co_timerset (fe9ecd30, fe9ec000, fe9ecd18, fe407d30, fe9ec000, 0) + a0
 fe9db11c _thread_start (0, 0, 0, 0, 0, 0) + 40
-----------------  lwp# 7 / thread# 6  --------------------
 fea9f73c lwp_sema_wait (fda21e60)
 fe9c96f4 _park    (fda21e60, fe9ec000, 0, fda21d98, 23154, fe70dd98) + 114
 fe9c93bc _swtch   (fda21d98, 0, fe9ec000, 5, 1000, 0) + 424
 fe9c7da0 cond_reltimedwait (0, fda21d98, 0, fe9ec000, 0, 0) + 1dc
 fe9c7bb4 cond_timedwait (c9868, e1090, fda21b50, c9868, 0, 0) + 2c
 fe9c7b1c pthread_cond_timedwait (c9868, e1090, fda21b50, aa, aa, 31879) + c
 ff15103c ???????? (c9868, e1090, 2115, 2710, 1, ff17187c)
 ff1513b8 PR_WaitCondVar (c9860, 2115, 2, 88c3bbc6, 88c3dcdb, ffffdeeb) + 54
 ff206a74 ???????? (e0fc8, 48e90, 48e90, fe9edcf8, 4, ff20741c)
 ff204870 _ZN8nsThread4MainEPv (cac1c, 1, fe9ec000, 4, e1150, dfc50) + 20
 ff156988 ???????? (e1150, fe975d38, 0, 5, 1, fe401000)
 fe9db11c _thread_start (e1150, 0, 0, 0, 0, 0) + 40

I was built with --enable-strip,. so the ????? in the stack, sorry. If you need
more detailed info, I have to recompile it without stripping.

Comment 2

11 years ago
Do you still have the problem with the current release and/or development builds?
If not, please close the bug as WORKSFORME.
Whiteboard: CLOSEME 2007-07-03
(Reporter)

Comment 3

11 years ago
The problem is still present in FF 1.5.0.12. But now I found the root cause. It is caused by an animated GIF picture, that is used as a web page icon. Some weeks after I reported the error, I noticed, that the problem went away after closing the bookmark frame. When I opened the bookmark frame again, the problem appeared again after some hours or days. The image continues jumping also in the url input line, in the bookmark menu and in the tab where the page is displayed. Switching off image animation with the option image.animation_mode stops the image animation in the bookmark frame but not in the bookmark menu, the tab and the url input line. So I get a permanent machine load of appr. 10% cpu for the FF process and 25% for the X Server, if the page is displayed. A correction should be done, because the image comes from a remote server and the user has no chance to reject it. The best solution would be, to deactivate image animation for web page icons in general.

Comment 4

11 years ago
bug 111373 - a preference setting to be able to disable site icon animation
bug 254567 - an option to disable animated favicons when inserted in bookmarks
Whiteboard: CLOSEME 2007-07-03

Comment 5

11 years ago
Hi Martin, can you reproduce this bug on Firefox 2.0.0.4: 

Download the Firefox 2.0.0.4 for Solaris 10 : 
http://www.mozilla.com/en-US/firefox/2.0.0.4/releasenotes/#contributedbuilds

Since the bug can be also observed on Linux, so change the platform to Linux. 
OS: Solaris → Linux
Hardware: Sun → PC
(Reporter)

Comment 6

11 years ago
Finally I got Firefox 2.0.0.5 compiled and running. The error is still there. The icon displayed in the bookmarks frame and in the bookmarks menu are displayed animated, despite of image animation is deactivated. The icons displayer in the tab and the window itself are not animated. This is ok according to the settings. Please find attached the animated icon.
(Reporter)

Comment 7

11 years ago
Created attachment 274454 [details]
animated icon
(Reporter)

Comment 8

11 years ago
Finally I got Firefox 2.0.0.5 compiled and running. The error is still there. The icon displayed in the bookmarks frame and in the bookmarks menu are displayed animated, despite of image animation is deactivated. The icons displayer in the tab and the window itself are not animated. This is ok according to the settings. Please find attached the animated icon.

Comment 9

8 years ago
Martin,
see this in FF 3.5 started in safe mode?
 https://support.mozilla.com/en-US/kb/Safe+Mode

does bug 504990 match your experience?
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Severity: critical → major
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.