Bug 313059

Summary: KWin crash when it turn on a second monitor.
Product: [Plasma] kwin Reporter: Esteve Farrés <esteve.farres>
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:

Description Esteve Farrés 2013-01-11 09:08:02 UTC
Application: kwin (4.8.5 (4.8.5) "release 2")
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
The system starts with a two duplicate monitors; when the system call the Multimonitor application, sometimes the KWin crashs.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xae4feb40 (LWP 1332)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb5d4ba4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb74f011c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb65cb1fd in ?? () from /usr/lib/libQtScript.so.4
#4  0xb65cb22f in ?? () from /usr/lib/libQtScript.so.4
#5  0xb5d47e32 in start_thread () from /lib/libpthread.so.0
#6  0xb74e27ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1c0eb00 (LWP 1285)):
[KCrash Handler]
#7  brw_update_renderbuffer_surface (brw=0x9e846f0, rb=0x9ee4930, unit=0) at brw_wm_surface_state.c:959
#8  0xb007ee63 in brw_update_renderbuffer_surfaces (brw=0x9e846f0) at brw_wm_surface_state.c:1052
#9  0xb006780f in brw_upload_state (brw=brw@entry=0x9e846f0) at brw_state_upload.c:503
#10 0xb0053bdf in brw_try_draw_prims (max_index=5, min_index=0, ib=0x0, nr_prims=1, prim=0xbff08d78, arrays=0x9e33528, ctx=0x9e846f0) at brw_draw.c:482
#11 brw_draw_prims (ctx=0x9e846f0, arrays=0x9e33528, prim=0xbff08d78, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:566
#12 0xafeb8aee in vbo_draw_arrays (ctx=0x9e846f0, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:590
#13 0xb6400003 in KWin::GLVertexBufferPrivate::corePainting (this=0x9bc4ac0, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwinglutils.cpp:1188
#14 0xb640012d in KWin::GLVertexBuffer::render (this=0x9b41140, region=..., primitiveMode=4) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwinglutils.cpp:1297
#15 0xb7656fd7 in renderQuads (normalized=false, tex=0xa11b3f8, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:788
#16 KWin::SceneOpenGL::Window::renderQuads (this=0xa11b3d8, region=..., quads=..., tex=0xa11b3f8, normalized=false) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:768
#17 0xb765e5a3 in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0xa11b3d8, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl.cpp:592
#18 0xb764677e in KWin::Scene::finalDrawWindow (this=0x9eba280, w=0x9eeb470, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:438
#19 0xb766afc6 in KWin::EffectsHandlerImpl::drawWindow (this=0x9e248c8, w=w@entry=0x9eeb478, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:286
#20 0xb687de12 in KWin::Effect::drawWindow (this=0xa0f1aa8, w=w@entry=0x9eeb478, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:181
#21 0xb766af52 in KWin::EffectsHandlerImpl::drawWindow (this=0x9e248c8, w=w@entry=0x9eeb478, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:283
#22 0xb76455b2 in KWin::Scene::finalPaintWindow (this=0x9eba280, w=0x9eeb470, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:429
#23 0xb766b196 in KWin::EffectsHandlerImpl::paintWindow (this=0x9e248c8, w=w@entry=0x9eeb478, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:249
#24 0xaf28ce00 in KWin::TranslucencyEffect::paintWindow (this=0xa0f1aa8, w=w@entry=0x9eeb478, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects/translucency/translucency.cpp:108
#25 0xb766b122 in KWin::EffectsHandlerImpl::paintWindow (this=0x9e248c8, w=0x9eeb478, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:246
#26 0xb7646145 in KWin::Scene::paintWindow (this=this@entry=0x9eba280, w=0xa11b3d8, mask=9, region=..., quads=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:385
#27 0xb7647090 in KWin::Scene::paintSimpleScreen (this=this@entry=0x9eba280, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:330
#28 0xb76454ba in KWin::Scene::finalPaintScreen (this=0x9eba280, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:198
#29 0xb766b338 in KWin::EffectsHandlerImpl::paintScreen (this=0x9e248c8, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:222
#30 0xb687dfaa in KWin::Effect::paintScreen (this=0xa0f1aa8, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/libkwineffects/kwineffects.cpp:141
#31 0xb766b2db in KWin::EffectsHandlerImpl::paintScreen (this=0x9e248c8, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/effects.cpp:219
#32 0xb76484a7 in KWin::Scene::paintScreen (this=0x9eba280, mask=0xbff09a3c, region=0xbff09ab8) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene.cpp:156
#33 0xb765f1a7 in KWin::SceneOpenGL::paint (this=0x9eba280, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.8.5/kwin/scene_opengl_glx.cpp:459
#34 0xb7641992 in KWin::Workspace::performCompositing (this=0x9d54498) at /usr/src/debug/kde-workspace-4.8.5/kwin/composite.cpp:417
#35 0xb5eefd24 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#36 0xb53acaec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb53b15af in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb71a3d01 in KApplication::notify (this=0xbff0a3ac, receiver=0x9d54498, event=0xbff09fe0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#39 0xb75ef02f in notify (e=0xbff09fe0, o=0x9d54498, this=0xbff0a3ac) at /usr/src/debug/kde-workspace-4.8.5/kwin/main.cpp:368
#40 KWin::Application::notify (this=0xbff0a3ac, o=0x9d54498, e=0xbff09fe0) at /usr/src/debug/kde-workspace-4.8.5/kwin/main.cpp:364
#41 0xb5ed9c7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#42 0xb5f0e337 in ?? () from /usr/lib/libQtCore.so.4
#43 0xb5f0eb08 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0xb545f223 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb5ed8a3c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0xb5ed8d31 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb5eddcea in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#48 0xb53aa934 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#49 0xb75f1bec in kdemain (argc=3, argv=0xbff0a4b4) at /usr/src/debug/kde-workspace-4.8.5/kwin/main.cpp:541
#50 0x080485bb in main (argc=3, argv=0xbff0a4b4) at /usr/src/debug/kde-workspace-4.8.5/build/kwin/kwin_dummy.cpp:3

Possible duplicates by query: bug 312686, bug 312468, bug 312336, bug 312335, bug 311682.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-01-11 09:12:26 UTC

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