Bug#470882: /dev/gpmctl freezes acknowledge

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Oct 28 01:50:22 UTC 2008


Hello,

Same for me, I've always had the repeater, thus couldn't reproduce the
"7th" bug.

Christoph Berg, le Sat 25 Oct 2008 20:47:08 +0200, a écrit :
> Or is the bug rather that applications not running on a linux consule
> must not try to connect to gpm?

Ideally they shouldn't even try, yes.  And they used to not try, see bug
#472063.

> In this case, gpm should probably still reject the connection in some
> way.

Yes.  The problem is that then you get the crash whose backtrace can be
read in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470882#135 : it
looks like libgpm can not afford just closing its fd and setting gpm_fd
to -1 since the application could still e.g. add it to an fd_set or have
done it already (and then get a EBADF).

Samuel





More information about the pkg-gpm-devel mailing list