Bug 316393 - Idle kwin crashed
Summary: Idle kwin crashed
Status: RESOLVED DUPLICATE of bug 315089
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugs.freedesktop.org/show_bug...
Keywords:
: 317274 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-08 22:38 UTC by Elias Probst
Modified: 2013-03-29 18:36 UTC (History)
2 users (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 Elias Probst 2013-03-08 22:38:49 UTC
Application: kwin (4.10.00)
KDE Platform Version: 4.10.00 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
I left my computer unattended and when I returned after ~20h, I found kwin crashed.
libdrm is from git as of 2013-02-17.

Sorry I can't provide much more details right now. If the backtrace doesn't tell you anything helpful, please just close the bug.

-- Backtrace:
Application: KWin (kwin), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6f7bf947c0 (LWP 2821))]

Thread 3 (Thread 0x7f6f5a5aa700 (LWP 2829)):
#0  0x00007f6f769bdefc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6f7802eff2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6f78302e20 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f6f7802f029 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f6f769b9b77 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6f7b7d668d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6f58f18700 (LWP 2831)):
#0  0x00007f6f769bdefc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6f52e6940a in pipe_semaphore_wait (sema=0x21f9550) at ../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  0x00007f6f52e706c3 in radeon_drm_cs_emit_ioctl (param=0x21f9370) at radeon_drm_winsys.c:518
#3  0x00007f6f769b9b77 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6f7b7d668d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6f7bf947c0 (LWP 2821)):
[KCrash Handler]
#6  0x00007f6f7b777a3b in __memset_sse2 () from /lib64/libc.so.6
#7  0x00007f6f52e49ae2 in r600_texture_create_object (screen=0x21456f0, base=0x7fff412528b0, pitch_in_bytes_override=0, buf=0x0, surface=0x7fff41251bc0) at r600_texture.c:509
#8  0x00007f6f52e4a134 in r600_texture_create (screen=0x21456f0, templ=0x7fff412528b0) at r600_texture.c:601
#9  0x00007f6f52e2df91 in r600_resource_create (screen=0x21456f0, templ=0x7fff412528b0) at r600_resource.c:37
#10 0x00007f6f52e64230 in dri2_drawable_process_buffers (drawable=0x28cbcf0, buffers=0x290a650, buffer_count=1, atts=0x7fff412529f0, att_count=1) at dri2.c:254
#11 0x00007f6f52e64711 in dri2_allocate_textures (drawable=0x28cbcf0, statts=0x7fff412529f0, statts_count=1) at dri2.c:404
#12 0x00007f6f52e62c80 in dri_st_framebuffer_validate (stfbi=0x28cbcf0, statts=0x7fff412529f0, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007f6f52e6305d in dri_drawable_validate_att (drawable=0x28cbcf0, statt=ST_ATTACHMENT_FRONT_LEFT) at dri_drawable.c:206
#14 0x00007f6f52e630ae in dri_set_tex_buffer2 (pDRICtx=0x2129100, target=3553, format=8409, dPriv=0x2918100) at dri_drawable.c:220
#15 0x00007f6f778828ce in dri2_bind_tex_image (dpy=0x1d66570, drawable=35736699, buffer=8414, attrib_list=0x0) at dri2_glx.c:1006
#16 0x00007f6f778460ad in __glXBindTexImageEXT (dpy=0x1d66570, drawable=35736699, buffer=8414, attrib_list=0x0) at glxcmds.c:2370
#17 0x00007f6f7bb6a939 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0x290a1b0) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/glxbackend.cpp:716
#18 KWin::GlxTexture::loadTexture (this=0x290a1b0, pix=<optimized out>, size=..., depth=24) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/glxbackend.cpp:658
#19 0x00007f6f7bb6198d in KWin::SceneOpenGL::Window::bindTexture (this=0x29099b0) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene_opengl.cpp:822
#20 0x00007f6f7bb689f1 in KWin::SceneOpenGL::Window::performPaint (this=0x29099b0, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene_opengl.cpp:931
#21 0x00007f6f7bb60b97 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene_opengl.cpp:566
#22 0x00007f6f7bb60cf6 in KWin::SceneOpenGL2::finalDrawWindow (this=0x212d4f0, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene_opengl.cpp:551
#23 0x00007f6f7bb76205 in KWin::EffectsHandlerImpl::drawWindow (this=0x2523880, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/effects.cpp:318
#24 0x00007f6f79efd87b in KWin::Effect::drawWindow (this=<optimized out>, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/libkwineffects/kwineffects.cpp:529
#25 0x00007f6f7bb76199 in KWin::EffectsHandlerImpl::drawWindow (this=0x2523880, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/effects.cpp:315
#26 0x00007f6f7bb529fb in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene.cpp:449
#27 0x00007f6f7bb76487 in KWin::EffectsHandlerImpl::paintWindow (this=0x2523880, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/effects.cpp:281
#28 0x00007f6f79f0ba6c in KWin::AnimationEffect::paintWindow (this=<optimized out>, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/libkwineffects/kwinanimationeffect.cpp:518
#29 0x00007f6f7bb76429 in KWin::EffectsHandlerImpl::paintWindow (this=0x2523880, w=0x28fbc40, mask=10, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/effects.cpp:278
#30 0x00007f6f7bb55846 in KWin::Scene::paintWindow (this=<optimized out>, w=0x29099b0, mask=10, region=..., quads=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene.cpp:356
#31 0x00007f6f7bb53a84 in KWin::Scene::paintSimpleScreen (this=0x212d4f0, orig_mask=8, region=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene.cpp:342
#32 0x00007f6f7bb52942 in KWin::Scene::finalPaintScreen (this=0x212d4f0, mask=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene.cpp:186
#33 0x00007f6f7bb76654 in KWin::EffectsHandlerImpl::paintScreen (this=0x2523880, mask=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/effects.cpp:254
#34 0x00007f6f79efd9f8 in KWin::Effect::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/libkwineffects/kwineffects.cpp:489
#35 0x00007f6f7bb765fb in KWin::EffectsHandlerImpl::paintScreen (this=0x2523880, mask=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/effects.cpp:251
#36 0x00007f6f7bb541fa in KWin::Scene::paintScreen (this=0x212d4f0, mask=0x7fff41253ba8, region=0x7fff41253cf0) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene.cpp:140
#37 0x00007f6f7bb686f3 in KWin::SceneOpenGL::paint (this=0x212d4f0, damage=..., toplevels=...) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/scene_opengl.cpp:308
#38 0x00007f6f7bb4d329 in performCompositing (this=0x1e30910) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/composite.cpp:610
#39 KWin::Compositor::performCompositing (this=0x1e30910) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/composite.cpp:541
#40 0x00007f6f76d6dd99 in QObject::event (this=0x1e30910, e=<optimized out>) at kernel/qobject.cpp:1156
#41 0x00007f6f75edce54 in notify_helper (e=0x7fff412543b0, receiver=0x1e30910, this=0x1d629b0) at kernel/qapplication.cpp:4562
#42 QApplicationPrivate::notify_helper (this=0x1d629b0, receiver=0x1e30910, e=0x7fff412543b0) at kernel/qapplication.cpp:4534
#43 0x00007f6f75ee1c23 in QApplication::notify (this=0x7fff41254780, receiver=0x1e30910, e=0x7fff412543b0) at kernel/qapplication.cpp:4423
#44 0x00007f6f7b2b89c6 in KApplication::notify (this=0x7fff41254780, receiver=0x1e30910, event=0x7fff412543b0) at /var/tmp/portage/kde-base/kdelibs-4.10.0/work/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#45 0x00007f6f76d54f8c in QCoreApplication::notifyInternal (this=0x7fff41254780, receiver=0x1e30910, event=0x7fff412543b0) at kernel/qcoreapplication.cpp:946
#46 0x00007f6f76d85fc2 in sendEvent (event=0x7fff412543b0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#47 QTimerInfoList::activateTimers (this=0x1d63538) at kernel/qeventdispatcher_unix.cpp:622
#48 0x00007f6f76d86994 in QEventDispatcherUNIX::processEvents (this=0x1d62080, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#49 0x00007f6f75f80a3e in QEventDispatcherX11::processEvents (this=0x1d62080, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#50 0x00007f6f76d53ac2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f6f76d53d17 in QEventLoop::exec (this=0x7fff41254700, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f6f76d58b35 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#53 0x00007f6f7bafec2b in kdemain (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kwin-4.10.0/work/kwin-4.10.0/kwin/main.cpp:537
#54 0x00007f6f7b716474 in __libc_start_main () from /lib64/libc.so.6
#55 0x00000000004006f1 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-03-08 22:49:14 UTC
Crashes in the driver, some window seems animated.

a) do you use a screenlocker/saver (that could have kicked in while you were absent)?
b) "kcmshell4 kwincompositing", 3rd tab, is "suspend compositing for fullscreen windows" checked?
Comment 2 Elias Probst 2013-03-09 17:26:30 UTC
(In reply to comment #1)
> a) do you use a screenlocker/saver (that could have kicked in while you were
> absent)?
Sorry, forgot to add that.
Using the "Desktop Widgets" locker (unchanged default configuration).

> b) "kcmshell4 kwincompositing", 3rd tab, is "suspend compositing for
> fullscreen windows" checked?
Yes, it's checked.
Comment 3 Thomas Lübking 2013-03-09 18:04:48 UTC
(In reply to comment #2)
> > b) "kcmshell4 kwincompositing", 3rd tab, is "suspend compositing for
> > fullscreen windows" checked?
> Yes, it's checked.

please uncheck it, this is likely another variant of bug #252817
Comment 4 Martin Flöser 2013-03-24 14:29:06 UTC
*** Bug 317274 has been marked as a duplicate of this bug. ***
Comment 5 D. Hugh Redelmeier 2013-03-29 18:14:15 UTC
I suspect this is not a variant of bug #252817 since that seems to be an intel driver bug and this one is in radeon code (r600g).

I would look instead at https://bugs.kde.org/show_bug.cgi?id=315089 which in turn points to https://bugs.freedesktop.org/show_bug.cgi?id=61182
Comment 6 Thomas Lübking 2013-03-29 18:36:33 UTC
Yes, is
The crash was not that "common" then and the situation sounded pretty much like "unredirected screensaver" - bug #252817 is not necessarily intel restricted. All MESA drivers seem to have trouble on unredirection and/or multiple GL contexts.
Unfortunately.

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