ports/156889: www/firefox36: firefox 3.6.17 eats cpu on
current/x64
Andriy Gapon
avg at FreeBSD.org
Sun Sep 4 17:10:09 UTC 2011
The following reply was made to PR ports/156889; it has been noted by GNATS.
From: Andriy Gapon <avg at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc: phk at critter.freebsd.dk
Subject: Re: ports/156889: www/firefox36: firefox 3.6.17 eats cpu on current/x64
Date: Sun, 04 Sep 2011 20:01:16 +0300
This is a multi-part message in MIME format.
--------------070206010201090100080807
Content-Type: text/plain; charset=X-VIET-VPS
Content-Transfer-Encoding: 7bit
I think that the attached patch should resolve the issue.
Please see the following thread for more details:
http://article.gmane.org/gmane.os.freebsd.devel.gecko/1152
Looks like the upstream may benefit from the patch as well.
--
Andriy Gapon
--------------070206010201090100080807
Content-Type: text/plain;
name="nspr-pollhup.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="nspr-pollhup.patch"
--- mozilla/nsprpub/pr/src/pthreads/ptio.c.orig 2011-09-02 12:00:35.233509956 +0300
+++ mozilla/nsprpub/pr/src/pthreads/ptio.c 2011-09-02 12:00:39.987512769 +0300
@@ -1635,7 +1635,7 @@ static PRStatus pt_ConnectContinue(
PR_SetError(PR_BAD_DESCRIPTOR_ERROR, 0);
return PR_FAILURE;
}
- if ((out_flags & (PR_POLL_WRITE | PR_POLL_EXCEPT | PR_POLL_ERR)) == 0)
+ if ((out_flags & (PR_POLL_WRITE | PR_POLL_EXCEPT | PR_POLL_ERR | PR_POLL_HUP)) == 0)
{
PR_ASSERT(out_flags == 0);
PR_SetError(PR_IN_PROGRESS_ERROR, 0);
--------------070206010201090100080807--
More information about the freebsd-gecko
mailing list