Bug 301529 - Kwin crash exiting fullscreen in gwenview
Summary: Kwin crash exiting fullscreen in gwenview
Status: RESOLVED DUPLICATE of bug 252817
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 19:46 UTC by Otso Helenius
Modified: 2012-07-23 14:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
mgraesslin: Intel+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Otso Helenius 2012-06-09 19:46:54 UTC
Application: kwin (4.8.3 (4.8.3))
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I was browsing pictures in gwenview in fullscreen when kwin suddenly crashed once and restarted. i switched back to fullscreen and continued browsing. after exiting fullscreen, kwin crashed again.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f77f6a55880 (LWP 20211))]

Thread 2 (Thread 0x7f77e2e99700 (LWP 20216)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000037c0d84ac7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x37c10919a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000037c0d84af9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x000000379dc07d14 in start_thread (arg=0x7f77e2e99700) at pthread_create.c:309
#4  0x000000379d8f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f77f6a55880 (LWP 20211)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x134a8b0, rb=0x1341030, unit=0) at brw_wm_surface_state.c:959
#7  0x00007f77e9188bc0 in brw_update_renderbuffer_surfaces (brw=0x134a8b0) at brw_wm_surface_state.c:1052
#8  0x00007f77e9172e90 in brw_upload_state (brw=brw@entry=0x134a8b0) at brw_state_upload.c:503
#9  0x00007f77e91608b7 in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fff8ad488c0, arrays=0x13bab48, ctx=0x134a8b0) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x134a8b0, arrays=0x13bab48, prim=0x7fff8ad488c0, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:566
#11 0x00007f77e9285583 in vbo_draw_arrays (ctx=0x134a8b0, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x0000003fca00dc27 in KWin::GLVertexBufferPrivate::corePainting (this=0x153e5e0, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwinglutils.cpp:1188
#13 0x0000003fca00dd25 in KWin::GLVertexBuffer::render (this=0x1536a00, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwinglutils.cpp:1297
#14 0x00000030e24b71a0 in renderQuads (normalized=<optimized out>, tex=<optimized out>, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene_opengl.cpp:788
#15 KWin::SceneOpenGL::Window::renderQuads (this=<optimized out>, region=..., quads=..., tex=<optimized out>, normalized=<optimized out>) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene_opengl.cpp:768
#16 0x00000030e24bdad8 in KWin::SceneOpenGL::Window::performPaint (this=0x1a27a40, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene_opengl.cpp:592
#17 0x00000030e24a8cde in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene.cpp:438
#18 0x00000030e24c81d5 in KWin::EffectsHandlerImpl::drawWindow (this=0x15f0970, w=w@entry=0x1a28090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:286
#19 0x00007f77e32f2d4d in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x1a28090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects/blur/blur.cpp:389
#20 0x00000030e24c816b in KWin::EffectsHandlerImpl::drawWindow (this=0x15f0970, w=w@entry=0x1a28090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:283
#21 0x0000003fc500ddaa in KWin::Effect::drawWindow (this=<optimized out>, w=0x1a28090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwineffects.cpp:181
#22 0x00000030e24c816b in KWin::EffectsHandlerImpl::drawWindow (this=0x15f0970, w=w@entry=0x1a28090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:283
#23 0x00000030e24a7d56 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x1a28080, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene.cpp:429
#24 0x00000030e24c8695 in KWin::EffectsHandlerImpl::paintWindow (this=0x15f0970, w=w@entry=0x1a28090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:249
#25 0x0000003fc500deaa in KWin::Effect::paintWindow (this=<optimized out>, w=0x1a28090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwineffects.cpp:156
#26 0x00000030e24c862b in KWin::EffectsHandlerImpl::paintWindow (this=0x15f0970, w=w@entry=0x1a28090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:246
#27 0x00007f77e32de3c8 in KWin::TranslucencyEffect::paintWindow (this=<optimized out>, w=0x1a28090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects/translucency/translucency.cpp:108
#28 0x00000030e24c862b in KWin::EffectsHandlerImpl::paintWindow (this=0x15f0970, w=0x1a28090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:246
#29 0x00000030e24a873b in KWin::Scene::paintWindow (this=this@entry=0x1341fd0, w=0x1a27a40, mask=9, region=..., quads=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene.cpp:385
#30 0x00000030e24a95d9 in KWin::Scene::paintSimpleScreen (this=this@entry=0x1341fd0, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene.cpp:330
#31 0x00000030e24a7c84 in KWin::Scene::finalPaintScreen (this=0x1341fd0, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene.cpp:198
#32 0x00000030e24c83a3 in KWin::EffectsHandlerImpl::paintScreen (this=0x15f0970, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:222
#33 0x0000003fc500df17 in KWin::Effect::paintScreen (this=this@entry=0x171cfc0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwineffects.cpp:141
#34 0x00000030e24c834b in KWin::EffectsHandlerImpl::paintScreen (this=0x15f0970, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:219
#35 0x0000003fc500df17 in KWin::Effect::paintScreen (this=this@entry=0x1840700, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwineffects.cpp:141
#36 0x00000030e24c834b in KWin::EffectsHandlerImpl::paintScreen (this=0x15f0970, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/effects.cpp:219
#37 0x00000030e24aa878 in KWin::Scene::paintScreen (this=0x1341fd0, mask=0x7fff8ad499bc, region=0x7fff8ad49a80) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene.cpp:156
#38 0x00000030e24be5fd in KWin::SceneOpenGL::paint (this=0x1341fd0, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.8.3/kwin/scene_opengl_glx.cpp:459
#39 0x00000030e24a4ab1 in KWin::Workspace::performCompositing (this=0x14fd4e0) at /usr/src/debug/kde-workspace-4.8.3/kwin/composite.cpp:417
#40 0x00000037a618ab1c in QObject::event (this=0x14fd4e0, e=<optimized out>) at kernel/qobject.cpp:1157
#41 0x0000003fbe7ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x1181590, receiver=receiver@entry=0x14fd4e0, e=e@entry=0x7fff8ad4a160) at kernel/qapplication.cpp:4551
#42 0x0000003fbe7ce7fa in QApplication::notify (this=0x7fff8ad4a7a0, receiver=0x14fd4e0, e=0x7fff8ad4a160) at kernel/qapplication.cpp:4412
#43 0x0000003fc0245a56 in KApplication::notify (this=0x7fff8ad4a7a0, receiver=0x14fd4e0, event=0x7fff8ad4a160) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#44 0x00000037a61763ee in QCoreApplication::notifyInternal (this=0x7fff8ad4a7a0, receiver=0x14fd4e0, event=0x7fff8ad4a160) at kernel/qcoreapplication.cpp:915
#45 0x00000037a61a6d52 in sendEvent (event=0x7fff8ad4a160, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#46 QTimerInfoList::activateTimers (this=0x1181f88) at kernel/qeventdispatcher_unix.cpp:611
#47 0x00000037a61a6db0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1132740) at kernel/qeventdispatcher_unix.cpp:868
#48 0x00000037a61a6f08 in QEventDispatcherUNIX::processEvents (this=0x1132740, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#49 0x0000003fbe86b10f in QEventDispatcherX11::processEvents (this=0x1132740, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#50 0x00000037a617513f in QEventLoop::processEvents (this=this@entry=0x7fff8ad4a4b0, flags=...) at kernel/qeventloop.cpp:149
#51 0x00000037a61753c8 in QEventLoop::exec (this=0x7fff8ad4a4b0, flags=...) at kernel/qeventloop.cpp:204
#52 0x00000037a617a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#53 0x00000030e245f2be in kdemain (argc=3, argv=0x7fff8ad4a928) at /usr/src/debug/kde-workspace-4.8.3/kwin/main.cpp:541
#54 0x000000379d821735 in __libc_start_main (main=0x4008c0 <main(int, char**)>, argc=3, ubp_av=0x7fff8ad4a928, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8ad4a918) at libc-start.c:226
#55 0x00000000004008f1 in _start ()

Possible duplicates by query: bug 301403, bug 301131, bug 300886, bug 299333.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-06-09 20:07:21 UTC
driver bug, most likely as well bug #252817 (*the* intel bug)
run "kcmshell4 kwincompositing", enter the third tab ("advanced") and uncheck "suspend compositing for fullscreen windows"

if this fixes it, it's indeed bug #252817 and we have a connection between that and the other bugs (so please inform us, thanks ;-)

*** This bug has been marked as a duplicate of bug 299333 ***
Comment 2 Otso Helenius 2012-06-09 21:51:32 UTC
Yes, disabling compositing for fullscreen fixed the error completely. I can trigger the crash every time with compositing on, but not when it's off no matter how hard i try. So I'm glad to say you now have the connection :-)
Comment 3 Thomas Lübking 2012-06-09 22:03:55 UTC
just to ensure:
you unchecked the box and the crashing stopped?! (because that actually means that fullscreen windows *are* composited ;-)
Comment 4 Otso Helenius 2012-06-10 13:23:57 UTC
Yes. I'm unable to reproduce the crash now that the box is unchecked.
Comment 5 Thomas Lübking 2012-07-23 14:39:59 UTC

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