Bug 323303

Summary: KWin crashes when connecting a new monitor on notebook
Product: [Plasma] kwin Reporter: Michael <michael.zippe>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael 2013-08-09 07:12:07 UTC
Application: kwin (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-27-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
KWin crashes when trying to enable 3rd monitor (LVDS1) in screen configuration. Actual configuration is dual monitor connected on HDMI1 and DP1

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fbad5ec1700 (LWP 2545)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbaee980e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fbaee980ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fbae5cb5f8e in start_thread (arg=0x7fbad5ec1700) at pthread_create.c:311
#4  0x00007fbaf208de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fbac7b71700 (LWP 2725)):
#0  0x00007fbaf2086233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbaed4c94f3 in qt_safe_select (nfds=22, fdread=0x7fbabc000ac8, fdwrite=0x7fbabc000d60, fdexcept=0x7fbabc000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007fbaed4ce499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fbabc000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007fbaed4cec82 in QEventDispatcherUNIX::processEvents (this=0x7fbabc0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007fbaed49c38f in QEventLoop::processEvents (this=this@entry=0x7fbac7b70d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbaed49c618 in QEventLoop::exec (this=this@entry=0x7fbac7b70d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbaed39e410 in QThread::exec (this=this@entry=0x27b4210) at thread/qthread.cpp:542
#7  0x00007fbaed47dedf in QInotifyFileSystemWatcherEngine::run (this=0x27b4210) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fbaed3a0bec in QThreadPrivate::start (arg=0x27b4210) at thread/qthread_unix.cpp:338
#9  0x00007fbae5cb5f8e in start_thread (arg=0x7fbac7b71700) at pthread_create.c:311
#10 0x00007fbaf208de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fbaf28777c0 (LWP 2541)):
[KCrash Handler]
#6  gen7_update_renderbuffer_surface (brw=0x2eb3650, rb=0x2bb2060, unit=0) at gen7_wm_surface_state.c:513
#7  0x00007fbad42606c0 in brw_update_renderbuffer_surfaces (brw=0x2eb3650) at brw_wm_surface_state.c:1316
#8  0x00007fbad423b922 in brw_upload_state (brw=brw@entry=0x2eb3650) at brw_state_upload.c:500
#9  0x00007fbad42039cf in brw_try_draw_prims (max_index=5, min_index=1744025112, ib=<optimized out>, nr_prims=<optimized out>, prim=0x7fff67f3b600, arrays=<optimized out>, ctx=0x2eb3650) at brw_draw.c:500
#10 brw_draw_prims (ctx=0x2eb3650, prim=0x7fff67f3b600, nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:587
#11 0x00007fbaceb8a954 in vbo_draw_arrays (ctx=0x2eb3650, mode=4, start=0, count=6, numInstances=1, baseInstance=<optimized out>) at ../../../../../src/mesa/vbo/vbo_exec_array.c:619
#12 0x00007fbaee1a5b5d in KWin::GLVertexBufferPrivate::corePainting (this=0x2a4de60, region=..., primitiveMode=4, hardwareClipping=<optimized out>) at ../../../kwin/libkwineffects/kwinglutils.cpp:1254
#13 0x00007fbaee1a5ddd in KWin::GLVertexBuffer::render (this=this@entry=0x307b3f0, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1363
#14 0x00007fbaee1a5e61 in KWin::GLVertexBuffer::render (this=this@entry=0x307b3f0, primitiveMode=primitiveMode@entry=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1355
#15 0x00007fbaf241d47a in KWin::SceneOpenGL2::doPaintBackground (this=<optimized out>, vertices=...) at ../../kwin/scene_opengl.cpp:529
#16 0x00007fbaf241eac3 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x2ab0e40, region=...) at ../../kwin/scene_opengl.cpp:364
#17 0x00007fbaf2413d96 in KWin::Scene::paintSimpleScreen (this=this@entry=0x2ab0e40, orig_mask=orig_mask@entry=8, region=...) at ../../kwin/scene.cpp:331
#18 0x00007fbaf2411c9e in KWin::Scene::finalPaintScreen (this=0x2ab0e40, mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#19 0x00007fbaf2432830 in KWin::EffectsHandlerImpl::paintScreen (this=0x31fe070, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:254
#20 0x00007fbaf086ab87 in KWin::Effect::paintScreen (this=this@entry=0x2973540, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#21 0x00007fbaf24327db in KWin::EffectsHandlerImpl::paintScreen (this=0x31fe070, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:251
#22 0x00007fbaf086ab87 in KWin::Effect::paintScreen (this=this@entry=0x2d41100, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#23 0x00007fbaf24327db in KWin::EffectsHandlerImpl::paintScreen (this=0x31fe070, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#24 0x00007fbaf2412fb8 in KWin::Scene::paintScreen (this=this@entry=0x2ab0e40, mask=mask@entry=0x7fff67f3bc84, region=region@entry=0x7fff67f3bd30) at ../../kwin/scene.cpp:140
#25 0x00007fbaf24200ce in KWin::SceneOpenGL::paint (this=0x2ab0e40, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#26 0x00007fbaf240c98c in KWin::Compositor::performCompositing (this=0x26f6b30) at ../../kwin/composite.cpp:610
#27 0x00007fbaed4b73ec in QObject::event (this=0x26f6b30, e=<optimized out>) at kernel/qobject.cpp:1156
#28 0x00007fbaec8438ec in QApplicationPrivate::notify_helper (this=this@entry=0x2594560, receiver=receiver@entry=0x26f6b30, e=e@entry=0x7fff67f3c460) at kernel/qapplication.cpp:4567
#29 0x00007fbaec84625b in QApplication::notify (this=this@entry=0x7fff67f3caa0, receiver=receiver@entry=0x26f6b30, e=e@entry=0x7fff67f3c460) at kernel/qapplication.cpp:4428
#30 0x00007fbaf1b7a1a6 in KApplication::notify (this=0x7fff67f3caa0, receiver=0x26f6b30, event=0x7fff67f3c460) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fbaed49d63e in QCoreApplication::notifyInternal (this=0x7fff67f3caa0, receiver=0x26f6b30, event=event@entry=0x7fff67f3c460) at kernel/qcoreapplication.cpp:946
#32 0x00007fbaed4ceb72 in sendEvent (event=0x7fff67f3c460, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QTimerInfoList::activateTimers (this=0x2595118) at kernel/qeventdispatcher_unix.cpp:622
#34 0x00007fbaed4cebd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x252bad0) at kernel/qeventdispatcher_unix.cpp:879
#35 0x00007fbaed4ced28 in QEventDispatcherUNIX::processEvents (this=this@entry=0x252bad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#36 0x00007fbaec8e9b9f in QEventDispatcherX11::processEvents (this=0x252bad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#37 0x00007fbaed49c38f in QEventLoop::processEvents (this=this@entry=0x7fff67f3c7b0, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fbaed49c618 in QEventLoop::exec (this=this@entry=0x7fff67f3c7b0, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fbaed4a1cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#40 0x00007fbaec841ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#41 0x00007fbaf23c3f0a in kdemain (argc=1, argv=0x7fff67f3cbe8) at ../../kwin/main.cpp:537
#42 0x00007fbaf1fb5ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff67f3cbe8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff67f3cbd8) at libc-start.c:260
#43 0x0000000000400701 in _start ()

Possible duplicates by query: bug 321352, bug 319758, bug 317796, bug 314196, bug 314018.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-08-09 08:20:51 UTC

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