Bug#909059: nvidia-legacy-340xx-driver: Crash ends session after multiple suspend/resume cycles

2018-11-09 Thread Andreas Beckmann
Control: severity -1 important
Control: tag -1 moreinfo

On 2018-09-17 23:44, Phil Miller wrote:
> When I suspend and resume my computer multiple times with a live
> X session with multiple applications running, it tends to crash 
> the X server and terminate the session. These crashes seem to be 

There is nothing we can do to debug or fix this bug in the proprietary
driver. Please file a bug upstream, following NVIDIA's instructions:
https://devtalk.nvidia.com/default/topic/522835/linux/if-you-have-a-problem-please-read-this-first/


Thanks

Andreas



Bug#909059: nvidia-legacy-340xx-driver: Crash ends session after multiple suspend/resume cycles

2018-09-17 Thread Phil Miller
Package: nvidia-legacy-340xx-driver
Version: 340.107-2
Severity: grave
Tags: upstream
Justification: causes non-serious data loss

When I suspend and resume my computer multiple times with a live
X session with multiple applications running, it tends to crash 
the X server and terminate the session. These crashes seem to be 
absent or at least much rarer when I don't have big applications
like Firefox open in the session. They seem to have become more
frequent (or present at all) since upgrading from a 1920x1200
display to un that runs at 4k resolution.

The contents of /var/log/Xorg.*.log* are ancient junk, since the
session log is recorded in my ~/.local/share/xorg directory since
2015 (I think since the systemd transition, perhaps). So, I have
deleted the junk log from below, and include the recent log with
a back trace here:

> Xorg log 
[  6536.528] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() 
failed
[  6536.528] _XSERVTransMakeAllCOTSServerListeners: server already running
[  6536.528] (--) Log file renamed from 
"/home/phil/.local/share/xorg/Xorg.pid-11284.log" to 
"/home/phil/.local/share/xorg/Xorg.1.log"
[  6536.528] 
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[  6536.528] Build Operating System: Linux 4.9.0-7-amd64 x86_64 Debian
[  6536.528] Current Operating System: Linux itu 4.18.0-1-amd64 #1 SMP Debian 
4.18.6-1 (2018-09-06) x86_64
[  6536.529] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-1-amd64 
root=UUID=3e436e2a-5d44-49aa-a1f1-d6d8e67b1b08 ro 
slab_common.usercopy_fallback=Y quiet resume=/dev/sda6
[  6536.529] Build Date: 17 August 2018  08:05:00PM
[  6536.529] xorg-server 2:1.20.1-1 (https://www.debian.org/support) 
[  6536.529] Current version of pixman: 0.34.0
[  6536.529]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  6536.529] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6536.529] (==) Log file: "/home/phil/.local/share/xorg/Xorg.1.log", Time: 
Wed Sep 12 14:27:21 2018
[  6536.529] (==) Using config file: "/etc/X11/xorg.conf"
[  6536.529] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6536.529] (==) No Layout section.  Using the first Screen section.
[  6536.529] (**) |-->Screen "Default Screen" (0)
[  6536.529] (**) |   |-->Monitor "Configured Monitor"
[  6536.530] (==) No device specified for screen "Default Screen".
Using the first device section listed.
[  6536.530] (**) |   |-->Device "Configured Video Device"
[  6536.530] (==) Automatically adding devices
[  6536.530] (==) Automatically enabling devices
[  6536.530] (==) Automatically adding GPU devices
[  6536.530] (==) Max clients allowed: 256, resource mask: 0x1f
[  6536.530] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  6536.530]Entry deleted from font path.
[  6536.530] (==) 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
[  6536.530] (**) ModulePath set to 
"/usr/lib/xorg/modules/linux,/usr/lib/xorg/modules"
[  6536.530] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  6536.530] (II) Loader magic: 0x55aedee4bde0
[  6536.530] (II) Module ABI versions:
[  6536.530]X.Org ANSI C Emulation: 0.4
[  6536.530]X.Org Video Driver: 24.0
[  6536.530]X.Org XInput driver : 24.1
[  6536.530]X.Org Server Extension : 10.0
[  6536.531] (++) using VT number 2

[  6536.534] (II) systemd-logind: took control of session 
/org/freedesktop/login1/session/_310
[  6536.534] (II) xfree86: Adding drm device (/dev/dri/card0)
[  6536.535] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[  6536.539] (--) PCI:*(1@0:0:0) 10de:0659:10de:063a rev 161, Mem @ 
0xfa00/16777216, 0xc000/536870912, 0xf800/33554432, I/O @ 
0xec00/128, BIOS @ 0x/131072
[  6536.540] (II) LoadModule: "glx"
[  6536.540] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[  6536.555] (II) Module glx: vendor="NVIDIA Corporation"
[  6536.555]compiled for 4.0.2, module version = 1.0.0
[  6536.555]Module class: X.Org Server Extension
[  6536.555] (II) NVIDIA GLX Module  340.107  Thu May 24 21:40:32 PDT 2018
[  6536.555] (II) LoadModule: "nvidia"
[  6536.555] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  6536.556] (II) Module nvidia: vendor="NVIDIA Corporation"
[  6536.556]compiled for 4.0.2, module version = 1.0.0
[  6536.556]Module class: X.Org Video Driver
[  6536.556] (II) NVIDIA dlloader X Driver  340.107  Thu May 24 21:18:05 PDT 
2