From unknown Mon Aug 18 02:38:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8018: emacsclient crashes on 64-bit linux Resent-From: Ahmon Dancy Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2011 00:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8018 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8018@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129747191723829 (code B ref -1); Sat, 12 Feb 2011 00:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2011 00:51:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po3iP-0006CI-4B for submit@debbugs.gnu.org; Fri, 11 Feb 2011 19:51:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po3hn-0006BG-Tm for submit@debbugs.gnu.org; Fri, 11 Feb 2011 19:51:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Po3qL-0000oG-OZ for submit@debbugs.gnu.org; Fri, 11 Feb 2011 20:00:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Po3qL-0000o7-Dw for submit@debbugs.gnu.org; Fri, 11 Feb 2011 20:00:09 -0500 Received: from [140.186.70.92] (port=37220 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Po3qI-0000GU-J7 for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2011 20:00:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Po3qG-0000ne-GH for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2011 20:00:05 -0500 Received: from fw1.franz.com ([67.207.112.66]:57287 helo=dancy.franz.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Po3qG-0000mS-A0 for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2011 20:00:04 -0500 Received: by dancy.franz.com (Allegro Maild v1.2.23) id 000001106166; Fri, 11 Feb 2011 17:00:01 -0800 From: Ahmon Dancy Message-Id: <20110211170001.000001106166@dancy.franz.com> Date: Fri, 11 Feb 2011 17:00:01 -0800 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 67.207.112.66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Fri, 11 Feb 2011 19:51:56 -0500 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: -6.6 (------) Emacsclient crashes with a segmentation fault on x86-64 linux. I don't recall the exact circumstances under which it occurs [has something to do with using a TCP connection]. Anyway, I fixed it a while back but never reported it directly to this mailing list. *** emacs-22.3/lib-src/emacsclient.c~ 2007-02-16 09:12:59.000000000 -0800 --- emacs-22.3/lib-src/emacsclient.c 2009-03-05 15:42:53.000000000 -0800 *************** *** 48,53 **** --- 48,54 ---- # ifdef HAVE_INET_SOCKETS # include + # include # endif # define INVALID_SOCKET -1 From unknown Mon Aug 18 02:38:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ahmon Dancy Subject: bug#8018: closed (Re: bug#8018: emacsclient crashes on 64-bit linux) Message-ID: References: <20110211170001.000001106166@dancy.franz.com> X-Gnu-PR-Message: they-closed 8018 X-Gnu-PR-Package: emacs Reply-To: 8018@debbugs.gnu.org Date: Sat, 12 Feb 2011 01:02:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1297472521-24702-1" This is a multi-part message in MIME format... ------------=_1297472521-24702-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8018: emacsclient crashes on 64-bit linux which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8018@debbugs.gnu.org. --=20 8018: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8018 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1297472521-24702-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8018-done) by debbugs.gnu.org; 12 Feb 2011 01:01:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po3s6-0006QD-BT for submit@debbugs.gnu.org; Fri, 11 Feb 2011 20:01:58 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po3s4-0006Q1-Iu for 8018-done@debbugs.gnu.org; Fri, 11 Feb 2011 20:01:57 -0500 Received: from localhost ([127.0.0.1]:54737) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Po40d-0006YC-Eq; Fri, 11 Feb 2011 20:10:47 -0500 From: Glenn Morris To: 8018-done@debbugs.gnu.org Subject: Re: bug#8018: emacsclient crashes on 64-bit linux References: <20110211170001.000001106166@dancy.franz.com> X-Spook: Uzi White Water Albania Guantanamo pipeline Aladdin Freeh X-Ran: _Uy8QyQ#d4R}}!QZs">!vwWMiObAF*q*sUD"QdtEszD8]b'7w.CX*}P\9zsHU"vW%,s=#{ X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 11 Feb 2011 20:10:47 -0500 In-Reply-To: <20110211170001.000001106166@dancy.franz.com> (Ahmon Dancy's message of "Fri, 11 Feb 2011 17:00:01 -0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8018-done 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: -6.3 (------) Version: 23.1 Ahmon Dancy wrote: > *** emacs-22.3/lib-src/emacsclient.c~ 2007-02-16 09:12:59.000000000 -0800 > --- emacs-22.3/lib-src/emacsclient.c 2009-03-05 15:42:53.000000000 -0800 > *************** > *** 48,53 **** > --- 48,54 ---- > > # ifdef HAVE_INET_SOCKETS > # include > + # include > # endif > > # define INVALID_SOCKET -1 emacsclient.c has unconditionally included arpa/inet.h for the past 2 years, so I think there is nothing to be done here. ------------=_1297472521-24702-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Feb 2011 00:51:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po3iP-0006CI-4B for submit@debbugs.gnu.org; Fri, 11 Feb 2011 19:51:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po3hn-0006BG-Tm for submit@debbugs.gnu.org; Fri, 11 Feb 2011 19:51:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Po3qL-0000oG-OZ for submit@debbugs.gnu.org; Fri, 11 Feb 2011 20:00:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Po3qL-0000o7-Dw for submit@debbugs.gnu.org; Fri, 11 Feb 2011 20:00:09 -0500 Received: from [140.186.70.92] (port=37220 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Po3qI-0000GU-J7 for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2011 20:00:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Po3qG-0000ne-GH for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2011 20:00:05 -0500 Received: from fw1.franz.com ([67.207.112.66]:57287 helo=dancy.franz.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Po3qG-0000mS-A0 for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2011 20:00:04 -0500 Received: by dancy.franz.com (Allegro Maild v1.2.23) id 000001106166; Fri, 11 Feb 2011 17:00:01 -0800 From: Ahmon Dancy To: bug-gnu-emacs@gnu.org Subject: emacsclient crashes on 64-bit linux Message-Id: <20110211170001.000001106166@dancy.franz.com> Date: Fri, 11 Feb 2011 17:00:01 -0800 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 67.207.112.66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 11 Feb 2011 19:51:56 -0500 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: -6.6 (------) Emacsclient crashes with a segmentation fault on x86-64 linux. I don't recall the exact circumstances under which it occurs [has something to do with using a TCP connection]. Anyway, I fixed it a while back but never reported it directly to this mailing list. *** emacs-22.3/lib-src/emacsclient.c~ 2007-02-16 09:12:59.000000000 -0800 --- emacs-22.3/lib-src/emacsclient.c 2009-03-05 15:42:53.000000000 -0800 *************** *** 48,53 **** --- 48,54 ---- # ifdef HAVE_INET_SOCKETS # include + # include # endif # define INVALID_SOCKET -1 ------------=_1297472521-24702-1--