Bug 267785

Summary: kwin crashed on closing a full screen wine app
Product: [Plasma] kwin Reporter: Con Kolivas <kde>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Con Kolivas 2011-03-06 12:50:44 UTC
Application: kwin (4.6.1 (4.6.1))
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.37-ck1 x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I was running a full screen wine application zoomed in (800x600) and as it closed the screen did not resize back to its normal size and kwin crashed.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0824a877a0 (LWP 13572))]

Thread 2 (Thread 0x7f0809ef8700 (LWP 13580)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f08230fb334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0823406160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f08230fb369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f0823414234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f0821af5ae3 in ?? () from /usr/lib/libGL.so.1
#4  0x00007f081ac96971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007f08242e092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0824a877a0 (LWP 13572)):
[KCrash Handler]
#6  KWin::WindowPaintData::WindowPaintData (this=0x7fff0d6a6370, w=0xffffffff00000000) at ../../../kwin/lib/kwineffects.cpp:76
#7  0x00007f0809f7936b in KWin::CoverSwitchEffect::paintFrontWindow (this=0x1482b90, frontWindow=0xffffffff00000000, width=800, leftWindows=3, rightWindows=3, reflectedWindow=false) at ../../../kwin/effects/coverswitch/coverswitch.cpp:789
#8  0x00007f0809f79a33 in KWin::CoverSwitchEffect::paintScene (this=0x1482b90, frontWindow=<value optimized out>, leftWindows=..., rightWindows=..., reflectedWindows=<value optimized out>) at ../../../kwin/effects/coverswitch/coverswitch.cpp:463
#9  0x00007f0809f7a0d3 in KWin::CoverSwitchEffect::paintScreen (this=0x1482b90, mask=<value optimized out>, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/effects/coverswitch/coverswitch.cpp:313
#10 0x00007f08246642be in KWin::EffectsHandlerImpl::paintScreen (this=0x93d820, mask=32, region=) at ../../kwin/effects.cpp:169
#11 0x00007f08226e0e0f in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#12 0x00007f08246642be in KWin::EffectsHandlerImpl::paintScreen (this=0x93d820, mask=32, region=) at ../../kwin/effects.cpp:169
#13 0x00007f08226e0e0f in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#14 0x00007f08246642be in KWin::EffectsHandlerImpl::paintScreen (this=0x93d820, mask=32, region=) at ../../kwin/effects.cpp:169
#15 0x00007f08226e0e0f in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#16 0x00007f08246642be in KWin::EffectsHandlerImpl::paintScreen (this=0x93d820, mask=32, region=) at ../../kwin/effects.cpp:169
#17 0x00007f0809f6c8f3 in KWin::ThumbnailAsideEffect::paintScreen (this=0xcc36d0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/thumbnailaside/thumbnailaside.cpp:56
#18 0x00007f08246642be in KWin::EffectsHandlerImpl::paintScreen (this=0x93d820, mask=32, region=) at ../../kwin/effects.cpp:169
#19 0x00007f0809fa3ed5 in KWin::TrackMouseEffect::paintScreen (this=0x9748a00, mask=32, region=) at ../../../kwin/effects/trackmouse/trackmouse.cpp:112
#20 0x00007f08246642be in KWin::EffectsHandlerImpl::paintScreen (this=0x93d820, mask=32, region=) at ../../kwin/effects.cpp:169
#21 0x00007f08246452d5 in KWin::Scene::paintScreen (this=0xa6d6240, mask=0x7fff0d6a6cdc, region=0x7fff0d6a6dc0) at ../../kwin/scene.cpp:137
#22 0x00007f0824659ef0 in KWin::SceneOpenGL::paint (this=0xa6d6240, damage=<value optimized out>, toplevels=) at ../../kwin/scene_opengl.cpp:772
#23 0x00007f08246407cf in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:448
#24 0x00007f08205a88f9 in QObject::event (this=0x638300, e=0xffffffff00000000) at kernel/qobject.cpp:1183
#25 0x00007f081f8fdfdc in QApplicationPrivate::notify_helper (this=0x671900, receiver=0x638300, e=0x7fff0d6a75b0) at kernel/qapplication.cpp:4396
#26 0x00007f081f903aed in QApplication::notify (this=0x7fff0d6a79e0, receiver=0x638300, e=0x7fff0d6a75b0) at kernel/qapplication.cpp:4277
#27 0x00007f0823dc52c6 in KApplication::notify (this=0x7fff0d6a79e0, receiver=0x638300, event=0x7fff0d6a75b0) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f0820596cdc in QCoreApplication::notifyInternal (this=0x7fff0d6a79e0, receiver=0x638300, event=0x7fff0d6a75b0) at kernel/qcoreapplication.cpp:732
#29 0x00007f08205c66f2 in sendEvent (this=0x672310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x672310) at kernel/qeventdispatcher_unix.cpp:602
#31 0x00007f08205c682c in QEventDispatcherUNIX::processEvents (this=0x64ad10, flags=) at kernel/qeventdispatcher_unix.cpp:923
#32 0x00007f081f9b1c2f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:152
#33 0x00007f0820595a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f0820595dec in QEventLoop::exec (this=0x7fff0d6a78e0, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f0820599ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#36 0x00007f08245da643 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:542
#37 0x00007f0824218d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff0d6a8068) at libc-start.c:226
#38 0x0000000000400669 in _start ()

Possible duplicates by query: bug 265057, bug 264087, bug 255467, bug 242134.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-03-06 14:30:06 UTC
the backtrace says you were using alt+tab & the coverswitch effect at that time.
confirmed?

most likely a dupe of bug #240155 - and the window pointer is clearly invalid
Comment 2 Con Kolivas 2011-03-06 14:32:51 UTC
Yes, alt-tab was in use just before this crash. I alt-tabbed and closed the app, and that's when it crashed.
Comment 3 Martin Flöser 2011-03-18 19:16:54 UTC

*** This bug has been marked as a duplicate of bug 240155 ***