Bug 272704

Summary: kwin crash
Product: [Plasma] kwin Reporter: kubuntuuser <home.mailto.me>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mfraz74+kde
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 kubuntuuser 2011-05-07 15:33:38 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 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
adobe flash video show on you toube

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f02dea81700 (LWP 2197)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f02dea80ad0 in ?? ()
#2  0x00007ffffe53b7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f02de280700 (LWP 2198)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f02fd30b2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f02fd624180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f02fd30b2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f02fd632254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f02f4e66d8c in start_thread (arg=0x7f02de280700) at pthread_create.c:304
#4  0x00007f02fe4ac04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f02fec507a0 (LWP 2189)):
[KCrash Handler]
#6  intel_region_buffer (intel=0x1b00590, region=0x0, flag=2) at intel_regions.c:514
#7  0x00007f02e17ee6c2 in intelClearWithBlit (ctx=0x1b00590, mask=2) at intel_blit.c:262
#8  0x00007f02e17f0d2a in intelClear (ctx=0x1b00590, mask=2) at intel_clear.c:177
#9  0x00007f02fe822ce7 in KWin::SceneOpenGL::paintBackground (this=<value optimized out>, region=<value optimized out>) at ../../kwin/scene_opengl.cpp:921
#10 0x00007f02fe81a88f in KWin::Scene::paintGenericScreen (this=0x1af5cf0, orig_mask=32) at ../../kwin/scene.cpp:188
#11 0x00007f02fe817c7a in KWin::Scene::finalPaintScreen (this=0x1af5cf0, mask=32, region=<value optimized out>, data=<value optimized out>) at ../../kwin/scene.cpp:178
#12 0x00007f02fe835f19 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:173
#13 0x00007f02e077f5a6 in KWin::StartupFeedbackEffect::paintScreen (this=0x2ca0a10, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/startupfeedback/startupfeedback.cpp:166
#14 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#15 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#16 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#17 0x00007f02e072644d in KWin::LogoutEffect::paintScreen (this=0x2e27d40, mask=32, region=..., data=...) at ../../../kwin/effects/logout/logout.cpp:207
#18 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#19 0x00007f02e074157b in KWin::ShadowEffect::paintScreen (this=0x2d8e080, mask=32, region=..., data=...) at ../../../kwin/effects/shadow/shadow.cpp:189
#20 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#21 0x00007f02e0753e68 in KWin::BlurEffect::paintScreen (this=<value optimized out>, mask=32, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:230
#22 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#23 0x00007f02e072afbd in KWin::PresentWindowsEffect::paintScreen (this=0x30481c0, mask=0, region=..., data=...) at ../../../kwin/effects/presentwindows/presentwindows.cpp:205
#24 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#25 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#26 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#27 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#28 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#29 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#30 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#31 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#32 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#33 0x00007f02e0712365 in KWin::DesktopGridEffect::paintScreen (this=0x2c716a0, mask=0, region=..., data=...) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:155
#34 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#35 0x00007f02e070bbad in KWin::BoxSwitchEffect::paintScreen (this=0x2d99400, mask=0, region=..., data=...) at ../../../kwin/effects/boxswitch/boxswitch.cpp:143
#36 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#37 0x00007f02e0762256 in KWin::CubeEffect::paintScreen (this=<value optimized out>, mask=0, region=..., data=...) at ../../../kwin/effects/cube/cube.cpp:698
#38 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#39 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#40 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#41 0x00007f02e076bfa4 in KWin::CubeSlideEffect::paintScreen (this=<value optimized out>, mask=0, region=..., data=...) at ../../../kwin/effects/cube/cubeslide.cpp:111
#42 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#43 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#44 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#45 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#46 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#47 0x00007f02e075ad86 in KWin::CoverSwitchEffect::paintScreen (this=0x3054bf0, mask=0, region=..., data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:126
#48 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#49 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#50 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#51 0x00007f02fc8f5a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#52 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#53 0x00007f02e075139b in KWin::ZoomEffect::paintScreen (this=0x2e27c90, mask=0, region=..., data=...) at ../../../kwin/effects/zoom/zoom.cpp:341
#54 0x00007f02fe835fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c2a7d0, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#55 0x00007f02fe81a0af in KWin::Scene::paintScreen (this=0x1af5cf0, mask=0x7ffffe495c8c, region=0x7ffffe495d50) at ../../kwin/scene.cpp:137
#56 0x00007f02fe82def3 in KWin::SceneOpenGL::paint (this=0x1af5cf0, damage=..., toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:772
#57 0x00007f02fe815396 in KWin::Workspace::performCompositing (this=0x1e21d90) at ../../kwin/composite.cpp:448
#58 0x00007f02fa86e1c9 in QObject::event (this=0x1e21d90, e=<value optimized out>) at kernel/qobject.cpp:1190
#59 0x00007f02f9c1b9e4 in QApplicationPrivate::notify_helper (this=0x19cb1a0, receiver=0x1e21d90, e=0x7ffffe4964e0) at kernel/qapplication.cpp:4462
#60 0x00007f02f9c203aa in QApplication::notify (this=<value optimized out>, receiver=0x1e21d90, e=0x7ffffe4964e0) at kernel/qapplication.cpp:4341
#61 0x00007f02fdfa7866 in KApplication::notify (this=0x7ffffe4968e0, receiver=0x1e21d90, event=0x7ffffe4964e0) at ../../kdeui/kernel/kapplication.cpp:311
#62 0x00007f02fa85a49c in QCoreApplication::notifyInternal (this=0x7ffffe4968e0, receiver=0x1e21d90, event=0x7ffffe4964e0) at kernel/qcoreapplication.cpp:731
#63 0x00007f02fa887f12 in sendEvent (this=0x19cc6c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QTimerInfoList::activateTimers (this=0x19cc6c0) at kernel/qeventdispatcher_unix.cpp:604
#65 0x00007f02fa88805b in QEventDispatcherUNIX::processEvents (this=0x1970340, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#66 0x00007f02f9cc3c0c in QEventDispatcherX11::processEvents (this=0x1970340, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#67 0x00007f02fa859882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007f02fa859abc in QEventLoop::exec (this=0x7ffffe496820, flags=...) at kernel/qeventloop.cpp:201
#69 0x00007f02fa85decb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#70 0x00007f02fe7b31ec in kdemain (argc=<value optimized out>, argv=0x7ffffe496f78) at ../../kwin/main.cpp:542
#71 0x00007f02fe3e4eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=3, ubp_av=0x7ffffe496f78, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffffe496f68) at libc-start.c:226
#72 0x0000000000400669 in _start ()

Possible duplicates by query: bug 272699, bug 272696, bug 272690, bug 272646, bug 272524.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-05-07 15:39:48 UTC
driver bug

*** This bug has been marked as a duplicate of bug 252817 ***
Comment 2 kubuntuuser 2011-05-07 15:46:23 UTC
driver bug ? Kwin or Intel ?
with gnome it works fine ...

Am 07.05.2011 15:39, schrieb Thomas Lübking :
> driver bug
Comment 3 Thomas Lübking 2011-05-07 15:55:14 UTC
known intel/mesa (OpenGL) bug - check the dupe
Comment 4 kubuntuuser 2011-05-07 15:59:57 UTC
libdrm-intel1                         2.4.23-1ubuntu6                            xserver-xorg-video-intel              2:2.14.0-4ubuntu7.1 

ok, you can close :-)

i open a bug report by ubuntu...
Comment 5 Martin Flöser 2011-05-07 16:10:06 UTC
> i open a bug report by ubuntu...
please don't. This is a known issue. Also ubuntu devs know about it - there is nothing we can do 
at the moment, except to be wait.
Comment 6 kubuntuuser 2011-05-07 16:27:22 UTC
Ok, i do not, you can close this case, thanks !
Comment 7 Mark Fraser 2011-05-11 10:16:27 UTC
Created attachment 59892 [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:
I was testing some OpenGL screen savers and clicked the mouse to exit.
- Unusual behavior I noticed:

KWin crashed and the whole desktop restarted

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