Version: (using Devel) Installed from: Compiled sources KWin crashed while I was using the Present Windows feature. Unfortunately, I can't really tell which chain of events lead to the crash, but maybe the backtrace is useful anyway. This is for KWin 4.1.86 using unofficial Debian packages from kde42.debian.net at version 4:4.1.86+svn902586-0r1. Application: KWin (kwin), signal SIGSEGV Thread 1 (Thread 0xb57016e0 (LWP 4874)): [KCrash Handler] #6 0xb383d07a in KWin::PresentWindowsEffect::setHighlightedWindow (this=0x94505f8, w=0x96a8460) at ../../../kwin/effects/presentwindows.cpp:1264 #7 0xb38496e7 in KWin::PresentWindowsEffect::windowInputMouseEvent (this=0x94505f8, w=21204836, e=0xbffd3f94) at ../../../kwin/effects/presentwindows.cpp:304 #8 0xb7f8a40f in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=0x93236a0, e=0xbffd457c) at ../../kwin/effects.cpp:693 #9 0xb7f343c8 in KWin::Workspace::workspaceEvent (this=0x9378b18, e=0xbffd457c) at ../../kwin/events.cpp:258 #10 0xb7f20842 in KWin::Application::x11EventFilter (this=0xbffd4898, e=0xbffd457c) at ../../kwin/main.cpp:359 #11 0xb6e228fe in qt_x11EventFilter (ev=0xbffd457c) at kernel/qapplication_x11.cpp:361 #12 0xb6e32e4f in QApplication::x11ProcessEvent (this=0xbffd4898, event=0xbffd457c) at kernel/qapplication_x11.cpp:2918 #13 0xb6e5d60a in x11EventSourceDispatch (s=0x9240288, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142 #14 0xb58b81b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #15 0xb58bb853 in ?? () from /usr/lib/libglib-2.0.so.0 #16 0x0923f698 in ?? () #17 0x00000000 in ?? ()
Could it be that a window was closed while the effect was activated and you were moving the mouse at the same time?
(In reply to comment #1) > Could it be that a window was closed while the effect was activated and you > were moving the mouse at the same time? Possibly, yes. I definitely closed a window at that time, however, I can't recall the exact sequence of events.
I have the same issue when turning on desktop events. I'm using FC10 with the latest FC10 updates and the strange thing is that some evenings the environment seems solid (little or no crashes) other times Kwin keeps continuously crashing whenever you do something to a window. After an x number of consecutive crashed the desktop effects are turned off and you can at least work again. It seems there are still some severe issues with Kwin and the Desktop effects.
*** Bug 182100 has been marked as a duplicate of this bug. ***
I got this one using KDE from tag 4.2.1, It crashed when I clicked on a window, the mouse cursor might have passed by the edge, just before. If it's unrelated I'll post it in a new bug report. #0 0xffffe424 in __kernel_vsyscall () #1 0xb6d913dd in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:41 #2 0xb7d83d09 in KCrash::defaultCrashHandler (sig=11) at /home/serj/kde/src/KDE/kdelibs/kdeui/util/kcrash.cpp:258 #3 <signal handler called> #4 0x000000e8 in ?? () #5 0xb4e75eef in KWin::PresentWindowsEffect::setHighlightedWindow (this=0x85ff148, w=0x847c078) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/effects/presentwindows.cpp:1270 #6 0xb4e81a86 in KWin::PresentWindowsEffect::setActive (this=0x85ff148, active=true, closingTab=false) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/effects/presentwindows.cpp:1157 #7 0xb4e81cf8 in KWin::PresentWindowsEffect::borderActivated (this=0x85ff148, border=KWin::ElectricTopLeft) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/effects/presentwindows.h:99 #8 0xb7fc06f7 in KWin::EffectsHandlerImpl::borderActivated (this=0x80c7ab0, border=KWin::ElectricTopLeft) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:321 #9 0xb7f3a8fb in KWin::Workspace::checkElectricBorder (this=0x810d5f8, pos=@0xbfef30dc, now=265393241) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/workspace.cpp:2260 #10 0xb7f3a9ea in KWin::Workspace::electricBorderEvent (this=0x810d5f8, e=0xbfef35f0) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/workspace.cpp:2324 #11 0xb7f65618 in KWin::Workspace::workspaceEvent (this=0x810d5f8, e=0xbfef35f0) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/events.cpp:475 #12 0xb7f51882 in KWin::Application::x11EventFilter (this=0xbfef38f8, e=0xbfef35f0) ---Type <return> to continue, or q <return> to quit--- at /home/serj/kde/src/KDE/kdebase/workspace/kwin/main.cpp:359 #13 0xb71b07a7 in qt_x11EventFilter (ev=0xbfef35f0) at kernel/qapplication_x11.cpp:361 #14 0xb71bc415 in QApplication::x11ProcessEvent (this=0xbfef38f8, event=0xbfef35f0) at kernel/qapplication_x11.cpp:2920 #15 0xb71eb50d in x11EventSourceDispatch (s=0x8058b78, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142 #16 0xb668feaf in IA__g_main_context_dispatch (context=0x8057e38) at gmain.c:2012 #17 0xb66933bf in g_main_context_iterate (context=0x8057e38, block=1, dispatch=1, self=0x8055c08) at gmain.c:2645 #18 0xb6693937 in IA__g_main_context_iteration (context=0x8057e38, may_block=1) at gmain.c:2708 #19 0xb6f225fa in QEventDispatcherGlib::processEvents (this=0x8053470, flags=@0xbfef37a8) at kernel/qeventdispatcher_glib.cpp:319 #20 0xb71ead68 in QGuiEventDispatcherGlib::processEvents (this=0x8053470, flags=@0xbfef37d8) at kernel/qguieventdispatcher_glib.cpp:198 #21 0xb6ef112c in QEventLoop::processEvents (this=0xbfef3850, flags=@0xbfef3814) at kernel/qeventloop.cpp:143 #22 0xb6ef1369 in QEventLoop::exec (this=0xbfef3850, flags=@0xbfef3858) at kernel/qeventloop.cpp:190 #23 0xb6ef4cb3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #24 0xb714482a in QApplication::exec () at kernel/qapplication.cpp:3331 #25 0xb7f54e4a in kdemain (argc=1, argv=0xbfef3ad4) at /home/serj/kde/src/KDE/kdebase/workspace/kwin/main.cpp:519 #26 0x08048792 in main (argc=0, argv=0x84dca30) at /home/serj/kde/build/KDE/kdebase/workspace/kwin/kwin_dummy.cpp:3
SVN commit 933171 by lmurray: Prevent present windows from crashing if the highlighted window from the previous activation is closed and the effect is activated a second time. BUG: 179537 M +1 -0 presentwindows.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=933171
*** Bug 185996 has been marked as a duplicate of this bug. ***
*** Bug 186045 has been marked as a duplicate of this bug. ***
*** Bug 186257 has been marked as a duplicate of this bug. ***
*** Bug 186311 has been marked as a duplicate of this bug. ***
I submitted bug 186045. I should have put a description in with my backtrace but did not. Here is the description: This crash happens frequently when I activate the present windows effect. I use a custom keyboard shortcut (meta + w) to access present windows. Sometimes the effect behaves as expected. Sometimes it crashes. When it crashes, the following "routine" takes place: 1) the effect does not work, 2) the windows on my current virtual desktop shift downward about the height of the title bar of an application, 3) the crash message appears, 4) I close the crash message, 5) I try the keyboard shortcut a second time and it works. This still happens. Actually, my keyboard shortcut is not doing anything atm; however, I just updated kde so I may need to re-log in. am running openSUSE 11.1 64-bit, KDE 4.2
*** Bug 186352 has been marked as a duplicate of this bug. ***
*** Bug 186360 has been marked as a duplicate of this bug. ***
openSUSE 4.2.1 packages have been updated to the final tarballs containing this fix.
*** Bug 186134 has been marked as a duplicate of this bug. ***
*** Bug 186847 has been marked as a duplicate of this bug. ***
I just tried my keyboard shortcut again for the present windows effect. It had the same effect (crashed: a fatal error occurred). The backtrace is below. I am running KDE 4.2.1 on openSUSE. This has happened before 4.2.1 and now with 4.2.1. Is it possible there is something in my personal kde settings overriding the patch? Backtrace ******************************* Application: KWin (kwin), signal SIGSEGV [?1034h[Thread debugging using libthread_db enabled] 0x00007f26b1f35cb0 in nanosleep () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7f26b77e8750 (LWP 3505))] Thread 1 (Thread 0x7f26b77e8750 (LWP 3505)): [KCrash Handler] #5 0x00007f26acbd34e0 in KWin::PresentWindowsEffect::setHighlightedWindow (this=0x7dbf50, w=0xbbb390) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.cpp:1270 #6 0x00007f26acbde49f in KWin::PresentWindowsEffect::rearrangeWindows (this=0x7dbf50) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.cpp:487 #7 0x00007f26acbdefd1 in KWin::PresentWindowsEffect::setActive (this=0x7dbf50, active=<value optimized out>, closingTab=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.cpp:1153 #8 0x00007f26acbdf80b in KWin::PresentWindowsEffect::qt_metacall (this=0x7dbf50, _c=QMetaObject::InvokeMetaMethod, _id=234, _a=0x7fffbf821f50) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.h:99 #9 0x00007f26b4f2a9c2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #10 0x00007f26b5611ef7 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4 #11 0x00007f26b5613370 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4 #12 0x00007f26b6b6e9e5 in ?? () from /usr/lib64/libkdeui.so.5 #13 0x00007f26b6b726ce in KGlobalAccel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5 #14 0x00007f26b4f2a9c2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #15 0x00007f26b6b74d24 in ?? () from /usr/lib64/libkdeui.so.5 #16 0x00007f26b6b759c3 in ?? () from /usr/lib64/libkdeui.so.5 #17 0x00007f26b522e804 in ?? () from /usr/lib64/libQtDBus.so.4 #18 0x00007f26b523712f in ?? () from /usr/lib64/libQtDBus.so.4 #19 0x00007f26b4f25058 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4 #20 0x00007f26b5617e8d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #21 0x00007f26b562009a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #22 0x00007f26b6b2cc6b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #23 0x00007f26b4f14f3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #24 0x00007f26b4f15bba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4 #25 0x00007f26b4f3e9d3 in ?? () from /usr/lib64/libQtCore.so.4 #26 0x00007f26aff640db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #27 0x00007f26aff678ad in ?? () from /usr/lib64/libglib-2.0.so.0 #28 0x00007f26aff67a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #29 0x00007f26b4f3e65f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #30 0x00007f26b56aeb1f in ?? () from /usr/lib64/libQtGui.so.4 #31 0x00007f26b4f137d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #32 0x00007f26b4f13b9d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #33 0x00007f26b4f15e84 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #34 0x00007f26b738c7d7 in kdemain (argc=3, argv=0x7fffbf823858) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/main.cpp:519 #35 0x00007f26b1eb2586 in __libc_start_main () from /lib64/libc.so.6 #36 0x0000000000400839 in _start () at ../sysdeps/x86_64/elf/start.S:113
Do you have the latest openSUSE 4.2.1 rpms? rpm -q --changelog kde4-kwin | head references this bug report.
Don't what's happening elsewhere but in openSUSE 11.0 I was advised to make sure that the version of kwin installed changelog had Fri Mar 06 2009 wstephenson@suse.de - Update tarball to include kwin display windows plugin fixes (bko#179537) My installed version showed >rpm -qi kde4-kwin Name : kde4-kwin Relocations: (not relocatable) Version : 4.2.1 Vendor: openSUSE Build Service Release : 214.3 Build Date: Mon Mar 2 07:26:49 2009 Install Date: Fri Mar 6 07:33:07 2009 Build Host: build14 Group : System/GUI/KDE Source RPM: kdebase4-workspace-4.2.1-214.3.src.rpm Size : 5005342 License: GPL v2 or later Signature : DSA/SHA1, Mon Mar 2 07:29:32 2009, Key ID 58d8ff412e1efa87 In the KDE4 Factory repository:- rpm -qi -p kde4-kwin-4.2.1-3.2.i586.rpm Name : kde4-kwin Relocations: (not relocatable) Version : 4.2.1 Vendor: openSUSE Build Service Release : 3.2 Build Date: Sat Mar 7 18:38:06 2009 Install Date: (not installed) Build Host: build20 Group : System/GUI/KDE Source RPM: kdebase4-workspace-4.2.1-3.2.src.rpm Size : 5009438 License: GPL v2 or later Signature : DSA/SHA1, Sat Mar 7 18:39:55 2009, Key ID 58d8ff412e1efa87 Note the release and build dates. I've now --force installed the rpm from Factory and so far I've not had a crash. I suspect that if I run zypper up -t package I'll go back to the 214.3 release and I'll have to re-install 3.2 over it again. Alan
(In reply to comment #18) > Do you have the latest openSUSE 4.2.1 rpms? > > rpm -q --changelog kde4-kwin | head > > references this bug report. Results: * Thu Feb 26 2009 dmueller@suse.de - disable session registration in kdm, the scripts around it do it already (bnc#478661) * Wed Feb 18 2009 dmueller@suse.de - update branch diff * Wed Feb 18 2009 stbinner@suse.de - readd "Recently Installed" and collapsing sub-folders to Kickoff
>rpm -qi kde4-kwin Results: Name : kde4-kwin Relocations: (not relocatable) Version : 4.2.1 Vendor: openSUSE Build Service Release : 214.5 Build Date: Wed 04 Mar 2009 10:23:24 PM EST Install Date: Thu 05 Mar 2009 07:40:15 AM EST Build Host: build23 Group : System/GUI/KDE Source RPM: kdebase4-workspace-4.2.1-214.5.src.rpm Size : 5441918 License: GPL v2 or later Signature : DSA/SHA1, Wed 04 Mar 2009 10:25:37 PM EST, Key ID 58d8ff412e1efa87 URL : http://www.kde.org/ Summary : KDE Window Manager Description : KWin is the window manager of the K desktop environment. Authors: -------- The KDE Team <kde@kde.org> Distribution: KDE:KDE4:Factory:Desktop / openSUSE_11.1
*** Bug 186984 has been marked as a duplicate of this bug. ***
*** Bug 187040 has been marked as a duplicate of this bug. ***
This seems to happen again after recent update: Name : kde4-kwin Relocations: (not relocatable) Version : 4.2.1 Vendor: openSUSE Build Service Release : 211.4 Build Date: Fri 13 Mar 2009 08:24:59 PM CET Install Date: Sat 14 Mar 2009 01:55:53 PM CET Build Host: build24 Group : System/GUI/KDE Source RPM: kdebase4-workspace-4.2.1-211.4.src.rpm Size : 5202754 License: GPL v2 or later Signature : DSA/SHA1, Fri 13 Mar 2009 08:28:38 PM CET, Key ID 58d8ff412e1efa87 URL : http://www.kde.org/ Summary : KDE Window Manager Description : KWin is the window manager of the K desktop environment. Authors: -------- The KDE Team <kde@kde.org> Distribution: KDE:KDE4:Factory:Desktop / openSUSE_11.1
*** Bug 187332 has been marked as a duplicate of this bug. ***
*** Bug 187500 has been marked as a duplicate of this bug. ***