kdm crash due to corrupted ~/.face.icon file

Bug #37529 reported by Kari Oikarinen
38
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Fix Released
Medium
Kubuntu Bugs

Bug Description

After restarting X with Ctrl-Alt-Backspace, KDM does not start KDE. After successful login the screen goes black and KDM returns. (It appears as if X server is restarted.)

I fail to find anything relevant in KDM or Xorg logs. Right now I have resorted to using gdm (it manages to start KDE fine). This is the second machine I've encountered this on. First one was a HP ze5612ea laptop and I didn't report it because I assumed I just messed something up bad. Now I hit it with my AMD64.

I guess forced restart of X left back something KDM can't handle. Any suggestions on what it might be are welcome. Anyway, I think this shouldn't happen in any case.

Kenny Duffus (kduffus)
Changed in kdebase:
assignee: nobody → kubuntu-team
Revision history for this message
edalb (edalb) wrote :

It also fails on kde 3.5.2.

Revision history for this message
Kari Oikarinen (kluge) wrote :

Here's an ubuntuforums.org thread about this issue: http://www.ubuntuforums.org/showthread.php?p=896446

Reporter says it happened after a power outage which seems to support my guess that it's caused by unclean KDE shutdown.

Any ideas of where to look (apart from /var/log/messages, /var/log/dmesg, /var/log/kdm.log.0) for signs of problems are welcome.

Revision history for this message
Kari Oikarinen (kluge) wrote :

/var/log/syslog has something:

Apr 7 10:23:16 feyn kdm_greet[6674]: Can't open default user face
Apr 7 10:23:27 feyn kdm_greet[6674]: Internal error: memory corruption detected

Revision history for this message
Ville Lindholm (ville-lindholm) wrote : Re: kdm restarts over and over again

Just adding a "me too" using the latest Kubuntu Dapper packages. Will go check logs now.

Revision history for this message
Ville Lindholm (ville-lindholm) wrote :

Yes, I have the exact same message as above about the default user face in my syslog. Does that mean it can't find my fonts or what?

Revision history for this message
Ville Lindholm (ville-lindholm) wrote :

Sorry for posting so many times, but I solved this by deleting the .face.icon file in my home directory... I guess this is the "user picture" that somehow got corrupted.

Revision history for this message
Kari Oikarinen (kluge) wrote :

I didn't have .face.icon in my home directory but I changed the user picture in KControl.

Ta-da, KDM works!

Luka Renko (lure)
Changed in kdebase:
status: Unconfirmed → Confirmed
Revision history for this message
roq-on (m-ndora) wrote :

 made an upgrade from breezy to dapper and since then KDE freezes. It's also impossible to change to konsole with Strg+Alt+F1.

var/log/syslog says after hardreset:

Jun 4 16:20:41 localhost kdm_greet[5332]: Internal error: memory corruption detected

I tried to change user picture, to change the KDM login theme and some other features. Without success. It happens from time to time again.

I read some similar bugs, but I cannot find any /.face.icon file.

Thanks in advance for any hint

Revision history for this message
Andrew Simpson (andrew-simpson) wrote :

Same problems as above. Upgraded from Kubuntu 5.10 to 6.06 (64 bit).
Generally runs and boots fine. During boot up kdm randomly dumps out to a console login (tested at about once in 4 - 5 reboots in succession).
Xlog files looked normal. Found 'kdm_greet' messages (as above) in syslog.
Didn't have a ~/.face.icon file, but added one anyway with System Settings panel, and all seems to be well.

Added bonus is that it fixed another bug too: Previously choosing 'K' -> 'Logout' -> 'End current session' dumped me into a console login (kdm failed). Now it appears to work.

Revision history for this message
Andrew Simpson (andrew-simpson) wrote :

I spoke too soon. Bug has returned (the joy of intermittent bugs).

Message in syslog (cut and pasted from above comment because it's the same)
'kdm_greet[5332]: Internal error: memory corruption detected'

No messages about ~/.face.icon file.

Going into 'K' -> 'System settings' -> 'Login Manager' -> 'Users' (Tab) and deselecting 'Users - Show list' tick box didn't have any positive affect on the bug.

Revision history for this message
roq-on (m-ndora) wrote :

News: I found in syslog the message 'kdm_greet [] Internal error: memory corruption detected' without a following system freeze. Anyway, the system freezes sometimes ... when KDE is started. :-(
Fluxbox is working fine.

Revision history for this message
roq-on (m-ndora) wrote :

I probably found my solution: I turned off composite

Section "Extensions"
     Option "Composite" "Enabled"
EndSection

in xorg.conf and generated new one with dpkg-reconfigure xserver-xorg

Since then no freezing again. :-)

Revision history for this message
roq-on (m-ndora) wrote :

News: I found in syslog the message 'kdm_greet [] Internal error: memory corruption detected' without a following system freeze. Anyway, the system freezes sometimes ... when KDE is started. :-(
Fluxbox is working fine.

Revision history for this message
milambert (nexus6b) wrote :

I've upgrated Kde 3.5.2 to kde 3.5.3

So The message in syslog disapear and kdm doesn't crash anymore.

tu upgrade, juts put these lines in "/etc/apt/sources.list":

          deb http://kubuntu.org/packages/kde-353 dapper main

Revision history for this message
Rocco Stanzione (trappist) wrote :

Fixed in 3.5.3

Changed in kdebase:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.