[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278984: libx11-6: XQueryColors() doesn't return if ncolors is 65536.



tag 278984 + moreinfo
thanks

On Sun, Oct 31, 2004 at 04:35:02AM +0900, Kusanagi Kouichi wrote:
> Package: libx11-6
> Version: 4.3.0.dfsg.1-8
> Severity: normal
> Tags: patch
> 
> XQueryColors() doesn't return if ncolors is 65536, at least on the 16-bit
> TrueColor screen. Test program and patch are attatched.

Curiouser and curiouser...

The first time I your test program in my X session, it *didn't* hang for
me.

Instead, I got this:

577 {0} branden@sisyphus:/tmp$ ./querycolors
Xlib: unexpected async reply (sequence 0x7)!
X Error of failed request:  BadRequest (invalid request code or no such
operation)
  Major opcode of failed request:  0 ()
  Serial number of failed request:  8
  Current serial number in output stream:  7

Do you understand what is happening here?

-- 
G. Branden Robinson                |
Debian GNU/Linux                   |       Extra territorium jus dicenti
branden@debian.org                 |       impune non paretur.
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: