Bug 185856 - Crash on "present windows" action
Summary: Crash on "present windows" action
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-01 09:10 UTC by Einar Lielmanis
Modified: 2009-03-02 08:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Einar Lielmanis 2009-03-01 09:10:32 UTC
Version:           trunk (using Devel)
OS:                Linux
Installed from:    Compiled sources

Moved mouse to the left of the screen edge, triggering the default action, "present windows", which immediately crashed. 

Application: KWin (kwin), signal SIGABRT
0x00007f421df00fd0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7f42235ab790 (LWP 25639)):
[KCrash Handler]
#5  0x00007f421de940c5 in raise () from /lib/libc.so.6
#6  0x00007f421de955e3 in abort () from /lib/libc.so.6
#7  0x00007f421de8d0e9 in __assert_fail () from /lib/libc.so.6
#8  0x00007f42106fb014 in KWin::PresentWindowsEffect::prePaintWindow (this=0x29c9ed0, w=0x2824e00, data=@0x7fff2b6f0db0, time=97)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/presentwindows/presentwindows.cpp:176
#9  0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#10 0x00007f42106e4838 in KWin::DialogParentEffect::prePaintWindow (this=0x25440a0, w=0x2824e00, data=@0x7fff2b6f0db0, time=97)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/dialogparent/dialogparent.cpp:55
#11 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#12 0x00007f42106e7af4 in KWin::FadeEffect::prePaintWindow (this=0x2872a20, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/fade/fade.cpp:81
#13 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#14 0x00007f42106e8ccc in KWin::FadeDesktopEffect::prePaintWindow (this=0x287e770, w=0x2824e00, data=@0x7fff2b6f0db0, time=97)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/fadedesktop/fadedesktop.cpp:77
#15 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#16 0x00007f42106d8fef in KWin::BoxSwitchEffect::prePaintWindow (this=0x26cfac0, w=0x2824e00, data=@0x7fff2b6f0db0, time=97)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/boxswitch/boxswitch.cpp:104
#17 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#18 0x00007f42106f0ffc in KWin::TranslucencyEffect::prePaintWindow (this=0x2ac7c50, w=0x2824e00, data=@0x7fff2b6f0db0, time=97)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/translucency/translucency.cpp:96
#19 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#20 0x00007f42106f1e7b in KWin::MinimizeAnimationEffect::prePaintWindow (this=0x2672080, w=0x2824e00, data=@0x7fff2b6f0db0, time=97)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/minimizeanimation/minimizeanimation.cpp:72
#21 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#22 0x00007f42106ebb38 in KWin::LoginEffect::prePaintWindow (this=0x2972320, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/login/login.cpp:62
#23 0x00007f42232977e0 in KWin::EffectsHandlerImpl::prePaintWindow (this=0x282ab90, w=0x2824e00, data=@0x7fff2b6f0db0, time=97) at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:143
#24 0x00007f4223282b38 in KWin::Scene::paintGenericScreen (this=0x27abe00, orig_mask=32) at /home/e/kde/src/KDE/kdebase/workspace/kwin/scene.cpp:195
#25 0x00007f422328d91f in KWin::SceneOpenGL::paintGenericScreen (this=0x27abe00, mask=32, data={xScale = 1, yScale = 1, zScale = 1, xTranslate = 0, yTranslate = 0, zTranslate = 0, rotation = 0x0})
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/scene_opengl.cpp:878
#26 0x00007f4223281e21 in KWin::Scene::finalPaintScreen (this=0x27abe00, mask=32, region=
        {d = 0x7fff2b6f1060, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/scene.cpp:174
#27 0x00007f4223297b84 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1140, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:126
#28 0x00007f42106ec0ac in KWin::LogoutEffect::paintScreen (this=0x2accde0, mask=32, region=
        {d = 0x7fff2b6f11a0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/logout/logout.cpp:124
#29 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1210, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#30 0x00007f42107062ca in KWin::ShadowEffect::paintScreen (this=0x2839160, mask=32, region=
        {d = 0x7fff2b6f1260, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/shadow/shadow.cpp:272
#31 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f12c0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#32 0x00007f42106faef8 in KWin::PresentWindowsEffect::paintScreen (this=0x29c9ed0, mask=32, region=
        {d = 0x7fff2b6f1320, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/presentwindows/presentwindows.cpp:125
#33 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1380, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#34 0x00007f4222da5b04 in KWin::Effect::paintScreen (this=0x25440a0, mask=32, region={d = 0x7fff2b6f13d0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, 
    data=@0x7fff2b6f1990) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp:206
#35 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1430, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#36 0x00007f4222da5b04 in KWin::Effect::paintScreen (this=0x2872a20, mask=32, region={d = 0x7fff2b6f1480, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, 
    data=@0x7fff2b6f1990) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp:206
#37 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f14e0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#38 0x00007f4222da5b04 in KWin::Effect::paintScreen (this=0x287e780, mask=32, region={d = 0x7fff2b6f1530, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, 
    data=@0x7fff2b6f1990) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp:206
#39 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1610, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#40 0x00007f42106d88fe in KWin::BoxSwitchEffect::paintScreen (this=0x26cfac0, mask=32, region=
        {d = 0x7fff2b6f1700, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects/boxswitch/boxswitch.cpp:123
#41 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1760, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#42 0x00007f4222da5b04 in KWin::Effect::paintScreen (this=0x2ac7c50, mask=32, region={d = 0x7fff2b6f17b0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, 
    data=@0x7fff2b6f1990) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp:206
#43 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1810, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#44 0x00007f4222da5b04 in KWin::Effect::paintScreen (this=0x2672080, mask=32, region={d = 0x7fff2b6f1860, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, 
    data=@0x7fff2b6f1990) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp:206
#45 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f18c0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#46 0x00007f4222da5b04 in KWin::Effect::paintScreen (this=0x2972320, mask=32, region={d = 0x7fff2b6f1910, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, 
    data=@0x7fff2b6f1990) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp:206
#47 0x00007f4223297b41 in KWin::EffectsHandlerImpl::paintScreen (this=0x282ab90, mask=32, region=
        {d = 0x7fff2b6f1a50, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, data=@0x7fff2b6f1990)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/effects.cpp:122
#48 0x00007f4223283a1f in KWin::Scene::paintScreen (this=0x27abe00, mask=0x7fff2b6f1ae4, region=0x7fff2b6f1cc0) at /home/e/kde/src/KDE/kdebase/workspace/kwin/scene.cpp:134
#49 0x00007f422328ea66 in KWin::SceneOpenGL::paint (this=0x27abe00, damage={d = 0x7fff2b6f1cc0, static shared_empty = {ref = {_q_value = 514}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, toplevels=
        {{p = {static shared_null = {ref = {_q_value = 5206}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff2b6f1cb0}, d = 0x7fff2b6f1cb0}})
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/scene_opengl.cpp:746
#50 0x00007f422327cba5 in KWin::Workspace::performCompositing (this=0x256cdc0) at /home/e/kde/src/KDE/kdebase/workspace/kwin/composite.cpp:391
#51 0x00007f4223212d9d in KWin::Workspace::qt_metacall (this=0x256cdc0, _c=QMetaObject::InvokeMetaMethod, _id=142, _a=0x7fff2b6f1dc0) at /home/e/kde/build/kdebase/workspace/kwin/workspace.moc:450
#52 0x00007f4220b9560a in QMetaObject::activate (sender=0x256d1e8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3061
#53 0x00007f4220b969f3 in QMetaObject::activate (sender=0x256d1e8, m=0x7f4220e8d8c0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3136
#54 0x00007f4220bd159c in QTimer::timeout (this=0x256d1e8) at .moc/debug-shared/moc_qtimer.cpp:128
#55 0x00007f4220b9dfbe in QTimer::timerEvent (this=0x256d1e8, e=0x7fff2b6f2750) at kernel/qtimer.cpp:256
#56 0x00007f4220b933b4 in QObject::event (this=0x256d1e8, e=0x7fff2b6f2750) at kernel/qobject.cpp:1077
#57 0x00007f42212fce73 in QApplicationPrivate::notify_helper (this=0x23f47b0, receiver=0x256d1e8, e=0x7fff2b6f2750) at kernel/qapplication.cpp:4051
#58 0x00007f42212fd1d3 in QApplication::notify (this=0x7fff2b6f2b70, receiver=0x256d1e8, e=0x7fff2b6f2750) at kernel/qapplication.cpp:3598
#59 0x00007f422293c9a7 in KApplication::notify (this=0x7fff2b6f2b70, receiver=0x256d1e8, event=0x7fff2b6f2750) at /home/e/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#60 0x00007f4223232126 in KWin::Application::notify (this=0x7fff2b6f2b70, o=0x256d1e8, e=0x7fff2b6f2750) at /home/e/kde/src/KDE/kdebase/workspace/kwin/main.cpp:368
#61 0x00007f4220b7f303 in QCoreApplication::notifyInternal (this=0x7fff2b6f2b70, receiver=0x256d1e8, event=0x7fff2b6f2750) at kernel/qcoreapplication.cpp:593
#62 0x00007f42212f9d65 in QCoreApplication::sendEvent (receiver=0x256d1e8, event=0x7fff2b6f2750) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#63 0x00007f4220bb04a9 in QTimerInfoList::activateTimers (this=0x23f7f10) at kernel/qeventdispatcher_unix.cpp:567
#64 0x00007f4220badc92 in timerSourceDispatch (source=0x23f7eb0) at kernel/qeventdispatcher_glib.cpp:159
#65 0x00007f421ba5caa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0x00007f421ba6021d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#67 0x00007f421ba603db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0x00007f4220baceee in QEventDispatcherGlib::processEvents (this=0x23f49d0, flags={i = 728705456}) at kernel/qeventdispatcher_glib.cpp:318
#69 0x00007f42213a400b in QGuiEventDispatcherGlib::processEvents (this=0x23f49d0, flags={i = 728705552}) at kernel/qguieventdispatcher_glib.cpp:197
#70 0x00007f4220b7c587 in QEventLoop::processEvents (this=0x7fff2b6f2ad0, flags={i = 728705648}) at kernel/qeventloop.cpp:144
#71 0x00007f4220b7c794 in QEventLoop::exec (this=0x7fff2b6f2ad0, flags={i = 728705760}) at kernel/qeventloop.cpp:191
#72 0x00007f4220b7fb4e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:875
#73 0x00007f42212fcbd0 in QApplication::exec () at kernel/qapplication.cpp:3526
#74 0x00007f4223233929 in kdemain (argc=3, argv=0x7fff2b6f3078) at /home/e/kde/src/KDE/kdebase/workspace/kwin/main.cpp:538
#75 0x00000000004008f7 in main (argc=3, argv=0x7fff2b6f3078) at /home/e/kde/build/kdebase/workspace/kwin/kwin_dummy.cpp:3
Comment 1 lucas 2009-03-02 08:49:04 UTC
SVN commit 934022 by lmurray:

Correctly handle windows that were closed but not yet deleted when the
present windows desktop effect is activated.
CCBUG: 185127
CCBUG: 185239
BUG: 185856

 M  +3 -8      presentwindows.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=934022