Bug 304241

Summary: kwin crash screensaver related?
Product: [Plasma] kwin Reporter: Jannis Liapis <ahepas1999>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ahepas1999
Priority: NOR Flags: mgraesslin: Intel+
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Jannis Liapis 2012-07-29 11:53:17 UTC
Application: kwin (4.8.4 (4.8.4))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed Went into screensaver and after 5-10 seconds kwin crashed on my dell inspiron n5110

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1a04740 (LWP 1874))]

Thread 3 (Thread 0xacb17b40 (LWP 1880)):
#0  0xb7701424 in __kernel_vsyscall ()
#1  0xb74ccaf1 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5f4042a in qt_safe_select (nfds=21, fdread=0xac20058c, fdwrite=0xac2007a0, fdexcept=0xac2009b4, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#3  0xb5f44a1b in QEventDispatcherUNIX::select (this=0xac200488, nfds=21, readfds=0xac20058c, writefds=0xac2007a0, exceptfds=0xac2009b4, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:639
#4  0xb5f45d2f in QEventDispatcherUNIXPrivate::doSelect (this=0xac200498, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#5  0xb5f461f4 in QEventDispatcherUNIX::processEvents (this=0xac200488, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0xb5f0f50d in QEventLoop::processEvents (this=0xacb17240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5f0f7a9 in QEventLoop::exec (this=0xacb17240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5df894c in QThread::exec (this=0x9aca0f0) at thread/qthread.cpp:501
#9  0xb5eecb5d in QInotifyFileSystemWatcherEngine::run (this=0x9aca0f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5dfbde0 in QThreadPrivate::start (arg=0x9aca0f0) at thread/qthread_unix.cpp:298
#11 0xb29dcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb74d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xac1ffb40 (LWP 1881)):
#0  0xb7701424 in __kernel_vsyscall ()
#1  0xb29e096b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb74e13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb65ef029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb65ef06f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb29dcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb74d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1a04740 (LWP 1874)):
[KCrash Handler]
#7  brw_update_renderbuffer_surface (brw=0x96af068, rb=0x9644cd0, unit=0) at brw_wm_surface_state.c:970
#8  0xaea6f7a3 in brw_update_renderbuffer_surfaces (brw=0x96af068) at brw_wm_surface_state.c:1066
#9  0xaea5825f in brw_upload_state (brw=0x96af068) at brw_state_upload.c:508
#10 0xaea3efef in brw_try_draw_prims (max_index=5, min_index=0, ib=0x0, nr_prims=1, prim=0xbfb3bd98, arrays=0x96326d8, ctx=0x96af068) at brw_draw.c:482
#11 brw_draw_prims (ctx=0x96af068, prim=0xbfb3bd98, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:572
#12 0xae88746a in vbo_draw_arrays (ctx=0x96af068, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:644
#13 0xb64287ef in KWin::GLVertexBufferPrivate::corePainting (this=0x97fd670, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1189
#14 0xb6428935 in KWin::GLVertexBuffer::render (this=0x97dcf08, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1298
#15 0xb76678c7 in renderQuads (normalized=false, tex=0xa222c58, quads=..., region=..., this=<optimized out>) at ../../kwin/scene_opengl.cpp:788
#16 KWin::SceneOpenGL::Window::renderQuads (this=0xa222c38, region=..., quads=..., tex=0xa222c58, normalized=false) at ../../kwin/scene_opengl.cpp:768
#17 0xb766ef97 in KWin::SceneOpenGL::Window::performPaint (this=0xa222c38, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:592
#18 0xb7655517 in KWin::Scene::finalDrawWindow (this=0x9644408, w=0xa685de8, mask=9, region=..., data=...) at ../../kwin/scene.cpp:438
#19 0xb767c6aa in KWin::EffectsHandlerImpl::drawWindow (this=0x980db28, w=0xa685df0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:286
#20 0xacf1d117 in KWin::BlurEffect::drawWindow (this=0x99495f0, w=0xa685df0, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:389
#21 0xb767c648 in KWin::EffectsHandlerImpl::drawWindow (this=0x980db28, w=0xa685df0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#22 0xb68953a2 in KWin::Effect::drawWindow (this=0x9aeeae0, w=0xa685df0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#23 0xb767c648 in KWin::EffectsHandlerImpl::drawWindow (this=0x980db28, w=0xa685df0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#24 0xb7654952 in KWin::Scene::finalPaintWindow (this=0x9644408, w=0xa685de8, mask=9, region=..., data=...) at ../../kwin/scene.cpp:429
#25 0xb767c53a in KWin::EffectsHandlerImpl::paintWindow (this=0x980db28, w=0xa685df0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:249
#26 0xb68954c2 in KWin::Effect::paintWindow (this=0x99495f0, w=0xa685df0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:157
#27 0xb767c4d8 in KWin::EffectsHandlerImpl::paintWindow (this=0x980db28, w=0xa685df0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#28 0xacf03cd8 in KWin::TranslucencyEffect::paintWindow (this=0x9aeeae0, w=0xa685df0, mask=9, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#29 0xb767c4d8 in KWin::EffectsHandlerImpl::paintWindow (this=0x980db28, w=0xa685df0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#30 0xb765573e in KWin::Scene::paintWindow (this=0x9644408, w=0xa222c38, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:385
#31 0xb76568e5 in KWin::Scene::paintSimpleScreen (this=0x9644408, orig_mask=8, region=...) at ../../kwin/scene.cpp:330
#32 0xb765485a in KWin::Scene::finalPaintScreen (this=0x9644408, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198
#33 0xb767c9c0 in KWin::EffectsHandlerImpl::paintScreen (this=0x980db28, mask=8, region=..., data=...) at ../../kwin/effects.cpp:222
#34 0xb689553a in KWin::Effect::paintScreen (this=0x99495f0, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#35 0xb767c970 in KWin::EffectsHandlerImpl::paintScreen (this=0x980db28, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#36 0xb689553a in KWin::Effect::paintScreen (this=0x9aeeae0, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#37 0xb767c970 in KWin::EffectsHandlerImpl::paintScreen (this=0x980db28, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#38 0xb76573cf in KWin::Scene::paintScreen (this=0x9644408, mask=0xbfb3cdd4, region=0xbfb3ce60) at ../../kwin/scene.cpp:156
#39 0xb766fb69 in KWin::SceneOpenGL::paint (this=0x9644408, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#40 0xb76509db in KWin::Workspace::performCompositing (this=0x9521c68) at ../../kwin/composite.cpp:412
#41 0xb5f2bac4 in QObject::event (this=0x9521c68, e=0xbfb3d34c) at kernel/qobject.cpp:1157
#42 0xb53faed4 in notify_helper (e=0xbfb3d34c, receiver=0x9521c68, this=0x94c79c8) at kernel/qapplication.cpp:4559
#43 QApplicationPrivate::notify_helper (this=0x94c79c8, receiver=0x9521c68, e=0xbfb3d34c) at kernel/qapplication.cpp:4531
#44 0xb540030d in QApplication::notify (this=0xbfb3d34c, receiver=0x9521c68, e=0xbfb3d34c) at kernel/qapplication.cpp:4288
#45 0xb7191401 in KApplication::notify (this=0xbfb3d658, receiver=0x9521c68, event=0xbfb3d34c) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb75f97ff in notify (e=0xbfb3d34c, o=0x9521c68, this=0xbfb3d658) at ../../kwin/main.cpp:368
#47 KWin::Application::notify (this=0xbfb3d658, o=0x9521c68, e=0xbfb3d34c) at ../../kwin/main.cpp:364
#48 0xb5f1097e in QCoreApplication::notifyInternal (this=0xbfb3d658, receiver=0x9521c68, event=0xbfb3d34c) at kernel/qcoreapplication.cpp:876
#49 0xb5f45990 in sendEvent (event=0xbfb3d34c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QTimerInfoList::activateTimers (this=0x94c82ac) at kernel/qeventdispatcher_unix.cpp:611
#51 0xb5f46207 in QEventDispatcherUNIX::processEvents (this=0x947fea0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#52 0xb54b4b6e in QEventDispatcherX11::processEvents (this=0x947fea0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#53 0xb5f0f50d in QEventLoop::processEvents (this=0xbfb3d594, flags=...) at kernel/qeventloop.cpp:149
#54 0xb5f0f7a9 in QEventLoop::exec (this=0xbfb3d594, flags=...) at kernel/qeventloop.cpp:204
#55 0xb5f14eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#56 0xb53f8a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#57 0xb75fc7c5 in kdemain (argc=3, argv=0xbfb3d904) at ../../kwin/main.cpp:541
#58 0x0804850b in main (argc=3, argv=0xbfb3d904) at kwin_dummy.cpp:3

This bug may be a duplicate of or related to bug 302764.

Possible duplicates by query: bug 304042, bug 303961, bug 303041, bug 302764, bug 302169.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-07-29 12:01:07 UTC

*** This bug has been marked as a duplicate of bug 299333 ***
Comment 2 Jannis Liapis 2012-07-31 04:46:16 UTC
Created attachment 72842 [details]
New crash information added by DrKonqi

kwin (4.8.4 (4.8.4)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

Sama as above: went into screensaver and when I entered my password to enter my desktop again, this crash report was waiting for me there!

-- Backtrace (Reduced):
#7  brw_update_renderbuffer_surface (brw=0x957a108, rb=0x950d0b0, unit=0) at brw_wm_surface_state.c:970
#8  0xaea6f7a3 in brw_update_renderbuffer_surfaces (brw=0x957a108) at brw_wm_surface_state.c:1066
#9  0xaea5825f in brw_upload_state (brw=0x957a108) at brw_state_upload.c:508
#10 0xaea3efef in brw_try_draw_prims (max_index=5, min_index=0, ib=0x0, nr_prims=1, prim=0xbf82f178, arrays=0x95d6870, ctx=0x957a108) at brw_draw.c:482
#11 brw_draw_prims (ctx=0x957a108, prim=0xbf82f178, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:572
Comment 3 Thomas Lübking 2012-07-31 06:23:32 UTC
This bug is a duplicate of another bug and it is a bug in the driver.
There's point in reporting more crashes.

See the duplicate for possible workarounds.
Comment 4 Jannis Liapis 2012-08-26 20:30:01 UTC
Created attachment 73488 [details]
New crash information added by DrKonqi

kwin (4.9.00) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed: the same crash again. the situation is worsed when using distro's intel drivers. solved when used xorg-edgers ppa drivers. happens sometimes, like this one, whith this driver.

-- Backtrace (Reduced):
#6  brw_update_renderbuffer_surface (brw=0x7f04448d1040, rb=0x2069220, unit=0) at brw_wm_surface_state.c:959
#7  0x00007f041b3d8bf0 in brw_update_renderbuffer_surfaces (brw=0x7f04448d1040) at brw_wm_surface_state.c:1052
#8  0x00007f041b3c2788 in brw_upload_state (brw=0x7f04448d1040) at brw_state_upload.c:503
#9  0x00007f041b3af86f in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fffdaa79230, arrays=0x20ea848, ctx=0x7f04448d1040) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x7f04448d1040, arrays=0x20ea848, prim=0x7fffdaa79230, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=23, tfb_vertcount=0x0) at brw_draw.c:566
Comment 5 Jannis Liapis 2012-08-26 22:17:43 UTC
Created attachment 73490 [details]
New crash information added by DrKonqi

kwin (4.9.00) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed: as mentioned at the first report it happened again. I'm disabling screensaver.

-- Backtrace (Reduced):
#6  brw_update_renderbuffer_surface (brw=0x7ff359472040, rb=0x8d25a0, unit=0) at brw_wm_surface_state.c:959
#7  0x00007ff33ccddbf0 in brw_update_renderbuffer_surfaces (brw=0x7ff359472040) at brw_wm_surface_state.c:1052
#8  0x00007ff33ccc7788 in brw_upload_state (brw=0x7ff359472040) at brw_state_upload.c:503
#9  0x00007ff33ccb486f in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fff35c455f0, arrays=0x9572f8, ctx=0x7ff359472040) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x7ff359472040, arrays=0x9572f8, prim=0x7fff35c455f0, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=23, tfb_vertcount=0x0) at brw_draw.c:566