Bug 317796

Summary: Kwin Crashed when reenabled monitor
Product: [Plasma] kwin Reporter: Scott Sealy <css>
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 Scott Sealy 2013-04-03 19:04:26 UTC
Application: kwin (4.10.00 "release 1")
KDE Platform Version: 4.10.00 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop i686
Distribution: "openSUSE 12.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I had a laptop (LVDS1 Connection) using an extra montior (VGA1) .  I had disabled the laptop monitor using size menue of the Size & Orientation screen of the System Settings.  When I reenabled it, setting it to the Auto configured screen size it crashed.  It restarted fine immediately.

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

Thread 2 (Thread 0xacdb8b40 (LWP 972)):
#0  0xb5e06792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb75b685c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb669c24d in QTWTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0xb67a9580 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0xb669c27f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb67a9580 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0xb5e02b5e in start_thread () from /lib/libpthread.so.0
#5  0xb75a916e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb194ea00 (LWP 944)):
[KCrash Handler]
#6  gen7_update_renderbuffer_surface (brw=0x8c2a5d8, rb=0x8bd9050, unit=0) at gen7_wm_surface_state.c:471
#7  0xaeb8ac03 in brw_update_renderbuffer_surfaces (brw=0x8c2a5d8) at brw_wm_surface_state.c:1205
#8  0xaeb72795 in brw_upload_state (brw=brw@entry=0x8c2a5d8) at brw_state_upload.c:498
#9  0xaeb5eb47 in brw_try_draw_prims (max_index=11, min_index=0, ib=0x0, nr_prims=1, prim=0xbfc81e20, arrays=0x8c2a5d8, ctx=0x8c2a5d8) at brw_draw.c:493
#10 brw_draw_prims (ctx=0x8c2a5d8, prim=0xbfc81e20, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=11, tfb_vertcount=0x0) at brw_draw.c:589
#11 0xae5067b2 in vbo_draw_arrays (ctx=ctx@entry=0x8c2a5d8, mode=mode@entry=4, start=start@entry=0, count=count@entry=12, numInstances=numInstances@entry=1, baseInstance=baseInstance@entry=0) at ../../../src/mesa/vbo/vbo_exec_array.c:645
#12 0xae5068a4 in vbo_exec_DrawArrays (mode=4, start=0, count=12) at ../../../src/mesa/vbo/vbo_exec_array.c:675
#13 0xb64cede6 in KWin::GLVertexBufferPrivate::corePainting (this=0x8e14088, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.10.0/kwin/libkwineffects/kwinglutils.cpp:1254
#14 0xb64cf0b5 in KWin::GLVertexBuffer::render (this=0x8e13528, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.10.0/kwin/libkwineffects/kwinglutils.cpp:1363
#15 0xb770ce0c in renderQuads (hardwareClipping=false, normalized=false, tex=0x8fb0d90, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:1228
#16 KWin::SceneOpenGL::Window::renderQuads (this=0x90f3a60, region=..., quads=..., tex=0x8fb0d90, normalized=false, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:1207
#17 0xb7713628 in KWin::SceneOpenGL::Window::performPaint (this=0x90f3a60, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:969
#18 0xb770b885 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x8e140f0, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:566
#19 0xb770ba47 in KWin::SceneOpenGL2::finalDrawWindow (this=0x8e140f0, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:551
#20 0xb77229a8 in KWin::EffectsHandlerImpl::drawWindow (this=0x8e9d350, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:318
#21 0xace4fcd0 in KWin::BlurEffect::drawWindow (this=0x93139e0, w=0x8f4a2b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects/blur/blur.cpp:414
#22 0xb7722943 in KWin::EffectsHandlerImpl::drawWindow (this=0x8e9d350, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:315
#23 0xb6987432 in KWin::Effect::drawWindow (this=0x8fd16a8, w=0x8f4a2b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/libkwineffects/kwineffects.cpp:529
#24 0xb7722943 in KWin::EffectsHandlerImpl::drawWindow (this=0x8e9d350, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:315
#25 0xb76fc852 in KWin::Scene::finalPaintWindow (this=0x8e140f0, w=0x8f4a2b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene.cpp:449
#26 0xb7722c23 in KWin::EffectsHandlerImpl::paintWindow (this=0x8e9d350, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:281
#27 0xb6987552 in KWin::Effect::paintWindow (this=0x93139e0, w=0x8f4a2b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/libkwineffects/kwineffects.cpp:504
#28 0xb7722bc3 in KWin::EffectsHandlerImpl::paintWindow (this=0x8e9d350, w=w@entry=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:278
#29 0xace00ff3 in KWin::DialogParentEffect::paintWindow (this=0x8fd16a8, w=0x8f4a2b0, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects/dialogparent/dialogparent.cpp:64
#30 0xb7722bc3 in KWin::EffectsHandlerImpl::paintWindow (this=0x8e9d350, w=0x8f4a2b0, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:278
#31 0xb76ff990 in KWin::Scene::paintWindow (this=this@entry=0x8e140f0, w=0x90f3a60, mask=9, region=..., quads=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene.cpp:356
#32 0xb76feb96 in KWin::Scene::paintSimpleScreen (this=this@entry=0x8e140f0, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene.cpp:342
#33 0xb76fc793 in KWin::Scene::finalPaintScreen (this=0x8e140f0, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene.cpp:186
#34 0xb7722eb3 in KWin::EffectsHandlerImpl::paintScreen (this=0x8e9d350, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:254
#35 0xb69875ca in KWin::Effect::paintScreen (this=0x93139e0, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/libkwineffects/kwineffects.cpp:489
#36 0xb7722e5b in KWin::EffectsHandlerImpl::paintScreen (this=0x8e9d350, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:251
#37 0xb69875ca in KWin::Effect::paintScreen (this=0x8fd16a8, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/libkwineffects/kwineffects.cpp:489
#38 0xb7722e5b in KWin::EffectsHandlerImpl::paintScreen (this=0x8e9d350, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/effects.cpp:251
#39 0xb76fddce in KWin::Scene::paintScreen (this=0x8e140f0, mask=0xbfc82bac, region=0xbfc82c1c) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene.cpp:140
#40 0xb770f9fb in KWin::SceneOpenGL::paint (this=0x8e140f0, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:308
#41 0xb76f7140 in KWin::Compositor::performCompositing (this=0x8bb1b08) at /usr/src/debug/kde-workspace-4.10.0/kwin/composite.cpp:610
#42 0xb5fad904 in QObject::event (this=0x8bb1b08, e=0xbfc83180) at kernel/qobject.cpp:1165
#43 0xb5466bac in QApplicationPrivate::notify_helper (this=0x8ac3a90, receiver=0x8bb1b08, e=0xbfc83180) at kernel/qapplication.cpp:4562
#44 0xb546b5cc in QApplication::notify (this=0xbfc83180, receiver=0x8bb1b08, e=0xbfc83180) at kernel/qapplication.cpp:3944
#45 0xb7275dc1 in KApplication::notify (this=0xbfc83548, receiver=0x8bb1b08, event=0xbfc83180) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#46 0xb76a066f in notify (e=0xbfc83180, o=0x8bb1b08, this=0xbfc83548) at /usr/src/debug/kde-workspace-4.10.0/kwin/main.cpp:371
#47 KWin::Application::notify (this=0xbfc83548, o=0x8bb1b08, e=0xbfc83180) at /usr/src/debug/kde-workspace-4.10.0/kwin/main.cpp:367
#48 0xb5f977de in QCoreApplication::notifyInternal (this=0xbfc83548, receiver=0x8bb1b08, event=0xbfc83180) at kernel/qcoreapplication.cpp:946
#49 0xb5fcc157 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#50 QTimerInfoList::activateTimers (this=0x8ac420c) at kernel/qeventdispatcher_unix.cpp:637
#51 0xb5fcc7b5 in QEventDispatcherUNIX::activateTimers (this=0x8ac420c, this@entry=0x8a7e998) at kernel/qeventdispatcher_unix.cpp:894
#52 0xb5fcc928 in QEventDispatcherUNIX::processEvents (this=0x8a7e998, flags=...) at kernel/qeventdispatcher_unix.cpp:956
#53 0xb55194f3 in QEventDispatcherX11::processEvents (this=0x8a7e998, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#54 0xb5f962ac in QEventLoop::processEvents (this=this@entry=0xbfc833c8, flags=...) at kernel/qeventloop.cpp:149
#55 0xb5f965a1 in QEventLoop::exec (this=0xbfc833c8, flags=...) at kernel/qeventloop.cpp:204
#56 0xb5f9b85a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#57 0xb5464a24 in QApplication::exec () at kernel/qapplication.cpp:3823
#58 0xb76a30f1 in kdemain (argc=3, argv=0xbfc83634) at /usr/src/debug/kde-workspace-4.10.0/kwin/main.cpp:537
#59 0x080485bb in main (argc=3, argv=0xbfc83634) at /usr/src/debug/kde-workspace-4.10.0/build/kwin/kwin_dummy.cpp:3

Possible duplicates by query: bug 314196, bug 314018, bug 313416.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-04-03 19:12:02 UTC

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