Bug 147910 - gdm login screen crashes
Summary: gdm login screen crashes
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 3
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Mike Fabian
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-03 08:03 UTC by Karl Eichwalder
Modified: 2006-02-13 11:31 UTC (History)
3 users (show)

See Also:
Found By: Documentation
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
The bad cache file. (84.00 KB, application/octet-stream)
2006-02-10 22:10 UTC, Hans Petter Jansson
Details
Trace of gdmlogin choking on cache. (191.50 KB, text/plain)
2006-02-10 22:16 UTC, Hans Petter Jansson
Details
small menu labels (1004.49 KB, image/png)
2006-02-13 08:28 UTC, Karl Eichwalder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Eichwalder 2006-02-03 08:03:53 UTC
I installed 10.1 beta3, Gnome default system with beagle-gui as an add-on package.  System was running and mono started to eat system resources.  The system slowed down (I do not know whether mono, fontconfig, or the kernel was the cause of the trouble) and I decided to reboot.

Now, the gdm does not start properly.  It always crashes before the login window is to be seen.  X is up and running, I can see the Gnome busy cursor just fine.

Do you need more info?  Feel free to ssh into L59.suse.de and check the log files.
Comment 1 Karl Eichwalder 2006-02-06 08:59:00 UTC
To make gdm start again, I did:

init 3
install "KDE selection"
configure "kdm" as the display manager with YaST
init 5
reboot
init 3
configure "gdm" again as the display manager with YaST
init 5

Maybe, it was a temporary glitch...
Comment 2 JP Rosevear 2006-02-06 15:48:26 UTC
Are you using autologin?  Looks similar to bug 143940, bug 147910 and bug 147647.
Comment 3 Karl Eichwalder 2006-02-06 16:05:33 UTC
IIRC, I started with autologin.  then I switched to networking and disabled autologin.

ATM, gdm is working but I cannot login anymore (neither as user nor as root).  I'll try again with beta4.
Comment 4 Bart Whiteley 2006-02-07 19:13:31 UTC
I installed three systems with NLD10beta3 / gnome.  On all systems I saw the following behavior.  After the install things were working properly.  I was not using autologin, gdm was working.  Then I installed konsole, which I can't live without, even on gnome.  This involved installing kdebase3, kdebase3-ksysguardd, sensors, kdelibs3-arts, hmm.  Seems like there was another but I can't remember now.  

After installing these packages gdm would not start.  I'd see X start, but then it would crash.  

Again, I repeated this three times with the same results.  I ended up going back to beta2 on these systems. 
Comment 5 Mark Gordon 2006-02-07 20:04:52 UTC
I had a case recently where gdm wouldn't start up completely because I'd filled the disk (or at least that portion with the root partition).  I don't consider that an important bug (though an appropriate error message, if it's possible to generate one under such conditions, would have spared me time in debugging the problem), but it's worth checking as a possible cause of "I used up some disk, and now I can't log in any more" problems.  Just something to rule out...

Of course, it if *is* a full disk, but it's because of some package using up a pathological amount of disk space (e.g. /var/log spewage, /tmp cluttering), we should fix that.
Comment 6 Hans Petter Jansson 2006-02-10 18:47:19 UTC
I need you to try updating your CASA to at least version 1.6.284-1 and test again. Let me know if that solves anything.
Comment 7 Hans Petter Jansson 2006-02-10 22:08:56 UTC
Ok, found the problem.

User did a fresh install, and GDM was working. User installed kdebase3 with dependencies. The GDM greeter started crashing after that, preventing login.

Turns out the crash happens shortly after parsing '/var/lib/gdm/.fonts.cache-2'. Moving it away solved the problem.

I'm attaching that cache file and the strace of gdmlogin choking on it.

Comment 8 Hans Petter Jansson 2006-02-10 22:10:45 UTC
Created attachment 67730 [details]
The bad cache file.
Comment 9 Hans Petter Jansson 2006-02-10 22:16:27 UTC
Created attachment 67731 [details]
Trace of gdmlogin choking on cache.

Seek to "/usr/X11R6/lib/X11/fonts/URW". Notice that the next file name read from the cache is bogus, resulting in a bad call to stat().
Comment 10 Hans Petter Jansson 2006-02-10 22:20:34 UTC
I think jpr wanted this bumped to blocker. Doing that.
Comment 11 Mike Fabian 2006-02-10 23:31:37 UTC
Hans Petter Jansson> Seek to "/usr/X11R6/lib/X11/fonts/URW". Notice
Hans Petter Jansson> that the next file name read from the cache is
Hans Petter Jansson> bogus, resulting in a bad call to stat().

As "/usr/X11R6/lib/X11/fonts/URW" is a symlink, I guess this is one
of the problems with symlinks in cache files recently fixed by
Takashi IWAI <tiwai@suse.de>.

The fontconfig packages in Beta3 were unfortunately very broken,
please try the updated packages available from

    ftp://ftp.suse.com/pub/projects/m17n/10.1/RPMS

Please update both the "fontconfig" and the "fonts-config" packages!

As I believe this problem has been fixed, I'm closing this bug as FIXED.

Please REOPEN if the problem remains with the updated packages from
the above ftp URL.

Comment 12 Karl Eichwalder 2006-02-13 08:26:23 UTC
Just updating CASA to 1.6.284-4 from next-i386 ("stable") was not good enough.  Updating "fontconfig" and the "fonts-config" did the trick.  Thanks!

Now I've the impression, that the fonts of the menu labels are too small (or the label icons are too big).  I'll attach a screen shot.  
Comment 13 Karl Eichwalder 2006-02-13 08:28:32 UTC
Created attachment 67878 [details]
small menu labels
Comment 14 Takashi Iwai 2006-02-13 11:31:14 UTC
It looks OK to me.  The font size is in point while the icons are in pixel, I guess.