Version: 3.4 (using KDE KDE 3.4.0) Installed from: Compiled From Sources Compiler: Gcc 3.3.3 OS: Linux When Kde loads a session with a shaded window it freezes on logon. ~/.kde/share/config/session/kwin_10bed1e765000111298620000000003690000_1114215312_780790 [Session] active=9 count=9 desktop=1 desktop1=-1 desktop2=1 desktop3=1 desktop4=1 desktop5=-1 desktop6=1 desktop7=1 desktop8=1 desktop9=1 fsrestore1=0,0,0,0 fsrestore2=0,0,0,0 fsrestore3=0,0,0,0 fsrestore4=0,0,0,0 fsrestore5=0,0,0,0 fsrestore6=0,0,0,0 fsrestore7=0,0,0,0 fsrestore8=0,0,0,0 fsrestore9=0,0,0,0 fullscreen1=0 fullscreen2=0 fullscreen3=0 fullscreen4=0 fullscreen5=0 fullscreen6=0 fullscreen7=0 fullscreen8=0 fullscreen9=0 geometry1=590,1154,419,46 geometry2=0,0,275,14 geometry3=550,0,300,14 geometry4=275,0,275,14 geometry5=0,1200,480,58 geometry6=1527,14,73,780 geometry7=180,105,1257,571 geometry8=1383,816,210,321 geometry9=258,37,1134,611 iconified1=false iconified2=false iconified3=false iconified4=false iconified5=false iconified6=false iconified7=false iconified8=false iconified9=false keepBelow1=true keepBelow2=false keepBelow3=false keepBelow4=false keepBelow5=false keepBelow6=false keepBelow7=false keepBelow8=false keepBelow9=false maximize1=0 maximize2=0 maximize3=0 maximize4=0 maximize5=0 maximize6=0 maximize7=0 maximize8=0 maximize9=0 resourceClass1=kicker resourceClass2=xmms resourceClass3=xmms resourceClass4=xmms resourceClass5=kicker resourceClass6=gkrellm resourceClass7=eterm resourceClass8=gaim resourceClass9=xchat resourceName1=kicker resourceName2=xmms_player resourceName3=xmms_playlist resourceName4=xmms_equalizer resourceName5=kicker resourceName6=gkrellm resourceName7=eterm resourceName8=gaim resourceName9=xchat restore1=600,1154,400,46 restore2=0,0,0,0 restore3=0,0,0,0 restore4=0,0,0,0 restore5=0,1142,480,58 restore6=0,0,0,0 restore7=0,0,0,0 restore8=0,0,0,0 restore9=258,37,1141,648 sessionId1=10bed1e765000111421527000000002410002 sessionId2=10bed1e765000111298713200000003690016 sessionId3=10bed1e765000111298713200000003690016 sessionId4=10bed1e765000111298713200000003690016 sessionId5=10bed1e765000111421527000000002410002 sessionId6=10bed1e765000111298746400000003690023 sessionId7= sessionId8=10bed1e765000111298747300000003690024 sessionId9= shaded1=false shaded2=false shaded3=false shaded4=false shaded5=false shaded7=false shaded8=false shaded9=true shortcut1= shortcut2= shortcut3= shortcut4= shortcut5= shortcut6= shortcut7= shortcut8= shortcut9= skipPager1=false skipPager2=false skipPager3=false skipPager4=false skipPager5=false skipPager6=false skipPager7=false skipPager8=false skipPager9=false skipTaskbar1=false skipTaskbar2=false skipTaskbar3=true skipTaskbar4=true skipTaskbar5=false skipTaskbar6=false skipTaskbar7=false skipTaskbar8=false skipTaskbar9=false staysOnTop1=false skipPager4=false skipPager5=false skipPager6=false skipPager7=false skipPager8=false skipPager9=false skipTaskbar1=false skipTaskbar2=false skipTaskbar3=true skipTaskbar4=true skipTaskbar5=false skipTaskbar6=false skipTaskbar7=false skipTaskbar8=false skipTaskbar9=false staysOnTop1=false staysOnTop2=false staysOnTop3=false staysOnTop4=false staysOnTop5=false staysOnTop6=false staysOnTop7=false staysOnTop8=false staysOnTop9=false sticky1=true sticky2=false sticky3=false sticky4=false sticky5=true sticky6=false sticky7=false sticky8=false sticky9=false userNoBorder1=false userNoBorder2=false userNoBorder3=false userNoBorder4=false userNoBorder5=false userNoBorder6=false userNoBorder7=false userNoBorder8=false userNoBorder9=false windowRole1=extensioncontainer windowRole2= windowRole3= windowRole4= windowRole5=extensioncontainer windowRole6= windowRole7= windowRole8=buddy_list windowRole9= windowType1=Dock windowType2=Normal windowType3=Dialog windowType4=Dialog windowType5=Dock windowType6=Normal windowType7=Normal windowType8=Normal windowType9=Normal wmClientMachine1=localhost wmClientMachine2=localhost wmClientMachine3=localhost wmClientMachine4=localhost wmClientMachine5=localhost wmClientMachine6=localhost wmClientMachine7=localhost wmClientMachine8=localhost wmClientMachine9=localhost wmCommand1=kicker wmCommand2=xmms wmCommand3=xmms --sm-client-id 10bed1e765000111298713200000003690016 wmCommand4=xmms --sm-client-id 10bed1e765000111298713200000003690016 wmCommand5= wmCommand6=gkrellm wmCommand7=/usr/bin/Eterm wmCommand8=gaim wmCommand9=xchat I can replicate this everytime..
It works just fine here. Is the problem specific to some application or can you reproduce it with any of them? Can you reproduce the problem with a fresh KDE account? Can you attach to the frozen kwin and provide the backtrace?
It seems to be linked to this problem.. http://bugs.kde.org/show_bug.cgi?id=96602 Any window that has problem with size when shaded. The application was X-Chat. I shall attach and backtrace when i get home...
Waiting for the requested information.
Created attachment 11369 [details] xsessions log
Sorry forgot about this. It does not crash KDE but freezes X. It only happens when Xchat is set to shaded in the session. I have attached the Xsessions-errors log. Need more info?
I was wrong it does not look like kwin.. i have attached to it and it does not freeze on its own. Looks like ksmserver.
That log file doesn't seem to contain any useful information. Backtrace from the frozen application would be useful.
Sorry work has been killing me :) Backtraces follow.... Xchat: #0 0x40596932 in select () at regex_internal.h:758 #1 0x406c0428 in __JCR_LIST__ () from /usr/X11R6/lib/libX11.so.6 #2 0x080bc1e0 in ?? () #3 0x00000000 in ?? () #4 0x4062aa02 in _XWaitForReadable () from /usr/X11R6/lib/libX11.so.6 #5 0x4062b921 in _XRead () from /usr/X11R6/lib/libX11.so.6 #6 0x4062c4a3 in _XReply () from /usr/X11R6/lib/libX11.so.6 #7 0x40613083 in XGetAtomName () from /usr/X11R6/lib/libX11.so.6 #8 0x4032f3f1 in IA__gdk_x11_xatom_to_atom_for_display (display=0x0, xatom=134988256) at gdkproperty-x11.c:306 #9 0x4032334a in gdk_event_translate (display=0x80c0c28, event=0x8100a78, xevent=0xbffffa20, return_exposes=0) at gdkevents-x11.c:1834 #10 0x4032399d in _gdk_events_queue (display=0x80c0c28) at gdkevents-x11.c:2154 #11 0x40323b31 in gdk_event_dispatch (source=0xfffffdfe, callback=0, user_data=0x0) at gdkevents-x11.c:2214 #12 0x40465de2 in g_main_dispatch (context=0x80e67b0) at gmain.c:1947 #13 0x40466e48 in IA__g_main_context_dispatch (context=0x80e67b0) at gmain.c:2497 #14 0x40467180 in g_main_context_iterate (context=0x80e67b0, block=1, dispatch=1, self=0x80e7a98) at gmain.c:2578 #15 0x40467723 in IA__g_main_loop_run (loop=0x80fb2d0) at gmain.c:2782 #16 0x4012ba43 in IA__gtk_main () at gtkmain.c:963 #17 0x080580eb in fe_main () at fe-gtk.c:269 #18 0x08093569 in main (argc=-514, argv=0xfffffdfe) at xchat.c:1114 kwin: #0 0xb6ad8e38 in read () from /lib/libpthread.so.0 #1 0xb76b297c in __JCR_LIST__ () from /usr/lib/./libDCOP.so.4 #2 0xb76ad600 in _kde_IceTransSocketRead () from /usr/lib/./libDCOP.so.4 #3 0xb76ae26f in _kde_IceTransRead () from /usr/lib/./libDCOP.so.4 #4 0xb76a5cae in _kde_IceRead () from /usr/lib/./libDCOP.so.4 #5 0xb76a62c7 in KDE_IceProcessMessages () from /usr/lib/./libDCOP.so.4 #6 0xb769d644 in DCOPClient::callInternal () from /usr/lib/./libDCOP.so.4 #7 0xb769d08c in DCOPClient::callInternal () from /usr/lib/./libDCOP.so.4 #8 0xb769cb4c in DCOPClient::call () from /usr/lib/./libDCOP.so.4 #9 0xb769c99a in DCOPClient::call () from /usr/lib/./libDCOP.so.4 #10 0xb776f226 in startServiceInternal () from /usr/lib/./libkdecore.so.4 #11 0xb776fd10 in KApplication::startServiceByDesktopName () from /usr/lib/./libkdecore.so.4 #12 0xb7852f20 in KNotifyClient::startDaemon () from /usr/lib/./libkdecore.so.4 #13 0xb7852383 in sendNotifyEvent () from /usr/lib/./libkdecore.so.4 #14 0xb78527dd in KNotifyClient::event () from /usr/lib/./libkdecore.so.4 #15 0xb5f7dbfd in KWinInternal::Notify::raise () from /usr//lib/libkdeinit_kwin.so #16 0xb5f55116 in KWinInternal::Client::setShade () from /usr//lib/libkdeinit_kwin.so #17 0xb5f7bf9c in KWinInternal::Client::manage () from /usr//lib/libkdeinit_kwin.so #18 0xb5f464b9 in KWinInternal::Workspace::createClient () from /usr//lib/libkdeinit_kwin.so #19 0xb5f6f013 in KWinInternal::Workspace::workspaceEvent () from /usr//lib/libkdeinit_kwin.so #20 0xb5f647be in KWinInternal::Application::x11EventFilter () from /usr//lib/libkdeinit_kwin.so #21 0xb6f54c08 in qt_x11EventFilter () from /usr/qt/lib/libqt-mt.so.3 #22 0xb6f5f72b in QApplication::x11ProcessEvent () from /usr/qt/lib/libqt-mt.so.3 #23 0xb6f78667 in QEventLoop::processEvents () from /usr/qt/lib/libqt-mt.so.3 #24 0xb6fed348 in QEventLoop::enterLoop () from /usr/qt/lib/libqt-mt.so.3 #25 0xb6fed1f8 in QEventLoop::exec () from /usr/qt/lib/libqt-mt.so.3 #26 0xb6fd86a1 in QApplication::exec () from /usr/qt/lib/libqt-mt.so.3 #27 0xb5f64c2c in kdemain () from /usr//lib/libkdeinit_kwin.so #28 0xb5fac906 in kdeinitmain () from /usr/lib/kde3/kwin.so #29 0x0804cdd2 in launch () #30 0x0804e471 in handle_launcher_request () #31 0x0804e9bd in handle_requests () #32 0x0804fb12 in main () ksmserver: #0 0xb696e932 in select () at regex_internal.h:758 #1 0xb7610114 in __JCR_LIST__ () from /usr/qt/lib/libqt-mt.so.3 #2 0x00000014 in ?? () #3 0x00000013 in ?? () #4 0xb6f77fb1 in QEventLoop::processEvents () from /usr/qt/lib/libqt-mt.so.3 #5 0xb6fed348 in QEventLoop::enterLoop () from /usr/qt/lib/libqt-mt.so.3 #6 0xb6fed1f8 in QEventLoop::exec () from /usr/qt/lib/libqt-mt.so.3 #7 0xb6fd86a1 in QApplication::exec () from /usr/qt/lib/libqt-mt.so.3 #8 0xb5f91c5a in kdemain () from /usr//lib/libkdeinit_ksmserver.so #9 0xb5fac8f6 in kdeinitmain () from /usr/lib/kde3/ksmserver.so #10 0x0804cdd2 in launch () #11 0x0804e471 in handle_launcher_request () #12 0x0804ea9a in handle_requests () #13 0x0804fb12 in main () When i do a PS -A.. kde has started two Xchat instances and one is <defunct>
Can you reproducibly get the kwin backtrace with "KNotifyClient::startDaemon ()"? If yes, the problem might be with KNotify, or perhaps your sound system. Do you use arts (and start the soundserver)? Can you see knotify in the process list? Can you provide a backtrace from knotify?
Yep.. everytime i reproduce it i get KNotifyClient::startDaemon () I use arts, i tried to turn off the soundsystem but i could still reproduce the bug. There is no knotify process running. PS -A: PID TTY TIME CMD 1 ? 00:00:10 init 2 ? 00:00:00 ksoftirqd/0 3 ? 00:00:00 events/0 4 ? 00:00:00 khelper 5 ? 00:00:00 kthread 6 ? 00:00:00 kblockd/0 7 ? 00:00:00 khubd 9 ? 00:00:00 pdflush 10 ? 00:00:02 pdflush 12 ? 00:00:00 aio/0 8 ? 00:00:00 kapmd 11 ? 00:00:03 kswapd0 15 ? 00:00:00 kseriod 16 ? 00:00:00 scsi_eh_0 19 ? 00:00:00 reiserfs/0 102 ? 00:00:00 syslogd 105 ? 00:00:00 klogd 125 ? 00:00:00 mount.smbfs 127 ? 00:00:00 smbiod 130 ? 00:00:00 mount.smbfs 134 ? 00:00:00 mount.smbfs 151 ? 00:00:00 qmail-send 160 ? 00:00:00 splogger 161 ? 00:00:00 qmail-lspawn 162 ? 00:00:00 qmail-rspawn 163 ? 00:00:00 qmail-clean 164 ? 00:00:00 cupsd 183 ? 00:00:00 kdm 185 tty1 00:00:00 bash 186 tty2 00:00:00 agetty 187 tty3 00:00:00 agetty 188 tty4 00:00:00 agetty 189 tty5 00:00:00 agetty 190 tty6 00:00:00 agetty 1086 ? 00:00:02 X 1089 ? 00:00:00 kdm 1102 ? 00:00:00 startkde 1127 ? 00:00:00 ksplash 1129 ? 00:00:00 kdeinit 1132 ? 00:00:00 dcopserver 1134 ? 00:00:00 klauncher 1137 ? 00:00:00 kded 1146 ? 00:00:00 kaccess 1147 ? 00:00:00 kded 1148 ? 00:00:00 kded 1149 ? 00:00:00 kded 1150 ? 00:00:00 kwrapper 1152 ? 00:00:00 ksmserver 1153 ? 00:00:00 kwin 1155 ? 00:00:00 kdesktop 1157 ? 00:00:00 kicker 1159 ? 00:00:00 gkrellm 1162 ? 00:00:00 gaim 1163 ? 00:00:00 gkrellm 1165 ? 00:00:00 gaim 1166 ? 00:00:00 gaim 1168 ? 00:00:00 kwalletmanager 1170 ? 00:00:00 kmix 1171 ? 00:00:00 kio_file 1172 ? 00:00:00 kmix 1173 ? 00:00:00 amarokapp 1174 ? 00:00:00 kio_media 1175 ? 00:00:00 kio_file 1176 ? 00:00:00 Eterm 1177 ? 00:00:00 xchat 1178 pts/1 00:00:00 bash 1179 ? 00:00:00 amarokapp 1180 ? 00:00:00 xchat <defunct> 1184 tty1 00:00:00 ps
I confirm this bug. I have made some test and it seems that problem is indeed with sound system. When you restore any window maximized/shaded etc. and the maximize/shade action produces any sound the KDE startup hangs on "Restoring session". It is enough to turn of the sound to have good behavior.
*** This bug has been marked as a duplicate of 102046 ***