xorg-server: Changes to 'ubuntu'

2016-11-16 Thread Timo Aaltonen
 debian/changelog |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c70ab5620f1e8227c70a92c20d29c02a7cad4bef
Author: Timo Aaltonen 
Date:   Thu Nov 17 08:15:57 2016 +0200

fix version

diff --git a/debian/changelog b/debian/changelog
index 716e323..abec0da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-xorg-server (2:1.18.99.902-1ubuntu2) UNRELEASED; urgency=medium
+xorg-server (2:1.18.99.902-1ubuntu1) UNRELEASED; urgency=medium
 
   [ Timo Aaltonen ]
   * Merge from Debian experimental.



xorg-server: Changes to 'ubuntu'

2016-11-16 Thread Robert Ancell
 debian/changelog |   13 
 debian/patches/xmir-desktop-file-hint-flag.patch |   22 
 debian/patches/xmir.patch|  576 +++
 3 files changed, 410 insertions(+), 201 deletions(-)

New commits:
commit 6a23f1b3237dad65d3f1c3c3616ca91d1822bcf3
Author: Robert Ancell 
Date:   Thu Nov 17 15:26:39 2016 +1300

* debian/patches/xmir.patch:
* debian/patches/xmir-desktop-file-hint-flag.patch:
  - Refresh
  - Fix warnings when built against lp:mir/0.25
  - Support both Mir 0.24 and 0.25 client APIs
  - Fix crashing on arm64 (LP: #1642297)

diff --git a/debian/changelog b/debian/changelog
index 5941a97..716e323 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
-xorg-server (2:1.18.99.902-1ubuntu1) UNRELEASED; urgency=medium
+xorg-server (2:1.18.99.902-1ubuntu2) UNRELEASED; urgency=medium
 
+  [ Timo Aaltonen ]
   * Merge from Debian experimental.
 - Patches refreshed
 - randr-adjust-masters-last-set-time.diff,
@@ -16,7 +17,15 @@ xorg-server (2:1.18.99.902-1ubuntu1) UNRELEASED; 
urgency=medium
 already, no need to carry a duplicate check.
   * xmir.patch: Don't check for aiglx enable flag, dropped upstream.
 
- -- Timo Aaltonen   Tue, 08 Nov 2016 12:48:29 +0200
+  [ Robert Ancell ]
+  * debian/patches/xmir.patch:
+  * debian/patches/xmir-desktop-file-hint-flag.patch:
+- Refresh
+- Fix warnings when built against lp:mir/0.25
+- Support both Mir 0.24 and 0.25 client APIs
+- Fix crashing on arm64 (LP: #1642297)
+
+ -- Robert Ancell   Thu, 17 Nov 2016 15:25:26 
+1300
 
 xorg-server (2:1.18.99.902-1) experimental; urgency=medium
 
diff --git a/debian/patches/xmir-desktop-file-hint-flag.patch 
b/debian/patches/xmir-desktop-file-hint-flag.patch
index 4930b55..d41afbc 100644
--- a/debian/patches/xmir-desktop-file-hint-flag.patch
+++ b/debian/patches/xmir-desktop-file-hint-flag.patch
@@ -1,22 +1,28 @@
-From de9e6e1d66680e717471df2c4032e590fd1b9ae0 Mon Sep 17 00:00:00 2001
+From 9d15629dd3cdddec47f873d7bb14ed5e27f621ca Mon Sep 17 00:00:00 2001
 From: Robert Ancell 
 Date: Fri, 29 Apr 2016 14:58:28 +0200
 Subject: [PATCH xserver 2/3] xmir: Ignore --desktop_file_hint flag required by
  Unity8 to decide which application is starting
 
 ---
- hw/xmir/xmir.c | 3 +++
- 1 file changed, 3 insertions(+)
+ hw/xmir/xmir.c | 4 
+ 1 file changed, 4 insertions(+)
 
+diff --git a/hw/xmir/xmir.c b/hw/xmir/xmir.c
+index 81b0b34..332e22e 100644
 --- a/hw/xmir/xmir.c
 +++ b/hw/xmir/xmir.c
-@@ -178,6 +178,9 @@ ddxProcessArgument(int argc, char *argv[
- } else if (!strcmp(argv[i], "-novtswitch") ||
+@@ -180,6 +180,10 @@ ddxProcessArgument(int argc, char *argv[], int i)
+ else if (!strcmp(argv[i], "-novtswitch") ||
 !strncmp(argv[i], "vt", 2)) {
  return 1;
 +/* Bypass unity8 "security" */
-+} else if (!strncmp(argv[i], "--desktop_file_hint=", 
strlen("--desktop_file_hint="))) {
++}
++else if (!strncmp(argv[i], "--desktop_file_hint=", 
strlen("--desktop_file_hint="))) {
 +return 1;
- } else if (!strcmp(argv[i], "-fd")) {
+ }
+ else if (!strcmp(argv[i], "-fd")) {
  if (!seen_shared)
- NoListenAll = 1;
+-- 
+2.10.2
+
diff --git a/debian/patches/xmir.patch b/debian/patches/xmir.patch
index 1d9aa40..d4fbdb2 100644
--- a/debian/patches/xmir.patch
+++ b/debian/patches/xmir.patch
@@ -1,4 +1,4 @@
-From 8467ede06b3b40fae1d362d73cfa313737e0defc Mon Sep 17 00:00:00 2001
+From 4d62680bb8961651be15732cc815bf8cff2535ef Mon Sep 17 00:00:00 2001
 From: Robert Ancell 
 Date: Fri, 29 Apr 2016 14:57:53 +0200
 Subject: [PATCH xserver 1/3] XMir DDX
@@ -16,20 +16,20 @@ Contributions from:
  hw/xmir/.gitignore  |1 +
  hw/xmir/Makefile.am |   61 ++
  hw/xmir/dri2/Makefile.am|   14 +
- hw/xmir/dri2/dri2.c | 1398 ++
+ hw/xmir/dri2/dri2.c | 1398 +
  hw/xmir/dri2/dri2.h |  364 +
  hw/xmir/dri2/dri2ext.c  |  683 +
  hw/xmir/dri2/dri2int.h  |   26 +
- hw/xmir/xmir-cursor.c   |  210 ++
+ hw/xmir/xmir-cursor.c   |  223 ++
  hw/xmir/xmir-cvt.c  |  304 
- hw/xmir/xmir-dri2.c |  551 ++
- hw/xmir/xmir-glamor.c   | 1164 +
- hw/xmir/xmir-input.c|  611 +++
- hw/xmir/xmir-output.c   |  476 
- hw/xmir/xmir-thread-proxy.c |  115 +++
- hw/xmir/xmir.c  | 1729 +++
+ hw/xmir/xmir-dri2.c |  558 ++
+ hw/xmir/xmir-glamor.c   | 1174 
+ hw/xmir/xmir-input.c|  650 
+ hw/xmir/xmir-output.c   |  505 
+ hw/xmir/xmir-thread-proxy.c |  116 

Re: Bug#844227: FTBFS on mips*, ./.libs/libmutter-cogl.so: undefined reference to `eglQueryString'

2016-11-16 Thread Michael Biebl
Am 15.11.2016 um 14:03 schrieb Andreas Boll:
> On Mon, Nov 14, 2016 at 06:47:00PM +0100, Michael Biebl wrote:
>> Am 13.11.2016 um 19:43 schrieb Michael Biebl:
>>> Am 13.11.2016 um 18:37 schrieb Sven Joachim:
 The toolchain has also changed quite a bit in the past four weeks, with
 gcc having pie enabled by default and binutils at a bleeding edge
 snapshot.  Maybe one of those has triggered the build failure.
>>>
>>> That might well be it. Currently mutter still builds fine in stretch.
>>> The new binutils should migrate to testing soon.
>>> I can then retry the build on a mips porter machine with
>>> 2.27.51.20161108-1
>>
>> binutils 2.27.51.20161108-1 just migrated to stretch. mutter still
>> builds fine in stretch with this version. So I'd say we can cross off
>> binutils from the list of suspects.
> 
> As Sven already mentioned these symbols are still available otherwise
> Mesa would FTBFS as we strictly check those symbols in the build with
> 
> override_dh_makeshlibs:
> dh_makeshlibs -a -- -c4
> 
> Furthermore I've manually checked libegl1-mesa_12.0.4-2_mips.deb [1]
> with nm that those symbols are still exported.
> 
> Mesa could be still affected by a broken binutils. To cross out
> binutils or other toolchain bugs we would need to rebuild Mesa
> 12.0.3-3 (= version in testing) with the current toolchain and build
> mutter against this rebuild of Mesa.
> Michael, could you check this on a mips porter machine?
> 

Unfortunately I can't install arbitrary versions on the porter boxes.
All I get is either a sid or a stretch chroot.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Bug#844357: binutils: mips* mesa libGL.so.1 contains an invalid symbol table

2016-11-16 Thread James Cowgill
Control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=20828

Hi,

I've submitted the bug upstream with a reduced testcase and a bisection.

As the bug requires -Wl,--gc-sections to occur, it may be possible to
workaround in mesa by recompiling without it.

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Transporte de Carga de Puertos y Distribución Nacional

2016-11-16 Thread Luis Arriaga - Gerente Comercial
[1] web

[2] nuestros servicios

 forum

[3] contacto

servicios ofrecidos
transmaquina
transporte de carga y alquiler de maquinaria

estimados srs.


quedamos a sus ordenes como proveedores serios y motivados a prestarles un 
excelente servicio en toda venezuela.

en caso de necesitar servicios de:

transporte de carga
alquiler de maquinaria de construcción
alquiler de grúas telescopicas
tansporte de carga extradimensionada
transporte de cemento a granel

reciban un cordial saludo,

luis arriaga
gerente comercial
[4] ven...@transmaquina.com.ve
0424-1362899

[5] www.transmaquina.com.ve

[6] visitar página web

información adicional

cobertura geográfica
prestamos servicios en toda venezuela , ya que trabajamos como aliados en las 
principales ciudades del país.

venta de equipos
prestamos el servicio de venta de equipos. nos encargamos de publicidad de 
venta de camiones, gandolas, maquinaria, grúas y montacargas.
este mensaje fue enviado a t...@test.com por gerencia comercial - luis arriaga
caracas, miranda, venezuela, caracas, miranda  1070, venezuela

cancelar suscripción| administre su suscripción| remitir email| reportar abuso


 References:

1. u=5f04de7
2. u=5f04de7
3. u=5f04de9
4. mailto:ven...@transmaquina.com.ve
5. u=5f04dea
6. u=5f04deb

This message was sent to debian-x@lists.debian.org by 
vent...@transmaquina.com.ve

You can modify/update your subscription via the link below.

Unsubscribe from all mailings
http://lt.bmetrack.com/c/su?e=A57143=717D3=F60F05C=v9d5OhpdeUS1PZvsOORGWytPUJoN6W96fNcRodO0Zw0%3D=A0B1114


Caracas, Miranda, Venezuela, Caracas, Miranda  1070, Venezuela

Email Marketing
BenchmarkEmail.com
 [http://lt.bmetrack.com]


Bug#844523: Debian xserver freeze

2016-11-16 Thread Carmelo C
Package: xserver-xorg
Version: 1:7.7+7
Severity: critical
Tags: security
Justification: breaks the whole system

For some time I noticed that browsing with firefox on the site: twitter or
google maps, it happens that the system freezes and I have to unplug the
laptop
from the switch. The problem also occurs when I open gimp and applying
contrast, saturation or adjusting the levels of an image, the system
freezes.
log attached refers to Xorg.1.log file
[   506.152]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   506.152] X Protocol Version 11, Revision 0
[   506.152] Build Operating System: Linux 3.2.0-4-amd64 i686 Debian
[   506.152] Current Operating System: Linux debian 3.16.0-4-686-pae #1 SMP
Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) i686
[   506.152] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-686-pae
root=UUID=ec43167a-ee14-44c5-aee3-0301bf529f95 ro radeon.dpm=1
[   506.152] Build Date: 11 February 2015  01:14:26AM
[   506.152] xorg-server 2:1.16.4-1 (http://www.debian.org/support)
[   506.152] Current version of pixman: 0.32.6
[   506.153]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   506.153] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   506.153] (==) Log file: "/var/log/Xorg.1.log", Time: Fri Nov 27 16:58:11
2015
[   506.153] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   506.153] (==) No Layout section.  Using the first Screen section.
[   506.153] (==) No screen section available. Using defaults.
[   506.153] (**) |-->Screen "Default Screen Section" (0)
[   506.153] (**) |   |-->Monitor ""
[   506.154] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[   506.154] (==) Automatically adding devices
[   506.154] (==) Automatically enabling devices
[   506.154] (==) Automatically adding GPU devices
[   506.154] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   506.154]Entry deleted from font path.
[   506.154] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[   506.154] (==) ModulePath set to "/usr/lib/xorg/modules"
[   506.154] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[   506.154] (II) Loader magic: 0xb7773700
[   506.154] (II) Module ABI versions:
[   506.154]X.Org ANSI C Emulation: 0.4
[   506.154]X.Org Video Driver: 18.0
[   506.154]X.Org XInput driver : 21.0
[   506.154]X.Org Server Extension : 8.0
[   506.154] (II) xfree86: Adding drm device (/dev/dri/card0)
[   506.156] (--) PCI:*(0:1:0:0) 1002:95c4:1028:029f rev 0, Mem @
0xd000/268435456, 0xfc00/65536, I/O @ 0x2000/256, BIOS @
0x/131072
[   506.156] (II) LoadModule: "glx"
[   506.156] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   506.158] (II) Module glx: vendor="X.Org Foundation"
[   506.158]compiled for 1.16.4, module version = 1.0.0
[   506.158]ABI class: X.Org Server Extension, version 8.0
[   506.158] (==) AIGLX enabled
[   506.158] (==) Matched ati as autoconfigured driver 0
[   506.158] (==) Matched ati as autoconfigured driver 1
[   506.158] (==) Matched modesetting as autoconfigured driver 2
[   506.158] (==) Matched fbdev as autoconfigured driver 3
[   506.158] (==) Matched vesa as autoconfigured driver 4
[   506.158] (==) Assigned the driver to the xf86ConfigLayout
[   506.158] (II) LoadModule: "ati"
[   506.158] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   506.158] (II) Module ati: vendor="X.Org Foundation"
[   506.158]compiled for 1.16.1, module version = 7.5.0
[   506.158]Module class: X.Org Video Driver
[   506.158]ABI class: X.Org Video Driver, version 18.0
[   506.158] (II) LoadModule: "radeon"
[   506.158] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[   506.158] (II) Module radeon: vendor="X.Org Foundation"
[   506.158]compiled for 1.16.1, module version = 7.5.0
[   506.158]Module class: X.Org Video Driver
[   506.158]ABI class: X.Org Video Driver, version 18.0
[   506.158] (II) LoadModule: "modesetting"
[   506.158] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   506.158] (II) Module modesetting: vendor="X.Org Foundation"
[   506.159]compiled for 1.16.4, module version = 0.9.0
[   506.159]Module class: X.Org Video Driver
[   506.159]ABI class: X.Org Video Driver, version 18.0
[   506.159] (II) LoadModule: "fbdev"
[   506.159] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   506.159] (II) Module fbdev: 

xorg-server: Changes to 'debian-experimental'

2016-11-16 Thread Andreas Boll
 configure.ac   |6 +++---
 debian/changelog   |3 ++-
 dix/dispatch.c |2 +-
 hw/xfree86/dri2/pci_ids/i965_pci_ids.h |   32 +---
 hw/xwayland/xwayland-shm.c |   10 ++
 include/dixstruct.h|2 +-
 6 files changed, 34 insertions(+), 21 deletions(-)

New commits:
commit 20489c89c893fca4b614350901249039b0e1e5d3
Author: Andreas Boll 
Date:   Wed Nov 16 14:29:17 2016 +0100

Bump changelog

diff --git a/debian/changelog b/debian/changelog
index 696cd2f..9d6b1d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
-xorg-server (2:1.18.99.902-2) UNRELEASED; urgency=medium
+xorg-server (2:1.19.0-1) UNRELEASED; urgency=medium
 
+  * New upstream release.
   * rules: Explicitly disable glamor on hurd. Should fix FTBFS on hurd.
 
  -- Andreas Boll   Mon, 07 Nov 2016 14:55:16 +0100

commit 7e5c9bdf73e4185ac4cf7f044da0793a5cc3e62c
Author: Keith Packard 
Date:   Tue Nov 15 08:12:05 2016 -0800

Bump version to 1.19.0

Signed-off-by: Keith Packard 

diff --git a/configure.ac b/configure.ac
index 395df80..f7ab48c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,9 +26,9 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ(2.60)
-AC_INIT([xorg-server], 1.18.99.902, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
-RELEASE_DATE="2016-10-28"
-RELEASE_NAME="Shigoku"
+AC_INIT([xorg-server], 1.19.0, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
+RELEASE_DATE="2016-11-15"
+RELEASE_NAME="Cioppino"
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])

commit ea8efb3a997e15d27d362762e6c85d59487f9864
Author: Keith Packard 
Date:   Wed Nov 2 13:25:33 2016 -0700

dix: Make sure client is not in output_pending chain after closed (RH 
1382444)

I think it is possible that output could get queued to a client during
CloseDownClient. After it is removed from the pending queue, active
grabs are released, the client is awoken if sleeping and any work
queue entries related to the client are processed.

To fix this, move the call removing it from the output_pending chain
until after clientGone has been set and then check clientGone in
output_pending_mark.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1382444
Signed-off-by: Keith Packard 
Reviewed-by: Hans de Goede 

diff --git a/dix/dispatch.c b/dix/dispatch.c
index e111377..3d0fe26 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -3406,7 +3406,6 @@ CloseDownClient(ClientPtr client)
 UngrabServer(client);
 }
 mark_client_not_ready(client);
-xorg_list_del(>output_pending);
 BITCLEAR(grabWaiters, client->index);
 DeleteClientFromAnySelections(client);
 ReleaseActiveGrabs(client);
@@ -3435,6 +3434,7 @@ CloseDownClient(ClientPtr client)
 if (ClientIsAsleep(client))
 ClientSignal(client);
 ProcessWorkQueueZombies();
+output_pending_clear(client);
 CloseDownConnection(client);
 
 /* If the client made it to the Running stage, nClients has
diff --git a/include/dixstruct.h b/include/dixstruct.h
index 3b578f8..d71b0ac 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -159,7 +159,7 @@ extern struct xorg_list output_pending_clients;
 static inline void
 output_pending_mark(ClientPtr client)
 {
-if (xorg_list_is_empty(>output_pending))
+if (!client->clientGone && xorg_list_is_empty(>output_pending))
 xorg_list_append(>output_pending, _pending_clients);
 }
 

commit 7513da40a656317ad3aa101651d29373de99c798
Author: Timo Aaltonen 
Date:   Wed Nov 2 17:18:11 2016 +0200

dri2: Sync i965_pci_ids.h from mesa

Import changes from these mesa commits:
85ea8deb26da420 i965: Removing PCI IDs that are no longer listed as 
Kabylake.
bdff2e554735ed9 i956: Add more Kabylake PCI IDs.
f1fa8b4a1ca73fa i965/bxt: Add 2x6 variant
d1ab544bb883d04 i965/chv: Display proper branding
20e8ee36627f874 i965/skl: Update Skylake renderer strings
644c8a515192d28 i965/skl: Add two missing device IDs

Reviewed-by: Adam Jackson 
Signed-off-by: Timo Aaltonen 

diff --git a/hw/xfree86/dri2/pci_ids/i965_pci_ids.h 
b/hw/xfree86/dri2/pci_ids/i965_pci_ids.h
index 5139e27..1566afd 100644
--- a/hw/xfree86/dri2/pci_ids/i965_pci_ids.h
+++ b/hw/xfree86/dri2/pci_ids/i965_pci_ids.h
@@ -112,6 +112,7 @@ CHIPSET(0x162E, bdw_gt3, "Intel(R) Broadwell GT3")
 CHIPSET(0x1902, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)")
 CHIPSET(0x1906, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)")
 

xorg-server: Changes to 'upstream-experimental'

2016-11-16 Thread Andreas Boll
 configure.ac   |6 +++---
 dix/dispatch.c |2 +-
 hw/xfree86/dri2/pci_ids/i965_pci_ids.h |   32 +---
 hw/xwayland/xwayland-shm.c |   10 ++
 include/dixstruct.h|2 +-
 5 files changed, 32 insertions(+), 20 deletions(-)

New commits:
commit 7e5c9bdf73e4185ac4cf7f044da0793a5cc3e62c
Author: Keith Packard 
Date:   Tue Nov 15 08:12:05 2016 -0800

Bump version to 1.19.0

Signed-off-by: Keith Packard 

diff --git a/configure.ac b/configure.ac
index 395df80..f7ab48c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,9 +26,9 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ(2.60)
-AC_INIT([xorg-server], 1.18.99.902, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
-RELEASE_DATE="2016-10-28"
-RELEASE_NAME="Shigoku"
+AC_INIT([xorg-server], 1.19.0, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
+RELEASE_DATE="2016-11-15"
+RELEASE_NAME="Cioppino"
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])

commit ea8efb3a997e15d27d362762e6c85d59487f9864
Author: Keith Packard 
Date:   Wed Nov 2 13:25:33 2016 -0700

dix: Make sure client is not in output_pending chain after closed (RH 
1382444)

I think it is possible that output could get queued to a client during
CloseDownClient. After it is removed from the pending queue, active
grabs are released, the client is awoken if sleeping and any work
queue entries related to the client are processed.

To fix this, move the call removing it from the output_pending chain
until after clientGone has been set and then check clientGone in
output_pending_mark.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1382444
Signed-off-by: Keith Packard 
Reviewed-by: Hans de Goede 

diff --git a/dix/dispatch.c b/dix/dispatch.c
index e111377..3d0fe26 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -3406,7 +3406,6 @@ CloseDownClient(ClientPtr client)
 UngrabServer(client);
 }
 mark_client_not_ready(client);
-xorg_list_del(>output_pending);
 BITCLEAR(grabWaiters, client->index);
 DeleteClientFromAnySelections(client);
 ReleaseActiveGrabs(client);
@@ -3435,6 +3434,7 @@ CloseDownClient(ClientPtr client)
 if (ClientIsAsleep(client))
 ClientSignal(client);
 ProcessWorkQueueZombies();
+output_pending_clear(client);
 CloseDownConnection(client);
 
 /* If the client made it to the Running stage, nClients has
diff --git a/include/dixstruct.h b/include/dixstruct.h
index 3b578f8..d71b0ac 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -159,7 +159,7 @@ extern struct xorg_list output_pending_clients;
 static inline void
 output_pending_mark(ClientPtr client)
 {
-if (xorg_list_is_empty(>output_pending))
+if (!client->clientGone && xorg_list_is_empty(>output_pending))
 xorg_list_append(>output_pending, _pending_clients);
 }
 

commit 7513da40a656317ad3aa101651d29373de99c798
Author: Timo Aaltonen 
Date:   Wed Nov 2 17:18:11 2016 +0200

dri2: Sync i965_pci_ids.h from mesa

Import changes from these mesa commits:
85ea8deb26da420 i965: Removing PCI IDs that are no longer listed as 
Kabylake.
bdff2e554735ed9 i956: Add more Kabylake PCI IDs.
f1fa8b4a1ca73fa i965/bxt: Add 2x6 variant
d1ab544bb883d04 i965/chv: Display proper branding
20e8ee36627f874 i965/skl: Update Skylake renderer strings
644c8a515192d28 i965/skl: Add two missing device IDs

Reviewed-by: Adam Jackson 
Signed-off-by: Timo Aaltonen 

diff --git a/hw/xfree86/dri2/pci_ids/i965_pci_ids.h 
b/hw/xfree86/dri2/pci_ids/i965_pci_ids.h
index 5139e27..1566afd 100644
--- a/hw/xfree86/dri2/pci_ids/i965_pci_ids.h
+++ b/hw/xfree86/dri2/pci_ids/i965_pci_ids.h
@@ -112,6 +112,7 @@ CHIPSET(0x162E, bdw_gt3, "Intel(R) Broadwell GT3")
 CHIPSET(0x1902, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)")
 CHIPSET(0x1906, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)")
 CHIPSET(0x190A, skl_gt1, "Intel(R) Skylake GT1")
+CHIPSET(0x190B, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)")
 CHIPSET(0x190E, skl_gt1, "Intel(R) Skylake GT1")
 CHIPSET(0x1912, skl_gt2, "Intel(R) HD Graphics 530 (Skylake GT2)")
 CHIPSET(0x1913, skl_gt2, "Intel(R) Skylake GT2f")
@@ -122,19 +123,21 @@ CHIPSET(0x191A, skl_gt2, "Intel(R) Skylake GT2")
 CHIPSET(0x191B, skl_gt2, "Intel(R) HD Graphics 530 (Skylake GT2)")
 CHIPSET(0x191D, skl_gt2, "Intel(R) HD Graphics P530 (Skylake GT2)")
 CHIPSET(0x191E, skl_gt2, "Intel(R) HD Graphics 515 (Skylake GT2)")
-CHIPSET(0x1921, skl_gt2, "Intel(R) Skylake GT2")
-CHIPSET(0x1923, skl_gt3, "Intel(R) Iris 

Re: Bug#844357: binutils: mips* mesa libGL.so.1 contains an invalid symbol table (Was: fracplanet FTPFS on mips*: libQtOpenGL.so: undefined reference to `glLoadMatrixd')

2016-11-16 Thread James Cowgill
On 16/11/16 11:32, James Cowgill wrote:
> Here 3 = the index of the first non-global symbol, and 9 = the total

s/non-global/non-local/

James



signature.asc
Description: OpenPGP digital signature


Re: Bug#844357: fracplanet FTPFS on mips*: libQtOpenGL.so: undefined reference to `glLoadMatrixd'

2016-11-16 Thread James Cowgill
Control: reassign -1 binutils 2.25-5
Control: severity -1 important
Control: affects -1 src:fracplanet
Control: retitle -1 binutils: mips* mesa libGL.so.1 contains an invalid symbol 
table

Hi,

On 14/11/16 19:08, Adrian Bunk wrote:
> Package: fracplanet
> Version: 0.4.0-5
> Severity: serious
> 
> https://buildd.debian.org/status/package.php?p=fracplanet=sid
> 
> g++ -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong 
> -Wformat -Werror=format-security -Wl,-z,relro -Wl,-O1 -o fracplanet 
> obj/common.o obj/control.o obj/control_about.o obj/control_render.o 
> obj/control_save.o obj/control_terrain.o obj/dialog_documentation.o 
> obj/fracplanet.o obj/fracplanet_main.o obj/geometry.o obj/image.o 
> obj/license.o obj/matrix33.o obj/matrix34.o obj/noise.o 
> obj/parameters_cloud.o obj/parameters_noise.o obj/parameters_object.o 
> obj/parameters_render.o obj/parameters_save.o obj/parameters_terrain.o 
> obj/progress.o obj/random.o obj/rgb.o obj/scan.o obj/spinbox.o obj/triangle.o 
> obj/triangle_edge.o obj/triangle_mesh.o obj/triangle_mesh_cloud.o 
> obj/triangle_mesh_terrain.o obj/triangle_mesh_viewer.o 
> obj/triangle_mesh_viewer_display.o obj/vertex.o obj/xyz.o 
> obj/moc_control_about.o obj/moc_control_render.o obj/moc_control_save.o 
> obj/moc_control_terrain.o obj/moc_dialog_documentation.o 
> obj/moc_fracplanet_main.o obj/moc_triangle_mesh_viewer.o obj/moc_triang
>  le_mesh_viewer_display.o-L/usr/lib/mips-linux-gnu -L/usr/X11R6/lib 
> -lboost_program_options -lGLU -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread 
> /usr/lib/mips-linux-gnu/libQtOpenGL.so: undefined reference to `glLoadMatrixd'
> 
> 
> Michael Biebl mentioned #844227 on IRC, are these bugs coincidence,
> or is there something that broke/changed in Mesa on mips* recently?

Looking at this a bit closer, it appears to be a longstanding binutils
bug which was recently made worse due to a change in counting local
symbols.

Dumping the dynamic symbol table of libGL.so.1 on mipsel shows the
first (long standing) bug:

$ readelf --syms libGL.so.1 | head -n15
Symbol table '.dynsym' contains 1559 entries:
   Num:Value  Size TypeBind   Vis  Ndx Name
 0:  0 NOTYPE  LOCAL  DEFAULT  UND
 1: 000163c0 0 SECTION LOCAL  DEFAULT   10
 2: 000902a8 0 SECTION LOCAL  DEFAULT   16
 3: 0007264052 FUNCGLOBAL DEFAULT   11 
glCheckFramebufferStatusE
 4: 0006c47052 FUNCGLOBAL DEFAULT   11 glConvolutionFilter1D
 5: 0007219828 FUNCGLOBAL DEFAULT   11 glVertexAttrib3fvARB
 6: 0006b73052 FUNCGLOBAL DEFAULT   11 glLoadMatrixd
 7: 000943d0 0 NOTYPE  LOCAL  DEFAULT   24 _fbss
 8: 0006c6a052 FUNCGLOBAL DEFAULT   11 
glGetConvolutionParameter
 9: 0006973052 FUNCGLOBAL DEFAULT   11 glVertex4i
10: 0006ebe052 FUNCGLOBAL DEFAULT   11 
glGetBufferPointervARB
11: 0006e3d828 FUNCGLOBAL DEFAULT   11 glWindowPos2f

Here the _fbss symbol is LOCAL which is prohibited by the ELF standard
which requires all LOCAL symbols to precede GLOBAL symbols. This bug is
definitely present in jessie's binutils, because jessie's libGL also
has a symbol table similar to this. Wheezy's mesa doesn't have this bug
but I don't know if binutils definitely doesn't have it in wheezy.

Ordinarily this wasn't much of an issue since glibc and ld would just
skip LOCAL symbols when processing the symbol tables. However somewhere
between binutils 2.27-9 and 2.27.51.20161108-1 the behavior for
calculating the 'st_info' field for the .dynsym section header changed.
Recompiling mesa with both versions of binutils gives identical libGL
binaries except for this difference in the section header:

diffoscope output (- 2.27-9, + 2.27.51.20161108-1):
│ -  [ 5] .dynsym   DYNSYM  2e40 002e40 009228 18   
A  6   3  8
│ +  [ 5] .dynsym   DYNSYM  2e40 002e40 009228 18   
A  6   9  8

Here 3 = the index of the first non-global symbol, and 9 = the total
number of local symbols. These values should of course be equal if the
rules about symbol ordering were followed. ld uses the value of the
'st_info' field to skip LOCAL symbols when linking, which explains why
only the 5 symbols from 3-8 in the above symbol table cause link errors.

I'm still investigating, but getting a reduced testcase is quite tricky
and recompiling mesa on mips takes about an hour.

Thanks,
James



signature.asc
Description: OpenPGP digital signature