From owner-freebsd-gecko@FreeBSD.ORG Sun Sep 4 17:10:09 2011 Return-Path: Delivered-To: gecko@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 841D2106567C for ; Sun, 4 Sep 2011 17:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 747628FC1C for ; Sun, 4 Sep 2011 17:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p84HA9We034157 for ; Sun, 4 Sep 2011 17:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p84HA9CH034156; Sun, 4 Sep 2011 17:10:09 GMT (envelope-from gnats) Date: Sun, 4 Sep 2011 17:10:09 GMT Message-Id: <201109041710.p84HA9CH034156@freefall.freebsd.org> To: gecko@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: ports/156889: www/firefox36: firefox 3.6.17 eats cpu on current/x64 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2011 17:10:09 -0000 The following reply was made to PR ports/156889; it has been noted by GNATS. From: Andriy Gapon 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--