Bug#470882: /dev/gpmctl freezes acknowledge

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Oct 10 23:02:30 UTC 2008


Thomas Dickey, le Wed 08 Oct 2008 20:00:32 -0400, a écrit :
> 	b) I'm not as familiar with pdmenu source - but reading, seems to
> 	   talk directly to gpm using its documented interface, and to
> 	   be using slang.

I tried to reproduce it, same issue indeed:

Program received signal SIGBUS, Bus error.
CheckMouse () at ../src/mouse.c:39
39	    FD_SET(gpm_fd, &rfds);
(gdb) bt
#0  CheckMouse () at ../src/mouse.c:39
#1  0x0000000000404072 in DoMenu (m=0x1f79d10, MenuAction=0x402c80 <Pdmenu_Action>, 
    Ctrl_C_Action=0x402ca0 <Handle_Ctrl_C>) at ../src/menu.c:336
#2  0x0000000000404e62 in main (argc=<value optimized out>, argv=0x7fff9a00ff08)
    at ../src/pdmenu.c:275
(gdb) p gpm_fd
$1 = -1

pdmenu doesn't like gpm_fd becoming -1 under its feet.

I haven't been able to reproduce the issue with w3m.

Samuel





More information about the pkg-gpm-devel mailing list