GNU bug report logs - #407
gpm server stop making emacs abort()

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Fri, 13 Jun 2008 21:05:05 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#407: marked as done (gpm server stop making emacs abort())
Date: Fri, 27 Mar 2009 16:25:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 27 Mar 2009 12:18:19 -0400
with message-id <jwvocvndjs1.fsf-monnier+emacsbugreports <at> gnu.org>
and subject line gpm server stop making emacs abort()
has caused the Emacs bug report #407,
regarding gpm server stop making emacs abort()
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
407: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=407
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kevin Ryde <user42 <at> zip.com.au>
To: emacs-pretest-bug <at> gnu.org
Subject: gpm server stop making emacs abort()
Date: Sat, 14 Jun 2008 06:55:33 +1000
[Message part 3 (text/plain, inline)]
If running with

	(gpm-mouse-mode 1)

and if you stop the gpm server, then emacs dies with

	Fatal error (6)Aborted

Output from "bt full" below; xbacktrace printed nothing at all.


The backtrace shows it at the abort() under the EBADF case in
wait_reading_process_output().  I think when Gpm_GetEvent gets an eof
from the server it closes gpm_fd; maybe that's the bad fd in question.


In GNU Emacs 23.0.60.1 (i586-pc-linux-gnu, GTK+ Version 2.12.10)
 of 2008-06-13 on blah.blah
configured using `configure  'CFLAGS=-O -g' '--prefix=/down/emacs/b/inst' '--with-x-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  gpm-mouse-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
  line-number-mode: t
  transient-mark-mode: t

[bt.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 407-done <at> debbugs.gnu.org
Subject: gpm server stop making emacs abort()
Date: Fri, 27 Mar 2009 12:18:19 -0400
Thanks Kevin for your patch.  I've tried it out and it seems to be fine,
so I installed it (at long last).
We're really relying too much on undocumented parts of the GPM API, tho.


        Stefan


This bug report was last modified 15 years and 266 days ago.

Previous Next


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