Bug 319487

Summary: Crash when locked/idle.
Product: [Plasma] kwin Reporter: mycahm
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 mycahm 2013-05-07 18:45:50 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:

KWin crashing while desktop is locked and idle for more than 10 minutes.

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 0x7fad3230a7c0 (LWP 1989))]

Thread 3 (Thread 0x7fad0d529700 (LWP 1998)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fad143f718b in pipe_semaphore_wait (sema=0xb11a30) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0xb11850) at radeon_drm_winsys.c:518
#3  0x00007fad25741f8e in start_thread (arg=0x7fad0d529700) at pthread_create.c:311
#4  0x00007fad31b1be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7facfed69700 (LWP 2001)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fad2e40be77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fad2e40bea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fad25741f8e in start_thread (arg=0x7facfed69700) at pthread_create.c:311
#4  0x00007fad31b1be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fad3230a7c0 (LWP 1989)):
[KCrash Handler]
#6  __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:873
#7  0x00007fad143e1573 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=0xb11de0, base=base@entry=0x7fff2a54b140, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fff2a54a440) at r600_texture.c:509
#9  0x00007fad143e1857 in r600_texture_create (screen=0xb11de0, templ=0x7fff2a54b140) at r600_texture.c:601
#10 0x00007fad143f3f85 in dri2_drawable_process_buffers (att_count=1, atts=0x7fff2a54b220, buffer_count=1, buffers=0x1920b00, drawable=0x17a8210) at dri2.c:254
#11 dri2_allocate_textures (drawable=0x17a8210, statts=0x7fff2a54b220, statts_count=1) at dri2.c:404
#12 0x00007fad143f2af5 in dri_st_framebuffer_validate (stfbi=<optimized out>, statts=0x7fff2a54b220, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007fad143f2d2e in dri_drawable_validate_att (drawable=0x17a8210, 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 0x00007fad31eb6127 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0x184e210) at ../../kwin/glxbackend.cpp:716
#16 KWin::GlxTexture::loadTexture (this=0x184e210, pix=<optimized out>, size=..., depth=24) at ../../kwin/glxbackend.cpp:658
#17 0x00007fad31eafbb5 in KWin::SceneOpenGL::Window::bindTexture (this=this@entry=0xfc87c0) at ../../kwin/scene_opengl.cpp:822
#18 0x00007fad31eb024c in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0xfc87c0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:931
#19 0x00007fad31eb3fbf in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0xba3e90, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:566
#20 0x00007fad31eb415d in KWin::SceneOpenGL2::finalDrawWindow (this=0xba3e90, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:551
#21 0x00007fad31ec07b5 in KWin::EffectsHandlerImpl::drawWindow (this=0xd56a50, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:318
#22 0x00007facfedda94d in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x16a9cb0, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:419
#23 0x00007fad31ec074b in KWin::EffectsHandlerImpl::drawWindow (this=0xd56a50, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:315
#24 0x00007fad302f5a1a in KWin::Effect::drawWindow (this=<optimized out>, w=0x16a9cb0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#25 0x00007fad31ec074b in KWin::EffectsHandlerImpl::drawWindow (this=0xd56a50, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:315
#26 0x00007fad31e9fe0a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene.cpp:449
#27 0x00007fad31ec0697 in KWin::EffectsHandlerImpl::paintWindow (this=0xd56a50, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:281
#28 0x00007fad302f5b1a in KWin::Effect::paintWindow (this=<optimized out>, w=0x16a9cb0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:504
#29 0x00007fad31ec063b in KWin::EffectsHandlerImpl::paintWindow (this=0xd56a50, w=w@entry=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:278
#30 0x00007fad3030284d in KWin::AnimationEffect::paintWindow (this=<optimized out>, w=0x16a9cb0, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwinanimationeffect.cpp:529
#31 0x00007fad31ec063b in KWin::EffectsHandlerImpl::paintWindow (this=0xd56a50, w=0x16a9cb0, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:278
#32 0x00007fad31ea29cd in KWin::Scene::paintWindow (this=<optimized out>, w=0xfc87c0, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:356
#33 0x00007fad31ea1c7f in KWin::Scene::paintSimpleScreen (this=this@entry=0xba3e90, orig_mask=orig_mask@entry=8, region=...) at ../../kwin/scene.cpp:342
#34 0x00007fad31e9fd4e in KWin::Scene::finalPaintScreen (this=0xba3e90, mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#35 0x00007fad31ec0a80 in KWin::EffectsHandlerImpl::paintScreen (this=0xd56a50, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:254
#36 0x00007fad302f5b87 in KWin::Effect::paintScreen (this=this@entry=0xd4f5a0, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#37 0x00007fad31ec0a2b in KWin::EffectsHandlerImpl::paintScreen (this=0xd56a50, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:251
#38 0x00007fad302f5b87 in KWin::Effect::paintScreen (this=this@entry=0xe1f940, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#39 0x00007fad31ec0a2b in KWin::EffectsHandlerImpl::paintScreen (this=0xd56a50, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#40 0x00007fad31ea1068 in KWin::Scene::paintScreen (this=this@entry=0xba3e90, mask=mask@entry=0x7fff2a54c284, region=region@entry=0x7fff2a54c330) at ../../kwin/scene.cpp:140
#41 0x00007fad31eae17e in KWin::SceneOpenGL::paint (this=0xba3e90, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#42 0x00007fad31e9aa8c in KWin::Compositor::performCompositing (this=0xa80cc0) at ../../kwin/composite.cpp:610
#43 0x00007fad2cf423ec in QObject::event (this=0xa80cc0, e=<optimized out>) at kernel/qobject.cpp:1156
#44 0x00007fad2c2ce8ec in QApplicationPrivate::notify_helper (this=this@entry=0x8c0ee0, receiver=receiver@entry=0xa80cc0, e=e@entry=0x7fff2a54ca60) at kernel/qapplication.cpp:4567
#45 0x00007fad2c2d125b in QApplication::notify (this=this@entry=0x7fff2a54d0a0, receiver=receiver@entry=0xa80cc0, e=e@entry=0x7fff2a54ca60) at kernel/qapplication.cpp:4428
#46 0x00007fad31606af6 in KApplication::notify (this=0x7fff2a54d0a0, receiver=0xa80cc0, event=0x7fff2a54ca60) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007fad2cf2863e in QCoreApplication::notifyInternal (this=0x7fff2a54d0a0, receiver=0xa80cc0, event=event@entry=0x7fff2a54ca60) at kernel/qcoreapplication.cpp:946
#48 0x00007fad2cf59b72 in sendEvent (event=0x7fff2a54ca60, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QTimerInfoList::activateTimers (this=0x8c1a28) at kernel/qeventdispatcher_unix.cpp:622
#50 0x00007fad2cf59bd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x860ad0) at kernel/qeventdispatcher_unix.cpp:879
#51 0x00007fad2cf59d28 in QEventDispatcherUNIX::processEvents (this=this@entry=0x860ad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#52 0x00007fad2c374b9f in QEventDispatcherX11::processEvents (this=0x860ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#53 0x00007fad2cf2738f in QEventLoop::processEvents (this=this@entry=0x7fff2a54cdb0, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fad2cf27618 in QEventLoop::exec (this=this@entry=0x7fff2a54cdb0, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fad2cf2ccf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#56 0x00007fad2c2ccffc in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x00007fad31e5202a in kdemain (argc=3, argv=0x7fff2a54d1e8) at ../../kwin/main.cpp:537
#58 0x00007fad31a43ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff2a54d1e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2a54d1d8) at libc-start.c:260
#59 0x0000000000400701 in _start ()

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

Possible duplicates by query: bug 319236, bug 319110, bug 319098, bug 318996, bug 318286.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-05-07 18:51:09 UTC

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