Bug 434976

Summary: gnome-session crashes upon gdm login
Product: [Fedora] Fedora Reporter: Rob Riggs <rob+redhat>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: jfrieben
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-11 15:30:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Riggs 2008-02-26 17:26:22 UTC
Description of problem:
gnome-session crashes upon GDM login.

I get this in the .xsession-errors:

The program 'gnome-session' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 21 error_code 3 request_code 2 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Version-Release number of selected component (if applicable):


How reproducible:
Always, except once this morning after replacing liboil and going to runlevel 3,
then back to 5.

Steps to Reproduce:
1. Start up in runlevel 5
2. Log in to a Gnome session via GDM
3.
  
Actual results:
Session begins to start then quickly returns to the GDM login menu.

Expected results:
Session starts and I get a Gnome desktop.

Additional info:
Ran a yum update this morning to get everything up to speed.  I thought this was
related to 434772.  I installed the latest liboil from koji.  Went to runlevel
3, then back to runlevel 5.

It seemed to work and allowed me to log in once.  Desktop wasn't happy because
of the known XFS issues (had to restart xfs) before having the same problem
again.  I logged out, restarted xfs, restarted X (by switching runlevels) and
tried to log in.

gnome-session-2.21.91-1.fc9.x86_64
liboil-0.3.13-2.fc9.x86_64

Comment 1 Matthias Clasen 2008-02-27 06:44:48 UTC
This is an issue with the new selinux support in X, most likely.

Comment 2 Rob Riggs 2008-02-27 15:50:37 UTC
Looks like that's the issue.  Disabling SELinux allows my X session to start up.

I still have to remember to restart xfs before logging in via gdm or metacity
won't start.

And I'm still getting tons of warnings and errors in my .xsession-errors file. 
 Nautilus won't start (BadName error).  I'll file a bug on this if it doesn't
already exist.

Comment 3 Joachim Frieben 2008-03-07 06:42:45 UTC
If it was SELinux, it shouldn't crash in "permissive mode", should it?
But that's exactly what happens to me.

Comment 4 Joachim Frieben 2008-03-08 16:38:07 UTC
Fixed for me in "rawhide" as of 2008-03-08.