This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE crash after login

Tags: None
(comma "," separated)
nesbitt
Registered Member
Posts
10
Karma
0
OS

KDE crash after login

Sun Mar 11, 2012 8:42 am
Hi

System: OpenSUSE 12.1
KDE: 4.8.1

My problem is that I cannot login to KDE. It crashes after login.

All I got is:
Code: Select all
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0x00021290 in ?? ()
#7  0xb29d9fad in __do_global_ctors_aux () from /usr/lib/libQtOpenGL.so.4
#8  0xb2948c09 in _init () from /usr/lib/libQtOpenGL.so.4
#9  0xb77a1fc4 in ?? () from /lib/ld-linux.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Here are my installed debug packages:
Code: Select all
akonadi-debuginfo              | 4.8.1-331.3               
glibc-debuginfo                | 2.14.1-14.12.2           
glibc-devel-debuginfo          | 2.14.1-14.12.2           
glibc-locale-debuginfo         | 2.14.1-14.12.5           
glibc-obsolete-debuginfo       | 2.14.1-14.12.5           
gstreamer-0_10-debuginfo       | 0.10.36-72.1             
gstreamer-0_10-plugins-base-debuginfo | 0.10.36-60.1             
kactivities4-debuginfo         | 4.8.1-10.2               
kdebase4-libkonq-debuginfo     | 4.8.1-287.1               
kdebase4-nsplugin-debuginfo    | 4.8.1-287.1               
kdebase4-openSUSE-debuginfo    | 12.1-55.52.1             
kdebase4-runtime-debuginfo     | 4.8.1-363.3               
kdebase4-workspace-debuginfo   | 4.8.1-729.3               
kdelibs4-core-debuginfo        | 4.8.1-481.3               
kdelibs4-debuginfo             | 4.8.1-481.3               
libakonadi4-debuginfo          | 4.8.1-273.2               
libgstreamer-0_10-0-debuginfo  | 0.10.36-72.1             
libkde4-debuginfo              | 4.8.1-481.3               
libkdecore4-debuginfo          | 4.8.1-481.3               
libkdecore4-devel-debuginfo    | 4.8.1-481.3               
libkdevplatform0-debuginfo     | 1.2.3-68.2               
libqt4-debuginfo               | 4.8.0-248.1               
libqt4-devel-debuginfo         | 4.8.0-248.1               
libqt4-x11-debuginfo           | 4.8.0-248.1               
soprano-debuginfo              | 2.7.5-115.1               
vlc-debuginfo                  | 2.0.0-3.1 (2.0.0-3.2)     
vlc-noX-debuginfo              | 2.0.0-3.1 (2.0.0-3.2)     
vlc-qt-debuginfo               | 2.0.0-3.1 (2.0.0-3.2)     
x264-debuginfo                 | 0.120svn20120126-1.1     


What other packages I have to install to see full error?

This problem occurs when using default session on login screen.
When I use safe session and then type
Code: Select all
kwrapper4 ksmserver
in console KDE starts.

Best regards
Nesbitt
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE crash after login

Sun Mar 11, 2012 9:55 am
In your "safe" session, can you observe a "kded4" running after starting the session?

Also, can you please ensure that Qt (in particular it's OpenGL component) is fully up to date?

Finally, what graphics card does your system have? (and which drivers are you using with it)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nesbitt
Registered Member
Posts
10
Karma
0
OS

Re: KDE crash after login

Sun Mar 11, 2012 10:21 am
bcooksley wrote:In your "safe" session, can you observe a "kded4" running after starting the session?

Yes. kded4 is running.

Also, can you please ensure that Qt (in particular it's OpenGL component) is fully up to date?

Code: Select all
libqt4                         | 4.8.0-248.1               
libqt4-debuginfo               | 4.8.0-248.1               
libqt4-devel                   | 4.8.0-248.1               
libqt4-devel-debuginfo         | 4.8.0-248.1               
libqt4-devel-doc               | 4.8.0-250.1               
libqt4-devel-doc-data          | 4.8.0-250.1               
libqt4-qt3support              | 4.8.0-248.1               
libqt4-sql                     | 4.8.0-248.1               
libqt4-sql-mysql               | 4.8.0-250.1               
libqt4-sql-postgresql          | 4.8.0-250.1               
libqt4-sql-sqlite              | 4.8.0-248.1               
libqt4-sql-unixODBC            | 4.8.0-250.1               
libqt4-x11                     | 4.8.0-248.1               
libqt4-x11-debuginfo           | 4.8.0-248.1               


Finally, what graphics card does your system have? (and which drivers are you using with it)

VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700/6700 Series]
Driver 2D: radeon
Driver 3D: Unknown Gallium (7.11)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE crash after login

Sun Mar 11, 2012 7:21 pm
Are you able to get any further detailed backtraces?
Also, make sure all libraries and updates have been installed, and that you are not mixing packages from multiple repositories in a incompatible fashion.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nesbitt
Registered Member
Posts
10
Karma
0
OS

Re: KDE crash after login

Sun Mar 11, 2012 9:03 pm
bcooksley wrote:Are you able to get any further detailed backtraces?

In the first post i have listed all my debug packages. What other packages I have to install to get full backtrace?

bcooksley wrote:Also, make sure all libraries and updates have been installed, and that you are not mixing packages from multiple repositories in a incompatible fashion.


Previously I had one KDE unstable repo, but now I am using only "KDE 4.8 Core packages 12.1" and "KDE 4.8 Extra 12.1".
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE crash after login

Mon Mar 12, 2012 8:38 am
Attempting to reproduce this issue may yield different results. From what I can tell you have a fairly complete set of debug packages.

In the instance you posted, the earlier parts of the trace were corrupted and not readable by gdb - subsequent reproduction attempts may not have this issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nesbitt
Registered Member
Posts
10
Karma
0
OS

Re: KDE crash after login

Mon Mar 12, 2012 7:44 pm
bcooksley wrote:Attempting to reproduce this issue may yield different results. From what I can tell you have a fairly complete set of debug packages.

In the instance you posted, the earlier parts of the trace were corrupted and not readable by gdb - subsequent reproduction attempts may not have this issue.


I am not sure if I understood but I got this error stack all the time.

And one more thing. On the KCrash screen there is link to list of files that are missing debug packages. When I click on this link I got 3 files:
kdeinit4
libQtOpenGL.so.4
ld-linux.so.2

So maybe gdb or KCrash doesn't see debug packages fot this files?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE crash after login  Topic is solved

Mon Mar 12, 2012 8:15 pm
Can you remove the "LD_BIND_NOW=true" bit from line 326 in /usr/bin/startkde and see if it starts for you afterwards?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
nesbitt
Registered Member
Posts
10
Karma
0
OS

Re: KDE crash after login

Mon Mar 12, 2012 9:15 pm
einar wrote:Can you remove the "LD_BIND_NOW=true" bit from line 326 in /usr/bin/startkde and see if it starts for you afterwards?


It works! Thanks!

Do I have to do this after every upgrade of KDE?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE crash after login

Tue Mar 13, 2012 4:10 am
Yes, you will need to, as your package manager will overwrite the file.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE crash after login

Tue Mar 13, 2012 10:18 am
This is likely something triggered by glibc. Try looking in /etc/profile.d/ to see if something puts MALLOC_CHECK_ to a value > 1. If so, put it to 1 or "".


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
nesbitt
Registered Member
Posts
10
Karma
0
OS

Re: KDE crash after login

Wed Mar 14, 2012 9:02 am
einar wrote:This is likely something triggered by glibc. Try looking in /etc/profile.d/ to see if something puts MALLOC_CHECK_ to a value > 1. If so, put it to 1 or "".


Code: Select all
grep MALLOC_CHECK  /etc/profile.d/*

Returns nothing.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE crash after login

Wed Mar 14, 2012 11:10 am
Ok, so it's likely another issue. I have this myself on my 64bit system at home, but not at work, so I haven't been able to find a real cause.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE crash after login

Thu Mar 15, 2012 7:51 am
Has the fix of removing LD_BIND_NOW been reported to the developers so that they can consider this issue and possibly investigate why it occurs?

I know that NVidia drivers have caused issues in the past, are they in use?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nesbitt
Registered Member
Posts
10
Karma
0
OS


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]