Subject: bug#407: marked as done (gpm server stop making
emacs abort())




Your message dated Fri, 27 Mar 2009 12:18:19 -0400
with message-id <jwvocvndjs1.fsf-monnier+emacsbugreports@xxxxxxx>
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 owner@xxxxxxxxxxxxxxxxxxxxxxxxxx
immediately.)


--
407: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=407
Emacs Bug Tracking System
Contact owner@xxxxxxxxxxxxxxxxxxxxxxxxxx with problems
--- Begin Message --- 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

Attachment: bt.txt
Description: Text document


--- End Message --- --- Begin Message --- 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


--- End Message ---



Privacy