By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1068

Summary: kdm_greet hangs on reboot/shutdown from kdm
Product: TDE Reporter: Slávek Banko <slavek.banko>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED WORKSFORME    
Severity: major CC: bugwatch, michele.calgaro, slavek.banko
Priority: P5    
Version: 3.5.13.x [Trinity]   
Hardware: All   
OS: Debian Squeeze   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Slávek Banko 2012-06-25 13:19:00 CDT
When I give the kdm reboot/shutdown, X is closed, but remains stuck kdm_greet:

#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00007fb04dcee179 in _L_lock_953 () from /lib/libpthread.so.0
#2  0x00007fb04dcedf9b in __pthread_mutex_lock (mutex=0xf09df0) at pthread_mutex_lock.c:61
#3  0x00007fb051291bf3 in _XLockDisplay (dpy=0xf0baf0) at ../../src/locking.c:458
#4  0x00007fb05128625a in XFreeCursor (dpy=0xf09df0, cursor=6291498)
    at ../../src/FreeCurs.c:38
#5  0x00007fb051a62425 in ~QCursorData (this=0xf2e260, __in_chrg=<value optimized out>)
    at kernel/qcursor_x11.cpp:90
#6  0x00007fb051a6259c in ~QCursor (this=<value optimized out>,
    __in_chrg=<value optimized out>) at kernel/qcursor_x11.cpp:282
#7  0x00007fb051a625d4 in __tcf_0 () at kernel/qcursor_x11.cpp:104
#8  0x00007fb04f230995 in __cxa_finalize (d=0x7fb052226bc0) at cxa_finalize.c:56
#9  0x00007fb051a47f56 in __do_global_dtors_aux () from /usr/lib/libqt-mt.so.3
#10 0x0000000000000000 in ?? ()


http://pastebin.com/X2TVAGNf
http://pastebin.com/k7jcFYpP

kdm waits for the end of kdm_greet.
krootimage and kwin remain like a zombies.
Reboot/shutdown from a running session is ok.
On the test machine with Precise it works fine.
Comment 1 Darrell 2012-06-25 21:08:21 CDT
Does [X-:*-Core] TerminateServer=true help?
Comment 2 Slávek Banko 2012-06-25 21:22:05 CDT
(Odpověď na komentář #1)
> Does [X-:*-Core] TerminateServer=true help?

Unfortunately, no.
It hang up the same way.
Comment 3 Slávek Banko 2012-10-15 11:41:24 CDT
Today I witnessed identical conduct kdm_greet from KDE4.8.4 (Debian Wheezy)!

It is interesting that on Squeeze with kdm-trinity helped me to update libx11 to 1.3.6 - with this version I would never notice the problem. However Wheezy contains libx11 1.4.5. It's weird.
Comment 4 Michele Calgaro 2018-07-29 03:42:17 CDT
Slavek,
tdm seems to work fine. Do you think we can close the bug? Or are you still experiencing problems?
Many changes went into kdesktop and kdesktop_lock since the time of the report.
Comment 5 Slávek Banko 2019-03-02 08:17:30 CST
It seems that the problem is no longer up to date - it concerns obsolete distributions and does not occur in the current ones.