Bug#470882: /dev/gpmctl freezes acknowledge

Václav Ovsík vaclav.ovsik at i.cz
Wed Apr 30 12:40:26 UTC 2008


On Wed, Apr 30, 2008 at 01:35:51PM +0200, Nico Schottelius wrote:
> Hello!
> 
> Vaclav Ovsik [Wed, Apr 30, 2008 at 08:36:42AM +0200]:
> > Hi,
> > I have this problem on my box and another two boxes at home too. Gpm
> > enabled applications freezes on communication with gpm. When I switch to
> > the console to see if mouse is functional under gpm right now (aptitude
> > hangs in rxvt) - mouse moves ok in text console.
> > Applications (aptitude, module-assistant,...) revive after gpm restart.
> > This problem appears several times a day for me.
> 
> Can you do strace -Ff <program> 2> log before starting the program that
> hangs?
> 
> And can you run gpm -D <options> >gpm.log 2>&1 on another console before?
> 
> And then send both files to me?

Of course.

bobek:~# /usr/sbin/gpm -m /dev/input/mice -t imps2 -r 16 -D &>gpm.log

# six times aptitude ran

# seventh aptitude run as you requested:

zito at bobek:~$ strace -Ff aptitude 2>aptitude-gpm.log

# The screen stayed black, so I did a copy of both log files
# with `.1' in the filename.

# I switched into the text console, did some mouse moves, switched
# back into X-Window, quit already running aptitude and Ctrl-C the gpm.

After this I ran the gpm again with the gpm2.log and ran aptitude only
two times, did moves on the text console and interrupted (Ctrl-C) the gpm.
Messages about failed connections from gpm appeared in the log file
until mouse moves on text console.

Log files are attached.

Regards
-- 
Zito
-------------- next part --------------
*** debug [daemon/server_tools.c(137)]: initialize /dev/input/mice with proto imps2
*** debug [daemon/server_tools.c(144)]: finished initialization
*** debug [daemon/gpm.c(859)]: Screen size: 128 - 48
*** debug [daemon/gpm.c(876)]: x 6, y 10
*** debug [daemon/gpm.c(998)]: selected 1 times


More information about the pkg-gpm-devel mailing list