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

Bug#432256: marked as done (libxinerama1: XineramaIsActive disagrees with XineramaQueryScreens on sparc)



Your message dated Mon, 10 Sep 2007 13:17:08 +0000
with message-id <E1IUj8W-0006GV-Ed@ries.debian.org>
and subject line Bug#431746: fixed in xorg-server 2:1.4-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libxinerama1
Version: 1:1.0.2-1
Severity: important

Hi,
according to XineramaIsActive(3):

 XineramaIsActive()
    The  XineramaActive function returns a Boolean operator used to determine if Xin‐
    erama is activated on the screen. Returns True  for  active  and  False  for  not
    active.

(there's a typo, s/XineramaActive/XineramaIsActive/)

 [...]

 XineramaQueryScreens() returns NULL and sets number to 0 if Xinerama is
 not active.

Actually on my sparc machine XineramaIsActive() returns True, while
XineramaQueryScreens sets the number of screens to 0 and returns a NULL
pointer.

This bug makes gdm unusable, and probably other packages.

I've tried the following program on sparc and i386:

#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/extensions/Xinerama.h>

int main() {
    Display *disp = XOpenDisplay(NULL);
    int n_screens;
    XineramaScreenInfo *xscreens = XineramaQueryScreens (disp,
        &n_screens);

    printf("XineramaIsActive: %d\n", XineramaIsActive(disp));
    printf("Number of screens: %d\n", n_screens);

    if(xscreens == NULL)
        printf("XineramaQueryScreens returned a NULL pointer\n");
    else
        printf("XineramaQueryScreens returned something useful\n");

    XFree(xscreens);

    return 0;
}

The program above prints the following on my sparc machine:

XineramaIsActive: 1
Number of screens: 0
XineramaQueryScreens returned a NULL pointer

Conversely, on i386 the bug is not reproducible:

XineramaIsActive: 1
Number of screens: 1
XineramaQueryScreens returned something useful

ciao,
    ema

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.22-rc7
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxinerama1 depends on:
ii  libc6                         2.5-9      GNU C Library: Shared libraries
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxext6                      1:1.0.3-2  X11 miscellaneous extension librar
ii  x11-common                    1:7.2-5    X Window System (X.Org) infrastruc

libxinerama1 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: xorg-server
Source-Version: 2:1.4-1

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:

xnest_1.4-1_i386.deb
  to pool/main/x/xorg-server/xnest_1.4-1_i386.deb
xorg-server_1.4-1.diff.gz
  to pool/main/x/xorg-server/xorg-server_1.4-1.diff.gz
xorg-server_1.4-1.dsc
  to pool/main/x/xorg-server/xorg-server_1.4-1.dsc
xorg-server_1.4.orig.tar.gz
  to pool/main/x/xorg-server/xorg-server_1.4.orig.tar.gz
xserver-xephyr_1.4-1_i386.deb
  to pool/main/x/xorg-server/xserver-xephyr_1.4-1_i386.deb
xserver-xorg-core-dbg_1.4-1_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core-dbg_1.4-1_i386.deb
xserver-xorg-core_1.4-1_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core_1.4-1_i386.deb
xserver-xorg-dev_1.4-1_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-dev_1.4-1_i386.deb
xvfb_1.4-1_i386.deb
  to pool/main/x/xorg-server/xvfb_1.4-1_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 431746@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@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: Mon, 10 Sep 2007 14:35:38 +0200
Source: xorg-server
Binary: xserver-xephyr xserver-xorg-core xvfb xserver-xorg-dev xserver-xorg-core-dbg xnest
Architecture: source i386
Version: 2:1.4-1
Distribution: experimental
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xnest      - Nested X server
 xserver-xephyr - Next Generation Nested X Server
 xserver-xorg-core - X.Org X server -- core server
 xserver-xorg-core-dbg - Xorg - the X.Org X server (debugging symbols)
 xserver-xorg-dev - X.Org X server -- development files
 xvfb       - Virtual Framebuffer 'fake' X server
Closes: 431746
Changes: 
 xorg-server (2:1.4-1) experimental; urgency=low
 .
   * New upstream release (X.Org 7.3)
     + RandR doesn't mark Xinerama as active when no crtcs are enabled
       (closes: #431746)
   * Add proper depends to xserver-xorg-dev:
     x11proto-core-dev, x11proto-input-dev (>= 1.4), x11proto-xext-dev,
     x11proto-video-dev, x11proto-randr-dev (>= 1.2), x11proto-render-dev (>=
     2:0.9.3), x11proto-fonts-dev
   * Bump serverminver to 2:1.4, videoabiver to 2, inputabiver to 2.
Files: 
 5c758cf23208ace84f08e96579634040 2389 x11 optional xorg-server_1.4-1.dsc
 105819696f397aa2062dce3c106f7965 8191249 x11 optional xorg-server_1.4.orig.tar.gz
 3ecc885bb1a096f2b5c23d10bd132e2f 687768 x11 optional xorg-server_1.4-1.diff.gz
 f337d2e60893f625b05f0e464703be69 4043256 x11 optional xserver-xorg-core_1.4-1_i386.deb
 a6526f890c2242452a9d2f26f44e2747 668930 x11 optional xserver-xorg-dev_1.4-1_i386.deb
 5cec9e3c8ffc9211fad863cb307cc4f0 1733118 x11 optional xnest_1.4-1_i386.deb
 8c9fef9e25835497206558a4aa5a13ce 1843342 x11 optional xvfb_1.4-1_i386.deb
 9f8fccd85fad1c78c980cb0ca602e03e 1880308 x11 optional xserver-xephyr_1.4-1_i386.deb
 6ae2ec9a7c1b05daecd8b01f43818156 12548112 x11 extra xserver-xorg-core-dbg_1.4-1_i386.deb

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

iD8DBQFG5UIZmEvTgKxfcAwRArowAJ9MyySGD927y+GoyDZC4i6oxvpdAQCfZQgp
gfmf1ifcrFZybkjHVAaf7ug=
=IBwK
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: