Bug 317130

Summary: kwin crashes when loging in with "switch user"
Product: [Plasma] kwin Reporter: stakanov.s
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description stakanov.s 2013-03-21 14:16:54 UTC
Application: kwin (4.10.1 "release 545")
KDE Platform Version: 4.10.1 "release 545"
Qt Version: 4.8.4
Operating System: Linux 3.4.33-2.24-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I did switch user, the desktop was resuming from powersaving state (but no suspend), the HDD was off (you could listen that it started respinning. 
- Unusual behavior I noticed:
Screen flickers. Shortly before I noticed that the crash caused duplication of open sessions, I found two sessions of the same user open. When I did close one, I returned to the second that was still open.  Then I had the crash. 
I noticed also recently that a "user unused" appeared in the kdm selection screen (but I am not sure that this is directly correlated. I am mentioning it here because the desktop behvaviour started to be unstable since this "unused" user appeared.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x7f51081c2040, rb=0x1676c60, unit=0) at brw_wm_surface_state.c:959
#7  0x00007f5108bf6e50 in brw_update_renderbuffer_surfaces (brw=0x7f51081c2040) at brw_wm_surface_state.c:1052
#8  0x00007f5108be1750 in brw_upload_state (brw=brw@entry=0x7f51081c2040) at brw_state_upload.c:503
#9  0x00007f5108bcf1b7 in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fff47ddb0b0, arrays=0x1710af8, ctx=0x7f51081c2040) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x7f51081c2040, arrays=0x1710af8, prim=0x7fff47ddb0b0, 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 0x00007f5108841be3 in vbo_draw_arrays (ctx=0x7f51081c2040, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x00007f512059788d in KWin::GLVertexBufferPrivate::corePainting (this=0x188a710, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:1254
#13 0x00007f5120597dad in KWin::GLVertexBuffer::render (this=0x1888ed0, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:1363
#14 0x00007f512483638f in renderQuads (hardwareClipping=false, normalized=<optimized out>, tex=<optimized out>, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:1228
#15 KWin::SceneOpenGL::Window::renderQuads (this=<optimized out>, region=..., quads=..., tex=<optimized out>, normalized=<optimized out>, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:1207
#16 0x00007f512483c418 in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0x198a6e0, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:969
#17 0x00007f51248350cf in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x188a910, w=w@entry=0x198ae40, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:566
#18 0x00007f512483526d in KWin::SceneOpenGL2::finalDrawWindow (this=0x188a910, w=w@entry=0x198ae40, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:551
#19 0x00007f5124848f75 in KWin::EffectsHandlerImpl::drawWindow (this=0x18b02c0, w=w@entry=0x198ae40, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:318
#20 0x00007f512482848a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x198ae40, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:449
#21 0x00007f51248491f7 in KWin::EffectsHandlerImpl::paintWindow (this=0x18b02c0, w=0x198ae40, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:281
#22 0x00007f512482b04d in KWin::Scene::paintWindow (this=<optimized out>, w=0x198a6e0, mask=1, region=..., quads=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:356
#23 0x00007f512482a37f in KWin::Scene::paintSimpleScreen (this=this@entry=0x188a910, orig_mask=orig_mask@entry=0, region=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:342
#24 0x00007f51248283ce in KWin::Scene::finalPaintScreen (this=0x188a910, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:186
#25 0x00007f51248493c0 in KWin::EffectsHandlerImpl::paintScreen (this=0x18b02c0, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:254
#26 0x00007f5124829768 in KWin::Scene::paintScreen (this=0x188a910, mask=0x7fff47ddbc04, region=0x7fff47ddbcb0) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:140
#27 0x00007f5124838bce in KWin::SceneOpenGL::paint (this=0x188a910, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:308
#28 0x00007f5124823b6c in KWin::Compositor::performCompositing (this=this@entry=0x16087e0) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:610
#29 0x00007f5124824640 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x16087e0) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:275
#30 0x00007f511f89312f in QMetaObject::activate (sender=0x16a3cd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#31 0x00007f511f772cb7 in QFutureWatcherBase::event (this=<optimized out>, event=0x7f50fc001410) at concurrent/qfuturewatcher.cpp:344
#32 0x00007f511ea0b85c in QApplicationPrivate::notify_helper (this=this@entry=0x14a4da0, receiver=receiver@entry=0x16a3cd0, e=e@entry=0x7f50fc001410) at kernel/qapplication.cpp:4562
#33 0x00007f511ea0fcda in QApplication::notify (this=0x7fff47ddcbb0, receiver=0x16a3cd0, e=0x7f50fc001410) at kernel/qapplication.cpp:4423
#34 0x00007f5123fabf36 in KApplication::notify (this=0x7fff47ddcbb0, receiver=0x16a3cd0, event=0x7f50fc001410) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#35 0x00007f511f87dc2e in QCoreApplication::notifyInternal (this=0x7fff47ddcbb0, receiver=receiver@entry=0x16a3cd0, event=event@entry=0x7f50fc001410) at kernel/qcoreapplication.cpp:946
#36 0x00007f511f881591 in sendEvent (event=0x7f50fc001410, receiver=0x16a3cd0) at kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14421f0) at kernel/qcoreapplication.cpp:1570
#38 0x00007f511eaac86c in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#39 QEventDispatcherX11::processEvents (this=0x1447a70, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#40 0x00007f511f87c97f in QEventLoop::processEvents (this=this@entry=0x7fff47ddc8c0, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f511f87cc08 in QEventLoop::exec (this=0x7fff47ddc8c0, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f511f8818a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#43 0x00007f51247da93a in kdemain (argc=3, argv=0x7fff47ddccf8) at /usr/src/debug/kde-workspace-4.10.1/kwin/main.cpp:537
#44 0x00007f51243ec455 in __libc_start_main () from /lib64/libc.so.6
#45 0x0000000000400721 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 316866, bug 316327, bug 314730, bug 314673, bug 314196.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-03-21 15:05:06 UTC

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