(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...[New Thread 1024 (LWP 817)] 0x401faa19 in __wait4 () from /lib/libc.so.6 #0 0x401faa19 in __wait4 () from /lib/libc.so.6 #1 0x4026508c in __DTOR_END__ () from /lib/libc.so.6 #2 0x405d55c8 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.3 #3 <signal handler called> #4 __errno_location () at errno.c:25 #5 0x40762969 in QFile::open () from /usr/lib/qt-2.2.3/lib/libqt.so.2 #6 0x40569721 in KConfigINIBackEnd::parseConfigFiles () from /usr/lib/libkdecore.so.3 #7 0x4054c43e in KConfigBase::parseConfigFiles () from /usr/lib/libkdecore.so.3 #8 0x40562524 in KSimpleConfig::KSimpleConfig () from /usr/lib/libkdecore.so.3 #9 0x40575f9d in KApplication::applyGUIStyle () from /usr/lib/libkdecore.so.3 #10 0x40577e37 in KApplication::kdisplaySetStyle () from /usr/lib/libkdecore.so.3 #11 0x40572bf7 in KApplication::init () from /usr/lib/libkdecore.so.3 #12 0x40572894 in KApplication::KApplication () from /usr/lib/libkdecore.so.3 #13 0x4027eb39 in GreetUser (d2=0x8061d00, dpy2=0xbffff7f8, verify2=0x805b620, greet2=0x805b604, dlfuncs=0x805ac00) at kgreeter.cpp:846 #14 0x08052671 in strcpy () at ../sysdeps/generic/strcpy.c:31 #15 0x0804e98b in strcpy () at ../sysdeps/generic/strcpy.c:31 #16 0x0804e6e6 in strcpy () at ../sysdeps/generic/strcpy.c:31 #17 0x0804f138 in strcpy () at ../sysdeps/generic/strcpy.c:31 #18 0x0804e700 in strcpy () at ../sysdeps/generic/strcpy.c:31 #19 0x0804dd6d in strcpy () at ../sysdeps/generic/strcpy.c:31 #20 0x4015ef11 in __libc_start_main (main=0x804dba0 <strcpy+13820>, argc=2, ubp_av=0xbffffd8c, init=0x8049c7c <_init>, fini=0x805659c <_fini>, rtld_fini=0x4000e214 <_dl_fini>, stack_end=0xbffffd84) at ../sysdeps/generic/libc-start.c:129
Managed to get some more symbols, if it's helpful. (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...[New Thread 1024 (LWP 23223)] 0x401fba19 in __wait4 () from /lib/libc.so.6 #0 0x401fba19 in __wait4 () from /lib/libc.so.6 #1 0x4026608c in __DTOR_END__ () from /lib/libc.so.6 #2 0x405d75c8 in KCrash::defaultCrashHandler (signal=11) at kcrash.cpp:191 #3 <signal handler called> #4 __errno_location () at errno.c:25 #5 0x407a7ab3 in QFile::open (this=0xbfffe718, m=1) at tools/qfile_unix.cpp:252 #6 0x4056b721 in KConfigINIBackEnd::parseConfigFiles (this=0x809d650) at kconfigbackend.cpp:181 #7 0x4054e43e in KConfigBase::parseConfigFiles (this=0xbffff018) at kconfigbase.cpp:1291 #8 0x40564524 in KSimpleConfig::KSimpleConfig (this=0xbffff018, pFileName=@0x809522c, bReadOnly=false) at ksimpleconfig.cpp:50 #9 0x40577f9d in KApplication::applyGUIStyle (this=0xbffff378) at kapp.cpp:1315 #10 0x40579e37 in KApplication::kdisplaySetStyle (this=0xbffff378) at kapp.cpp:1586 #11 0x40574bf7 in KApplication::init (this=0xbffff378, GUIenabled=true) at kapp.cpp:658 #12 0x40574894 in KApplication::KApplication (this=0xbffff378, allowStyles=true, GUIenabled=true) at kapp.cpp:571 #13 0x4027fb39 in GreetUser (d2=0x8061d00, dpy2=0xbffff538, verify2=0x805b620, greet2=0x805b604, dlfuncs=0x805ac00) at kgreeter.cpp:846 #14 0x08052671 in strcpy () at ../sysdeps/generic/strcpy.c:31 #15 0x0804e98b in strcpy () at ../sysdeps/generic/strcpy.c:31 #16 0x0804e6e6 in strcpy () at ../sysdeps/generic/strcpy.c:31 #17 0x0804f138 in strcpy () at ../sysdeps/generic/strcpy.c:31 #18 0x0804e700 in strcpy () at ../sysdeps/generic/strcpy.c:31 #19 0x0804dd6d in strcpy () at ../sysdeps/generic/strcpy.c:31 #20 0x4015ff11 in __libc_start_main (main=0x804dba0 <strcpy+13820>, argc=1, ubp_av=0xbffffacc, init=0x8049c7c <_init>, fini=0x805659c <_fini>, rtld_fini=0x4000e214 <_dl_fini>, stack_end=0xbffffac4) at ../sysdeps/generic/libc-start.c:129
If I do 'touch /root/.kde/share/config/kstylerc', the problem goes away. I'll attach strace output, obtained by: # kdm; A=$(($(ps axf | grep [k]dm | head -1 | awk '{ print $1 }') + 12)); sleep 3; strace -fp $A 2>&1 | tee /tmp/kdm-log (for some reason, 'strace -fp kdm' just gave me a gray stipple screen and stopped at select()..)
Created attachment 8329 [details] kdm-log
This is a glibc problem - install glibc 2.2.1-2 and it'll work perfectly.
*** Bug 25180 has been marked as a duplicate of this bug. ***
A workaround is compiling kdebase with --disable-greet-lib, so I guess the problem is in dlopen().
With glibc-2.2.1-3.i386 instead of glibc-2.2.1-3.i686, the problem goes away. So it's specific to the i686 glibc.
This defect is considered MUST-FIX for Florence Release-Candidate #1
*** Bug 26297 has been marked as a duplicate of this bug. ***
*** Bug 26456 has been marked as a duplicate of this bug. ***
*** Bug 27054 has been marked as a duplicate of this bug. ***
glibc-2.2.1-7 makes sure __pthread_initialize_minimal is called even when dlopening a library linked against -lpthread from program not linked against it. No matter what, this is playing with fire and either the libraries should not be linked against -lpthread (there is actually no reason in this case, I've provided patches for Mesa) or kdm should be linked against -lpthread.
*** Bug 28429 has been marked as a duplicate of this bug. ***
*** Bug 28431 has been marked as a duplicate of this bug. ***
*** Bug 28308 has been marked as a duplicate of this bug. ***
*** Bug 29204 has been marked as a duplicate of this bug. ***