Bug 699921 - gdm-greeting-simple using 100% CPU
Summary: gdm-greeting-simple using 100% CPU
Keywords:
Status: CLOSED DUPLICATE of bug 703569
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: jmccann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-26 23:01 UTC by Jason Haar
Modified: 2015-01-14 23:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-11 17:45:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gdm-crash.log (14.20 KB, text/plain)
2011-04-27 09:02 UTC, Jason Haar
no flags Details
NetworkManager-crash (9.96 KB, text/plain)
2011-04-27 09:03 UTC, Jason Haar
no flags Details
systemd-gdm-crash (9.63 KB, text/plain)
2011-04-27 18:46 UTC, Jason Haar
no flags Details

Description Jason Haar 2011-04-26 23:01:14 UTC
Description of problem:

I have installed F15beta, and installed samba-winbind so that I can do Active-Directory based logins

So there are no local accounts, only AD (and root)

When I reboot, the gdm screen shows only the "Other" account. Clicking on that, I enter domain\myuser, the "Password" prompt appears, but is frozen. If I Ctrl-Alt-F2 and login as root, top shows gdm-greeting-simple taking all the CPU.

If I kill it (I need kill -9), it restarts automatically. Returning to gdm now shows "Jason Haar" instead of "Other" and login works!

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

gdm-3.0.0-2.fc15.x86_64

How reproducible:

always

Steps to Reproduce:
1. reboot
2. login as domain\username 
3. weep
  
Actual results:


Expected results:


Additional info:

Comment 1 Jason Haar 2011-04-27 09:01:46 UTC
I think I found a pattern in syslog

When I enter "domain\username", it triggers the following

Apr 27 12:32:24 jhaar-fc-nzcl gdm-simple-greeter[1436]: Gtk-WARNING: gtkwidget.c:6778: widget not within a GtkWindow
Apr 27 12:32:24 jhaar-fc-nzcl gdm-simple-greeter[1436]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width -47 and height -47
Apr 27 12:32:24 jhaar-fc-nzcl dbus-daemon: [system] Activating via systemd service name='org.freedesktop.Accounts' unit='accounts-daemon.service'


This is then immediately followed by a gdm "crash" (the screen doesn't restart, so it couldn't be a true crash?). This is then IMMEDIATELY followed by a crash of NetworkManager. I don't know if they are related, other than I can trigger them at will by trying to login. I can also fix it by killing gdm-greeting-simple and trying again

I'll attach the logs.

Comment 2 Jason Haar 2011-04-27 09:02:49 UTC
Created attachment 495153 [details]
gdm-crash.log

Comment 3 Jason Haar 2011-04-27 09:03:22 UTC
Created attachment 495154 [details]
NetworkManager-crash

Comment 4 Jason Haar 2011-04-27 18:46:16 UTC
I've noticed another issue - maybe different.

This is a new system, so I'm obviously installing software all over the place. Whenever I install software that installs a "systemd" based service, gdm crashes and I end up thrown back to the login prompt.

Attached is the gdm crash details from syslog for the latest. Even running systemctl commands causes it :-(

Comment 5 Jason Haar 2011-04-27 18:46:52 UTC
Created attachment 495312 [details]
systemd-gdm-crash

Comment 6 Jason Haar 2011-04-28 04:17:29 UTC
FYI I noticed updates for gnome were pushed out, so I upgraded.

Now the way it fails is different - but it looks like the root cause is the same

I enter "domain\username" and it prompts for my password. This time "Password" prompt actually works and it accepts my password and states "the domain is not available, blah offline mode" (sorry, can't remember the exact string). That window sits there and never exits :-(

As it says, at that moment I'd be logging in via winbind's "offline" mode. When I Ctrl-Alt-F2 and do a "ps", I can see gdm-greeting-simple has called "pam: gdm-password". Maybe the fact winbind outputs the "offline mode" comment has confused it? If I kill gdm-password, nothing changes, but - as before - killing gdm-greeting-simple does the trick. I end up back at the gdm login prompt staring at "Jason Haar" instead of "Other" and typing my password works: no "offline mode" popup - just straight in.

Here's a thought: is the "offline mode" popup coded to only occur the first time a user logs in, and that popup (or the cause of the popup) is the cause of all this? If so, can pam be told not to stderr/stdout that error (it could do it via syslog?). Or, can gdm be told to ignore that error string from pam? Windows doesn't bother telling the user when they're in offline mode during login - so why should Unix?

I may be totally on the wrong path there of course ;-)

Comment 7 Ray Strode [halfline] 2011-05-11 17:45:35 UTC
This should be fixed with very recent versions of account service i think.

*** This bug has been marked as a duplicate of bug 703569 ***


Note You need to log in before you can comment on or make changes to this bug.