GNU bug report logs - #8018
emacsclient crashes on 64-bit linux

Previous Next

Package: emacs;

Reported by: Ahmon Dancy <dancy <at> franz.com>

Date: Sat, 12 Feb 2011 00:52:02 UTC

Severity: normal

Fixed in version 23.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ahmon Dancy <dancy <at> franz.com>
Subject: bug#8018: closed (Re: bug#8018: emacsclient crashes on 64-bit linux)
Date: Sat, 12 Feb 2011 01:02:01 +0000
[Message part 1 (text/plain, inline)]
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 <at> debbugs.gnu.org.

-- 
8018: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8018
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 8018-done <at> debbugs.gnu.org
Subject: Re: bug#8018: emacsclient crashes on 64-bit linux
Date: Fri, 11 Feb 2011 20:10:47 -0500
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 <netinet/in.h>
> + #  include <arpa/inet.h>
>   # 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.

[Message part 3 (message/rfc822, inline)]
From: Ahmon Dancy <dancy <at> franz.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacsclient crashes on 64-bit linux
Date: Fri, 11 Feb 2011 17:00:01 -0800
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 <netinet/in.h>
+ #  include <arpa/inet.h>
  # endif
  
  # define INVALID_SOCKET -1



This bug report was last modified 14 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.