This bug was fixed in the package xorg - 1:7.7+19ubuntu7
---------------
xorg (1:7.7+19ubuntu7) bionic; urgency=medium
[ Simon Quigley ]
* 60x11-common_xdg_path: If $XDG_CONFIG_DIRS is nonempty, don't discard the
contents.
[ Didier Roche ]
* 60x11-common_xdg_path:
- protect against multiple additions of the same paths to
XDG_CONFIG_DIRS and XDG_DATA_DIRS, resulting to duplication on
consecutive logout/logins due to older session hanging in and env
being reused.
Some consequences is that electron application crashes (LP: #1764355)
- remove readdition of defaults if XDG_CONFIG_DIRS isn't empty to respect
user's selection (same logic than wayland session).
-- Timo Aaltonen <[email protected]> Thu, 19 Apr 2018 17:47:42 +0300
** Changed in: xorg (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1764355
Title:
Visual Studio Code, Slack and other electrons apps crash due to
XDG_CONFIG_DIRS keeps getting expanded every login
Status in gnome-session package in Ubuntu:
Fix Released
Status in xorg package in Ubuntu:
Fix Released
Bug description:
Ubuntu Version: 18.04
gnome-session-common Version: 3.28.1-0ubuntu1
What's expected to happen: $XDG_CONFIG_DIRS is the same on every login
What happens instead: $XDG_CONFIG_DIRS gets expanded on every login
It seems that $XDG_CONFIG_DIRS gets expanded by two entries on every
login.
On first login it looks like this:
/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg
On second login it gets expanded by the same two entries in front:
/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg
/xdg-ubuntu:/etc/xdg
On third login, two more entries get added:
/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg
/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg
At this point Visual Studio Code, which lead me to this, no longer
starts and just throw a Segmentation fault/Core Dump.
I suspect this behaviour is triggered by
/etc/profile.d/xdg_dirs_desktop_session.sh adding more stuff to
$XDG_CONFIG_DIRS on every login.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-session-common 3.28.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 16 11:30:09 2018
Dependencies:
InstallationDate: Installed on 2018-04-15 (1 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
PackageArchitecture: all
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1764355/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp