sporadic seg fault of X.Org Server 1.15.1 (Ubuntu) with Nvidia 352.30 driver after uptime of 1-10 da

Have sporadic segfaults of X.Org server since I did install nvidia 352.30 driver. Allways loos all work!

What to do??

Log: ( Xorg.0.log.old)
[ 78929.336] (EE)
[ 78929.337] (EE) Backtrace:
[ 78929.345] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7fe387a3d848]
[ 78929.345] (EE) 1: /usr/bin/X (0x7fe387894000+0x1ad539) [0x7fe387a41539]
[ 78929.345] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fe386990000+0x10340) [0x7fe3869a0340]
[ 78929.345] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x5482a6) [0x7fe37f81a2a6]
[ 78929.345] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x526859) [0x7fe37f7f8859]
[ 78929.345] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x15e842) [0x7fe37f430842]
[ 78929.345] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x1627c7) [0x7fe37f4347c7]
[ 78929.345] (EE) 7: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x160dbe) [0x7fe37f432dbe]
[ 78929.345] (EE) 8: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x159562) [0x7fe37f42b562]
[ 78929.345] (EE) 9: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x161642) [0x7fe37f433642]
[ 78929.345] (EE) 10: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x16438b) [0x7fe37f43638b]
[ 78929.345] (EE) 11: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x13dc22) [0x7fe37f40fc22]
[ 78929.345] (EE) 12: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fe37f2d2000+0x514f43) [0x7fe37f7e6f43]
[ 78929.345] (EE) 13: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so (0x7fe382a03000+0x6f746b) [0x7fe3830fa46b]
[ 78929.345] (EE)
[ 78929.345] (EE) Segmentation fault at address 0x0
[ 78929.345] (EE)
Fatal server error:
[ 78929.346] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 78929.346] (EE)
[ 78929.346] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 78929.346] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
[ 78929.346] (EE)
[ 78932.532] (EE) Server terminated with error (1). Closing log file.

Post-mortem backtrace:

(sudo gdb /usr/bin/Xorg /etc/X11/core, “backtrace full”)
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright © 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from /usr/bin/Xorg…(no debugging symbols found)…done.
[New LWP 1896]
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.

warning: the debug information found in “/lib64/ld-2.19.so” does not match “/lib64/ld-linux-x86-64.so.2” (CRC mismatch).

Core was generated by `/usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt’.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fe3853e4cc9 in __GI_raise (sig=sig@entry=6)
at …/nptl/sysdeps/unix/sysv/linux/raise.c:56
56 …/nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace full
#0 0x00007fe3853e4cc9 in __GI_raise (sig=sig@entry=6)
at …/nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 1896
selftid = 1896
#1 0x00007fe3853e80d8 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0},
sa_mask = {__val = {140615392986872, 140726769824312,
140615206036823, 1, 0, 0, 140615169559848, 1, 140726769824312,
140615221214192, 140615206065429, 0, 140615169757072,
140615212682944, 140726769824096, 0}}, sa_flags = -2008230416,
sa_restorer = 0x7fe387c6e9c0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fe387a4398e in OsAbort ()
No symbol table info available.
#3 0x00007fe387929cc7 in ddxGiveUp ()
No symbol table info available.
#4 0x00007fe387a48e22 in ?? ()
No symbol table info available.
#5 0x00007fe387a49b28 in FatalError ()
No symbol table info available.
#6 0x00007fe387a4158c in ?? ()
—Type to continue, or q to quit—
No symbol table info available.
#7
No locals.
#8 0x00007fe37f81a2a6 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#9 0x00007fe37f7f8859 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#10 0x00007fe37f430842 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#11 0x00007fe37f4347c7 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#12 0x00007fe37f432dbe in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#13 0x00007fe37f42b562 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#14 0x00007fe37f433642 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
—Type to continue, or q to quit—
No symbol table info available.
#15 0x00007fe37f43638b in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#16 0x00007fe37f40fc22 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#17 0x00007fe37f7e6f43 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
No symbol table info available.
#18 0x00007fe3830fa46b in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#19 0x00007fe382f0d1a7 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#20 0x00007fe382f0dce8 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#21 0x00007fe3830ff9a5 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#22 0x00007fe38141ab2f in ?? ()
—Type to continue, or q to quit—
from /usr/lib/nvidia-352/libnvidia-glcore.so.352.30
No symbol table info available.
#23 0x00007fe382f0ad44 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#24 0x00007fe3830fab7d in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#25 0x00007fe38141c911 in ?? ()
from /usr/lib/nvidia-352/libnvidia-glcore.so.352.30
No symbol table info available.
#26 0x00007fe381423925 in ?? ()
from /usr/lib/nvidia-352/libnvidia-glcore.so.352.30
No symbol table info available.
#27 0x00007fe3830fd49b in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#28 0x00007fe3830f9456 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
#29 0x00007fe3830fc637 in ?? ()
from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
No symbol table info available.
—Type to continue, or q to quit—
#30 0x00007fe3878e9f0e in ?? ()
No symbol table info available.
#31 0x00007fe3878edd9a in ?? ()
No symbol table info available.
#32 0x00007fe3853cfec5 in __libc_start_main (main=0x7fe3878d91c0, argc=11,
argv=0x7ffd812051e8, init=, fini=,
rtld_fini=, stack_end=0x7ffd812051d8) at libc-start.c:287
result =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -5436521856894394212,
140615208505797, 140726769832416, 0, 0, 5437703390623277212,
5425309595676680348}, mask_was_saved = 0}}, priv = {pad = {
0x0, 0x0, 0x7fe387a4d4a0 <__libc_csu_init>, 0x7ffd812051e8},
data = {prev = 0x0, cleanup = 0x0, canceltype = -2019240800}}}
not_first_call =
#33 0x00007fe3878d91ee in _start ()
No symbol table info available.
(gdb)
(gdb)
(gdb)

nvidia-bug-report.log.gz (187 KB)

Most of the time this happens when I click on the Launcher (left side) in unity to open a application, eg. KSysGuard.

Immediately after the click, a black screen shows up. After some time, ca. 5-10 seconds, X-Server restarts and I have to login again.
It will never happen direct after a restart of the system, usually it will take 1-10 days before this happens.

It was always direct triggered by a mouse action left click.

4k screen, 8bit, DisplayPort, 60Hz fix refresh.

Linux Kernel 4.0.5-040005-generic 64bit
Server version 11.0
Server Vendero Version 1.15.1
Screens 1
GeForce GTX 750 Ti
vbios 82.07.32.00.50
Scrren Ancor Communications Inc ASUS PB287Q (DFP-3)

heavily ppa use on this system inkl. xorg edge ppa
almost all packets are from ppa, daily updated to the latest patches.
Add software: nvidia driver & Vmware & Virtual Box & qemu, kvm
Vmware almost running all the time.

Have some limited debugging skills on Linux, but not with Xorg/nvidia, need advise how to investigate this bug.

Hi tomtom20, thanks for reporting this. It should be fixed in the next release.

Hi Aaron
appreciate the quick answer.
Sounds great. I am looking forward to this. When will the next release be available?
Would it be a good idea do switch to a beta driver for the time until the release to be able to work without fear of a segfaut.
If yes, with one can you recommend?

Please try 352.41. However, I should note that if you’re seeing this problem after several days, it implies that some application on your system is leaking memory. The fix should prevent the driver from crashing, but it will still fall back to a slower rendering path if it can’t allocate any more fast memory.