Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 509158

Summary: =kde-base/kdm-4.11.9: unable to login after upgrade
Product: Gentoo Linux Reporter: Coacher <itumaykin+gentoo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=334159
Whiteboard: fixed in 4.11.10
Package list:
Runtime testing required: ---
Attachments: Xorg.0.log
kdm.log
emerge --info kdm

Description Coacher 2014-04-30 10:33:21 UTC
Hello.

After upgrading kde workspaces to 4.11.9 and rebooting my machine I am unable to log into X via kdm. After typing a valid username/password combination the screen goes black for a second, then returns back to kdm, i.e. no actual login happens. I've tried overwriting my kdmrc with the default one, but it didn't help. There was no such problem with previous releases of kde-workspaces, namely 4.11.{7,8}

Please fix.

Reproducible: Always
Comment 1 Coacher 2014-04-30 10:34:19 UTC
Created attachment 376062 [details]
Xorg.0.log

Xorg log after unsuccessfull login attempt
Comment 2 Coacher 2014-04-30 10:37:02 UTC
Created attachment 376064 [details]
kdm.log

Part of kdm.log with last unsuccessfull tries of login
Comment 3 Coacher 2014-04-30 10:39:23 UTC
Created attachment 376066 [details]
emerge --info kdm
Comment 4 Coacher 2014-04-30 11:06:42 UTC
(In reply to Coacher from comment #2)
> Created attachment 376064 [details]
> kdm.log
> 
> Part of kdm.log with last unsuccessfull tries of login

My dbus daemon is started and runs successfully as far as I can tell: rc-status show started, htop shows dbus process, daemon.log and debug logs do not show any errors.
Comment 5 Coacher 2014-04-30 11:49:56 UTC
After downgrading to 4.11.7 (4.11.8 is already removed) the problem is gone.
Comment 6 Maciej Mrozowski gentoo-dev 2014-04-30 23:33:38 UTC
Take a look at ~/.xsession-errors. If it goes blank just after login and get's back to login screen, it may mean '/usr/bin/startkde' fails somewhere.
Comment 7 jospezial 2014-05-01 15:48:13 UTC
[Do Mai  1 17:29:44 2014] kdm[2476]: segfault at 0 ip 000000000040d879 sp 00007fffa57caa50 error 4 in kdm[400000+29000]

that only comes when I log in into a non-KDE session.

With kdm-4.11.8 all was ok.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2014-05-01 21:09:59 UTC
May  1 23:06:58 pinacolada kernel: [383269.201939] kdm[20521]: segfault at 0 ip 000000000040d849 sp 00007fff6c16fb50 error 4 in kdm[400000+29000]

Indeed, same here when trying to log into FVWM.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2014-05-01 21:42:28 UTC
Program terminated with signal 11, Segmentation fault.                                                                                            
#0  0x000000000040d849 in startClient (pid=pid@entry=0x7ffffe8756a8)                                                                              
    at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/client.c:1813                                                             
1813    /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/client.c: Datei oder Verzeichnis nicht gefunden.                         
(gdb) bt                                                                                                                                          
#0  0x000000000040d849 in startClient (pid=pid@entry=0x7ffffe8756a8)                                                                              
    at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/client.c:1813                                                             
#1  0x0000000000418756 in manageSession () at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/session.c:630
#2  0x0000000000411509 in startDisplayP2 (d=0x1545460) at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/dm.c:1500
#3  0x0000000000416d4f in startServerSuccess () at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/server.c:141
#4  0x0000000000408a13 in mainLoop () at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/dm.c:1289
#5  main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kdm-4.11.9/work/kdm-4.11.9/kdm/backend/dm.c:314
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2014-05-01 22:07:42 UTC
Fixed in kdm-4.11.9-r1