Date: Sun, 4 Sep 2011 17:10:09 GMT From: Andriy Gapon <avg@FreeBSD.org> To: gecko@FreeBSD.org Subject: Re: ports/156889: www/firefox36: firefox 3.6.17 eats cpu on current/x64 Message-ID: <201109041710.p84HA9CH034156@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/156889; it has been noted by GNATS. From: Andriy Gapon <avg@FreeBSD.org> To: bug-followup@FreeBSD.org Cc: phk@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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109041710.p84HA9CH034156>