Package: libxrandr2 Version: 2:1.1.0.2-5 Severity: normal Debian Release: etch/stable Architecture: i386 I have wrote a simple example that do the following: XInitThreads XOpenDisplay XDefaultScreen XRRTimes XCloseDisplayIt appears that proccess hangs in XRRTimes while trying to _XLockDisplay for a second time.
Breakpoint 2, _XLockDisplay (dpy=0x8353e48) at ../../src/locking.c:485 485 ../../src/locking.c: No such file or directory. in ../../src/locking.c (gdb) bt #0 _XLockDisplay (dpy=0x8353e48) at ../../src/locking.c:485#1 0xb7fe1b1a in XRRTimes (dpy=0x8353e48, screen=0, config_timestamp=0xbfecb524) at ../../src/Xrandr.c:321
(gdb) c Continuing. Breakpoint 2, _XLockDisplay (dpy=0x8353e48) at ../../src/locking.c:485 485 in ../../src/locking.c (gdb) bt #0 _XLockDisplay (dpy=0x8353e48) at ../../src/locking.c:485#1 0xb730ee36 in XQueryExtension (dpy=0x8353e48, name=0xb7fe2188 "RANDR", major_opcode=0xbfecb3d0, first_event=0xbfecb3d4,
first_error=0xbfecb3d8) at ../../src/QuExt.c:46#2 0xb730360b in XInitExtension (dpy=0x8353e48, name=0xb7fe2188 "RANDR") at ../../src/InitExt.c:49
#3 0xb72d6ea3 in XextAddDisplay () from /usr/lib/libXext.so.6 #4 0xb7fe0f29 in XRRFindDisplay (dpy=0x8353e48) at ../../src/Xrandr.c:139#5 0xb7fe1aa7 in _XRRValidateCache (dpy=0x832fd10, screen=137707080) at ../../src/Xrandr.c:242 #6 0xb7fe1b24 in XRRTimes (dpy=0x8353e48, screen=0, config_timestamp=0xbfecb524) at ../../src/Xrandr.c:322
Attachment:
xrandr_test.tar.bz2
Description: application/bzip