Activity log for bug #1028274

Date Who What changed Old value New value Message
2012-07-24 06:45:02 David Venz bug added bug
2012-07-24 06:45:02 David Venz attachment added Patch against x11-utils-7.6+4 https://bugs.launchpad.net/bugs/1028274/+attachment/3233721/+files/01-xwininfo-bad-screen
2012-07-24 06:53:57 David Venz bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=808561
2012-07-24 06:53:57 David Venz bug task added x11-utils (Fedora)
2012-07-24 08:23:02 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2012-08-06 17:09:47 Bryce Harrington x11-utils (Ubuntu): status New Triaged
2012-08-06 17:09:53 Bryce Harrington x11-utils (Ubuntu): importance Undecided High
2012-08-06 20:43:43 Bryce Harrington nominated for series Ubuntu Precise
2012-08-06 20:43:43 Bryce Harrington bug task added x11-utils (Ubuntu Precise)
2012-08-06 20:43:43 Bryce Harrington nominated for series Ubuntu Quantal
2012-08-06 20:43:43 Bryce Harrington bug task added x11-utils (Ubuntu Quantal)
2012-08-06 20:47:41 Bryce Harrington x11-utils (Ubuntu Precise): status New Triaged
2012-08-06 20:47:45 Bryce Harrington x11-utils (Ubuntu Precise): importance Undecided High
2012-08-06 23:05:15 Launchpad Janitor x11-utils (Ubuntu Quantal): status Triaged Fix Released
2012-08-06 23:14:31 Bryce Harrington description I have a dual-head setup that only presents one "screen" to X (subdivided by xinerama). If I run xwininfo -root -display :0.0 it works as expected, giving the root window information for my single "screen". If I run xwininfo -root -display :0.1 it segfaults. I expect it to exit gracefully with an error message. On Ubuntu 8.04 this error message used to be "cannot open display :0.1". The problem could lie in libxcb (I'm no expert) xcb_connection_has_error() no longer returning true in the -display :0.1 case, but I've attached a patch for xwininfo anyway. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: x11-utils 7.6+4 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21 Uname: Linux 3.2.0-27-generic x86_64 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.49 Mon Apr 30 23:46:33 PDT 2012 GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) .tmp.unity.support.test.0: ApportVersion: 2.0.1-0ubuntu11 Architecture: amd64 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] CompositorRunning: None Date: Tue Jul 24 16:37:34 2012 DistUpgraded: Fresh install DistroCodename: precise DistroVariant: ubuntu DkmsStatus: nvidia-current, 295.40, 3.2.0-23-generic, x86_64: installed nvidia-current, 295.40, 3.2.0-26-generic, x86_64: installed nvidia-current, 295.40, 3.2.0-27-generic, x86_64: installed nvidia-current-updates, 295.49, 3.2.0-27-generic, x86_64: installed GraphicsCard: NVIDIA Corporation G98 [Quadro NVS 295] [10de:06fd] (rev a1) (prog-if 00 [VGA controller]) Subsystem: NVIDIA Corporation Device [10de:062e] InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use) xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Enabled, In use) MachineType: Dell Inc. Precision WorkStation T3500 ProcEnviron: LANGUAGE=en_AU:en TERM=xterm PATH=(custom, user) LANG=en_AU.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-27-generic root=UUID=2769af30-df94-44f1-9846-7241763e2193 ro quiet splash vt.handoff=7 SourcePackage: x11-utils UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/12/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A07 dmi.board.name: 09KPNV dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 7 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA07:bd04/12/2010:svnDellInc.:pnPrecisionWorkStationT3500:pvr:rvnDellInc.:rn09KPNV:rvrA00:cvnDellInc.:ct7:cvr: dmi.product.name: Precision WorkStation T3500 dmi.sys.vendor: Dell Inc. version.compiz: compiz 1:0.9.7.8-0ubuntu1.2 version.ia32-libs: ia32-libs 20090808ubuntu36 version.libdrm2: libdrm2 2.4.32-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.6 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2 [Impact] xwininfo segfaults if called with an out-of-range display number. [Test Case] 1. xwininfo -root -display :0.0 2. xwininfo -root -display :0.1 Actual Behavior: * First command passes * Second command segfaults Expected Behavior: * First command passes * Second command returns an error message without segfaulting [Fix] The proposed patch works as is and is proposed for both precise and quantal. [Regression Potential] The patch is small and only affects an error condition check, so the chance of a regression seems very small. xwininfo is not widely used, so the impact of a regression would be minimal as well. [Original Report] I have a dual-head setup that only presents one "screen" to X (subdivided by xinerama). If I run xwininfo -root -display :0.0 it works as expected, giving the root window information for my single "screen". If I run xwininfo -root -display :0.1 it segfaults. I expect it to exit gracefully with an error message. On Ubuntu 8.04 this error message used to be "cannot open display :0.1". The problem could lie in libxcb (I'm no expert) xcb_connection_has_error() no longer returning true in the -display :0.1 case, but I've attached a patch for xwininfo anyway. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: x11-utils 7.6+4 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21 Uname: Linux 3.2.0-27-generic x86_64 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version:  NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.49 Mon Apr 30 23:46:33 PDT 2012  GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) .tmp.unity.support.test.0: ApportVersion: 2.0.1-0ubuntu11 Architecture: amd64 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] CompositorRunning: None Date: Tue Jul 24 16:37:34 2012 DistUpgraded: Fresh install DistroCodename: precise DistroVariant: ubuntu DkmsStatus:  nvidia-current, 295.40, 3.2.0-23-generic, x86_64: installed  nvidia-current, 295.40, 3.2.0-26-generic, x86_64: installed  nvidia-current, 295.40, 3.2.0-27-generic, x86_64: installed  nvidia-current-updates, 295.49, 3.2.0-27-generic, x86_64: installed GraphicsCard:  NVIDIA Corporation G98 [Quadro NVS 295] [10de:06fd] (rev a1) (prog-if 00 [VGA controller])    Subsystem: NVIDIA Corporation Device [10de:062e] InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) JockeyStatus:  xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)  xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Enabled, In use) MachineType: Dell Inc. Precision WorkStation T3500 ProcEnviron:  LANGUAGE=en_AU:en  TERM=xterm  PATH=(custom, user)  LANG=en_AU.UTF-8  SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-27-generic root=UUID=2769af30-df94-44f1-9846-7241763e2193 ro quiet splash vt.handoff=7 SourcePackage: x11-utils UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/12/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A07 dmi.board.name: 09KPNV dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 7 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA07:bd04/12/2010:svnDellInc.:pnPrecisionWorkStationT3500:pvr:rvnDellInc.:rn09KPNV:rvrA00:cvnDellInc.:ct7:cvr: dmi.product.name: Precision WorkStation T3500 dmi.sys.vendor: Dell Inc. version.compiz: compiz 1:0.9.7.8-0ubuntu1.2 version.ia32-libs: ia32-libs 20090808ubuntu36 version.libdrm2: libdrm2 2.4.32-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.6 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2
2012-08-06 23:15:22 Bryce Harrington bug added subscriber Ubuntu Stable Release Updates Team
2012-08-06 23:46:03 Launchpad Janitor branch linked lp:ubuntu/x11-utils
2012-08-08 12:29:53 David Venz bug watch added https://bugs.freedesktop.org/show_bug.cgi?id=53242
2012-08-08 12:29:53 David Venz bug task added x11-utils
2012-08-08 13:54:18 Bug Watch Updater x11-utils: status Unknown Confirmed
2012-08-08 13:54:18 Bug Watch Updater x11-utils: importance Unknown Medium
2012-08-29 00:11:59 Chris Halse Rogers x11-utils (Ubuntu Precise): status Triaged Fix Committed
2012-08-29 00:12:05 Chris Halse Rogers bug added subscriber SRU Verification
2012-08-29 00:12:08 Chris Halse Rogers tags amd64 apport-bug patch precise ubuntu amd64 apport-bug patch precise ubuntu verification-needed
2012-08-29 00:44:07 Launchpad Janitor branch linked lp:~ubuntu-branches/ubuntu/precise/x11-utils/precise-proposed
2012-08-29 03:16:50 Bug Watch Updater x11-utils: status Confirmed In Progress
2012-09-02 17:47:28 Bug Watch Updater x11-utils: status In Progress Fix Released
2012-10-09 07:52:49 Bartosz Kosiorek x11-utils (Ubuntu Precise): assignee Bartosz Kosiorek (gang65)
2012-10-09 07:53:02 Bartosz Kosiorek tags amd64 apport-bug patch precise ubuntu verification-needed amd64 apport-bug patch precise ubuntu verification-done
2012-10-15 04:53:12 Colin Watson x11-utils (Ubuntu Precise): assignee Bartosz Kosiorek (gang65)
2012-10-15 04:53:44 Colin Watson removed subscriber Ubuntu Stable Release Updates Team
2012-10-15 04:54:11 Launchpad Janitor x11-utils (Ubuntu Precise): status Fix Committed Fix Released
2017-10-28 05:24:49 Bug Watch Updater x11-utils (Fedora): status Unknown Won't Fix
2017-10-28 05:24:49 Bug Watch Updater x11-utils (Fedora): importance Unknown Undecided