Bug 319098

Summary: KWin crash upon maximize
Product: [Plasma] kwin Reporter: Sean Gaddis <gaddis.sean.k>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sean Gaddis 2013-04-30 03:29:24 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

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

- Unusual behavior I noticed:
Maximized the window and it crashed. Using Radeon 6970HD GPU Chipset and AMD FX8 Processor

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3f6751a7c0 (LWP 9358))]

Thread 3 (Thread 0x7f3f3989f700 (LWP 9367)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3bdcc18b in pipe_semaphore_wait (sema=0x18b9a30) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0x18b9850) at radeon_drm_winsys.c:518
#3  0x00007f3f5a887f8e in start_thread (arg=0x7f3f3989f700) at pthread_create.c:311
#4  0x00007f3f66d21e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3f4a0f7700 (LWP 9368)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f635c4e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3f635c4ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f3f5a887f8e in start_thread (arg=0x7f3f4a0f7700) at pthread_create.c:311
#4  0x00007f3f66d21e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3f6751a7c0 (LWP 9358)):
[KCrash Handler]
#6  __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:873
#7  0x00007f3f3bdb6573 in memset (__len=<optimized out>, __ch=204, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:84
#8  r600_texture_create_object (screen=screen@entry=0x18b9cb0, base=base@entry=0x7fffba0b9700, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fffba0b8a00) at r600_texture.c:509
#9  0x00007f3f3bdb6857 in r600_texture_create (screen=0x18b9cb0, templ=0x7fffba0b9700) at r600_texture.c:601
#10 0x00007f3f3bdc8f85 in dri2_drawable_process_buffers (att_count=1, atts=0x7fffba0b97e0, buffer_count=1, buffers=0x1780f70, drawable=0x1781ee0) at dri2.c:254
#11 dri2_allocate_textures (drawable=0x1781ee0, statts=0x7fffba0b97e0, statts_count=1) at dri2.c:404
#12 0x00007f3f3bdc7af5 in dri_st_framebuffer_validate (stfbi=<optimized out>, statts=0x7fffba0b97e0, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007f3f3bdc7d2e in dri_drawable_validate_att (drawable=0x1781ee0, statt=<optimized out>) at dri_drawable.c:206
#14 dri_set_tex_buffer2 (pDRICtx=<optimized out>, target=3553, format=8409, dPriv=<optimized out>) at dri_drawable.c:220
#15 0x00007f3f670bc127 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0x1d59c50) at ../../kwin/glxbackend.cpp:716
#16 KWin::GlxTexture::loadTexture (this=0x1d59c50, pix=<optimized out>, size=..., depth=24) at ../../kwin/glxbackend.cpp:658
#17 0x00007f3f670b5bb5 in KWin::SceneOpenGL::Window::bindTexture (this=this@entry=0x164f480) at ../../kwin/scene_opengl.cpp:822
#18 0x00007f3f670b5dc8 in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0x164f480, mask=mask@entry=37, region=..., data=...) at ../../kwin/scene_opengl.cpp:931
#19 0x00007f3f670b9fbf in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x1951620, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/scene_opengl.cpp:566
#20 0x00007f3f670ba15d in KWin::SceneOpenGL2::finalDrawWindow (this=0x1951620, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/scene_opengl.cpp:551
#21 0x00007f3f670c67b5 in KWin::EffectsHandlerImpl::drawWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:318
#22 0x00007f3f4a16894d in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:419
#23 0x00007f3f670c674b in KWin::EffectsHandlerImpl::drawWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:315
#24 0x00007f3f654e8a1a in KWin::Effect::drawWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#25 0x00007f3f670c674b in KWin::EffectsHandlerImpl::drawWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:315
#26 0x00007f3f654e8a1a in KWin::Effect::drawWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#27 0x00007f3f670c674b in KWin::EffectsHandlerImpl::drawWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:315
#28 0x00007f3f654e8a1a in KWin::Effect::drawWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#29 0x00007f3f670c674b in KWin::EffectsHandlerImpl::drawWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:315
#30 0x00007f3f670a5e0a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/scene.cpp:449
#31 0x00007f3f670c6697 in KWin::EffectsHandlerImpl::paintWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:281
#32 0x00007f3f654e8b1a in KWin::Effect::paintWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:504
#33 0x00007f3f670c663b in KWin::EffectsHandlerImpl::paintWindow (this=0x1b06aa0, w=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:278
#34 0x00007f3f4a135b08 in KWin::TaskbarThumbnailEffect::paintWindow (this=0x1c319a0, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/effects/taskbarthumbnail/taskbarthumbnail.cpp:69
#35 0x00007f3f670c663b in KWin::EffectsHandlerImpl::paintWindow (this=0x1b06aa0, w=w@entry=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:278
#36 0x00007f3f654f584d in KWin::AnimationEffect::paintWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/libkwineffects/kwinanimationeffect.cpp:529
#37 0x00007f3f670c663b in KWin::EffectsHandlerImpl::paintWindow (this=0x1b06aa0, w=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:278
#38 0x00007f3f4a1518db in KWin::MinimizeAnimationEffect::paintWindow (this=<optimized out>, w=0x1ae8ee0, mask=37, region=..., data=...) at ../../../kwin/effects/minimizeanimation/minimizeanimation.cpp:103
#39 0x00007f3f670c663b in KWin::EffectsHandlerImpl::paintWindow (this=0x1b06aa0, w=0x1ae8ee0, mask=mask@entry=37, region=..., data=...) at ../../kwin/effects.cpp:278
#40 0x00007f3f670a89cd in KWin::Scene::paintWindow (this=<optimized out>, w=0x164f480, mask=37, region=..., quads=...) at ../../kwin/scene.cpp:356
#41 0x00007f3f670a6dc4 in KWin::Scene::paintGenericScreen (this=this@entry=0x1951620, orig_mask=orig_mask@entry=32) at ../../kwin/scene.cpp:228
#42 0x00007f3f670b9d3a in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x1951620, mask=mask@entry=32, data=...) at ../../kwin/scene_opengl.cpp:516
#43 0x00007f3f670a5d91 in KWin::Scene::finalPaintScreen (this=0x1951620, mask=mask@entry=32, region=..., data=...) at ../../kwin/scene.cpp:184
#44 0x00007f3f670c6a80 in KWin::EffectsHandlerImpl::paintScreen (this=0x1b06aa0, mask=mask@entry=32, region=..., data=...) at ../../kwin/effects.cpp:254
#45 0x00007f3f654e8b87 in KWin::Effect::paintScreen (this=this@entry=0x15c4f10, mask=mask@entry=32, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#46 0x00007f3f670c6a2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1b06aa0, mask=mask@entry=32, region=..., data=...) at ../../kwin/effects.cpp:251
#47 0x00007f3f654e8b87 in KWin::Effect::paintScreen (this=this@entry=0x1c319a0, mask=mask@entry=32, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#48 0x00007f3f670c6a2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1b06aa0, mask=mask@entry=32, region=..., data=...) at ../../kwin/effects.cpp:251
#49 0x00007f3f654e8b87 in KWin::Effect::paintScreen (this=this@entry=0x15d90e0, mask=mask@entry=32, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#50 0x00007f3f670c6a2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1b06aa0, mask=mask@entry=32, region=..., data=...) at ../../kwin/effects.cpp:251
#51 0x00007f3f654e8b87 in KWin::Effect::paintScreen (this=this@entry=0x1bdbc20, mask=mask@entry=32, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#52 0x00007f3f670c6a2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1b06aa0, mask=32, region=..., data=...) at ../../kwin/effects.cpp:251
#53 0x00007f3f670a7068 in KWin::Scene::paintScreen (this=this@entry=0x1951620, mask=mask@entry=0x7fffba0badf4, region=region@entry=0x7fffba0baea0) at ../../kwin/scene.cpp:140
#54 0x00007f3f670b417e in KWin::SceneOpenGL::paint (this=0x1951620, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#55 0x00007f3f670a0a8c in KWin::Compositor::performCompositing (this=0x156c6f0) at ../../kwin/composite.cpp:610
#56 0x00007f3f620ea3ec in QObject::event (this=0x156c6f0, e=<optimized out>) at kernel/qobject.cpp:1156
#57 0x00007f3f614738ec in QApplicationPrivate::notify_helper (this=this@entry=0x13d27a0, receiver=receiver@entry=0x156c6f0, e=e@entry=0x7fffba0bb5d0) at kernel/qapplication.cpp:4567
#58 0x00007f3f6147625b in QApplication::notify (this=this@entry=0x7fffba0bbc10, receiver=receiver@entry=0x156c6f0, e=e@entry=0x7fffba0bb5d0) at kernel/qapplication.cpp:4428
#59 0x00007f3f6680baf6 in KApplication::notify (this=0x7fffba0bbc10, receiver=0x156c6f0, event=0x7fffba0bb5d0) at ../../kdeui/kernel/kapplication.cpp:311
#60 0x00007f3f620d063e in QCoreApplication::notifyInternal (this=0x7fffba0bbc10, receiver=0x156c6f0, event=event@entry=0x7fffba0bb5d0) at kernel/qcoreapplication.cpp:946
#61 0x00007f3f62101b72 in sendEvent (event=0x7fffba0bb5d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QTimerInfoList::activateTimers (this=0x13d32e8) at kernel/qeventdispatcher_unix.cpp:622
#63 0x00007f3f62101bd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1374ad0) at kernel/qeventdispatcher_unix.cpp:879
#64 0x00007f3f62101d28 in QEventDispatcherUNIX::processEvents (this=this@entry=0x1374ad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#65 0x00007f3f61519b9f in QEventDispatcherX11::processEvents (this=0x1374ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#66 0x00007f3f620cf38f in QEventLoop::processEvents (this=this@entry=0x7fffba0bb920, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007f3f620cf618 in QEventLoop::exec (this=this@entry=0x7fffba0bb920, flags=...) at kernel/qeventloop.cpp:204
#68 0x00007f3f620d4cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#69 0x00007f3f61471ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#70 0x00007f3f6705802a in kdemain (argc=3, argv=0x7fffba0bbd58) at ../../kwin/main.cpp:537
#71 0x00007f3f66c49ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fffba0bbd58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffba0bbd48) at libc-start.c:260
#72 0x0000000000400701 in _start ()

This bug may be a duplicate of or related to bug 315089.

Possible duplicates by query: bug 318996, bug 318286, bug 318256, bug 318252, bug 318219.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-04-30 05:50:49 UTC

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