Version: nieznana (using KDE 3.4.2, Debian Package 4:3.4.2-4 (testing/unstable)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.8 I run nice shareware called ECTool (http://www.ectool.nu, tool for correspondence chess playing) under wine (debian testing version - 20050628). And there is single, specific operation, which causes kwin to crash - and is repeatable (happens all the time). Preparation: download and install ECTool, create some game within it, make some move. Then select 'create new message from the current game' function, what causes email sending window to be displayed. Click [x] to close this window, in the message box which prompts whether to abandon the message, click OK. kwin immediately crashes. After one of those crashes I started kwin in terminal window, when it was crashing next time, the following message was shown: kwin: X_SetInputFocus(0xe9332c): BadMatch (invalid parameter attributes) kwin: X_SetInputFocus(0xe9332c): BadMatch (invalid parameter attributes) kwin: X_SetInputFocus(0xe00012): BadMatch (invalid parameter attributes) kwin: X_SetInputFocus(0xe28deb): BadMatch (invalid parameter attributes) KCrash: Application 'kwin' crashing... debug window sometimes is shown, sometimes is not, if I get it again, I will quote it.
Today I managed to catch debug information displayed by dying kwin. At the same time I tested, that unfortunately the kwin crash is not 100% reproducible, seems it depends on something, sometimes happens, sometimes not. Here is the debug information: (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 1094176096 (LWP 28895)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #3 0x4005994b in KWinInternal::Client::findModal () from /usr/lib/libkdeinit_kwin.so #4 0x4005996e in KWinInternal::Client::findModal () from /usr/lib/libkdeinit_kwin.so #5 0x4005996e in KWinInternal::Client::findModal () from /usr/lib/libkdeinit_kwin.so #6 0x400875a9 in KWinInternal::Workspace::takeActivity () from /usr/lib/libkdeinit_kwin.so #7 0x400876fd in KWinInternal::Workspace::requestFocus () from /usr/lib/libkdeinit_kwin.so #8 0x400872fe in KWinInternal::Workspace::activateClient () from /usr/lib/libkdeinit_kwin.so #9 0x4008a86f in KWinInternal::RootInfo::changeActiveWindow () from /usr/lib/libkdeinit_kwin.so #10 0x40520ce5 in NETRootInfo::event () from /usr/lib/libkdecore.so.4 #11 0x40520ea6 in NETRootInfo::event () from /usr/lib/libkdecore.so.4 #12 0x4006aa18 in KWinInternal::Workspace::netCheck () from /usr/lib/libkdeinit_kwin.so #13 0x4009acca in KWinInternal::Workspace::workspaceEvent () from /usr/lib/libkdeinit_kwin.so #14 0x4009b566 in KWinInternal::Application::x11EventFilter () from /usr/lib/libkdeinit_kwin.so #15 0x40942885 in qt_set_x11_event_filter () from /usr/lib/libqt-mt.so.3 #16 0x4094f831 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #17 0x4096995c in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #18 0x409deea2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #19 0x409dedcb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #20 0x409c5305 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #21 0x4009d927 in kdemain () from /usr/lib/libkdeinit_kwin.so #22 0x4102dec0 in __libc_start_main () from /lib/tls/libc.so.6 #23 0x080483d1 in ?? ()
*** Bug 113975 has been marked as a duplicate of this bug. ***
I cannot reproduce, please try to provide more information, the problem seems to depend on exactly which windows are open. Ideally if you could provide step-by-step instructions how to reproduce starting after creating a new user account.
If it were so easy to reproduce... Recently I happen to see this bug only accidentally, when I want to reproduce it it does not show. Generally opening ECTool windows and closing them with [x] sooner or later ends in this problem, but not always. I have another, maybe more interesting backtrace (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 1097837440 (LWP 3562)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #3 0x4175c965 in KWinInternal::Client::findModal () from /usr/lib/libkdeinit_kwin.so #4 0x4175c96e in KWinInternal::Client::findModal () from /usr/lib/libkdeinit_kwin.so #5 0x4178a5a9 in KWinInternal::Workspace::takeActivity () from /usr/lib/libkdeinit_kwin.so #6 0x4178a6fd in KWinInternal::Workspace::requestFocus () from /usr/lib/libkdeinit_kwin.so #7 0x4178c154 in KWinInternal::Client::enterNotifyEvent () from /usr/lib/libkdeinit_kwin.so #8 0x4179dae6 in KWinInternal::Client::windowEvent () from /usr/lib/libkdeinit_kwin.so #9 0x4179dc6e in KWinInternal::Workspace::workspaceEvent () from /usr/lib/libkdeinit_kwin.so #10 0x4179e566 in KWinInternal::Application::x11EventFilter () from /usr/lib/libkdeinit_kwin.so #11 0x40896885 in qt_set_x11_event_filter () from /usr/lib/libqt-mt.so.3 #12 0x408a3831 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #13 0x408bd95c in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #14 0x40932ea2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #15 0x40932dcb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #16 0x40919305 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #17 0x417a0927 in kdemain () from /usr/lib/libkdeinit_kwin.so #18 0x40001530 in kdeinitmain () from /usr/lib/kde3/kwin.so #19 0x0804decd in ?? () #20 0x00000003 in ?? () #21 0x08072f88 in ?? () #22 0xbffff508 in ?? () #23 0x0804def1 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x08072e7a in ?? () #30 0x08072e34 in ?? () #31 0x00000003 in ?? () #32 0x4114e1fc in __malloc_initialize_hook () from /lib/tls/libc.so.6 #33 0x00000000 in ?? () #34 0x00000000 in ?? () #35 0x00000010 in ?? () #36 0x4114e1e8 in __malloc_initialize_hook () from /lib/tls/libc.so.6 #37 0x00000010 in ?? () #38 0xbffff418 in ?? () #39 0x41081c4c in malloc () from /lib/tls/libc.so.6 #40 0x0804e4ba in ?? () #41 0x00000000 in ?? () #42 0x00000000 in ?? () #43 0x08072e7e in ?? () #44 0x00000000 in ?? () #45 0x00000000 in ?? () #46 0x00000000 in ?? () #47 0x08050552 in vtable for QPtrList<char> () #48 0x00000000 in ?? () #49 0x00000000 in ?? () #50 0x00000000 in ?? () #51 0x00000000 in ?? () #52 0x00000003 in ?? () #53 0x00000008 in ?? () #54 0x08072e30 in ?? () #55 0x08072e34 in ?? () #56 0x08072e39 in ?? () #57 0x00000000 in ?? () #58 0x00000000 in ?? () #59 0x08072e7e in ?? () #60 0x00000000 in ?? () #61 0x00000000 in ?? () #62 0x08050552 in vtable for QPtrList<char> () #63 0x08072e7e in ?? () #64 0x00000000 in ?? () #65 0x00000000 in ?? () #66 0x08051400 in vtable for QCString () #67 0x0805a550 in ?? () #68 0x08051400 in vtable for QCString () #69 0x0805a540 in ?? () #70 0xbffff5bc in ?? () #71 0xbffff63c in ?? () #72 0x0000000c in ?? () #73 0x00000052 in ?? () #74 0x00000000 in ?? () #75 0xbffff63c in ?? () #76 0x00000000 in ?? () #77 0xbffff5bc in ?? () #78 0xbffff63c in ?? () #79 0xbffff7c8 in ?? () #80 0x0804eaac in ?? () #81 0xffffffff in ?? () #82 0x00000000 in ?? () #83 0x0000000a in ?? () #84 0x00000000 in ?? () #85 0x00000000 in ?? () #86 0x00000000 in ?? () #87 0x00000000 in ?? () #88 0x00000000 in ?? () #89 0x00000000 in ?? () #90 0x00000000 in ?? () #91 0x00000000 in ?? () #92 0x00000000 in ?? () #93 0x00000000 in ?? () #94 0x00000000 in ?? () #95 0x00000000 in ?? () #96 0x00000000 in ?? () #97 0x00000000 in ?? () #98 0x00000000 in ?? () #99 0x00000000 in ?? () #100 0x00000000 in ?? () #101 0x00000000 in ?? () #102 0x00000000 in ?? () #103 0x00000000 in ?? () #104 0x00000000 in ?? () #105 0x00000000 in ?? () #106 0x00000000 in ?? () #107 0x00000000 in ?? () #108 0x00000000 in ?? () #109 0x00000000 in ?? () #110 0x00000000 in ?? () #111 0x00000000 in ?? () #112 0x00000000 in ?? () #113 0x00000000 in ?? () #114 0x00000000 in ?? () #115 0x00000000 in ?? () #116 0x00000000 in ?? () #117 0x00000000 in ?? () #118 0x00000000 in ?? () #119 0x00000000 in ?? () #120 0x00000000 in ?? () #121 0x00000000 in ?? () #122 0x00000000 in ?? () #123 0x00000000 in ?? () #124 0x00000000 in ?? () #125 0x00000000 in ?? () #126 0x00000000 in ?? () #127 0x00000000 in ?? () #128 0x00000000 in ?? () #129 0x00000000 in ?? () #130 0x00000000 in ?? () #131 0x00000000 in ?? () #132 0x00000000 in ?? () #133 0x00000000 in ?? () #134 0x00000000 in ?? () #135 0x00000000 in ?? () #136 0x00000000 in ?? () #137 0x00000000 in ?? () #138 0x00000000 in ?? () #139 0x00000000 in ?? () #140 0x00000000 in ?? () #141 0x00000000 in ?? () #142 0x00000000 in ?? () #143 0x00000000 in ?? () #144 0x00000000 in ?? () #145 0x00000000 in ?? () #146 0x00000000 in ?? () #147 0x00000000 in ?? () #148 0x00000100 in ?? () #149 0x00000000 in ?? () #150 0x00000000 in ?? () #151 0x00000000 in ?? () #152 0x00000000 in ?? () #153 0x00000000 in ?? () #154 0x00000000 in ?? () #155 0x00000000 in ?? () #156 0x00000000 in ?? () #157 0x00000000 in ?? () #158 0x00000000 in ?? () #159 0x00000000 in ?? () #160 0x00000000 in ?? () #161 0x00000000 in ?? () #162 0x00000000 in ?? () #163 0x00000000 in ?? () #164 0x00000000 in ?? () #165 0x00000000 in ?? () #166 0x00000000 in ?? () #167 0x00000000 in ?? () #168 0x00000000 in ?? () #169 0x00000000 in ?? () #170 0x00000000 in ?? () #171 0x00000000 in ?? () #172 0x00000000 in ?? () #173 0x00000000 in ?? () #174 0x00000000 in ?? () #175 0x00000000 in ?? () #176 0x00000000 in ?? () #177 0x00000000 in ?? () #178 0x00000000 in ?? () #179 0x00000000 in ?? () #180 0x00000de8 in ?? () #181 0x00000000 in ?? () #182 0x00000000 in ?? () #183 0x00000000 in ?? () #184 0x00000022 in ?? () #185 0x00000007 in ?? () #186 0x00000000 in ?? () #187 0x0805d688 in ?? () #188 0x00000000 in ?? () #189 0x41141a7c in in6addr_any () from /lib/tls/libc.so.6 #190 0x00000008 in ?? () #191 0x000000f8 in ?? () #192 0x6d2f656d in ?? () #193 0x69637261 in ?? () #194 0x2e2f6b6e in ?? () #195 0x726b7467 in ?? () #196 0x2e322d63 in ?? () #197 0x682f3a30 in ?? () #198 0x2f656d6f in ?? () #199 0x6372616d in ?? () #200 0x2f6b6e69 in ?? () #201 0x65646b2e in ?? () #202 0x6168732f in ?? () #203 0x632f6572 in ?? () #204 0x69666e6f in ?? () #205 0x4114bff4 in ?? () from /lib/tls/libc.so.6 #206 0x4114e1e0 in __malloc_initialize_hook () from /lib/tls/libc.so.6 #207 0x0805a540 in ?? () #208 0x00000003 in ?? () #209 0x00000008 in ?? () #210 0x00000002 in ?? () #211 0x0005a540 in ?? () #212 0x00000002 in ?? () #213 0x0805a560 in ?? () #214 0x0805d688 in ?? () #215 0xbffff968 in ?? () #216 0x0804f985 in ?? () #217 0x00000004 in ?? () #218 0xbffff95b in ?? () #219 0x00000001 in ?? () #220 0xbfffffea in ?? () #221 0x0000001b in ?? () #222 0x410800a4 in free () from /lib/tls/libc.so.6 If I were to bet, I would smell some problem like attempts to find the window which no longer exists or so... Maybe you are able to create some especially crafted kwin binary which I could run instead of the standard one (debug version, maybe some tracing...)? I use Debian unstable but if the binary were statically linked for i386 platform, even the version from other system should work...
No, sorry, not special debug version. I myself am not sure what's going on, that's why I need a way to reproduce.
I experienced the same on FC2, FC3, FC4, Suse 10 and currently Suse 10.1 with KDE 3.5.4. Kwin crashes when a window is closed or refreshed. Furthermore, there is an issue with the window size, which probably is related to the crash: sometimes a newly opened window gets the size of the whole screen and sometimes only the window-title-bar is visible. In the latter case, you can't close the window anymore. However, it disappears when the java application terminates. If somebody could tell where to get (or how to make) a debug-version of kwin, I could produce a reasonable crash dump. I'm running Suse 10.1 with the latest KDE 3.5.4.
Marcin, does this crash still occur with KDE 3.5?
I have got the exact same problem with a java app custom build for our company since about KDE 3.3. I am now running Debian unstable and Ubuntu Edgy with KDE 3.5.4 . I even tried it on FreeBSD. And on all systems kwin crashes in 7 out of 10 cases when I close a certain window of the java app.
I have not seen this problem for some time (currently I use KDE 3.5.4, generally I follow Debian ustable). But it need not be the proof, as I use the aplication mentioned less frequently than before. Also ... I am not 100%, or even 90% sure, but it can be that the situation improved when I switched from xfree to xorg. But it can be totally wrong hypothesis. So, unfortunately, I am no longer able to provide diagnostics (maybe Kai would be). In case I get the crash again, I will add a note. BTW Seems all reports of this crash mention either wine, or java applications. Seems there is 'something' what make them different than normal Linux apps.
As I said, I am using Debian unstable too, including of course xorg 7.0 and KDE 3.5.4 and it is still happening. The backtrace looks just like the ones posted by Marcin. I can try to do an strace if you want me to?
I have the same problem when closing dialog windows from a Java application. As already described it doesn't always crash, but to often. I will try to write a small sample class for testing. I have the problem with different kde versions on different PCs. At the moment I can confirm it for the following versions: $ apt-cache policy kwin kwin: Installed: 4:3.5.5a.dfsg.1-1 (Debian Etch) kwin --version Qt: 3.3.7 KDE: 3.5.5 KWin: 3.0 and apt-cache policy kwin kwin: Installed:4:3.5.0-3bpo1 (Debian sarge with kde from backports.org) kwin -version Qt: 3.3.4 KDE: 3.5.0 KWin: 3.0
there's a java reproduce. Please take a look at http://bugs.kde.org/show_bug.cgi?id=117677
*** This bug has been marked as a duplicate of 117677 ***