Finding the resource grabbing the mouse.

phil lemelin phil.lemelin at gmail.com
Tue Mar 22 07:46:11 PDT 2011


Good day list,

I'm currently facing an issue where the mouse clicks seem to be ignored on
an older box. I found some bug report which seem to be similar to my issue (
mouse moves but won't click :
https://bugzilla.redhat.com/show_bug.cgi?id=494999 ). Following the
indication in comment #16, I installed the debug package for xorg and ran
gdb ( using the 2 pointer example for fedora rawhide or Fedora 10 ):

Attaching to program: /usr/lib/debug/usr/bin/Xorg.debug, process 2631
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0xffffe424 in __kernel_vsyscall ()
(gdb) p/x inputInfo.pointer->deviceGrab.grab->resource
Cannot access memory at address 0x78
(gdb) p/x inputInfo.pointer->grab->resource
There is no member named grab.
(gdb) p/x inputInfo.pointer
$1 = 0x0
(gdb) p/x inputInfo
$2 = {numDevices = 0xb7a6fb20, devices = 0x0, off_devices = 0x0, keyboard =
0x0, pointer = 0x0}

I'm running xorg 1.6.1. Is there other pointers I should try to get more
info on this issue ? Or it is simply NOT a grab issue ? I looked in the
source for 1.6.1 and the GrabPtr seem to be defined like in the first
example but I'm not very familiar with the Xorg source and probably
mistaken. Any other leads I should follow ?

Thanks you for any help you can provide.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20110322/c11f6e54/attachment.html>


More information about the xorg mailing list