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

Bug#834270: xorg: logging out of shell on vt2 crashes X on vt1



Package: xorg
Version: 1:7.7+16
Severity: normal

With a machine running more or less current stretch the following steps
will crash X on VT1 every time:

  - log in to VT1
  - launch X via startx (.xsession launches a few things, and then xmonad)
  - Ctrl-Alt-F2
  - log in as another user on VT2
  - launch X via startx (.xsession launches xmonad)
  - quit xmonad, which quits the xsession
  - exit the VT2 shell

At that point, the X instance on VT1 will crash with something like this
in the log:

  [   248.046] (II) AIGLX: Suspending AIGLX clients for VT switch
  [   248.046] (II) AIGLX: Resuming AIGLX clients after VT switch
  [   248.047] (EE) modeset(0): failed to set mode: Permission denied
  [   248.047] (EE) 
  Fatal server error:
  [   248.047] (EE) EnterVT failed for screen 0
  [   248.047] (EE) 
  [   248.047] (EE) 
  Please consult the The X.Org Foundation support 
           at http://wiki.x.org
   for help. 
  [   248.047] (EE) Please also check the log file at "/home/rlb/.local/share/xorg/Xorg.0.log" for additional information.
  [   248.047] (EE) 
  [   248.047] (II) AIGLX: Suspending AIGLX clients for VT switch
  [   248.207] (EE) Server terminated with error (1). Closing log file.

I don't upgrade to current stretch regularly, but I suspect this may
have started happening sometime in stretch in the past month or two.

-- Package-specific info:
X server symlink status:
------------------------
lrwxrwxrwx 1 root root 13 Sep 20  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Jul 19 22:00 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
----------------------------------
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:
------------------------
/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
-------------------------------
Linux version 4.6.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.4.0 20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1 (2016-07-18)

DRM Information from dmesg:
---------------------------
[    0.892683] Linux agpgart interface v0.103
[   33.792290] [drm] Initialized drm 1.1.0 20060810
[   34.211926] [drm] Memory usable by graphics device = 2048M
[   34.211989] [drm] Replacing VGA console driver
[   34.269778] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   34.269786] [drm] Driver supports precise vblank timestamp query.
[   34.293012] [drm] Initialized i915 1.6.0 20160229 for 0000:00:02.0 on minor 0
[   34.353634] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
[   34.651507] fbcon: inteldrmfb (fb0) is primary device
[   35.766465] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable'), (50, 'experimental'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xorg depends on:
ii  gnome-terminal [x-terminal-emulator]  3.20.2-2
ii  konsole [x-terminal-emulator]         4:16.04.2-1
ii  libgl1-mesa-dri                       11.2.2-1
ii  libgl1-mesa-glx [libgl1]              11.2.2-1
ii  libglu1-mesa                          9.0.0-2.1
ii  stterm [x-terminal-emulator]          0.6-1
ii  terminator [x-terminal-emulator]      0.98-1
ii  x11-apps                              7.7+6
ii  x11-session-utils                     7.7+2
ii  x11-utils                             7.7+3
ii  x11-xkb-utils                         7.7+3
ii  x11-xserver-utils                     7.7+7
ii  xauth                                 1:1.0.9-1
ii  xfce4-terminal [x-terminal-emulator]  0.6.3-2
ii  xfonts-100dpi                         1:1.0.4+nmu1
ii  xfonts-75dpi                          1:1.0.4+nmu1
ii  xfonts-base                           1:1.0.4+nmu1
ii  xfonts-scalable                       1:1.0.3-1.1
ii  xfonts-utils                          1:7.7+3
ii  xinit                                 1.3.4-3
ii  xkb-data                              2.17-1
ii  xorg-docs-core                        1:1.7.1-1
ii  xserver-xorg                          1:7.7+16
ii  xterm [x-terminal-emulator]           325-1

xorg recommends no packages.

Versions of packages xorg suggests:
ii  x11-xfs-utils  7.7+2
pn  xorg-docs      <none>

Versions of packages xserver-xorg depends on:
ii  x11-xkb-utils                                      7.7+3
ii  xkb-data                                           2.17-1
ii  xserver-xorg-core                                  2:1.18.4-1
ii  xserver-xorg-input-all                             1:7.7+16
ii  xserver-xorg-input-evdev [xorg-driver-input]       1:2.10.2-1
ii  xserver-xorg-input-kbd [xorg-driver-input]         1:1.8.1-1+b1
ii  xserver-xorg-input-libinput [xorg-driver-input]    0.19.0-1
ii  xserver-xorg-input-mouse [xorg-driver-input]       1:1.9.1-1+b1
ii  xserver-xorg-input-synaptics [xorg-driver-input]   1.8.3-2
ii  xserver-xorg-input-vmmouse [xorg-driver-input]     1:13.1.0-1+b1
ii  xserver-xorg-input-void [xorg-driver-input]        1:1.4.1-1+b1
ii  xserver-xorg-input-wacom [xorg-driver-input]       0.30.0-1+b1
ii  xserver-xorg-video-ati [xorg-driver-video]         1:7.7.0-1
ii  xserver-xorg-video-cirrus [xorg-driver-video]      1:1.5.3-1+b1
ii  xserver-xorg-video-dummy [xorg-driver-video]       1:0.3.7-1+b5
ii  xserver-xorg-video-fbdev [xorg-driver-video]       1:0.4.4-1+b4
ii  xserver-xorg-video-intel [xorg-driver-video]       2:2.99.917+git20160706-1
ii  xserver-xorg-video-mach64 [xorg-driver-video]      6.9.5-1+b1
ii  xserver-xorg-video-mga [xorg-driver-video]         1:1.6.4-1+b2
ii  xserver-xorg-video-neomagic [xorg-driver-video]    1:1.2.9-1+b1
ii  xserver-xorg-video-nouveau [xorg-driver-video]     1:1.0.12-2
ii  xserver-xorg-video-openchrome [xorg-driver-video]  1:0.3.3+git20160310-1
ii  xserver-xorg-video-r128 [xorg-driver-video]        6.10.1-1
ii  xserver-xorg-video-radeon [xorg-driver-video]      1:7.7.0-1
ii  xserver-xorg-video-savage [xorg-driver-video]      1:2.3.8-1+b1
ii  xserver-xorg-video-sisusb [xorg-driver-video]      1:0.9.6-2+b4
ii  xserver-xorg-video-trident [xorg-driver-video]     1:1.3.7-1+b2
ii  xserver-xorg-video-vesa [xorg-driver-video]        1:2.3.4-1+b1
ii  xserver-xorg-video-vmware [xorg-driver-video]      1:13.1.0-2+b1

Versions of packages xserver-xorg recommends:
ii  libgl1-mesa-dri  11.2.2-1

-- no debconf information

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Reply to: