Bug 277623 - Kwin crashed after quits fullscreen game
Summary: Kwin crashed after quits fullscreen game
Status: RESOLVED DUPLICATE of bug 252817
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 13:33 UTC by Jan Krings
Modified: 2011-07-12 16:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Krings 2011-07-12 13:33:11 UTC
Application: kwin (4.6.5 (4.6.5) "release 8")
KDE Platform Version: 4.6.5 (4.6.5) "release 8"
Qt Version: 4.7.3
Operating System: Linux 2.6.39.3-1-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

I played Armagetron in fullscreen mode. If I close the game. Kwin crashed.

I use Kernel 2.6.39 and Mesa 7.11 RC!!! I dont know if it is a bug in Mesa or in KDE.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fb8b3b02700 (LWP 8968)):
#0  0x00007fb8c984038c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb8cc644004 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb8cc95d180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb8cc644039 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb8cc96b254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb8c983ba3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb8cd7d867d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb8cdf75760 (LWP 8963)):
[KCrash Handler]
#6  intel_renderbuffer_tile_offsets (irb=0x1c05ba0, tile_x=0x7fff8515eefc, tile_y=0x7fff8515eef8) at intel_fbo.c:667
#7  0x00007fb8b59f6ce7 in brw_update_renderbuffer_surface (brw=0x7f08b0) at brw_wm_surface_state.c:480
#8  upload_wm_surfaces (brw=0x7f08b0) at brw_wm_surface_state.c:588
#9  0x00007fb8b59e2027 in brw_upload_state (brw=0x7f08b0) at brw_state_upload.c:552
#10 0x00007fb8b59d02eb in brw_try_draw_prims (ctx=0x7f08b0, arrays=0x814f28, prim=0x7fff8515f040, nr_prims=1, ib=0x0, index_bounds_valid=<value optimized out>, min_index=0, max_index=3) at brw_draw.c:370
#11 brw_draw_prims (ctx=0x7f08b0, arrays=0x814f28, prim=0x7fff8515f040, nr_prims=1, ib=0x0, index_bounds_valid=<value optimized out>, min_index=0, max_index=3) at brw_draw.c:431
#12 0x00007fb8b5abfd2b in vbo_draw_arrays (ctx=0x7f08b0, mode=6, start=0, count=<value optimized out>, numInstances=1) at vbo/vbo_exec_array.c:640
#13 0x00007fb8b5b42476 in _mesa_meta_Clear (ctx=0x7f08b0, buffers=<value optimized out>) at drivers/common/meta.c:1587
#14 0x00007fb8cdb3d9a5 in KWin::SceneOpenGL::paintBackground (this=<value optimized out>, region=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/scene_opengl.cpp:921
#15 0x00007fb8cdb35116 in KWin::Scene::paintGenericScreen (this=0x1b6c140, orig_mask=40) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/scene.cpp:188
#16 0x00007fb8cdb3226a in KWin::Scene::finalPaintScreen (this=0x1b6c140, mask=40, region=<value optimized out>, data=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/scene.cpp:178
#17 0x00007fb8cdb4f70f in KWin::EffectsHandlerImpl::paintScreen (this=<value optimized out>, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:173
#18 0x00007fb8b508c82b in KWin::StartupFeedbackEffect::paintScreen (this=0x1d59c50, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/startupfeedback/startupfeedback.cpp:166
#19 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#20 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#21 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#22 0x00007fb8b503354f in KWin::LogoutEffect::paintScreen (this=0x1c45f10, mask=40, region=..., data=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/logout/logout.cpp:207
#23 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#24 0x00007fb8b504e182 in KWin::ShadowEffect::paintScreen (this=0x1c061d0, mask=40, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/shadow/shadow.cpp:189
#25 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=40, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#26 0x00007fb8b5060f8e in KWin::BlurEffect::paintScreen (this=<value optimized out>, mask=40, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/blur/blur.cpp:230
#27 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#28 0x00007fb8b5037fd2 in KWin::PresentWindowsEffect::paintScreen (this=0x1b5c390, mask=8, region=..., data=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/presentwindows/presentwindows.cpp:205
#29 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#30 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#31 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#32 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#33 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#34 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#35 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#36 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#37 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#38 0x00007fb8b501e6c3 in KWin::DesktopGridEffect::paintScreen (this=<value optimized out>, mask=8, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/desktopgrid/desktopgrid.cpp:156
#39 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#40 0x00007fb8b5017ee2 in KWin::BoxSwitchEffect::paintScreen (this=0x1d3ddc0, mask=8, region=..., data=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/boxswitch/boxswitch.cpp:143
#41 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#42 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#43 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#44 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#45 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#46 0x00007fb8b5077e02 in KWin::CubeSlideEffect::paintScreen (this=<value optimized out>, mask=8, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/cube/cubeslide.cpp:111
#47 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#48 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#49 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#50 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#51 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#52 0x00007fb8b5067e24 in KWin::CoverSwitchEffect::paintScreen (this=0x1cffc00, mask=8, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/coverswitch/coverswitch.cpp:126
#53 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#54 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#55 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#56 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#57 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#58 0x00007fb8cbc31f7f in KWin::Effect::paintScreen (this=<value optimized out>, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwineffects.cpp:227
#59 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#60 0x00007fb8b505e60f in KWin::ZoomEffect::paintScreen (this=0x1904200, mask=8, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/zoom/zoom.cpp:341
#61 0x00007fb8cdb4f79c in KWin::EffectsHandlerImpl::paintScreen (this=0x7eeeb0, mask=8, region=<value optimized out>, data=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:169
#62 0x00007fb8cdb33325 in KWin::Scene::paintScreen (this=0x1b6c140, mask=0x7fff85160e0c, region=0x7fff85160f00) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/scene.cpp:137
#63 0x00007fb8cdb47869 in KWin::SceneOpenGL::paint (this=0x1b6c140, damage=..., toplevels=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/scene_opengl.cpp:772
#64 0x00007fb8cdb2fa47 in KWin::Workspace::performCompositing (this=0xa857e0) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/composite.cpp:448
#65 0x00007fb8c9bc90a9 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#66 0x00007fb8c8d60144 in QApplicationPrivate::notify_helper (this=0x646b00, receiver=0xa857e0, e=0x7fff85161740) at kernel/qapplication.cpp:4462
#67 0x00007fb8c8d686fa in QApplication::notify (this=<value optimized out>, receiver=0xa857e0, e=0x7fff85161740) at kernel/qapplication.cpp:4341
#68 0x00007fb8cd250346 in KApplication::notify (this=0x7fff85161c20, receiver=0xa857e0, event=0x7fff85161740) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#69 0x00007fb8c9bb547c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#70 0x00007fb8c9be2df8 in ?? () from /usr/lib64/libQtCore.so.4
#71 0x00007fb8c9be3500 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#72 0x00007fb8c8e069cc in QEventDispatcherX11::processEvents (this=0x612390, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#73 0x00007fb8c9bb48d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#74 0x00007fb8c9bb4ae5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#75 0x00007fb8c9bb8f2b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#76 0x00007fb8cdacdfb5 in kdemain (argc=<value optimized out>, argv=0x7fff85161c80) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/main.cpp:533
#77 0x00007fb8cd723bfd in __libc_start_main () from /lib64/libc.so.6
#78 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-07-12 14:12:27 UTC
Mesa/intel-dri; And not a very new one either.

Suspend compositing (shift+alt+f12) before running games (for better performance) and disable un-redirection of fullscreen windows ("kcmshell4 kwincompositing", 3rd tab)

*** This bug has been marked as a duplicate of bug 252817 ***
Comment 2 Jan Krings 2011-07-12 16:31:11 UTC
Thank you. With disabled "un-redirection of fullscreen windows", there is no problem with kwin.