After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754033 - session: fix corruption of GDM_LANG environment variable
session: fix corruption of GDM_LANG environment variable
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-08-24 16:51 UTC by Ray Strode [halfline]
Modified: 2015-08-29 00:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
session: fix corruption of GDM_LANG environment variable (4.45 KB, patch)
2015-08-24 16:51 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2015-08-24 16:51:39 UTC
commit cab736cfb32aa25677287ff261ae1cb11f036e89 introduced a
bug that leads to GDM_LANG getting set to gibberish.  This
causes spew to the log and, in some cases, prevents successful
login.

This commit addresses the problem by duplicating a string that
is, otherwise, freed before its second use.
Comment 1 Ray Strode [halfline] 2015-08-24 16:51:42 UTC
Created attachment 309927 [details] [review]
session: fix corruption of GDM_LANG environment variable
Comment 2 Ray Strode [halfline] 2015-08-24 16:52:01 UTC
Attachment 309927 [details] pushed as a1fbd8c - session: fix corruption of GDM_LANG environment variable
Comment 3 alex diavatis 2015-08-28 15:00:47 UTC
Not sure if it is relative, but Chrome (not Chromium) and Telegram desktop app, on cases logs me off on GDM session.

Fedora Rawhide. 
gnome-shell-3.17.90-1.fc24.x86_64
gdm-3.17.90-1.fc24.x86_64
Comment 4 Ray Strode [halfline] 2015-08-28 15:14:55 UTC
no probably not related. that's more likely the X server crashing?
Comment 5 alex diavatis 2015-08-28 19:00:02 UTC
(In reply to Ray Strode [halfline] from comment #4)
> no probably not related. that's more likely the X server crashing?

I cannot see an Xserver error in Journalctl.
How can I debug this?
Comment 6 Ray Strode [halfline] 2015-08-28 19:55:50 UTC
coredumpctl should give you a list of recent crashes

you could also try enabling debug in /etc/gdm/custom.conf to get a more complete log in the journal.
Comment 7 alex diavatis 2015-08-28 20:19:12 UTC
(In reply to Ray Strode [halfline] from comment #6)
> coredumpctl should give you a list of recent crashes
> 
> you could also try enabling debug in /etc/gdm/custom.conf to get a more
> complete log in the journal.

coredumpctl doesn't show anything.
I enabled debug on /etc/gdm/custom.conf.
If I catch the error I will open a new bug report. 

Thanks!
Comment 8 alex diavatis 2015-08-29 00:37:10 UTC
That proved to be a Fedora bug, not GNOME one. 
It happens on KDE too, with LightDM.