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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8018 in the body.
You can then email your comments to 8018 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8018; Package emacs. (Sat, 12 Feb 2011 00:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ahmon Dancy <dancy <at> franz.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 12 Feb 2011 00:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 12 Feb 2011 01:02:01 GMT) Full text and rfc822 format available.

Notification sent to Ahmon Dancy <dancy <at> franz.com>:
bug acknowledged by developer. (Sat, 12 Feb 2011 01:02:01 GMT) Full text and rfc822 format available.

Message #10 received at 8018-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 Mar 2011 12:24:04 GMT) Full text and rfc822 format available.

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.