Bug 314673 - kwin crash when try to re enable laptops built in monitor. (which I disabled earlier on multimonitor setup)
Summary: kwin crash when try to re enable laptops built in monitor. (which I disabled ...
Status: RESOLVED DUPLICATE of bug 299333
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 13:21 UTC by Vishwaje Ravinath
Modified: 2013-02-08 13:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vishwaje Ravinath 2013-02-08 13:21:22 UTC
Application: kwin (4.10.00)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

I try to re enable laptops screen which i disabled earlier. I try to do this because when I connect second monitor and disable laptop monitor, some lind for shattered window artifacts appear on the screen. Then I re enable laptop monitor. then crash happens. Then I re disable laptop monitor. Everything works fine. This happens everytime. Now I'm using 4.10. But when I use 4.9.3 still bug exists.

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 0x7f363e92c7c0 (LWP 3236))]

Thread 3 (Thread 0x7f3636ccb700 (LWP 3238)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f364f308cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f364f308d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f3646de6e9a in start_thread (arg=0x7f3636ccb700) at pthread_create.c:308
#4  0x00007f3652a11cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3624c8d700 (LWP 3554)):
#0  0x00007f3652a0b023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f364de53023 in qt_safe_select (nfds=25, fdread=0x7f3620000ac8, fdwrite=0x7f3620000d60, fdexcept=0x7f3620000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f364de579e4 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f3620000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f364de58572 in QEventDispatcherUNIX::processEvents (this=0x7f36200008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f364de262bf in QEventLoop::processEvents (this=this@entry=0x7f3624c8cd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f364de26548 in QEventLoop::exec (this=0x7f3624c8cd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f364dd27b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f364de069af in QInotifyFileSystemWatcherEngine::run (this=0x2b4d520) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f364dd2aaec in QThreadPrivate::start (arg=0x2b4d520) at thread/qthread_unix.cpp:338
#9  0x00007f3646de6e9a in start_thread (arg=0x7f3624c8d700) at pthread_create.c:308
#10 0x00007f3652a11cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f363e92c7c0 (LWP 3236)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x22dfcc0, rb=0x21add20, unit=0) at brw_wm_surface_state.c:1109
#7  0x00007f363419eaa0 in brw_update_renderbuffer_surfaces (brw=0x22dfcc0) at brw_wm_surface_state.c:1205
#8  0x00007f3634188ae2 in brw_upload_state (brw=brw@entry=0x22dfcc0) at brw_state_upload.c:498
#9  0x00007f36341761d7 in brw_try_draw_prims (max_index=59, min_index=2287831240, ib=<optimized out>, nr_prims=<optimized out>, prim=0x7fff885d88b0, arrays=<optimized out>, ctx=0x22dfcc0) at brw_draw.c:493
#10 brw_draw_prims (ctx=0x22dfcc0, prim=0x7fff885d88b0, nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=0, max_index=59, tfb_vertcount=0x0) at brw_draw.c:589
#11 0x00007f3627ba9b54 in vbo_draw_arrays (ctx=0x22dfcc0, mode=4, start=0, count=60, numInstances=1, baseInstance=<optimized out>) at ../../../../../src/mesa/vbo/vbo_exec_array.c:645
#12 0x00007f364eb2d88d in KWin::GLVertexBufferPrivate::corePainting (this=0x24ecb20, region=..., primitiveMode=4, hardwareClipping=<optimized out>) at ../../../kwin/libkwineffects/kwinglutils.cpp:1254
#13 0x00007f364eb2ddad in KWin::GLVertexBuffer::render (this=this@entry=0x24ef070, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1363
#14 0x00007f364eb2de31 in KWin::GLVertexBuffer::render (this=0x24ef070, primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1355
#15 0x00007f3652d9f2fa in KWin::SceneOpenGL2::doPaintBackground (this=<optimized out>, vertices=...) at ../../kwin/scene_opengl.cpp:529
#16 0x00007f3652da1a03 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x24ecd20, region=...) at ../../kwin/scene_opengl.cpp:364
#17 0x00007f3652d949f6 in KWin::Scene::paintSimpleScreen (this=this@entry=0x24ecd20, orig_mask=orig_mask@entry=0, region=...) at ../../kwin/scene.cpp:331
#18 0x00007f3652d9287e in KWin::Scene::finalPaintScreen (this=0x24ecd20, mask=0, region=..., data=...) at ../../kwin/scene.cpp:186
#19 0x00007f3652db36e0 in KWin::EffectsHandlerImpl::paintScreen (this=0x2653dd0, mask=mask@entry=0, region=..., data=...) at ../../kwin/effects.cpp:254
#20 0x00007f36511f3ab7 in KWin::Effect::paintScreen (this=this@entry=0x2636560, mask=mask@entry=0, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#21 0x00007f3652db368b in KWin::EffectsHandlerImpl::paintScreen (this=0x2653dd0, mask=mask@entry=0, region=..., data=...) at ../../kwin/effects.cpp:251
#22 0x00007f36511f3ab7 in KWin::Effect::paintScreen (this=this@entry=0x27ddd70, mask=mask@entry=0, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#23 0x00007f3652db368b in KWin::EffectsHandlerImpl::paintScreen (this=0x2653dd0, mask=mask@entry=0, region=..., data=...) at ../../kwin/effects.cpp:251
#24 0x00007f36511f3ab7 in KWin::Effect::paintScreen (this=this@entry=0x25465a0, mask=mask@entry=0, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#25 0x00007f3652db368b in KWin::EffectsHandlerImpl::paintScreen (this=0x2653dd0, mask=0, region=..., data=...) at ../../kwin/effects.cpp:251
#26 0x00007f3652d93c18 in KWin::Scene::paintScreen (this=0x24ecd20, mask=0x7fff885d8fc4, region=0x7fff885d9070) at ../../kwin/scene.cpp:140
#27 0x00007f3652da304e in KWin::SceneOpenGL::paint (this=0x24ecd20, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#28 0x00007f3652d8e01c in KWin::Compositor::performCompositing (this=0x218c200) at ../../kwin/composite.cpp:610
#29 0x00007f364de3c26c in QObject::event (this=0x218c200, e=<optimized out>) at kernel/qobject.cpp:1157
#30 0x00007f364d1cee9c in QApplicationPrivate::notify_helper (this=this@entry=0x1ffd660, receiver=receiver@entry=0x218c200, e=e@entry=0x7fff885d97a0) at kernel/qapplication.cpp:4562
#31 0x00007f364d1d330a in QApplication::notify (this=0x7fff885d9de0, receiver=0x218c200, e=0x7fff885d97a0) at kernel/qapplication.cpp:4423
#32 0x00007f36524ff636 in KApplication::notify (this=0x7fff885d9de0, receiver=0x218c200, event=0x7fff885d97a0) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f364de2756e in QCoreApplication::notifyInternal (this=0x7fff885d9de0, receiver=0x218c200, event=0x7fff885d97a0) at kernel/qcoreapplication.cpp:915
#34 0x00007f364de58462 in sendEvent (event=0x7fff885d97a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QTimerInfoList::activateTimers (this=0x1ffe218) at kernel/qeventdispatcher_unix.cpp:611
#36 0x00007f364de584c0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1facad0) at kernel/qeventdispatcher_unix.cpp:868
#37 0x00007f364de58618 in QEventDispatcherUNIX::processEvents (this=0x1facad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#38 0x00007f364d274a3f in QEventDispatcherX11::processEvents (this=0x1facad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#39 0x00007f364de262bf in QEventLoop::processEvents (this=this@entry=0x7fff885d9af0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f364de26548 in QEventLoop::exec (this=0x7fff885d9af0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f364de2b708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#42 0x00007f3652d44d5a in kdemain (argc=1, argv=0x7fff885d9f28) at ../../kwin/main.cpp:537
#43 0x00007f365293f76d in __libc_start_main (main=0x4006a0 <main(int, char**)>, argc=1, ubp_av=0x7fff885d9f28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff885d9f18) at libc-start.c:226
#44 0x00000000004006d1 in _start ()

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

Reported using DrKonqi
Comment 1 Martin Flöser 2013-02-08 13:25:18 UTC

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