From unknown Sun Jun 22 04:13:50 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5650: 23.1; ERC causes Emacs to hang on network dropouts Resent-From: Richard Lewis Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Feb 2010 21:59:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5650 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: To: 5650@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12671350874811 (code B ref -1); Thu, 25 Feb 2010 21:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2010 21:58:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nklig-0001FY-Ov for submit@debbugs.gnu.org; Thu, 25 Feb 2010 16:58:07 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nklie-0001FB-Mu for submit@debbugs.gnu.org; Thu, 25 Feb 2010 16:58:05 -0500 Received: from mx10.gnu.org ([199.232.76.166]:51582) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nklia-00054a-IZ for submit@debbugs.gnu.org; Thu, 25 Feb 2010 16:58:00 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NkliY-0000VW-Ei for submit@debbugs.gnu.org; Thu, 25 Feb 2010 16:58:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:44473) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NkliY-0000VQ-7h for submit@debbugs.gnu.org; Thu, 25 Feb 2010 16:57:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkliX-0002TG-NP for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2010 16:57:57 -0500 Received: from [140.186.70.92] (port=58646 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkliW-0002Su-P1 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2010 16:57:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkliU-0005Yi-Oz for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2010 16:57:56 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:37195) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkliU-0005Y2-KT for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2010 16:57:54 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 2ADF0E250F for ; Thu, 25 Feb 2010 16:57:52 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 25 Feb 2010 16:57:52 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:message-id:from:to:subject:mime-version:content-type; s=smtpout; bh=1c9TBUquN7BZ4AY6jsYlNeScElM=; b=h62Jwzd4zFmZD3sUCyrXR8H1L6WjtxJr+27DTTJ50xJ776B7tMgrG614jO2ZFt+R4dQaDs/yhdWYg23q6BFwEn8CpwbTs6DBetjZraGYisVxPYNIo38Zm+leXeWaFFLM26lAGOM6HGTMlgDcaZ+vWNHP4JOVOMc9fPKtvSsEOo0= X-Sasl-enc: BYQttbdVGEKud71C3rbtEmCHB70BQkhk+XF2yDYLIVLA 1267135071 Received: from toverstaf.gold.ac.uk.gold.ac.uk (host81-141-145-30.wlms-broadband.com [81.141.145.30]) by mail.messagingengine.com (Postfix) with ESMTPSA id 5B89E10DC9 for ; Thu, 25 Feb 2010 16:57:51 -0500 (EST) Date: Thu, 25 Feb 2010 21:57:49 +0000 Message-ID: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> From: Richard Lewis User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=C5=8D)?= APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) When my network connection drops out, ERC loses its connection and attempts to reconnect. I see the message "connecting to server irc.freenode.net 6777..." in the minibuffer and Emacs becomes unresponsive. netstat tells me that the Emacs process has a TCP socket in the SYN_SENT state to freenode.net. I found today that, if left for a long time (not sure how long, but < 2 hours [which was the amount of time I left my computer unattended] and > ~10 minutes [which was the amount of time I fiddled with it last time it happened]), it evetually gives up and Emacs becomes responsive again. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of 2010-01-27 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10705000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: en_GB.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Org Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t diff-auto-refine-mode: t display-time-mode: t display-battery-mode: t jabber-activity-mode: t jabber-mode-line-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t show-paren-mode: t delete-selection-mode: t iswitchb-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Making thread...done Updating marks... Scoring...done Updated (-0/+1) message(s). Updated (-0/+1) message(s) Retrieving...done Disposing messages...done ERC Version 5.3 Mark set Making completion list... From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 16:35:48 2010 Received: (at control) by debbugs.gnu.org; 26 Feb 2010 21:35:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl7qd-0004vI-3C for submit@debbugs.gnu.org; Fri, 26 Feb 2010 16:35:47 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl7qc-0004vC-3z for control@debbugs.gnu.org; Fri, 26 Feb 2010 16:35:46 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nl7qY-0002wc-21; Fri, 26 Feb 2010 16:35:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19336.16045.978209.791115@fencepost.gnu.org> Date: Fri, 26 Feb 2010 16:35:41 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: q./e{;-#Rm]R?ckWh$-:(KcPF/M)Zq}$0]pEL-?F{j67_6SEB~z,6Wu List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) close 1030 severity 5651 minor tags 5651 patch reassign 5650 emacs,erc tags 5652 patch reassign 5637 emacs,cygwin From unknown Sun Jun 22 04:13:50 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5650: Proposed fix References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> In-Reply-To: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> Resent-From: Vivek Dasmohapatra Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2010 23:51:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5650 X-Emacs-PR-Package: emacs,erc X-Emacs-PR-Keywords: To: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.126722823126808 (code B ref 5650); Fri, 26 Feb 2010 23:51:01 +0000 Received: (at 5650) by debbugs.gnu.org; 26 Feb 2010 23:50:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl9x0-0006yK-Lu for submit@debbugs.gnu.org; Fri, 26 Feb 2010 18:50:30 -0500 Received: from flounder.pepperfish.net ([87.237.62.181]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl9wz-0006yC-9e for 5650@debbugs.gnu.org; Fri, 26 Feb 2010 18:50:30 -0500 Received: from localhost ([127.0.0.1]) by flounder.pepperfish.net with esmtps (Exim 4.69 #1 (Debian)) id 1Nl9wQ-0008O7-9W for <5650@debbugs.gnu.org>; Fri, 26 Feb 2010 23:49:54 +0000 Date: Fri, 26 Feb 2010 23:49:50 +0000 (GMT) From: Vivek Dasmohapatra X-X-Sender: vivek@octopus.pepperfish.net Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-402059402-1267228194=:31229" X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-402059402-1267228194=:31229 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Does this patch fix things for you? --8323329-402059402-1267228194=:31229 Content-Type: TEXT/x-diff; name=0001-Make-the-default-erc-connection-method-non-blocking.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=0001-Make-the-default-erc-connection-method-non-blocking.patch ZGlmZiAtLWdpdCBhL2xpc3AvZXJjL2VyYy1iYWNrZW5kLmVsIGIvbGlzcC9l cmMvZXJjLWJhY2tlbmQuZWwNCi0tLSBhL2xpc3AvZXJjL2VyYy1iYWNrZW5k LmVsDQorKysgYi9saXNwL2VyYy9lcmMtYmFja2VuZC5lbA0KQEAgLTM2Miw3 ICszNjIsNyBAQCBhbGlzdC4iDQogICA6dHlwZSAnKHJlcGVhdCAoY29ucyAo c3RyaW5nIDp0YWcgIlRhcmdldCIpDQogICAgICAgICAgICAgICAgICAgICAg ICBjb2Rpbmctc3lzdGVtKSkpDQogDQotKGRlZmN1c3RvbSBlcmMtc2VydmVy LWNvbm5lY3QtZnVuY3Rpb24gJ29wZW4tbmV0d29yay1zdHJlYW0NCisoZGVm Y3VzdG9tIGVyYy1zZXJ2ZXItY29ubmVjdC1mdW5jdGlvbiAnZXJjLW9wZW4t bmV0d29yay1zdHJlYW0NCiAgICJGdW5jdGlvbiB1c2VkIHRvIGluaXRpYXRl IGEgY29ubmVjdGlvbi4NCiBJdCBzaG91bGQgdGFrZSBzYW1lIGFyZ3VtZW50 cyBhcyBgb3Blbi1uZXR3b3JrLXN0cmVhbScgZG9lcy4iDQogICA6Z3JvdXAg J2VyYy1zZXJ2ZXINCkBAIC00ODMsNiArNDgzLDEwIEBAIFRoZSBjdXJyZW50 IGJ1ZmZlciBpcyBnaXZlbiBieSBCVUZGRVIuIg0KICAgICAgICAobWVtcSAo cHJvY2Vzcy1zdGF0dXMgZXJjLXNlcnZlci1wcm9jZXNzKSAnKHJ1biBvcGVu KSkpKQ0KIA0KIDs7OzsgQ29ubmVjdGluZyB0byBhIHNlcnZlcg0KKyhkZWZ1 biBlcmMtb3Blbi1uZXR3b3JrLXN0cmVhbSAobmFtZSBidWZmZXIg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2NraW5nIGNvbm5lY3QgLSBr ZWVwIHRoZSB1c2VyIGluZm9ybWVkDQogICAgICAgKGVyYy1kaXNwbGF5LW1l c3NhZ2UgbmlsIG5pbCBidWZmZXIgIk9wZW5pbmcgY29ubmVjdGlvbi4uXG4i KQ0KICAgICAoZXJjLWxvZ2luKSkpDQogDQpAQCAtNTQzLDcgKzU0Niw3IEBA IE1ha2Ugc3VyZSB5b3UgYXJlIGluIGFuIEVSQyBidWZmZXIgd2hlbiBydW5u aW5nIHRoaXMuIg0KICAgICAgIChzZXRxIGVyYy1zZXJ2ZXItbGFzdC1zZW50 LXRpbWUgMCkNCiAgICAgICAoc2V0cSBlcmMtc2VydmVyLWxpbmVzLXNlbnQg MCkNCiAgICAgICAobGV0ICgoZXJjLXNlcnZlci1jb25uZWN0LWZ1bmN0aW9u IChvciBlcmMtc2Vzc2lvbi1jb25uZWN0b3INCi0gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnb3Blbi1uZXR3b3JrLXN0 cmVhbSkpKQ0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICdlcmMtb3Blbi1uZXR3b3JrLXN0cmVhbSkpKQ0KICAgICAg ICAgKGVyYy1vcGVuIGVyYy1zZXNzaW9uLXNlcnZlciBlcmMtc2Vzc2lvbi1w b3J0IGVyYy1zZXJ2ZXItY3VycmVudC1uaWNrDQogICAgICAgICAgICAgICAg ICAgZXJjLXNlc3Npb24tdXNlci1mdWxsLW5hbWUgdCBlcmMtc2Vzc2lvbi1w YXNzd29yZCkpKSkpDQogDQoNCg0K --8323329-402059402-1267228194=:31229-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 18:51:34 2010 Received: (at control) by debbugs.gnu.org; 26 Feb 2010 23:51:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl9y2-0006zO-5r for submit@debbugs.gnu.org; Fri, 26 Feb 2010 18:51:34 -0500 Received: from flounder.pepperfish.net ([87.237.62.181]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl9y0-0006zG-TZ for control@debbugs.gnu.org; Fri, 26 Feb 2010 18:51:33 -0500 Received: from localhost ([127.0.0.1]) by flounder.pepperfish.net with esmtps (Exim 4.69 #1 (Debian)) id 1Nl9xS-0000La-AV for ; Fri, 26 Feb 2010 23:50:58 +0000 Date: Fri, 26 Feb 2010 23:50:58 +0000 (GMT) From: Vivek Dasmohapatra X-X-Sender: vivek@octopus.pepperfish.net To: control@debbugs.gnu.org Subject: control Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 5650 patch stop From unknown Sun Jun 22 04:13:50 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5650: Oops, bad patch. References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> In-Reply-To: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> Resent-From: Vivek Dasmohapatra Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2010 13:59:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5650 X-Emacs-PR-Package: emacs,erc X-Emacs-PR-Keywords: patch To: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.12677111097926 (code B ref 5650); Thu, 04 Mar 2010 13:59:01 +0000 Received: (at 5650) by debbugs.gnu.org; 4 Mar 2010 13:58:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnBZM-00023n-Pa for submit@debbugs.gnu.org; Thu, 04 Mar 2010 08:58:29 -0500 Received: from bhuna.collabora.co.uk ([93.93.128.226]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnBZK-00023i-7y for 5650@debbugs.gnu.org; Thu, 04 Mar 2010 08:58:26 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: vivek) with ESMTPSA id C9E48600263 Date: Thu, 4 Mar 2010 13:58:18 +0000 (GMT) From: Vivek Dasmohapatra X-X-Sender: vivek@noise.cbg.collabora.co.uk Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) The patch is a little broken - would have fixed it earlier but mu HD exploded and I've been resurrecting my laptop from backups. Will fix shortly. From unknown Sun Jun 22 04:13:50 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5650: updated patch References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> In-Reply-To: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> Resent-From: Vivek Dasmohapatra Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Mar 2010 23:32:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5650 X-Emacs-PR-Package: emacs,erc X-Emacs-PR-Keywords: patch To: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.126809107932015 (code B ref 5650); Mon, 08 Mar 2010 23:32:02 +0000 Received: (at 5650) by debbugs.gnu.org; 8 Mar 2010 23:31:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NomPv-0008KK-1G for submit@debbugs.gnu.org; Mon, 08 Mar 2010 18:31:19 -0500 Received: from flounder.pepperfish.net ([87.237.62.181]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NomPs-0008KF-G0 for 5650@debbugs.gnu.org; Mon, 08 Mar 2010 18:31:17 -0500 Received: from localhost ([127.0.0.1]) by flounder.pepperfish.net with esmtps (Exim 4.69 #1 (Debian)) id 1NomPH-0000DH-6C for <5650@debbugs.gnu.org>; Mon, 08 Mar 2010 23:30:39 +0000 Date: Mon, 8 Mar 2010 23:29:35 +0000 (GMT) From: Vivek Dasmohapatra X-X-Sender: vivek@octopus.pepperfish.net Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1884422837-1268091039=:32595" X-Spam-Score: -1.5 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1884422837-1268091039=:32595 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Updated patch, currently in use on my machine, byte compiles cleanly this time and appears to as expected. --8323329-1884422837-1268091039=:32595 Content-Type: TEXT/x-diff; name=0001-Make-an-async-connection-in-attempt-by-default-in-er.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=0001-Make-an-async-connection-in-attempt-by-default-in-er.patch ZGlmZiAtLWdpdCBhL2xpc3AvZXJjL2VyYy1iYWNrZW5kLmVsIGIvbGlzcC9l cmMvZXJjLWJhY2tlbmQuZWwNCi0tLSBhL2xpc3AvZXJjL2VyYy1iYWNrZW5k LmVsDQorKysgYi9saXNwL2VyYy9lcmMtYmFja2VuZC5lbA0KQEAgLTM2Miw3 ICszNjIsNyBAQCBhbGlzdC4iDQogICA6dHlwZSAnKHJlcGVhdCAoY29ucyAo c3RyaW5nIDp0YWcgIlRhcmdldCIpDQogICAgICAgICAgICAgICAgICAgICAg ICBjb2Rpbmctc3lzdGVtKSkpDQogDQotKGRlZmN1c3RvbSBlcmMtc2VydmVy LWNvbm5lY3QtZnVuY3Rpb24gJ29wZW4tbmV0d29yay1zdHJlYW0NCisoZGVm Y3VzdG9tIGVyYy1zZXJ2ZXItY29ubmVjdC1mdW5jdGlvbiAnZXJjLW9wZW4t bmV0d29yay1zdHJlYW0NCiAgICJGdW5jdGlvbiB1c2VkIHRvIGluaXRpYXRl IGEgY29ubmVjdGlvbi4NCiBJdCBzaG91bGQgdGFrZSBzYW1lIGFyZ3VtZW50 cyBhcyBgb3Blbi1uZXR3b3JrLXN0cmVhbScgZG9lcy4iDQogICA6Z3JvdXAg J2VyYy1zZXJ2ZXINCkBAIC00ODMsNTEgKzQ4Myw1MyBAQCBUaGUgY3VycmVu dCBidWZmZXIgaXMgZ2l2ZW4gYnkgQlVGRkVSLiINCiAgICAgICAgKG1lbXEg KHByb2Nlc3Mtc3RhdHVzIGVyYy1zZXJ2ZXItcHJvY2VzcykgJyhydW4gb3Bl bikpKSkNCiANCiA7Ozs7IENvbm5lY3RpbmcgdG8gYSBzZXJ2ZXINCisoZGVm dW4gZXJjLW9wZW4tbmV0d29yay1zdHJlYW0gKG5hbWUgYnVmZmVyIGhvc3Qg c2VydmljZS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KSApKQ0KIA0KIChkZWZ1biBlcmMtc2VydmVyLXJlY29ubmVjdCAoKQ0KICJS ZWVzdGFibGlzaCB0aGUgY3VycmVudCBJUkMgY29ubmVjdGlvbi4NCkBAIC01 NDMsNyArNTQ1LDcgQEAgTWFrZSBzdXJlIHlvdSBhcmUgaW4gYW4gRVJDIGJ1 ZmZlciB3aGVuIHJ1bm5pbmcgdGhpcy4iDQogICAgICAgKHNldHEgZXJjLXNl cnZlci1sYXN0LXNlbnQtdGltZSAwKQ0KICAgICAgIChzZXRxIGVyYy1zZXJ2 ZXItbGluZXMtc2VudCAwKQ0KICAgICAgIChsZXQgKChlcmMtc2VydmVyLWNv bm5lY3QtZnVuY3Rpb24gKG9yIGVyYy1zZXNzaW9uLWNvbm5lY3Rvcg0KLSAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdv cGVuLW5ldHdvcmstc3RyZWFtKSkpDQorICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgJ2VyYy1vcGVuLW5ldHdvcmstc3Ry ZWFtKSkpDQogICAgICAgICAoZXJjLW9wZW4gZXJjLXNlc3Npb24tc2VydmVy IGVyYy1zZXNzaW9uLXBvcnQgZXJjLXNlcnZlci1jdXJyZW50LW5pY2sNCiAg ICAgICAgICAgICAgICAgICBlcmMtc2Vzc2lvbi11c2VyLWZ1bGwtbmFtZSB0 IGVyYy1zZXNzaW9uLXBhc3N3b3JkKSkpKSkNCiANCg== --8323329-1884422837-1268091039=:32595-- From unknown Sun Jun 22 04:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5650: Issue with the patch References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> In-Reply-To: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> Resent-From: Thomas Riccardi Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Apr 2010 20:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.127222816031901 (code B ref 5650); Sun, 25 Apr 2010 20:43:01 +0000 Received: (at 5650) by debbugs.gnu.org; 25 Apr 2010 20:42:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O68f1-0008IU-2n for submit@debbugs.gnu.org; Sun, 25 Apr 2010 16:42:39 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O68bp-0008GO-6t for 5650@debbugs.gnu.org; Sun, 25 Apr 2010 16:39:21 -0400 Received: by wwb24 with SMTP id 24so3058756wwb.3 for <5650@debbugs.gnu.org>; Sun, 25 Apr 2010 13:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer; bh=mHzyhJU0zCv872TDEx6F9Eq/yRbSJwNhlIUza6C4I3k=; b=tjwF8nRJxLA8mfeEsr3K4IDO0DTbDjFcT96FmVcbWmMu2J/YL5XYt1/VhSSTEJzh1u wWF8bcey61XvKw54h7+87llQtMfMOnc+FduHYThLML091efycDdZZGVkH5CMYiB9yGpN muzCDQ/D+0qahnAbLZLI4NKs6mdb7wTxGKoGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer; b=R17Z1tjyJo6cxQ539OFuiepztUJwxP/5c6XMxC0X9Y8yR0x980OHMD5iwH7P6MO3ll OfhXceYH1fXedHTcHgsCktJq+9nrC9gykUB04U6cDK7NZFxUYn6WmY508TCdeiVavP0O xb6nxhdhsHIdlq+5PEb95qY20YM7i3BiQjkTc= Received: by 10.216.87.80 with SMTP id x58mr4092846wee.96.1272227956572; Sun, 25 Apr 2010 13:39:16 -0700 (PDT) Received: from [192.168.0.1] (cvl92-2-82-228-145-47.fbx.proxad.net [82.228.145.47]) by mx.google.com with ESMTPS id t27sm15899681wbc.23.2010.04.25.13.39.14 (version=SSLv3 cipher=RC4-MD5); Sun, 25 Apr 2010 13:39:15 -0700 (PDT) From: Thomas Riccardi Content-Type: multipart/mixed; boundary="=-dGgCPGJ9922TSmN2GYqZ" Date: Sun, 25 Apr 2010 22:39:14 +0200 Message-ID: <1272227954.9935.39.camel@kiwi-pc2> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sun, 25 Apr 2010 16:42:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) --=-dGgCPGJ9922TSmN2GYqZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit The patch works for me (even if there is still a small freeze during about 1 second at the connection if the server doesn't answer), but creates an issue with the auto reconnect feature. It happens when the server doesn't answer the connection request (tested with a DROP on packets coming from it with iptables). The patch makes the function erc-server-connect to return even if the connection is not ready. Then erc-open and erc-server-reconnect do the same. Finally, in erc-process-sentinel-2, there is no error executing erc-server-reconnect, thus erc-server-reconnect-count is never incremented and is even reset. I made a patch that increments erc-server-reconnect-count before calling erc-server-reconnect instead, and resets it only when the connection is really ready, that is, in erc-connection-established. --=-dGgCPGJ9922TSmN2GYqZ Content-Disposition: attachment; filename="Fix-reconnect-attempts-count.patch" Content-Type: text/x-patch; name="Fix-reconnect-attempts-count.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit diff --git a/.emacs.d/erc-5.3/erc-backend.el b/.emacs.d/erc-5.3/erc-backend.el index 70ce789..928770e 100644 --- a/.emacs.d/erc-5.3/erc-backend.el +++ b/.emacs.d/erc-5.3/erc-backend.el @@ -618,13 +618,11 @@ EVENT is the message received from the closed connection process." (condition-case err (progn (setq erc-server-reconnecting nil) - (erc-server-reconnect) - (setq erc-server-reconnect-count 0)) + (setq erc-server-reconnect-count (1+ erc-server-reconnect-count)) + (erc-server-reconnect)) (error (when (buffer-live-p buffer) (set-buffer buffer) - (if (integerp erc-server-reconnect-attempts) - (setq erc-server-reconnect-count - (1+ erc-server-reconnect-count)) + (unless (integerp erc-server-reconnect-attempts) (message "%s ... %s" "Reconnecting until we succeed" "kill the ERC server buffer to stop")) diff --git a/.emacs.d/erc-5.3/erc.el b/.emacs.d/erc-5.3/erc.el index 9aa5e8b..802ae66 100644 --- a/.emacs.d/erc-5.3/erc.el +++ b/.emacs.d/erc-5.3/erc.el @@ -4267,6 +4267,7 @@ Set user modes and run `erc-after-connect' hook." (nick (car (erc-response.command-args parsed))) (buffer (process-buffer proc))) (setq erc-server-connected t) + (setq erc-server-reconnect-count 0) (erc-update-mode-line) (erc-set-initial-user-mode nick buffer) (erc-server-setup-periodical-ping buffer) --=-dGgCPGJ9922TSmN2GYqZ-- From unknown Sun Jun 22 04:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5650: 23.1; ERC causes Emacs to hang on network dropouts References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> In-Reply-To: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Aug 2010 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Giorgos Keramidas , ERC Discussion Cc: 5650@debbugs.gnu.org, Vivek Dasmohapatra , Thomas Riccardi Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.12818271058254 (code B ref 5650); Sat, 14 Aug 2010 23:06:02 +0000 Received: (at 5650) by debbugs.gnu.org; 14 Aug 2010 23:05:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkPmj-000295-9K for submit@debbugs.gnu.org; Sat, 14 Aug 2010 19:05:05 -0400 Received: from pantheon-po14.its.yale.edu ([130.132.50.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkPmh-00028j-95 for 5650@debbugs.gnu.org; Sat, 14 Aug 2010 19:05:03 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7EN5u3J005603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Aug 2010 19:05:56 -0400 Received: by furry (Postfix, from userid 1000) id 94CA116D402; Sat, 14 Aug 2010 19:05:56 -0400 (EDT) From: Chong Yidong Date: Sat, 14 Aug 2010 19:05:56 -0400 Message-ID: <87fwyg7q23.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.3 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) --=-=-= > > When my network connection drops out, ERC loses its connection and > > attempts to reconnect. I see the message "connecting to server > > irc.freenode.net 6777..." in the minibuffer and Emacs becomes > > unresponsive. > ... > I made a patch that increments erc-server-reconnect-count before calling > erc-server-reconnect instead, and resets it only when the connection is > really ready, that is, in erc-connection-established. Hi, Could someone please review this patch by Thomas Riccardi and Vivek Dasmohapatra? The full description of the problem can be viewed at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5650 Thanks. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=Fix-reconnect-attempts-count.patch diff --git a/.emacs.d/erc-5.3/erc-backend.el b/.emacs.d/erc-5.3/erc-backend.el index 70ce789..928770e 100644 --- a/.emacs.d/erc-5.3/erc-backend.el +++ b/.emacs.d/erc-5.3/erc-backend.el @@ -618,13 +618,11 @@ EVENT is the message received from the closed connection process." (condition-case err (progn (setq erc-server-reconnecting nil) - (erc-server-reconnect) - (setq erc-server-reconnect-count 0)) + (setq erc-server-reconnect-count (1+ erc-server-reconnect-count)) + (erc-server-reconnect)) (error (when (buffer-live-p buffer) (set-buffer buffer) - (if (integerp erc-server-reconnect-attempts) - (setq erc-server-reconnect-count - (1+ erc-server-reconnect-count)) + (unless (integerp erc-server-reconnect-attempts) (message "%s ... %s" "Reconnecting until we succeed" "kill the ERC server buffer to stop")) diff --git a/.emacs.d/erc-5.3/erc.el b/.emacs.d/erc-5.3/erc.el index 9aa5e8b..802ae66 100644 --- a/.emacs.d/erc-5.3/erc.el +++ b/.emacs.d/erc-5.3/erc.el @@ -4267,6 +4267,7 @@ Set user modes and run `erc-after-connect' hook." (nick (car (erc-response.command-args parsed))) (buffer (process-buffer proc))) (setq erc-server-connected t) + (setq erc-server-reconnect-count 0) (erc-update-mode-line) (erc-set-initial-user-mode nick buffer) (erc-server-setup-periodical-ping buffer) --=-=-=-- From unknown Sun Jun 22 04:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5650: Status References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> In-Reply-To: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> Resent-From: Michael McCracken Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Feb 2013 00:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.13601092705081 (code B ref 5650); Wed, 06 Feb 2013 00:08:02 +0000 Received: (at 5650) by debbugs.gnu.org; 6 Feb 2013 00:07:50 +0000 Received: from localhost ([127.0.0.1]:38503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2sYI-0001Jt-2T for submit@debbugs.gnu.org; Tue, 05 Feb 2013 19:07:50 -0500 Received: from mail-ie0-f182.google.com ([209.85.223.182]:34175) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2sYF-0001Jc-GU for 5650@debbugs.gnu.org; Tue, 05 Feb 2013 19:07:48 -0500 Received: by mail-ie0-f182.google.com with SMTP id k14so1088050iea.27 for <5650@debbugs.gnu.org>; Tue, 05 Feb 2013 16:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=t82d63/bh/NBFnopvQoWOrYIdsOHbkpe9jzl0YBVock=; b=FlYyhwigowJvVfdT8R6yZUwrqcHisTwLqkZOyQksJH4zw0gDUHDtVMkWwtAIf2hl9l gGXdoSfK8/D9ZxlQMr4mEDqDBA0JkYR5wV43UBVFZ4j8yoqw9yI8TUzce4N521ZMJOoH JsgmKH6lOvSc6xnShuwUgLKXIc7Sr9cWiggONR/Lbg5tDlF6fW1StyVNhhFgGH1KTGVp usYn+ot73RmXWL+rXD1lzMx5+oSwwNgCxXdP2HPv+f7Ly3q7Ys43HFdYsGL5P4kmZNMM WYu/bh7750CMhTt7jvv39YJr+di7JbgMCvwKRzPYbB/LIylQEqC5UQz/GFveKyZCyC0O u0ZA== X-Received: by 10.42.81.148 with SMTP id z20mr25524223ick.5.1360109193883; Tue, 05 Feb 2013 16:06:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.59.33 with HTTP; Tue, 5 Feb 2013 16:06:13 -0800 (PST) From: Michael McCracken Date: Tue, 5 Feb 2013 16:06:13 -0800 Message-ID: Content-Type: multipart/alternative; boundary=20cf30223ca15b6e8e04d50319a6 X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) --20cf30223ca15b6e8e04d50319a6 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have been experiencing this issue, and am currently testing out the patches in this thread. I was wondering if there's anything I can do to help move this along, as it's a big problem for anyone with a flaky IRC connection. --20cf30223ca15b6e8e04d50319a6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, I have been experiencing this issue, and am currently = testing out the patches in this thread. I was wondering if there's anyt= hing I can do to help move this along, as it's a big problem for anyone= with a flaky IRC connection.
--20cf30223ca15b6e8e04d50319a6-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 17:17:24 2015 Received: (at control) by debbugs.gnu.org; 27 Dec 2015 22:17:24 +0000 Received: from localhost ([127.0.0.1]:45059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJcy-0001tx-Dj for submit@debbugs.gnu.org; Sun, 27 Dec 2015 17:17:24 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:60975) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJcw-0001tp-PS for control@debbugs.gnu.org; Sun, 27 Dec 2015 17:17:23 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDJcb-0004Yr-Ct for control@debbugs.gnu.org; Sun, 27 Dec 2015 23:17:01 +0100 Date: Sun, 27 Dec 2015 23:17:00 +0100 Message-Id: <874mf37d0j.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5650 X-MailScanner-ID: 1aDJcb-0004Yr-Ct X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451859421.92157@ygV/8hBMoO7Se2lHwJbEDw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 5650 fixed close 5650 25.2 From unknown Sun Jun 22 04:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5650: Issue with the patch Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Dec 2015 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch To: Thomas Riccardi Cc: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.145125551615073 (code B ref 5650); Sun, 27 Dec 2015 22:32:02 +0000 Received: (at 5650) by debbugs.gnu.org; 27 Dec 2015 22:31:56 +0000 Received: from localhost ([127.0.0.1]:45079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJr2-0003v3-6i for submit@debbugs.gnu.org; Sun, 27 Dec 2015 17:31:56 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37697) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJr0-0003uo-Sc for 5650@debbugs.gnu.org; Sun, 27 Dec 2015 17:31:55 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDJqa-0004iW-8D; Sun, 27 Dec 2015 23:31:28 +0100 From: Lars Ingebrigtsen In-Reply-To: <1272227954.9935.39.camel@kiwi-pc2> (Thomas Riccardi's message of "Sun, 25 Apr 2010 22:39:14 +0200") Date: Sun, 27 Dec 2015 23:17:23 +0100 Message-ID: <87vb7j5yfg.fsf@gnus.org> References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> <1272227954.9935.39.camel@kiwi-pc2> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDJqa-0004iW-8D X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451860288.52481@YItvZDOycOHPA88jT1NyAw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thomas Riccardi writes: > The patch works for me (even if there is still a small freeze during > about 1 second at the connection if the server doesn't answer), but > creates an issue with the auto reconnect feature. > > It happens when the server doesn't answer the connection request (tested > with a DROP on packets coming from it with iptables). > > The patch makes the function erc-server-connect to return even if the > connection is not ready. Then erc-open and erc-server-reconnect do the > same. > > Finally, in erc-process-sentinel-2, there is no error executing > erc-server-reconnect, thus erc-server-reconnect-count is never > incremented and is even reset. > > I made a patch that increments erc-server-reconnect-count before calling > erc-server-reconnect instead, and resets it only when the connection is > really ready, that is, in erc-connection-established. > Thanks; applied to the Emacs trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 04:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5650: updated patch Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Dec 2015 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch To: Vivek Dasmohapatra Cc: 5650@debbugs.gnu.org Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.145125551815088 (code B ref 5650); Sun, 27 Dec 2015 22:32:02 +0000 Received: (at 5650) by debbugs.gnu.org; 27 Dec 2015 22:31:58 +0000 Received: from localhost ([127.0.0.1]:45082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJr4-0003vH-D9 for submit@debbugs.gnu.org; Sun, 27 Dec 2015 17:31:58 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37699) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJr1-0003uq-8R for 5650@debbugs.gnu.org; Sun, 27 Dec 2015 17:31:56 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDJqY-0004iJ-Cz; Sun, 27 Dec 2015 23:31:26 +0100 From: Lars Ingebrigtsen In-Reply-To: (Vivek Dasmohapatra's message of "Mon, 8 Mar 2010 23:29:35 +0000 (GMT)") Date: Sun, 27 Dec 2015 23:17:11 +0100 Message-ID: <87ziwv5yfs.fsf@gnus.org> References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDJqY-0004iJ-Cz X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451860286.68125@GVEoYf6K3En7P08ZUg4RDQ X-Spam-Status: No X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Vivek Dasmohapatra writes: > Updated patch, currently in use on my machine, byte compiles cleanly > this time and appears to as expected. Thanks; applied to the Emacs trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 04:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5650: 23.1; ERC causes Emacs to hang on network dropouts Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Dec 2015 22:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch To: Chong Yidong Cc: Giorgos Keramidas , ERC Discussion , 5650@debbugs.gnu.org, Vivek Dasmohapatra , Thomas Riccardi Received: via spool by 5650-submit@debbugs.gnu.org id=B5650.145125552415141 (code B ref 5650); Sun, 27 Dec 2015 22:33:03 +0000 Received: (at 5650) by debbugs.gnu.org; 27 Dec 2015 22:32:04 +0000 Received: from localhost ([127.0.0.1]:45084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJr4-0003vK-Ko for submit@debbugs.gnu.org; Sun, 27 Dec 2015 17:32:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37701) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDJr2-0003ux-5U for 5650@debbugs.gnu.org; Sun, 27 Dec 2015 17:31:56 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDJqX-0004iC-BS; Sun, 27 Dec 2015 23:31:25 +0100 From: Lars Ingebrigtsen In-Reply-To: <87fwyg7q23.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 14 Aug 2010 19:05:56 -0400") Date: Sun, 27 Dec 2015 23:16:56 +0100 Message-ID: <8760zj7d0n.fsf@gnus.org> References: <87wry1x9k2.wl%richard.lewis@gold.ac.uk> <87fwyg7q23.fsf@stupidchicken.com> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aDJqX-0004iC-BS X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451860286.0997@Q5gESL9kEGVeksDaS9h4qA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Chong Yidong writes: >> > When my network connection drops out, ERC loses its connection and >> > attempts to reconnect. I see the message "connecting to server >> > irc.freenode.net 6777..." in the minibuffer and Emacs becomes >> > unresponsive. >> ... >> I made a patch that increments erc-server-reconnect-count before calling >> erc-server-reconnect instead, and resets it only when the connection is >> really ready, that is, in erc-connection-established. > > Hi, > > Could someone please review this patch by Thomas Riccardi and Vivek > Dasmohapatra? The full description of the problem can be viewed at The patches looked OK to me. I've applied them to the Emacs trunk now -- I think we can consider this "new functionality" and not a bug fix. It seems to work for me, but I guess time will tell.. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 03 21:49:42 2016 Received: (at control) by debbugs.gnu.org; 4 Dec 2016 02:49:42 +0000 Received: from localhost ([127.0.0.1]:51761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDMs2-0004Js-AJ for submit@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDMrz-0004JW-G1 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDMrs-0001yx-95 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDMrs-0001yr-52 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cDMrr-0005b2-Kh; Sat, 03 Dec 2016 21:49:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22595.33851.293095.70553@gnu.org> Date: Sat, 3 Dec 2016 21:49:31 -0500 From: Glenn Morris To: control@debbugs.gnu.org Subject: Clean up predictable issues due to Emacs version number change X-Debbugs-No-Ack: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) # Ref: # http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00238.html # http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00692.html # http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01215.html # Some attempt has been made to check for things backported after the fact. # Erring on the side of a later version number seems preferable anyway. unarchive 10 fixed 10 26.1 notfixed 10 25.2 unarchive 96 fixed 96 26.1 notfixed 96 25.2 unarchive 1149 fixed 1149 26.1 notfixed 1149 25.2 unarchive 1150 fixed 1150 26.1 notfixed 1150 25.2 unarchive 2270 fixed 2270 26.1 notfixed 2270 25.2 unarchive 2405 fixed 2405 26.1 notfixed 2405 25.2 unarchive 2589 fixed 2589 26.1 notfixed 2589 25.2 unarchive 3137 fixed 3137 26.1 notfixed 3137 25.2 unarchive 3393 fixed 3393 26.1 notfixed 3393 25.2 unarchive 4589 fixed 4589 26.1 notfixed 4589 25.2 unarchive 4920 fixed 4920 26.1 notfixed 4920 25.2 unarchive 5001 fixed 5001 26.1 notfixed 5001 25.2 unarchive 5262 fixed 5262 26.1 notfixed 5262 25.2 unarchive 5305 fixed 5305 26.1 notfixed 5305 25.2 unarchive 5314 fixed 5314 26.1 notfixed 5314 25.2 unarchive 5479 fixed 5479 26.1 notfixed 5479 25.2 unarchive 5650 fixed 5650 26.1 notfixed 5650 25.2 unarchive 5661 fixed 5661 26.1 notfixed 5661 25.2 unarchive 5727 fixed 5727 26.1 notfixed 5727 25.2 unarchive 6817 fixed 6817 26.1 notfixed 6817 25.2 unarchive 7385 fixed 7385 26.1 notfixed 7385 25.2 unarchive 7522 fixed 7522 26.1 notfixed 7522 25.2 unarchive 7751 fixed 7751 26.1 notfixed 7751 25.2 unarchive 8634 fixed 8634 26.1 notfixed 8634 25.2 unarchive 8693 fixed 8693 26.1 notfixed 8693 25.2 unarchive 8925 fixed 8925 26.1 notfixed 8925 25.2 unarchive 9342 fixed 9342 26.1 notfixed 9342 25.2 unarchive 9730 fixed 9730 26.1 notfixed 9730 25.2 unarchive 10487 fixed 10487 26.1 notfixed 10487 25.2 unarchive 10540 fixed 10540 26.1 notfixed 10540 25.2 unarchive 10723 fixed 10723 26.1 notfixed 10723 25.2 unarchive 10794 fixed 10794 26.1 notfixed 10794 25.2 unarchive 10980 fixed 10980 26.1 notfixed 10980 25.2 unarchive 11357 fixed 11357 26.1 notfixed 11357 25.2 unarchive 11400 fixed 11400 26.1 notfixed 11400 25.2 unarchive 11788 fixed 11788 26.1 notfixed 11788 25.2 unarchive 12048 fixed 12048 26.1 notfixed 12048 25.2 unarchive 12377 fixed 12377 26.1 notfixed 12377 25.2 unarchive 12378 fixed 12378 26.1 notfixed 12378 25.2 unarchive 12636 fixed 12636 26.1 notfixed 12636 25.2 unarchive 12939 fixed 12939 26.1 notfixed 12939 25.2 unarchive 13269 fixed 13269 26.1 notfixed 13269 25.2 unarchive 13571 fixed 13571 26.1 notfixed 13571 25.2 unarchive 13745 fixed 13745 26.1 notfixed 13745 25.2 unarchive 13949 fixed 13949 26.1 notfixed 13949 25.2 unarchive 14256 fixed 14256 26.1 notfixed 14256 25.2 unarchive 14341 fixed 14341 26.1 notfixed 14341 25.2 unarchive 14484 fixed 14484 26.1 notfixed 14484 25.2 unarchive 14554 fixed 14554 26.1 notfixed 14554 25.2 unarchive 14577 fixed 14577 26.1 notfixed 14577 25.2 unarchive 14687 fixed 14687 26.1 notfixed 14687 25.2 unarchive 14844 fixed 14844 26.1 notfixed 14844 25.2 unarchive 14854 fixed 14854 26.1 notfixed 14854 25.2 unarchive 14915 fixed 14915 26.1 notfixed 14915 25.2 unarchive 14919 fixed 14919 26.1 notfixed 14919 25.2 unarchive 15021 fixed 15021 26.1 notfixed 15021 25.2 unarchive 15047 fixed 15047 26.1 notfixed 15047 25.2 unarchive 15171 fixed 15171 26.1 notfixed 15171 25.2 unarchive 15324 fixed 15324 26.1 notfixed 15324 25.2 unarchive 15445 fixed 15445 26.1 notfixed 15445 25.2 unarchive 15506 fixed 15506 26.1 notfixed 15506 25.2 unarchive 15909 fixed 15909 26.1 notfixed 15909 25.2 unarchive 16136 fixed 16136 26.1 notfixed 16136 25.2 unarchive 16200 fixed 16200 26.1 notfixed 16200 25.2 unarchive 16276 fixed 16276 26.1 notfixed 16276 25.2 unarchive 16294 fixed 16294 26.1 notfixed 16294 25.2 unarchive 16345 fixed 16345 26.1 notfixed 16345 25.2 unarchive 16390 fixed 16390 26.1 notfixed 16390 25.2 unarchive 16406 fixed 16406 26.1 notfixed 16406 25.2 unarchive 16483 fixed 16483 26.1 notfixed 16483 25.2 unarchive 16513 fixed 16513 26.1 notfixed 16513 25.2 unarchive 16579 fixed 16579 26.1 notfixed 16579 25.2 unarchive 16746 fixed 16746 26.1 notfixed 16746 25.2 unarchive 16891 fixed 16891 26.1 notfixed 16891 25.2 unarchive 16904 fixed 16904 26.1 notfixed 16904 25.2 unarchive 17039 fixed 17039 26.1 notfixed 17039 25.2 unarchive 17067 fixed 17067 26.1 notfixed 17067 25.2 unarchive 17119 fixed 17119 26.1 notfixed 17119 25.2 unarchive 17582 fixed 17582 26.1 notfixed 17582 25.2 unarchive 17707 fixed 17707 26.1 notfixed 17707 25.2 unarchive 17716 fixed 17716 26.1 notfixed 17716 25.2 unarchive 17738 fixed 17738 26.1 notfixed 17738 25.2 unarchive 17989 fixed 17989 26.1 notfixed 17989 25.2 unarchive 17999 fixed 17999 26.1 notfixed 17999 25.2 unarchive 18008 fixed 18008 26.1 notfixed 18008 25.2 unarchive 18024 fixed 18024 26.1 notfixed 18024 25.2 unarchive 18026 fixed 18026 26.1 notfixed 18026 25.2 unarchive 18028 fixed 18028 26.1 notfixed 18028 25.2 unarchive 18089 fixed 18089 26.1 notfixed 18089 25.2 unarchive 18092 fixed 18092 26.1 notfixed 18092 25.2 unarchive 18110 fixed 18110 26.1 notfixed 18110 25.2 unarchive 18202 fixed 18202 26.1 notfixed 18202 25.2 unarchive 18203 fixed 18203 26.1 notfixed 18203 25.2 unarchive 18204 fixed 18204 26.1 notfixed 18204 25.2 unarchive 18211 fixed 18211 26.1 notfixed 18211 25.2 unarchive 18279 fixed 18279 26.1 notfixed 18279 25.2 unarchive 18527 fixed 18527 26.1 notfixed 18527 25.2 unarchive 18587 fixed 18587 26.1 notfixed 18587 25.2 unarchive 18634 fixed 18634 26.1 notfixed 18634 25.2 unarchive 18635 fixed 18635 26.1 notfixed 18635 25.2 unarchive 18686 fixed 18686 26.1 notfixed 18686 25.2 unarchive 18692 fixed 18692 26.1 notfixed 18692 25.2 unarchive 18809 fixed 18809 26.1 notfixed 18809 25.2 unarchive 18810 fixed 18810 26.1 notfixed 18810 25.2 unarchive 18829 fixed 18829 26.1 notfixed 18829 25.2 unarchive 19114 fixed 19114 26.1 notfixed 19114 25.2 unarchive 19152 fixed 19152 26.1 notfixed 19152 25.2 unarchive 19209 fixed 19209 26.1 notfixed 19209 25.2 unarchive 19214 fixed 19214 26.1 notfixed 19214 25.2 unarchive 19215 fixed 19215 26.1 notfixed 19215 25.2 unarchive 19255 fixed 19255 26.1 notfixed 19255 25.2 unarchive 19368 fixed 19368 26.1 notfixed 19368 25.2 unarchive 19424 fixed 19424 26.1 notfixed 19424 25.2 unarchive 19497 fixed 19497 26.1 notfixed 19497 25.2 unarchive 19587 fixed 19587 26.1 notfixed 19587 25.2 unarchive 19638 fixed 19638 26.1 notfixed 19638 25.2 unarchive 19722 fixed 19722 26.1 notfixed 19722 25.2 unarchive 19754 fixed 19754 26.1 notfixed 19754 25.2 unarchive 19801 fixed 19801 26.1 notfixed 19801 25.2 unarchive 19851 fixed 19851 26.1 notfixed 19851 25.2 unarchive 20038 fixed 20038 26.1 notfixed 20038 25.2 unarchive 20158 fixed 20158 26.1 notfixed 20158 25.2 unarchive 20181 fixed 20181 26.1 notfixed 20181 25.2 unarchive 20304 fixed 20304 26.1 notfixed 20304 25.2 unarchive 20408 fixed 20408 26.1 notfixed 20408 25.2 unarchive 20460 fixed 20460 26.1 notfixed 20460 25.2 unarchive 20485 fixed 20485 26.1 notfixed 20485 25.2 unarchive 20520 fixed 20520 26.1 notfixed 20520 25.2 unarchive 20654 fixed 20654 26.1 notfixed 20654 25.2 unarchive 20702 fixed 20702 26.1 notfixed 20702 25.2 unarchive 20724 fixed 20724 26.1 notfixed 20724 25.2 unarchive 20878 fixed 20878 26.1 notfixed 20878 25.2 unarchive 21002 fixed 21002 26.1 notfixed 21002 25.2 unarchive 21014 fixed 21014 26.1 notfixed 21014 25.2 unarchive 21024 fixed 21024 26.1 notfixed 21024 25.2 unarchive 21155 fixed 21155 26.1 notfixed 21155 25.2 unarchive 21169 fixed 21169 26.1 notfixed 21169 25.2 unarchive 21171 fixed 21171 26.1 notfixed 21171 25.2 unarchive 21225 fixed 21225 26.1 notfixed 21225 25.2 unarchive 21231 fixed 21231 26.1 notfixed 21231 25.2 unarchive 21252 fixed 21252 26.1 notfixed 21252 25.2 unarchive 21269 fixed 21269 26.1 notfixed 21269 25.2 unarchive 21359 fixed 21359 26.1 notfixed 21359 25.2 unarchive 21427 fixed 21427 26.1 notfixed 21427 25.2 unarchive 21552 fixed 21552 26.1 notfixed 21552 25.2 unarchive 21576 fixed 21576 26.1 notfixed 21576 25.2 unarchive 21577 fixed 21577 26.1 notfixed 21577 25.2 unarchive 21601 fixed 21601 26.1 notfixed 21601 25.2 unarchive 21678 fixed 21678 26.1 notfixed 21678 25.2 unarchive 21679 fixed 21679 26.1 notfixed 21679 25.2 unarchive 21684 fixed 21684 26.1 notfixed 21684 25.2 unarchive 21706 fixed 21706 26.1 notfixed 21706 25.2 unarchive 21759 fixed 21759 26.1 notfixed 21759 25.2 unarchive 21851 fixed 21851 26.1 notfixed 21851 25.2 unarchive 21852 fixed 21852 26.1 notfixed 21852 25.2 unarchive 21853 fixed 21853 26.1 notfixed 21853 25.2 unarchive 21881 fixed 21881 26.1 notfixed 21881 25.2 unarchive 21936 fixed 21936 26.1 notfixed 21936 25.2 unarchive 21962 fixed 21962 26.1 notfixed 21962 25.2 unarchive 22117 fixed 22117 26.1 notfixed 22117 25.2 unarchive 22140 fixed 22140 26.1 notfixed 22140 25.2 unarchive 22170 fixed 22170 26.1 notfixed 22170 25.2 unarchive 22172 fixed 22172 26.1 notfixed 22172 25.2 unarchive 22227 fixed 22227 26.1 notfixed 22227 25.2 unarchive 22315 fixed 22315 26.1 notfixed 22315 25.2 unarchive 22325 fixed 22325 26.1 notfixed 22325 25.2 unarchive 22329 fixed 22329 26.1 notfixed 22329 25.2 unarchive 22348 fixed 22348 26.1 notfixed 22348 25.2 unarchive 22478 fixed 22478 26.1 notfixed 22478 25.2 unarchive 22530 fixed 22530 26.1 notfixed 22530 25.2 unarchive 22531 fixed 22531 26.1 notfixed 22531 25.2 unarchive 22576 fixed 22576 26.1 notfixed 22576 25.2 unarchive 22583 fixed 22583 26.1 notfixed 22583 25.2 unarchive 22586 fixed 22586 26.1 notfixed 22586 25.2 unarchive 22592 fixed 22592 26.1 notfixed 22592 25.2 unarchive 22594 fixed 22594 26.1 notfixed 22594 25.2 unarchive 22595 fixed 22595 26.1 notfixed 22595 25.2 unarchive 22596 fixed 22596 26.1 notfixed 22596 25.2 unarchive 22627 fixed 22627 26.1 notfixed 22627 25.2 unarchive 22632 fixed 22632 26.1 notfixed 22632 25.2 unarchive 22648 fixed 22648 26.1 notfixed 22648 25.2 unarchive 22664 fixed 22664 26.1 notfixed 22664 25.2 unarchive 22720 fixed 22720 26.1 notfixed 22720 25.2 unarchive 22724 fixed 22724 26.1 notfixed 22724 25.2 unarchive 22764 fixed 22764 26.1 notfixed 22764 25.2 unarchive 22799 fixed 22799 26.1 notfixed 22799 25.2 unarchive 22800 fixed 22800 26.1 notfixed 22800 25.2 unarchive 22814 fixed 22814 26.1 notfixed 22814 25.2 unarchive 22824 fixed 22824 26.1 notfixed 22824 25.2 unarchive 22827 fixed 22827 26.1 notfixed 22827 25.2 unarchive 22837 fixed 22837 26.1 notfixed 22837 25.2 unarchive 22841 fixed 22841 26.1 notfixed 22841 25.2 unarchive 22890 fixed 22890 26.1 notfixed 22890 25.2 unarchive 22928 fixed 22928 26.1 notfixed 22928 25.2 unarchive 22940 fixed 22940 26.1 notfixed 22940 25.2 unarchive 22964 fixed 22964 26.1 notfixed 22964 25.2 unarchive 22968 fixed 22968 26.1 notfixed 22968 25.2 unarchive 23020 fixed 23020 26.1 notfixed 23020 25.2 unarchive 23071 fixed 23071 26.1 notfixed 23071 25.2 unarchive 23116 fixed 23116 26.1 notfixed 23116 25.2 unarchive 23139 fixed 23139 26.1 notfixed 23139 25.2 unarchive 23159 fixed 23159 26.1 notfixed 23159 25.2 unarchive 23167 fixed 23167 26.1 notfixed 23167 25.2 unarchive 23262 fixed 23262 26.1 notfixed 23262 25.2 unarchive 23290 fixed 23290 26.1 notfixed 23290 25.2 unarchive 23374 fixed 23374 26.1 notfixed 23374 25.2 unarchive 23390 fixed 23390 26.1 notfixed 23390 25.2 unarchive 23401 fixed 23401 26.1 notfixed 23401 25.2 unarchive 23411 fixed 23411 26.1 notfixed 23411 25.2 unarchive 23459 fixed 23459 26.1 notfixed 23459 25.2 unarchive 23608 fixed 23608 26.1 notfixed 23608 25.2 unarchive 23703 fixed 23703 26.1 notfixed 23703 25.2 unarchive 23730 fixed 23730 26.1 notfixed 23730 25.2 unarchive 23829 fixed 23829 26.1 notfixed 23829 25.2 unarchive 23850 fixed 23850 26.1 notfixed 23850 25.2 unarchive 23863 fixed 23863 26.1 notfixed 23863 25.2 unarchive 23883 fixed 23883 26.1 notfixed 23883 25.2 unarchive 23914 fixed 23914 26.1 notfixed 23914 25.2 unarchive 23949 fixed 23949 26.1 notfixed 23949 25.2 unarchive 23998 fixed 23998 26.1 notfixed 23998 25.2 unarchive 24122 fixed 24122 26.1 notfixed 24122 25.2 unarchive 24133 fixed 24133 26.1 notfixed 24133 25.2 unarchive 24166 fixed 24166 26.1 notfixed 24166 25.2 unarchive 24257 fixed 24257 26.1 notfixed 24257 25.2 unarchive 24308 fixed 24308 26.1 notfixed 24308 25.2 unarchive 24432 fixed 24432 26.1 notfixed 24432 25.2