Bug 105155

Summary: Firfox hangs on a recently upgraded 6.2-PRERELEASE.
Product: Base System Reporter: rsmith
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.2-PRERELEASE   
Hardware: Any   
OS: Any   

Description rsmith 2006-11-04 21:00:31 UTC
After upgrading to 6.2-PRERELEASE, firefox hangs when trying to set
some of the preferences, or when opening certain websites.

Upgrading all ports didn't help.

Starting firfox from a terminal gives the following error:

GConf Error: Failed to launch configuration server: Failed to execute child process "/usr/local/libexec/gconfd-2" (Invalid argument)

How-To-Repeat: Update to 6.2-PRERELEASE on amd64, start firefox. Open the "preferences"
dialog, select the "Content" tab, and press the "Manage..." button. Firefox
will hang.

After upgrading all ports, audacious hangs as well.
Comment 1 O. Hartmann 2006-11-04 22:04:27 UTC
I can do the recommended 'task for crash', but it takes a while, say, about 30 seconds, before Firefox is bak.

But I also realized a more often hang when closing Firefox, the process is still there, eating up 100% CPU time.
Comment 2 rsmith 2006-11-04 23:51:41 UTC
I get instant hangs. Usually there is no CPU usage at all. If I try to
attach gdb to a firefox-bin process, it barfs.

One time I got a hang at startup with 100% CPU usage.

It was possible to to a ktrace on it. But the ktrace.out is 50 MB, so I
won't post it here. :-) I can mail it if anybody is interested.

One thing that struck me when going over the tracedump was this:

 23905 firefox-bin CALL  kse_thr_interrupt(0,0x6,0x7fffffffd120)
 23905 firefox-bin RET   kse_thr_interrupt -1 errno 22 Invalid argument

It happens on all the firefox-bin processes. It looks like is being
called with a NULL pointer as its first argument. This looks fishy to
me. If it is suspect, the trouble might be in the pthread library?

BTW, the prototype for kse_thr_interrupt in the kse(2) manpage doesn't
match /usr/include/sys/kse.h

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
Comment 3 rsmith 2006-11-06 18:20:14 UTC
Upgrading to the latest firefox (2.0_2,1) did not fix the problem. The
user interface still freezes when accessing when trying to open the file
types handling dialog box from preferences/content.

It _did_ fix the gconfd warnings, though.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
Comment 4 rsmith 2006-11-19 23:55:06 UTC
Please close this PR.

Wiping all ports and rebuilding them solved the problem, whatever it was.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2006-11-20 03:08:00 UTC
State Changed
From-To: open->closed

Solved by reinstalling affected ports.