Bug 319123

Summary: Kwin crashes after unlocking the default screen locker
Product: [Plasma] kwin Reporter: Jeremy Gousse <jeremy.gousse>
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 Jeremy Gousse 2013-04-30 15:08:38 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:

The computer was locked by the default screen locker. Sometimes, when I simply unlocked it, kwin crashes and remove the desktop effects.

The crash can be reproduced sometimes.

-- 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 0x7f074183b7c0 (LWP 1918))]

Thread 3 (Thread 0x7f071d31e700 (LWP 2192)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f072413118b in pipe_semaphore_wait (sema=0xd81440) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0xd81260) at radeon_drm_winsys.c:518
#3  0x00007f0734c77f8e in start_thread (arg=0x7f071d31e700) at pthread_create.c:311
#4  0x00007f0741051e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f070dde5700 (LWP 2193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f073d941e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f073d941ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0734c77f8e in start_thread (arg=0x7f070dde5700) at pthread_create.c:311
#4  0x00007f0741051e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f074183b7c0 (LWP 1918)):
[KCrash Handler]
#6  __memset_x86_64 () at ../sysdeps/x86_64/multiarch/../memset.S:1284
#7  0x00007f072411b573 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=0xd404d0, base=base@entry=0x7fff758945c0, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fff758938c0) at r600_texture.c:509
#9  0x00007f072411b857 in r600_texture_create (screen=0xd404d0, templ=0x7fff758945c0) at r600_texture.c:601
#10 0x00007f072412df85 in dri2_drawable_process_buffers (att_count=1, atts=0x7fff758946a0, buffer_count=1, buffers=0x1758880, drawable=0x1369c10) at dri2.c:254
#11 dri2_allocate_textures (drawable=0x1369c10, statts=0x7fff758946a0, statts_count=1) at dri2.c:404
#12 0x00007f072412caf5 in dri_st_framebuffer_validate (stfbi=<optimized out>, statts=0x7fff758946a0, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007f072412cd2e in dri_drawable_validate_att (drawable=0x1369c10, 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 0x00007f07413ec127 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0x14a3770) at ../../kwin/glxbackend.cpp:716
#16 KWin::GlxTexture::loadTexture (this=0x14a3770, pix=<optimized out>, size=..., depth=24) at ../../kwin/glxbackend.cpp:658
#17 0x00007f07413e5bb5 in KWin::SceneOpenGL::Window::bindTexture (this=this@entry=0x17bbc20) at ../../kwin/scene_opengl.cpp:822
#18 0x00007f07413e624c in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0x17bbc20, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:931
#19 0x00007f07413e9fbf in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0xd990b0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:566
#20 0x00007f07413ea15d in KWin::SceneOpenGL2::finalDrawWindow (this=0xd990b0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:551
#21 0x00007f07413f67b5 in KWin::EffectsHandlerImpl::drawWindow (this=0xdaeca0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:318
#22 0x00007f070de5694d in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x1556df0, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:419
#23 0x00007f07413f674b in KWin::EffectsHandlerImpl::drawWindow (this=0xdaeca0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:315
#24 0x00007f073f82ba1a in KWin::Effect::drawWindow (this=<optimized out>, w=0x1556df0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#25 0x00007f07413f674b in KWin::EffectsHandlerImpl::drawWindow (this=0xdaeca0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:315
#26 0x00007f07413d5e0a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene.cpp:449
#27 0x00007f07413f6697 in KWin::EffectsHandlerImpl::paintWindow (this=0xdaeca0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:281
#28 0x00007f073f82bb1a in KWin::Effect::paintWindow (this=<optimized out>, w=0x1556df0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:504
#29 0x00007f07413f663b in KWin::EffectsHandlerImpl::paintWindow (this=0xdaeca0, w=w@entry=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:278
#30 0x00007f073f83884d in KWin::AnimationEffect::paintWindow (this=<optimized out>, w=0x1556df0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwinanimationeffect.cpp:529
#31 0x00007f07413f663b in KWin::EffectsHandlerImpl::paintWindow (this=0xdaeca0, w=0x1556df0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:278
#32 0x00007f07413d89cd in KWin::Scene::paintWindow (this=<optimized out>, w=0x17bbc20, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:356
#33 0x00007f07413d7c7f in KWin::Scene::paintSimpleScreen (this=this@entry=0xd990b0, orig_mask=orig_mask@entry=8, region=...) at ../../kwin/scene.cpp:342
#34 0x00007f07413d5d4e in KWin::Scene::finalPaintScreen (this=0xd990b0, mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#35 0x00007f07413f6a80 in KWin::EffectsHandlerImpl::paintScreen (this=0xdaeca0, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:254
#36 0x00007f073f82bb87 in KWin::Effect::paintScreen (this=this@entry=0xc133b0, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#37 0x00007f07413f6a2b in KWin::EffectsHandlerImpl::paintScreen (this=0xdaeca0, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:251
#38 0x00007f073f82bb87 in KWin::Effect::paintScreen (this=this@entry=0x113f310, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#39 0x00007f07413f6a2b in KWin::EffectsHandlerImpl::paintScreen (this=0xdaeca0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#40 0x00007f07413d7068 in KWin::Scene::paintScreen (this=this@entry=0xd990b0, mask=mask@entry=0x7fff75895704, region=region@entry=0x7fff758957b0) at ../../kwin/scene.cpp:140
#41 0x00007f07413e417e in KWin::SceneOpenGL::paint (this=0xd990b0, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#42 0x00007f07413d0a8c in KWin::Compositor::performCompositing (this=0xc22970) at ../../kwin/composite.cpp:610
#43 0x00007f073c4783ec in QObject::event (this=0xc22970, e=<optimized out>) at kernel/qobject.cpp:1156
#44 0x00007f073b8048ec in QApplicationPrivate::notify_helper (this=this@entry=0xa728a0, receiver=receiver@entry=0xc22970, e=e@entry=0x7fff75895ee0) at kernel/qapplication.cpp:4567
#45 0x00007f073b80725b in QApplication::notify (this=this@entry=0x7fff75896520, receiver=receiver@entry=0xc22970, e=e@entry=0x7fff75895ee0) at kernel/qapplication.cpp:4428
#46 0x00007f0740b3caf6 in KApplication::notify (this=0x7fff75896520, receiver=0xc22970, event=0x7fff75895ee0) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f073c45e63e in QCoreApplication::notifyInternal (this=0x7fff75896520, receiver=0xc22970, event=event@entry=0x7fff75895ee0) at kernel/qcoreapplication.cpp:946
#48 0x00007f073c48fb72 in sendEvent (event=0x7fff75895ee0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QTimerInfoList::activateTimers (this=0xa733e8) at kernel/qeventdispatcher_unix.cpp:622
#50 0x00007f073c48fbd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0xa11ad0) at kernel/qeventdispatcher_unix.cpp:879
#51 0x00007f073c48fd28 in QEventDispatcherUNIX::processEvents (this=this@entry=0xa11ad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#52 0x00007f073b8aab9f in QEventDispatcherX11::processEvents (this=0xa11ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#53 0x00007f073c45d38f in QEventLoop::processEvents (this=this@entry=0x7fff75896230, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f073c45d618 in QEventLoop::exec (this=this@entry=0x7fff75896230, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f073c462cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#56 0x00007f073b802ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x00007f074138802a in kdemain (argc=3, argv=0x7fff75896668) at ../../kwin/main.cpp:537
#58 0x00007f0740f79ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff75896668, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff75896658) at libc-start.c:260
#59 0x0000000000400701 in _start ()

Possible duplicates by query: bug 318742, bug 317963, bug 317274, bug 317162, bug 317140.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-04-30 15:31:25 UTC

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