Bug 303041

Summary: gwenview makes kwin crash
Product: [Plasma] kwin Reporter: Sérgio Basto <sergio>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Flags: mgraesslin: Intel+
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sérgio Basto 2012-07-05 01:49:04 UTC
Application: kwin (4.8.4 (4.8.4))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.4-3.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:
I open a jpg from kmail , when change the size of gwenview, fullscreen and back , after a while gwenview makes kwin crash .
I think is related with go to fullscreen and back.

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 0x7fca5a4cd880 (LWP 1716))]

Thread 2 (Thread 0x7fca4cbcd700 (LWP 1722)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000036f0f84ac7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x36f12919a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000036f0f84af9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00000039f0607d14 in start_thread (arg=0x7fca4cbcd700) at pthread_create.c:309
#4  0x00000039efef199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fca5a4cd880 (LWP 1716)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x2cb9980, rb=0x26eddf0, unit=0) at brw_wm_surface_state.c:959
#7  0x00007fca4f0babc0 in brw_update_renderbuffer_surfaces (brw=0x2cb9980) at brw_wm_surface_state.c:1052
#8  0x00007fca4f0a4e90 in brw_upload_state (brw=brw@entry=0x2cb9980) at brw_state_upload.c:503
#9  0x00007fca4f0928b7 in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fff1ae95f60, arrays=0x1de43a8, ctx=0x2cb9980) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x2cb9980, arrays=0x1de43a8, prim=0x7fff1ae95f60, 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 0x00007fca4f1b7583 in vbo_draw_arrays (ctx=0x2cb9980, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x0000003191e0dc27 in KWin::GLVertexBufferPrivate::corePainting (this=0x274a210, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.4/kwin/libkwineffects/kwinglutils.cpp:1188
#13 0x0000003191e0dd25 in KWin::GLVertexBuffer::render (this=0x28f7290, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.4/kwin/libkwineffects/kwinglutils.cpp:1297
#14 0x00007fca5cd5f3e0 in renderQuads (normalized=<optimized out>, tex=<optimized out>, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.8.4/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.4/kwin/scene_opengl.cpp:768
#16 0x00007fca5cd65d18 in KWin::SceneOpenGL::Window::performPaint (this=0x2dea9b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene_opengl.cpp:592
#17 0x00007fca5cd50f1e in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene.cpp:438
#18 0x00007fca5cd70415 in KWin::EffectsHandlerImpl::drawWindow (this=0x29e0ff0, w=w@entry=0x33bb090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:286
#19 0x00007fca4d44bdcd in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x33bb090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects/blur/blur.cpp:389
#20 0x00007fca5cd703ab in KWin::EffectsHandlerImpl::drawWindow (this=0x29e0ff0, w=w@entry=0x33bb090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:283
#21 0x000000318ec0ddaa in KWin::Effect::drawWindow (this=<optimized out>, w=0x33bb090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/libkwineffects/kwineffects.cpp:181
#22 0x00007fca5cd703ab in KWin::EffectsHandlerImpl::drawWindow (this=0x29e0ff0, w=w@entry=0x33bb090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:283
#23 0x00007fca5cd4ff96 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x33bb080, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene.cpp:429
#24 0x00007fca5cd708d5 in KWin::EffectsHandlerImpl::paintWindow (this=0x29e0ff0, w=w@entry=0x33bb090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:249
#25 0x000000318ec0deaa in KWin::Effect::paintWindow (this=<optimized out>, w=0x33bb090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/libkwineffects/kwineffects.cpp:156
#26 0x00007fca5cd7086b in KWin::EffectsHandlerImpl::paintWindow (this=0x29e0ff0, w=w@entry=0x33bb090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:246
#27 0x00007fca4d437448 in KWin::TranslucencyEffect::paintWindow (this=<optimized out>, w=0x33bb090, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects/translucency/translucency.cpp:108
#28 0x00007fca5cd7086b in KWin::EffectsHandlerImpl::paintWindow (this=0x29e0ff0, w=0x33bb090, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:246
#29 0x00007fca5cd5097b in KWin::Scene::paintWindow (this=this@entry=0x2252120, w=0x2dea9b0, mask=9, region=..., quads=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene.cpp:385
#30 0x00007fca5cd51819 in KWin::Scene::paintSimpleScreen (this=this@entry=0x2252120, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene.cpp:330
#31 0x00007fca5cd4fec4 in KWin::Scene::finalPaintScreen (this=0x2252120, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene.cpp:198
#32 0x00007fca5cd705e3 in KWin::EffectsHandlerImpl::paintScreen (this=0x29e0ff0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:222
#33 0x000000318ec0df17 in KWin::Effect::paintScreen (this=this@entry=0x2226a20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/libkwineffects/kwineffects.cpp:141
#34 0x00007fca5cd7058b in KWin::EffectsHandlerImpl::paintScreen (this=0x29e0ff0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:219
#35 0x000000318ec0df17 in KWin::Effect::paintScreen (this=this@entry=0x222a9e0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/libkwineffects/kwineffects.cpp:141
#36 0x00007fca5cd7058b in KWin::EffectsHandlerImpl::paintScreen (this=0x29e0ff0, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/effects.cpp:219
#37 0x00007fca5cd52ab8 in KWin::Scene::paintScreen (this=0x2252120, mask=0x7fff1ae9705c, region=0x7fff1ae97120) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene.cpp:156
#38 0x00007fca5cd6683d in KWin::SceneOpenGL::paint (this=0x2252120, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.8.4/kwin/scene_opengl_glx.cpp:459
#39 0x00007fca5cd4ccf1 in KWin::Workspace::performCompositing (this=0x1f8a9e0) at /usr/src/debug/kde-workspace-4.8.4/kwin/composite.cpp:417
#40 0x00000036ea78ab1c in QObject::event (this=0x1f8a9e0, e=<optimized out>) at kernel/qobject.cpp:1157
#41 0x0000003182bca37c in QApplicationPrivate::notify_helper (this=this@entry=0x1bdd4b0, receiver=receiver@entry=0x1f8a9e0, e=e@entry=0x7fff1ae97800) at kernel/qapplication.cpp:4551
#42 0x0000003182bce7fa in QApplication::notify (this=0x7fff1ae97e40, receiver=0x1f8a9e0, e=0x7fff1ae97800) at kernel/qapplication.cpp:4412
#43 0x0000003186046756 in KApplication::notify (this=0x7fff1ae97e40, receiver=0x1f8a9e0, event=0x7fff1ae97800) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#44 0x00000036ea7763ee in QCoreApplication::notifyInternal (this=0x7fff1ae97e40, receiver=0x1f8a9e0, event=0x7fff1ae97800) at kernel/qcoreapplication.cpp:915
#45 0x00000036ea7a6d52 in sendEvent (event=0x7fff1ae97800, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#46 QTimerInfoList::activateTimers (this=0x1bddfc8) at kernel/qeventdispatcher_unix.cpp:611
#47 0x00000036ea7a6db0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1bdd440) at kernel/qeventdispatcher_unix.cpp:868
#48 0x00000036ea7a6f08 in QEventDispatcherUNIX::processEvents (this=0x1bdd440, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#49 0x0000003182c6b10f in QEventDispatcherX11::processEvents (this=0x1bdd440, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#50 0x00000036ea77513f in QEventLoop::processEvents (this=this@entry=0x7fff1ae97b50, flags=...) at kernel/qeventloop.cpp:149
#51 0x00000036ea7753c8 in QEventLoop::exec (this=0x7fff1ae97b50, flags=...) at kernel/qeventloop.cpp:204
#52 0x00000036ea77a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#53 0x00007fca5cd074ee in kdemain (argc=3, argv=0x7fff1ae97fc8) at /usr/src/debug/kde-workspace-4.8.4/kwin/main.cpp:541
#54 0x00000039efe21735 in __libc_start_main (main=0x4008c0 <main(int, char**)>, argc=3, ubp_av=0x7fff1ae97fc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1ae97fb8) at libc-start.c:226
#55 0x00000000004008f1 in _start ()

Possible duplicates by query: bug 302764, bug 302169, bug 301529, bug 301403, bug 301131.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-07-05 05:50:47 UTC
crashes right inside the driver. Not much we can do about it. Make sure you have "unredirection of fullscreen windows" disabled.

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