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 698370 - Abusing log out and log in crashes the system
Abusing log out and log in crashes the system
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.8.x
Other Linux
: Normal critical
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-19 14:52 UTC by Jean-Benoit MARTIN
Modified: 2013-07-30 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
un watch bus when log out (1.37 KB, patch)
2013-04-23 12:03 UTC, Jean-Benoit MARTIN
none Details | Review
display: actually set slave_name_id and unwatch bus name in unmanage (5.01 KB, patch)
2013-07-30 12:57 UTC, Ray Strode [halfline]
committed Details | Review

Description Jean-Benoit MARTIN 2013-04-19 14:52:55 UTC
After several log in and log out, the system crash

The system have reach the number max of X server

avril 19 05:32:05 localhost /etc/gdm/Xsession[9507]: Window manager warning: Log level 16: gnome-shell: Fatal IO error 0 (Success) on X server :5.
....
avril 19 05:32:05 localhost gdm[476]: GdmDisplay: display lasted 0.010407 seconds
avril 19 05:32:05 localhost gdm[476]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
Comment 1 Jean-Benoit MARTIN 2013-04-23 12:03:54 UTC
Created attachment 242209 [details] [review]
un watch bus when log out

Fix: unwatch bus when user logs out
Comment 2 Ray Strode [halfline] 2013-07-30 12:57:38 UTC
Created attachment 250464 [details] [review]
display: actually set slave_name_id and unwatch bus name in unmanage

slave_name_id is supposed to track the bus name watch of the slave, but
it was never getting set.

This commit sets it, and makes sure the watch is removed in unmanage.
Comment 3 Ray Strode [halfline] 2013-07-30 12:58:03 UTC
thanks, pushed with minor changes.

Attachment 250464 [details] pushed as 95975ad - display: actually set slave_name_id and unwatch bus name in unmanage