Debian Bug report logs - #291100
XRandR extension has endianess issues

version graph

Package: xserver-xorg-core; Maintainer for xserver-xorg-core is Debian X Strike Force <debian-x@lists.debian.org>; Source for xserver-xorg-core is src:xorg-server (PTS, buildd, popcon).

Reported by: Daniel van Eeden <daniel_e@dds.nl>

Date: Tue, 18 Jan 2005 19:03:03 UTC

Severity: normal

Merged with 397067

Fixed in version xorg-server/2:1.1.1-11

Done: David Nusinow <dnusinow@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Karl Ramm <kcr@debian.org>:
Bug#291100; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Daniel van Eeden <daniel_e@dds.nl>:
New Bug report received and forwarded. Copy sent to Karl Ramm <kcr@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel van Eeden <daniel_e@dds.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xscreensaver won't start with XDMCP setup
Date: Tue, 18 Jan 2005 19:29:21 +0100
[Message part 1 (text/plain, inline)]
Package: xscreensaver
Version: 4.16-1
Severity: normal


My setup:
I'm running gnome/gdm+xdmcp on Debian Sid on an amd64 box.
I'm running XFree86/gdmchooser on Debian Sarge on an sparc64 box.
Everything works, except xscreensaver.
Backtrace and xdpyinfo included.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.9-9-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xscreensaver depends on:
ii  libatk1.0-0    1.8.0-4                   The ATK accessibility toolkit
ii  libc6          2.3.2.ds1-20.0.0.1.pure64 GNU C Library: Shared libraries an
ii  libglade2-0    1:2.4.1-1                 Library to load .glade files at ru
ii  libglib2.0-0   2.6.1-2                   The GLib library of C routines
ii  libgtk2.0-0    2.4.14-2                  The GTK+ graphical user interface 
ii  libice6        4.3.0.dfsg.1-10           Inter-Client Exchange library
ii  libjpeg62      6b-9                      The Independent JPEG Group's JPEG 
ii  libpam0g       0.76-22                   Pluggable Authentication Modules l
ii  libpango1.0-0  1.6.0-3                   Layout and rendering of internatio
ii  libsm6         4.3.0.dfsg.1-10           X Window System Session Management
ii  libx11-6       4.3.0.dfsg.1-10           X Window System protocol client li
ii  libxext6       4.3.0.dfsg.1-10           X Window System miscellaneous exte
ii  libxml2        2.6.11-5                  GNOME XML library
ii  libxmu6        4.3.0.dfsg.1-10           X Window System miscellaneous util
ii  libxrandr2     4.3.0.dfsg.1-10           X Window System Resize, Rotate and
ii  libxrender1    0.8.3-7                   X Rendering Extension client libra
ii  libxt6         4.3.0.dfsg.1-10           X Toolkit Intrinsics
ii  xlibs          4.3.0.dfsg.1-10           X Keyboard Extension (XKB) configu
ii  zlib1g         1:1.2.2-4                 compression library - runtime

-- no debconf information
[xscreensaver_gdb.log (text/plain, attachment)]
[xdpyinfo (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Karl Ramm <kcr@debian.org>:
Bug#291100; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Karl Ramm <kcr@debian.org>. (full text, mbox, link).


Message #10 received at 291100@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: Daniel van Eeden <daniel_e@dds.nl>, 291100@bugs.debian.org
Subject: Re: Bug#291100: xscreensaver won't start with XDMCP setup
Date: Tue, 18 Jan 2005 19:18:50 -0800
I suspect this is a bug in the xrandr extension.

I can work around it by trapping errors around that call if this is, in
fact, a common bug (as opposed to something specific to your setup, or
your version of the server.)  But I'd like to hear what the X folks have
to say about it first, though.  Is it valid for 

  XRRSelectInput (dpy, root, RRScreenChangeNotifyMask);

to return BadValue if the server has already claimed to support the
RANDR extension?  That doesn't sound reasonable to me, but that seems to
be what's happening.

Just to make sure this is what's going on, please grab the xscreensaver
source and do this:

    ./configure
    cd driver
    make test-randr
    ./test-randr

and see if you get the same error.  You should see something like:

    test-randr: 19:12:34: XRRQueryExtension(dpy, ...) ==> 117, 0
    test-randr: 19:12:34: XRRQueryVersion(dpy, ...) ==> 1, 1

    test-randr: 19:12:34: Screen 0
    test-randr: 19:12:34:   config changed 277 seconds ago
    test-randr: 19:12:34:   Available Rotations:     0
    test-randr: 19:12:34:   Current Rotation:        0
    test-randr: 19:12:34:   Available Reflections:   none
    test-randr: 19:12:34:   Current Reflections:     none
    test-randr: 19:12:34:     size 0: 4096 x 1536    rates: 85
    test-randr: 19:12:34:   + size 1: 3200 x 1200    rates: 85
    test-randr: 19:12:34:     size 2: 2560 x 1024    rates: 85
    test-randr: 19:12:34:     size 3: 2048 x 768     rates: 170
    test-randr: 19:12:34:     size 4: 1600 x 600     rates: 85

    test-randr: awaiting events...



Information forwarded to debian-bugs-dist@lists.debian.org, Karl Ramm <kcr@debian.org>:
Bug#291100; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Karl Ramm <kcr@debian.org>. (full text, mbox, link).


Message #15 received at 291100@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: Daniel van Eeden <daniel_e@dds.nl>, 291100@bugs.debian.org
Subject: Re: Bug#291100: xscreensaver won't start with XDMCP setup
Date: Thu, 20 Jan 2005 00:11:59 -0800
Keith Packard <keithp@keithp.com> wrote:
> 
> heh.  Looks like there's a byteswapping bug in XRandR.  Nice catch.
> 
> Note that the erroneous value (0x100) is a byteswapped short from the
> valid value (0x1).  Then note that the value isn't byteswapped in the X
> server.
> 
> Fix follows.
> 
> -keith
> 
> Index: randr.c
> ===================================================================
> RCS file: /cvs/xserver/xserver/randr/randr.c,v
> retrieving revision 1.21
> diff -u -r1.21 randr.c
> --- randr.c     11 Sep 2003 05:12:51 -0000      1.21
> +++ randr.c     20 Jan 2005 04:39:01 -0000
> @@ -1072,6 +1072,7 @@
> 
>      swaps(&stuff->length, n);
>      swapl(&stuff->window, n);
> +    swaps(&stuff->enable, n);
>      return ProcRRSelectInput(client);
>  }



Bug reassigned from package `xscreensaver' to `libxrandr2'. Request was from steve@blckknght.org (Steven Barker) to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from steve@blckknght.org (Steven Barker) to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#291100; Package libxrandr2. (full text, mbox, link).


Acknowledgement sent to Josh Triplett <josh.trip@verizon.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #24 received at 291100@bugs.debian.org (full text, mbox, reply):

From: Josh Triplett <josh.trip@verizon.net>
To: 291100@bugs.debian.org
Subject: Reassign to xserver-xfree86
Date: Fri, 22 Apr 2005 00:25:45 -0700
[Message part 1 (text/plain, inline)]
Based on the previous mail to this bug, including a patch to the
*server-side* implementation of xrandr, this bug should be reassigned to
the X server, package xserver-xfree86.

- Josh Triplett
[signature.asc (application/pgp-signature, attachment)]

Bug reassigned from package `libxrandr2' to `xserver-xorg-core'. Request was from Drew Parsons <dparsons@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: pending Request was from Julien Cristau <julien.cristau@ens-lyon.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to David Nusinow <dnusinow@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Daniel van Eeden <daniel_e@dds.nl>:
Bug acknowledged by developer. (full text, mbox, link).


Message #33 received at 291100-close@bugs.debian.org (full text, mbox, reply):

From: David Nusinow <dnusinow@debian.org>
To: 291100-close@bugs.debian.org
Subject: Bug#291100: fixed in xorg-server 2:1.1.1-11
Date: Fri, 24 Nov 2006 23:02:05 +0000
Source: xorg-server
Source-Version: 2:1.1.1-11

We believe that the bug you reported is fixed in the latest version of
xorg-server, which is due to be installed in the Debian FTP archive:

xdmx-tools_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xdmx-tools_1.1.1-11_i386.deb
xdmx_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xdmx_1.1.1-11_i386.deb
xnest_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xnest_1.1.1-11_i386.deb
xorg-server_1.1.1-11.diff.gz
  to pool/main/x/xorg-server/xorg-server_1.1.1-11.diff.gz
xorg-server_1.1.1-11.dsc
  to pool/main/x/xorg-server/xorg-server_1.1.1-11.dsc
xserver-xephyr_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xserver-xephyr_1.1.1-11_i386.deb
xserver-xorg-core_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core_1.1.1-11_i386.deb
xserver-xorg-dev_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-dev_1.1.1-11_i386.deb
xvfb_1.1.1-11_i386.deb
  to pool/main/x/xorg-server/xvfb_1.1.1-11_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 291100@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Nusinow <dnusinow@debian.org> (supplier of updated xorg-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 24 Nov 2006 15:44:52 -0500
Source: xorg-server
Binary: xserver-xephyr xserver-xorg-core xvfb xdmx xserver-xorg-dev xdmx-tools xnest
Architecture: source i386
Version: 2:1.1.1-11
Distribution: unstable
Urgency: low
Maintainer: David Nusinow <dnusinow@debian.org>
Changed-By: David Nusinow <dnusinow@debian.org>
Description: 
 xdmx       - Distributed Multihead X server
 xdmx-tools - Distributed Multihead X tools
 xnest      - Nested X server
 xserver-xephyr - Next Generation Nested X Server
 xserver-xorg-core - X.Org X server -- core server
 xserver-xorg-dev - X.Org X server -- development files
 xvfb       - Virtual Framebuffer 'fake' X server
Closes: 291100 308899 337703 356300 358015 364556 392453 393991 395564
Changes: 
 xorg-server (2:1.1.1-11) unstable; urgency=low
 .
   [ Drew Parsons ]
   * Patches 33_Xserver_man_typos.patch and 34_xorg.conf_man_typos.patch
     fix minor typos in Xserver and xorg.conf man pages.
     Closes: #364556, #308899.
   * Add patch 35_randr_byteswap.patch from upstream. Fixes a client/server
     byteswapping problem. Closes: #291100.
 .
   [ Julien Cristau ]
   * Don't build-depend on libdrm-dev on hurd-i386 (closes: #358015). Thanks,
     Samuel Thibault.
   * Update hurd support patch (closes: #356300). Thanks, Samuel Thibault.
   * Add reportbug script stolen from the monolith, to add the user's config
     and log file in every bug report.
   * Delete hw/xfree86/common/xf86Build.h from our source tree, so that the
     build date is correctly calculated at build time, and not hardcoded to
     07 July 2006.  Thanks to Jurij Smakov for noticing.
   * Add patch 36_fix_ffs.patch by Jurij Smakov to fix infinite loop in ffs()
     if called with an argument of 0 (closes: #395564).
   * Add patch 37_Fix-__glXDRIbindTexImage-for-32-bpp-on-big-endian-platforms
     from upstream git to fix color issue on big endian platforms
     (closes: #392453). Thanks to Michel Dänzer for the patch!
   * Fix typo in xvfb-run (closes: #337703).
   * Install xdmxconfig and its manpage in xdmx-tools (closes: #393991).
   * Add Replaces: xdmx (<= 2:1.1.1-10) to xdmx-tools because of the xmdxconfig
     manpage move.
Files: 
 5fb20352aa58b2269d400af3a727e805 1979 x11 optional xorg-server_1.1.1-11.dsc
 24fbd37d3d83a464ef823e3f47ca6679 612663 x11 optional xorg-server_1.1.1-11.diff.gz
 fb78f39775a3ae7c9147bb0a92d95cbd 3597770 x11 optional xserver-xorg-core_1.1.1-11_i386.deb
 218fe99a326a81b3ff96c21aecab01d1 343560 x11 optional xserver-xorg-dev_1.1.1-11_i386.deb
 5c2084c9857838b1aa6250b1b773fce1 805580 x11 optional xdmx_1.1.1-11_i386.deb
 ba9239528b89b82abcfe1703f23f6bd3 119758 x11 optional xdmx-tools_1.1.1-11_i386.deb
 3ffd577ab320666187314a0ac02d189e 1386226 x11 optional xnest_1.1.1-11_i386.deb
 b97ce047ad9dddd0e4b31f1ca079e16c 1535774 x11 optional xvfb_1.1.1-11_i386.deb
 e35b3a32ab9840c442cb412c1e24bfe5 1560126 x11 optional xserver-xephyr_1.1.1-11_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFZ2h4yLfpNdY0ad8RAma/AJ9pnJF7uXbgfleVJ03yh0ZRGQ1vogCgkaYB
umga975hN7SdvqEgPRSaGcA=
=pIU3
-----END PGP SIGNATURE-----




Merged 291100 397067. Request was from "J.P. Larocque" <piranha@thoughtcrime.us> to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 07:32:50 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 30 22:55:48 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.