Bug 276797

Summary: After exitting out of XBMC, KWin crashes
Product: [Plasma] kwin Reporter: Kyle <theif519>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: keller.diego
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Kyle 2011-06-30 04:57:37 UTC
Application: kwin (4.6.2 (4.6.2))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: I was using the XBMC Media Center, watching Pokemon *Not ashamed* off of the Youtube Video Add-On, when after I closed it out, KWin crashed. Not a surprise though, it's very resource intensive, although more lightweight than Windows Media Center, and when I used it on Arch Linux it caused my entire laptop to crash, causing me to kill Xorg. 

TL;DR: Was using XBMC to watch Youtube videos and upon exitting it crashed.

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

Thread 3 (Thread 0xad588b70 (LWP 4395)):
#0  0xb3852d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb64e2dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb65b0525 in updateCurrentTime (this=0xa4ae1e0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:339
#4  QEventDispatcherUNIXPrivate::doSelect (this=0xa4ae1e0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:182
#5  0xb65b1326 in QEventDispatcherUNIX::processEvents (this=0xa729738, flags=...) at kernel/qeventdispatcher_unix.cpp:919
#6  0xb6580289 in QEventLoop::processEvents (this=0xad588280, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6580522 in QEventLoop::exec (this=0xad588280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb648a2a0 in QThread::exec (this=0xa73a960) at thread/qthread.cpp:492
#9  0xb6561fdb in QInotifyFileSystemWatcherEngine::run (this=0xa73a960) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb648cda2 in QThreadPrivate::start (arg=0xa73a960) at thread/qthread_unix.cpp:320
#11 0xb3920e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb75eb73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xacbffb70 (LWP 4396)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0xb392548c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75f93fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb6d77817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb6e8b1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb6d77851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb6e8b1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb3920e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb75eb73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb2909720 (LWP 4387)):
[KCrash Handler]
#7  intel_region_buffer (intel=0xa0f4ec0, region=0x0, flag=2) at intel_regions.c:514
#8  0xafc82ce2 in intelClearWithBlit (ctx=0xa0f4ec0, mask=2) at intel_blit.c:262
#9  0xafc854c0 in intelClear (ctx=0xa0f4ec0, mask=2) at intel_clear.c:177
#10 0xafaaf512 in _mesa_Clear (mask=<value optimized out>) at main/clear.c:241
#11 0xb775e84b in KWin::SceneOpenGL::paintBackground (this=0xa125558, region=...) at ../../kwin/scene_opengl.cpp:921
#12 0xb7755562 in KWin::Scene::paintGenericScreen (this=0xa125558, orig_mask=32) at ../../kwin/scene.cpp:188
#13 0xb775ea31 in KWin::SceneOpenGL::paintGenericScreen (this=0xa125558, mask=32, data=...) at ../../kwin/scene_opengl.cpp:909
#14 0xb77527c0 in KWin::Scene::finalPaintScreen (this=0xa125558, mask=32, region=..., data=...) at ../../kwin/scene.cpp:178
#15 0xb77740fc in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:173
#16 0xae7fd0e9 in KWin::StartupFeedbackEffect::paintScreen (this=0xa5623d8, mask=32, region=..., data=...) at ../../../kwin/effects/startupfeedback/startupfeedback.cpp:166
#17 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#18 0xb6b77256 in KWin::Effect::paintScreen (this=0xa53a400, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#19 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#20 0xae79f07f in KWin::LogoutEffect::paintScreen (this=0xa4fa1f0, mask=32, region=..., data=...) at ../../../kwin/effects/logout/logout.cpp:207
#21 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#22 0xae7bab10 in KWin::ShadowEffect::paintScreen (this=0xa486ae8, mask=32, region=..., data=...) at ../../../kwin/effects/shadow/shadow.cpp:189
#23 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#24 0xae7cf013 in KWin::BlurEffect::paintScreen (this=0xa484be8, mask=32, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:230
#25 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#26 0xae7a3e6f in KWin::PresentWindowsEffect::paintScreen (this=0xa483a78, mask=32, region=..., data=...) at ../../../kwin/effects/presentwindows/presentwindows.cpp:205
#27 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#28 0xb6b77256 in KWin::Effect::paintScreen (this=0xa4f9de8, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#29 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#30 0xb6b77256 in KWin::Effect::paintScreen (this=0xa548900, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#31 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#32 0xb6b77256 in KWin::Effect::paintScreen (this=0xa650970, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#33 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#34 0xb6b77256 in KWin::Effect::paintScreen (this=0xa4d9f60, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#35 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#36 0xae78a7e9 in KWin::DesktopGridEffect::paintScreen (this=0xa664f40, mask=32, region=..., data=...) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:155
#37 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#38 0xae7c1ce2 in KWin::SlideEffect::paintScreen (this=0xa5f1150, mask=32, region=..., data=...) at ../../../kwin/effects/slide/slide.cpp:86
#39 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#40 0xae783799 in KWin::BoxSwitchEffect::paintScreen (this=0xa607670, mask=32, region=..., data=...) at ../../../kwin/effects/boxswitch/boxswitch.cpp:143
#41 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#42 0xae7ddbcc in KWin::CubeEffect::paintScreen (this=0xa51c740, mask=32, region=..., data=...) at ../../../kwin/effects/cube/cube.cpp:698
#43 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#44 0xb6b77256 in KWin::Effect::paintScreen (this=0xa50e530, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#45 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#46 0xb6b77256 in KWin::Effect::paintScreen (this=0xa5c1f98, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#47 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#48 0xb6b77256 in KWin::Effect::paintScreen (this=0xa4ebe50, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#49 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#50 0xae7d6a0c in KWin::CoverSwitchEffect::paintScreen (this=0xa682758, mask=32, region=..., data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:126
#51 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#52 0xb6b77256 in KWin::Effect::paintScreen (this=0xa487738, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#53 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#54 0xb6b77256 in KWin::Effect::paintScreen (this=0xa5010c0, mask=32, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#55 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#56 0xae7cc0c1 in KWin::ZoomEffect::paintScreen (this=0xa51ced0, mask=32, region=..., data=...) at ../../../kwin/effects/zoom/zoom.cpp:341
#57 0xb7774172 in KWin::EffectsHandlerImpl::paintScreen (this=0xa41d0f8, mask=32, region=..., data=...) at ../../kwin/effects.cpp:169
#58 0xb775398c in KWin::Scene::paintScreen (this=0xa125558, mask=0xbfe7ff78, region=0xbfe80000) at ../../kwin/scene.cpp:137
#59 0xb776a962 in KWin::SceneOpenGL::paint (this=0xa125558, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:772
#60 0xb774f886 in KWin::Workspace::performCompositing (this=0xa424df8) at ../../kwin/composite.cpp:448
#61 0xb6596214 in QObject::event (this=0xa424df8, e=0xbfe8052c) at kernel/qobject.cpp:1190
#62 0xb5adad24 in QApplicationPrivate::notify_helper (this=0xa059020, receiver=0xa424df8, e=0xbfe8052c) at kernel/qapplication.cpp:4462
#63 0xb5adf8ce in QApplication::notify (this=0xbfe80844, receiver=0xa424df8, e=0xbfe8052c) at kernel/qapplication.cpp:3862
#64 0xb73513ca in KApplication::notify (this=0xbfe80844, receiver=0xa424df8, event=0xbfe8052c) at ../../kdeui/kernel/kapplication.cpp:311
#65 0xb76deabf in KWin::Application::notify (this=0xbfe80844, o=0xa424df8, e=0xbfe8052c) at ../../kwin/main.cpp:376
#66 0xb65810bb in QCoreApplication::notifyInternal (this=0xbfe80844, receiver=0xa424df8, event=0xbfe8052c) at kernel/qcoreapplication.cpp:731
#67 0xb65b11e4 in sendEvent (this=0xa05b068) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#68 QTimerInfoList::activateTimers (this=0xa05b068) at kernel/qeventdispatcher_unix.cpp:604
#69 0xb65b1338 in QEventDispatcherUNIX::processEvents (this=0xa018aa8, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#70 0xb5b8f7ea in QEventDispatcherX11::processEvents (this=0xa018aa8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#71 0xb6580289 in QEventLoop::processEvents (this=0xbfe80784, flags=...) at kernel/qeventloop.cpp:149
#72 0xb6580522 in QEventLoop::exec (this=0xbfe80784, flags=...) at kernel/qeventloop.cpp:201
#73 0xb6584ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#74 0xb5ad88e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#75 0xb76e15b2 in kdemain (argc=3, argv=0xbfe80ac4) at ../../kwin/main.cpp:542
#76 0x080485bb in main (argc=3, argv=0xbfe80ac4) at kwin_dummy.cpp:3

Possible duplicates by query: bug 276695, bug 276588, bug 276484, bug 276152, bug 275741.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-06-30 10:56:27 UTC
driver bug, to workaround either really suspend compositing before going
fullscreen (shift+alt+f12) or disable suspension for fullscreen window (yes,
sounds weird ;-) in "kcmshell4 kwincompositing" (3rd tab)

*** This bug has been marked as a duplicate of bug 252817 ***
Comment 2 dkeller 2011-07-07 01:06:05 UTC
Created attachment 61661 [details]
New crash information added by DrKonqi

kwin (4.6.2 (4.6.2)) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Using Boxee, which is derived from XBMC.
Every time i left the boxee application this error is showed.

-- Backtrace (Reduced):
#7  intel_region_buffer (intel=0x87c3430, region=0x0, flag=2) at intel_regions.c:514
#8  0xafa6fce2 in intelClearWithBlit (ctx=0x87c3430, mask=2) at intel_blit.c:262
#9  0xafa724c0 in intelClear (ctx=0x87c3430, mask=2) at intel_clear.c:177
#10 0xaf89c512 in _mesa_Clear (mask=<value optimized out>) at main/clear.c:241
#11 0xb786d84b in KWin::SceneOpenGL::paintBackground (this=0x87f4058, region=...) at ../../kwin/scene_opengl.cpp:921