I am experiencing this error when I issue this command "compiz --replace
&":
compiz assert failure: *** Error in `compiz': double free or corruption (!In):
0x026562b0 ***
.proc.driver.nvidia.gpus.:01:00.0.
Error:[Error21] Is a directory: '/proc/driver/nvidia/gpus/:01:00.0.'
System info:
Ubuntu 16.04.2 with Linux Kernel 4.8.0-45-generic.
Nvidia driver 375.39
A background on why this command is used is given in
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers-375/+bug/1667158.
Brief explanation, after the introduction of the new Nvidia driver
375.39, which is a long live version, all GUIs will show bad borders and
title/menu bars after waking up from suspend mode. For system based on
Ubuntu 16.04.2 with Linux Kernel 4.8.0-xx-generic, "compiz --replace &"
is so far the only command I found to be able to temporarily solve the
problem. However, after running the command, the above mentioned crash
report will be report by ubuntu-bug (apport). The Warnings and Error
appearing on my terminal is shown below.
$ compiz --replace &
[1] 29676
$ compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Info: GLX_EXT_buffer_age is supported
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
I/O warning : failed to load external entity
"$HOME.compiz/session/1088929cdfe95d66514911185186930160015020004"
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
WARN 2017-04-03 10:06:38 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't
register object 'org.gnome.Shell' yet as we don't have a connection, waiting
for it...
WARN 2017-04-03 10:06:38 unity.debug.interface DebugDBusInterface.cpp:217
Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot
open shared object file: No such file or directory -- full D-Bus introspection
will not be available
WARN 2017-04-03 10:06:38 xim.controller XIMController.cpp:103 IBus natively
supported.
WARN 2017-04-03 10:06:38 unity.dash.gsettingsscopereader
GSettingsScopes.cpp:108 Error fetching protocol metadata for scope:
social.scope : Valid key file could not be found in search dirs
WARN 2017-04-03 10:06:38 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't
register object 'com.canonical.Unity.Launcher' yet as we don't have a
connection, waiting for it...
WARN 2017-04-03 10:06:38 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't
register object 'com.canonical.Unity.Dash' yet as we don't have a connection,
waiting for it...
WARN 2017-04-03 10:06:38 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't
register object 'org.gnome.SessionManager.EndSessionDialog' yet as we don't
have a connection, waiting for it...
WARN 2017-04-03 10:06:38 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't
register object