From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Can we apply this patch for bug 84 and 425? Date: Wed, 08 Oct 2008 11:55:46 -0400 Message-ID: <87prmbw071.fsf@cyd.mit.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223481752 25474 80.91.229.12 (8 Oct 2008 16:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 16:02:32 +0000 (UTC) Cc: Stefan Monnier , Emacs Development To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 08 18:03:27 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnbNd-0002iQ-9Y for ged-emacs-devel@m.gmane.org; Wed, 08 Oct 2008 17:55:17 +0200 Original-Received: from localhost ([127.0.0.1]:48248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnbMZ-00006L-J5 for ged-emacs-devel@m.gmane.org; Wed, 08 Oct 2008 11:54:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnbMV-00005F-1V for emacs-devel@gnu.org; Wed, 08 Oct 2008 11:54:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnbMT-0008W2-Fr for emacs-devel@gnu.org; Wed, 08 Oct 2008 11:54:06 -0400 Original-Received: from [199.232.76.173] (port=45487 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnbMT-0008Vy-An for emacs-devel@gnu.org; Wed, 08 Oct 2008 11:54:05 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:49172) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnbMT-00079F-J4 for emacs-devel@gnu.org; Wed, 08 Oct 2008 11:54:05 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 9073057E212; Wed, 8 Oct 2008 11:55:46 -0400 (EDT) In-Reply-To: (joakim@verona.se's message of "Wed, 08 Oct 2008 10:59:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104422 Archived-At: joakim@verona.se writes: > Just to be fair to Marcus, he also said it needed further debugging to > determine the actual cause of the bug. OTOH I've tried to debug it and I > cant find a reproducible test-case. The bug just manifests sometimes. Have you applying the patch in question to Emacs, running Emacs under GDB, and setting the breakpoint at the `break;' line? >>> +#ifdef EBADF >>> + else if (nread == -1 && EBADF == errno) >>> + break; >>> +#endif