From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: abort in wait_reading_process_input Date: Fri, 04 Jun 2004 02:52:53 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87llj4i1p6.fsf@gnu.org> References: <87y8nikbgw.fsf@emacswiki.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086310422 10319 80.91.224.253 (4 Jun 2004 00:53:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Jun 2004 00:53:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 04 02:53:32 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BW2xg-0004Pg-00 for ; Fri, 04 Jun 2004 02:53:32 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BW2xg-0001JR-00 for ; Fri, 04 Jun 2004 02:53:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW2y2-0002N2-M2 for emacs-devel@quimby.gnus.org; Thu, 03 Jun 2004 20:53:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BW2xy-0002K5-9F for emacs-devel@gnu.org; Thu, 03 Jun 2004 20:53:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BW2xx-0002JB-Is for emacs-devel@gnu.org; Thu, 03 Jun 2004 20:53:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW2xx-0002J5-GZ for emacs-devel@gnu.org; Thu, 03 Jun 2004 20:53:49 -0400 Original-Received: from [62.2.95.247] (helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BW2x8-0007j5-4a for emacs-devel@gnu.org; Thu, 03 Jun 2004 20:52:58 -0400 Original-Received: from confusibombus.emacswiki.org (80-218-2-128.dclient.hispeed.ch [80.218.2.128]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id i540qlwv012141; Fri, 4 Jun 2004 02:52:47 +0200 Original-To: storm@cua.dk (Kim F. Storm) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACkElEQVR42s1a0bLsIAgzjv// y7kPd9pVKxKVdk6fzux2C4EAwR6QZBpcQEopIf3Fq3a52Lfh0Mjjk99zcWYBwA2ihEen9jVxfAf/ u0+Y2HQwNoVw4Dx34trRV6NSjiLPmfPt77jwiBxB/3PnZ3B2AGxzHnGu0wcBwAIAyQwZGvQhiFcy YLOFQcSB/MS82n3ec37vykNqRFTX9rVWR2U5+pZNIggll0CUOQN9BDdm1LfBmcZxIEqjL6r2JU/D galaB7Zg4jlY2ulnIx9OR4iMRl38CAFyKaA8jAxE7lNn650VKMULZ/54crqn0YQCJGQliebXkFIK hwqmGm28cgsSjz/hzRCMneQEwMjVoH3gWTtMPgIslJUV5uIluvUEkyzU+gUGQO62e9NuSdZCzNOM fDPC87iCqfE9gHinsIrSL16TPBfrYIeHzqKU90a50jCh54EcrgAUFo5ibzvebgr/I66USQ0CspQp IVSoBQK3WswDDIndIraHxoglqOjM1d044PQvu1NY0EHtqQR/XwJ+PeCs0x2dSlApZVw4MPER23PD 7JekoHxrqTRod/2Gx5nhx5dfAJhqPt7tDMIZxNN/7lOIaparPn7ZQ88drlORC2eLWXowxIq4gHTh VN1BSmsHoxYAbPWDTuGQuuecS+aYQUYpfr0YqPQOuuUk5tApK077+2xfOYP+XyWEIwPcE49lvT9N y2+wU2KylGGp4yxlALcm6fSlmgk62yfSsfNunDl5d6W91MBUoZw679YAJoMMkhijuXdFOL+khaL2 s+g3zy4APQuQvSc/BNAYnkl6E8ivYtEHJXa1dihE3zgnKMdNgN8DiIwgA17NykUMvFDQ+LALvXXI BuBLAHv/DvBmc/0HzR03PqXmLcQAAAAASUVORK5CYII= User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24494 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24494 Hi Kim, Before installing your patch, I wanted to figure out what triggered the bug so I would know what to look for. A week has gone by and the bug has not reappeared. I will keep an eye on it... Alex. storm@cua.dk (Kim F. Storm) writes: > Alex Schroeder writes: > >> When running ERC, the Emacs IRC Client that is not (yet) part of >> Emacs, I'm getting an abort in wait_reading_process_input. >> >> Backing out the following change did not help: >> >> revision 1.428 >> date: 2004/05/13 23:07:07; author: kfstorm; state: Exp; lines: +4 -3 >> (wait_reading_process_input): Make reentrant. >> Make Available and Connecting non-static. Save and restore value >> of waiting_for_user_input_p. >> >> Alex. >> > > Does the following patch help: > > *** process.c 14 May 2004 00:42:09 +0200 1.428 > --- process.c 24 May 2004 09:48:17 +0200 > *************** > *** 4581,4587 **** > } > } > #ifdef NON_BLOCKING_CONNECT > ! if (check_connect && FD_ISSET (channel, &Connecting)) > { > struct Lisp_Process *p; > > --- 4581,4588 ---- > } > } > #ifdef NON_BLOCKING_CONNECT > ! if (check_connect && FD_ISSET (channel, &Connecting) > ! && FD_ISSET (channel, &connect_wait_mask)) > { > struct Lisp_Process *p; > > > -- > Kim F. Storm http://www.cua.dk -- .O. http://www.emacswiki.org/alex/ ..O Schroeder's fourth law: OOO None of your friends and coworkers share your taste in music.