Application: kwin (4.11.14) KDE Platform Version: 4.14.4 (Compiled from sources) Qt Version: 4.8.6 Operating System: Linux 3.13.11.8-ck1-kubuntu-amdf10-rjvb x86_64 Distribution: Ubuntu 14.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: I woke my Acer Aspire One AO744 netbook after suspending it by closing the lid. It's the first time I see kwin crashing, I hope it's not due to a change in Mesa (10.1.3-0ubuntu0.3) > lspci -vv 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex Subsystem: Acer Incorporated [ALI] Device 0598 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6290] (prog-if 00 [VGA controller]) Subsystem: Acer Incorporated [ALI] Device 0598 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 40 Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M] Region 1: I/O ports at 4000 [size=256] Region 2: Memory at f0400000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: radeon 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio Subsystem: Acer Incorporated [ALI] Device 0598 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 41 Region 0: Memory at f0444000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel -- 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 0x7fbb87882800 (LWP 4341))] Thread 3 (Thread 0x7fbb5bfff700 (LWP 4356)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fbb62cbb4c3 in cnd_wait (mtx=0x1a75950, cond=0x1a75978) at ../../../../../../../include/c11/threads_posix.h:154 #2 pipe_semaphore_wait (sema=0x1a75950) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:248 #3 radeon_drm_cs_emit_ioctl (param=param@entry=0x1a75670) at ../../../../../../../src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:574 #4 0x00007fbb62cbae07 in impl_thrd_routine (p=<optimized out>) at ../../../../../../../include/c11/threads_posix.h:87 #5 0x00007fbb7ea13182 in start_thread (arg=0x7fbb5bfff700) at pthread_create.c:312 #6 0x00007fbb86fec00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fbb5ac32700 (LWP 4358)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fbb861fe8a4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #2 0x00007fbb861fe8e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #3 0x00007fbb7ea13182 in start_thread (arg=0x7fbb5ac32700) at pthread_create.c:312 #4 0x00007fbb86fec00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fbb87882800 (LWP 4341)): [KCrash Handler] #6 0x00007fbb62caa594 in r600_context_add_resource_size (ctx=ctx@entry=0x1cee380, r=0x1a1b980) at ../../../../../../src/gallium/drivers/radeon/r600_pipe_common.c:114 #7 0x00007fbb62c70713 in r600_set_vertex_buffers (ctx=0x1cee380, start_slot=0, count=1, input=<optimized out>) at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:528 #8 0x00007fbb624e9e3d in u_vbuf_set_driver_vertex_buffers (mgr=mgr@entry=0x1ccf080) at ../../../../../src/gallium/auxiliary/util/u_vbuf.c:1121 #9 0x00007fbb624ebb18 in u_vbuf_draw_vbo (mgr=0x1ccf080, info=0x7fff53359460) at ../../../../../src/gallium/auxiliary/util/u_vbuf.c:1143 #10 0x00007fbb62b7905b in st_draw_vbo (ctx=<optimized out>, prims=<optimized out>, nr_prims=<optimized out>, ib=0x7fff53359520, index_bounds_valid=<optimized out>, min_index=4294967295, max_index=4294967295, tfb_vertcount=0x0, indirect=0x0) at ../../../../src/mesa/state_tracker/st_draw.c:276 #11 0x00007fbb62b4b023 in vbo_handle_primitive_restart (ctx=ctx@entry=0x1b1f400, prim=prim@entry=0x7fff53359540, nr_prims=nr_prims@entry=1, ib=ib@entry=0x7fff53359520, index_bounds_valid=index_bounds_valid@entry=0 '\000', min_index=min_index@entry=4294967295, max_index=max_index@entry=4294967295) at ../../../../src/mesa/vbo/vbo_exec_array.c:585 #12 0x00007fbb62b4c340 in vbo_validated_drawrangeelements (ctx=ctx@entry=0x1b1f400, mode=mode@entry=4, index_bounds_valid=index_bounds_valid@entry=0 '\000', start=start@entry=4294967295, end=end@entry=4294967295, count=count@entry=12, type=type@entry=5123, indices=indices@entry=0x0, basevertex=basevertex@entry=0, numInstances=numInstances@entry=1, baseInstance=baseInstance@entry=0) at ../../../../src/mesa/vbo/vbo_exec_array.c:1006 #13 0x00007fbb62b4c7d5 in vbo_exec_DrawElementsBaseVertex (mode=4, count=12, type=5123, indices=0x0, basevertex=0) at ../../../../src/mesa/vbo/vbo_exec_array.c:1179 #14 0x00007fbb81e56f15 in KWin::GLVertexBuffer::draw (this=<optimized out>, region=..., primitiveMode=<optimized out>, first=0, count=12, hardwareClipping=<optimized out>) at ../../../kwin/libkwineffects/kwinglutils.cpp:1936 #15 0x00007fbb873c1a91 in KWin::SceneOpenGL2Window::performPaint (this=0x2651ff0, mask=<optimized out>, region=..., data=...) at ../../kwin/scene_opengl.cpp:1574 #16 0x00007fbb873be64e in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:784 #17 0x00007fbb873be474 in KWin::SceneOpenGL2::finalDrawWindow (this=0x1c745c0, w=0x26e45e0, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:770 #18 0x00007fbb873d8b05 in KWin::EffectsHandlerImpl::drawWindow (this=<optimized out>, w=0x26e45e0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:455 #19 0x00007fbb5b10b197 in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x26e45e0, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:428 #20 0x00007fbb873d8ac2 in KWin::EffectsHandlerImpl::drawWindow (this=0x1fd8550, w=0x26e45e0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:452 #21 0x00007fbb873ab06a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x1a1b980, mask=30208968, region=..., data=...) at ../../kwin/scene.cpp:584 #22 0x00007fbb873d872e in KWin::EffectsHandlerImpl::paintWindow (this=<optimized out>, w=0x26e45e0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:418 #23 0x00007fbb86aa55ba in KWin::Effect::paintWindow (this=<optimized out>, w=0x1a1b980, mask=30208968, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:537 #24 0x00007fbb873d86f2 in KWin::EffectsHandlerImpl::paintWindow (this=0x1fd8550, w=0x26e45e0, mask=9, region=..., data=...) at ../../kwin/effects.cpp:415 #25 0x00007fbb873a9ba4 in KWin::Scene::paintWindow (this=0x1c745c0, w=0x2651ff0, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:416 #26 0x00007fbb873a90ea in KWin::Scene::paintSimpleScreen (this=0x1cee380, orig_mask=<optimized out>, region=...) at ../../kwin/scene.cpp:378 #27 0x00007fbb873a79ba in KWin::Scene::finalPaintScreen (this=0x1c745c0, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198 #28 0x00007fbb873d84c8 in KWin::EffectsHandlerImpl::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at ../../kwin/effects.cpp:375 #29 0x00007fbb86aa5501 in KWin::Effect::paintScreen (this=<optimized out>, mask=27376000, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:522 #30 0x00007fbb873d848f in KWin::EffectsHandlerImpl::paintScreen (this=0x1fd8550, mask=8, region=..., data=...) at ../../kwin/effects.cpp:372 #31 0x00007fbb873a75d5 in KWin::Scene::paintScreen (this=0x1c745c0, mask=<optimized out>, damage=..., repaint=..., updateRegion=0x7fff5335a2e0, validRegion=0x7fff5335a2d8) at ../../kwin/scene.cpp:148 #32 0x00007fbb873bc594 in KWin::SceneOpenGL::paint (this=0x1c745c0, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:389 #33 0x00007fbb8739f62d in KWin::Compositor::performCompositing (this=0x1a28700) at ../../kwin/composite.cpp:624 #34 0x00007fbb8104cc09 in QObject::event (this=0x1a28700, e=<optimized out>) at kernel/qobject.cpp:1199 #35 0x00007fbb803ee82c in QApplicationPrivate::notify_helper (this=0x178b340, receiver=0x1a28700, e=0x7fff5335a780) at kernel/qapplication.cpp:4570 #36 0x00007fbb803f4d1b in QApplication::notify (this=0x7fff5335abe8, receiver=0x1a1b980, e=0x7fff5335a780) at kernel/qapplication.cpp:4356 #37 0x00007fbb85af0a27 in KApplication::notify (this=0x7fff5335abe8, receiver=0x1a28700, event=0x7fff5335a780) at ../../kdeui/kernel/kapplication.cpp:321 #38 0x00007fbb873424e6 in KWin::Application::notify (this=0x7fff5335abe8, o=0x1a28700, e=0x7fff5335a780) at ../../kwin/main.cpp:431 #39 0x00007fbb8103162c in QCoreApplication::notifyInternal (this=0x7fff5335abe8, receiver=0x1a28700, event=event@entry=0x7fff5335a780) at kernel/qcoreapplication.cpp:953 #40 0x00007fbb81066923 in sendEvent (event=0x7fff5335a780, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #41 QTimerInfoList::activateTimers (this=0x178c098) at kernel/qeventdispatcher_unix.cpp:621 #42 0x00007fbb81066a50 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1769df0) at kernel/qeventdispatcher_unix.cpp:878 #43 0x00007fbb810671f7 in QEventDispatcherUNIX::processEvents (this=this@entry=0x1769df0, flags=...) at kernel/qeventdispatcher_unix.cpp:940 #44 0x00007fbb8048d866 in QEventDispatcherX11::processEvents (this=0x1769df0, flags=...) at kernel/qeventdispatcher_x11.cpp:152 #45 0x00007fbb8103004f in QEventLoop::processEvents (this=this@entry=0x7fff5335aae0, flags=...) at kernel/qeventloop.cpp:149 #46 0x00007fbb81030395 in QEventLoop::exec (this=this@entry=0x7fff5335aae0, flags=...) at kernel/qeventloop.cpp:204 #47 0x00007fbb81036509 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #48 0x00007fbb873438a6 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:597 #49 0x00007fbb86f12ec5 in __libc_start_main (main=0x4007f0 <main(int, char**)>, argc=1, argv=0x7fff5335af48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5335af38) at libc-start.c:287 #50 0x0000000000400719 in _start () Reported using DrKonqi
VERY likely driver bug, crashes in glDrawElementsBaseVertex(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, NULL, first); Pot. related (but older) bug: https://bugs.freedesktop.org/show_bug.cgi?id=32455 Newer bug, but suggesting wrong usage of MAP_INVALIDATE_BUFFER_BIT https://bugs.freedesktop.org/show_bug.cgi?id=75061 (i doubt, though, due to the very specific condition this will rather be between the driver and the kernel module) - Please atach the output of qdbus org.kde.KWin /KWin supportInformation - In case you're using the aurorae or plastik decoration (engine), try oxygen. - Do you also lock the screen on suspend?
Created attachment 90978 [details] requested output from qdbus org.kde.KWin /KWin supportInformation
(In reply to Thomas Lübking from comment #1) > VERY likely driver bug, crashes in > glDrawElementsBaseVertex(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, NULL, > first); Could be Mesa, no? IIRC that got an update pushed (and applied locally) one of the last few days. > - In case you're using the aurorae or plastik decoration (engine), try > oxygen. I'm using oxygen already. > - Do you also lock the screen on suspend? Yes. So when I first saw the DrK window I thought I'd triggered another bug in kded, remember? ;)
(In reply to RJVB from comment #3) > Could be Mesa, no? "Would" be, yes. > Yes. You could try w/o (if this is a reproducible crash) to see whether this is rather caused by the wakeup, the unlock, or a combination > glCoreProfile: true You might also try OpenGL 2.0 or kwin_gles on this. Another thing is that in case the radeon driver got updated as well, you may now be using GLAMOR? grep -i glamor /var/log/Xorg.0.log > So when I first saw the DrK window I thought I'd triggered another bug > in kded, remember? ;) Toc-toc-toc. I'm keeping my fingers crossed on this one ;-)
> You could try w/o (if this is a reproducible crash) to see whether this is > rather caused by the wakeup, the unlock, or a combination I'm hoping this is not (too) reproducible though, not on that "slowboat". The kind of thing you're suggesting is going to be "fun" to do and might make me want to apply not just the term "kickaround" to it ;) > > glCoreProfile: true > You might also try OpenGL 2.0 or kwin_gles on this. kwin_gles is or appears to be less stable and/or subject to more artefacts than kwin regular, but in ways I've not yet managed to pin down. > Another thing is that in case the radeon driver got updated as well, you may > now be using GLAMOR? I'll have to check tomorrow when I wake the thing, but that's not the most recent kernel patch version I'm using, for a couple of months now. > > grep -i glamor /var/log/Xorg.0.log > > > So when I first saw the DrK window I thought I'd triggered another bug > > in kded, remember? ;) > Toc-toc-toc. I'm keeping my fingers crossed on this one ;-)
(In reply to Thomas Lübking from comment #4) > grep -i glamor /var/log/Xorg.0.log No hits there, nor in `dmesg | fgrep -i glamo`, for good measure.
The crash is reported against KWin 4.11. This version is by now unmaintained. Too much code changed to assume that this crash is still valid for KWin 5. If you are still able to reproduce this crash with KWin 5 please report a new bug with a new backtrace. Thank you.