Closed Bug 524203 Opened 16 years ago Closed 15 years ago

Firefox hangs on shutdown, consuming 100% CPU

Categories

(Firefox :: General, defect)

3.5 Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: clark, Unassigned)

Details

(Keywords: hang, stackwanted)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.224.2 Safari/532.3 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20091013 Gentoo Firefox/3.5.3 Every time I shut down Firefox, the main window is closed, but the the process immediately starts consuming 100% CPU and must be killed manually. Reproducible: Always Steps to Reproduce: 1. Start firefox in safe mode (/usr/bin/firefox -safe-mode) 2. As soon as the home page has loaded, exit firefox I was not able to attach a debugger to the process, but I was able to strace it. These are the (edited) results: [ .. trimmed .. ] 1024 close(3) = 0 1024 socket(PF_FILE, SOCK_STREAM, 0) = 3 1024 connect(3, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"...}, 20) = 0 1024 getpeername(3, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0\377\177"...}, [20]) = 0 [ .. trimmed normal system calls .. ] 1024 read(3, "\1\1\275.\0\0\0\0\31\0\200\2\0\0\0\0\320-\244\3\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 32 1024 read(3, 0x7ff03788f074, 4096) = -1 EAGAIN (Resource temporarily unavailable) 1024 close(3) = 0 1024 close(27) = 0 1024 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLNVAL}]) 1024 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLNVAL}]) 1024 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLNVAL}]) 1024 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLNVAL}]) [ .. the poll() system call repeat indefinitely, in a very tight loop ..] 1024 --- SIGINT (Interrupt) @ 0 (0) --- 1024 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7ff0387f6a10}, NULL, 8) = 0 1024 rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0 1024 tgkill(1024, 1024, SIGINT) = 0 1024 --- SIGINT (Interrupt) @ 0 (0) --- 1024 +++ killed by SIGINT +++
I should mention that this is with the Gentoo x86_64 version of Firefox, compiled from source. If that is a problem, please let me know and I'll try and reproduce this with a downloaded, pre-compiled version.
I have the same symptoms on my system here. OS: Win XP, current patch level Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) I'll try to get a stacktryce for it and post it.
do you also see this started in safe mode? https://support.mozilla.com/kb/Safe+Mode with trunk build?
Keywords: hang
robert, can you reproduce with 4.0 beta? (I see now that you tried safe mode.)
Keywords: stackwanted
Version: unspecified → 3.5 Branch
Whiteboard: [closeme 2011-05-19]
If you can reproduce with 4.0 or newer, please reopen the bug
Severity: normal → critical
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2011-05-19]
You need to log in before you can comment on or make changes to this bug.