Bug 1377987
| Summary: | gdm.service failed after user logout | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jiri Koten <jkoten> | ||||
| Component: | gdm | Assignee: | Ray Strode [halfline] <rstrode> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 7.3 | CC: | jkoten, lmiksik, tpelka, vbenes | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gdm-3.14.2-19.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-11-04 06:40:24 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jiri Koten
2016-09-21 09:07:11 UTC
Created attachment 1203185 [details]
gdm log
[snip]
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 113 (X_KillClient)
Value in failed request: 0x800000
Serial number of failed request: 25
Current serial number in output stream: 278
gdm.service: main process exited, code=exited, status=1/FAILURE
Process exit status: 0
...
Unit gdm.service entered failed state.
Triggering OnFailure= dependencies of gdm.service.
gdm.service failed.
gdm.service holdoff time over, scheduling restart.
Starting GNOME Display Manager...
Regression was introduced in gdm-3.14.2-18.el7. Not really sure what happened here⦠on my local branch I have:
+ gdm_error_trap_push ();
+
+ /* Kill every client but ourselves, then close our own connection
+ */
+ for (client = 0;
+ client <= highest_client;
+ client += client_increment) {
+
+ if (client != setup->resource_id_base)
+ XKillClient (slave->priv->server_display, client);
+ }
+
+ XCloseDisplay (slave->priv->server_display);
+ gdm_error_trap_pop ();
but on the branch I committed i have:
+ /* Kill every client but ourselves, then close our own connection
+ */
+ for (client = 0;
+ client <= highest_client;
+ client += client_increment) {
+
+ if (client != setup->resource_id_base)
+ XKillClient (slave->priv->server_display, client);
+ }
+
+ XCloseDisplay (slave->priv->server_display);
Note the missing error_trap_push/pop calls. I don't really understand how they fell out of the patch, but I clearly bungled it somehow
The issue is fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2451.html |