Bug 317140 - kwin crash after kernel update
Summary: kwin crash after kernel update
Status: RESOLVED DUPLICATE of bug 315089
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 16:59 UTC by Paul Grabbe
Modified: 2013-03-22 07:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Grabbe 2013-03-21 16:59:59 UTC
Application: kwin (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.3-203.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

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

Automatic bug report detected crash in kwin upon login after update to kernel and other packages as listed below. System was rebooted after updates applied with yumex. Will try again after sending this bug report and will update if it happens again.

Packages which were updated before this crash are as follows:

Mar 20 17:23:34 Updated: mesa-libglapi-9.1-1.fc18.x86_64
Mar 20 17:23:38 Updated: llvm-libs-3.2-2.fc18.x86_64
Mar 20 17:23:39 Updated: 1:eclipse-equinox-osgi-4.2.2-5.fc18.x86_64
Mar 20 17:23:43 Updated: gnome-online-accounts-3.6.3-1.fc18.x86_64
Mar 20 17:23:44 Updated: OpenGTL-0.9.18-2.fc18.x86_64
Mar 20 17:23:46 Updated: OpenGTL-libs-0.9.18-2.fc18.x86_64
Mar 20 17:23:47 Updated: mesa-libgbm-9.1-1.fc18.x86_64
Mar 20 17:23:48 Updated: mesa-libEGL-9.1-1.fc18.x86_64
Mar 20 17:23:49 Updated: mesa-libGL-9.1-1.fc18.x86_64
Mar 20 17:23:50 Updated: khrplatform-devel-9.1-1.fc18.noarch
Mar 20 17:23:52 Updated: 2:nmap-ncat-6.25-1.fc18.x86_64
Mar 20 17:23:55 Updated: 1:eclipse-swt-4.2.2-5.fc18.x86_64
Mar 20 17:24:47 Updated: 1:eclipse-platform-4.2.2-5.fc18.x86_64
Mar 20 17:24:51 Updated: 1:eclipse-jdt-4.2.2-5.fc18.x86_64
Mar 20 17:24:52 Updated: ufraw-common-0.19-1.fc18.x86_64
Mar 20 17:24:53 Installed: snappy-1.0.5-2.fc18.x86_64
Mar 20 17:24:55 Installed: leveldb-1.7.0-4.fc18.x86_64
Mar 20 17:24:57 Updated: ceph-libs-0.56.3-1.fc18.x86_64
Mar 20 17:24:58 Updated: mesa-dri-filesystem-9.1-1.fc18.x86_64
Mar 20 17:25:03 Updated: mesa-dri-drivers-9.1-1.fc18.x86_64
Mar 20 17:25:09 Updated: ceph-0.56.3-1.fc18.x86_64
Mar 20 17:25:15 Updated: ufraw-0.19-1.fc18.x86_64
Mar 20 17:25:27 Updated: 1:eclipse-pde-4.2.2-5.fc18.x86_64
Mar 20 17:25:31 Updated: 2:nmap-6.25-1.fc18.x86_64
Mar 20 17:25:31 Updated: mesa-libEGL-devel-9.1-1.fc18.x86_64
Mar 20 17:25:32 Updated: mesa-libGL-devel-9.1-1.fc18.x86_64
Mar 20 17:25:33 Updated: gnome-online-accounts-devel-3.6.3-1.fc18.x86_64
Mar 20 17:25:34 Updated: libzapojit-0.0.3-1.fc18.x86_64
Mar 20 17:25:35 Updated: mesa-libxatracker-9.1-1.fc18.x86_64
Mar 20 17:25:36 Updated: mesa-libOSMesa-9.1-1.fc18.x86_64
Mar 20 17:25:37 Updated: mesa-libGLES-9.1-1.fc18.x86_64
Mar 20 17:25:39 Updated: telepathy-gabble-0.16.5-1.fc18.x86_64
Mar 20 17:27:50 Installed: kernel-devel-3.8.3-203.fc18.x86_64
Mar 20 17:27:52 Updated: kernel-headers-3.8.3-203.fc18.x86_64
Mar 20 17:27:54 Updated: fedora-release-notes-18.0.0-5.fc18.noarch
Mar 20 17:27:56 Updated: rpmlint-1.4-13.fc18.noarch
Mar 20 17:28:00 Updated: mod_perl-2.0.7-12.20130221svn1448242.fc18.x86_64
Mar 20 17:28:00 Updated: vgabios-0.6c-8.fc18.noarch
Mar 20 17:28:01 Updated: mesa-libglapi-9.1-1.fc18.i686
Mar 20 17:28:12 Installed: kernel-3.8.3-203.fc18.x86_64
Mar 20 17:28:13 Updated: mesa-libgbm-9.1-1.fc18.i686
Mar 20 17:28:15 Installed: kernel-modules-extra-3.8.3-203.fc18.x86_64
Mar 20 17:28:16 Updated: mesa-libEGL-9.1-1.fc18.i686
Mar 20 17:28:17 Updated: mesa-libGL-9.1-1.fc18.i686

-- Backtrace:
Application: KWin (kwin), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7ff22e963880 (LWP 19421))]

Thread 2 (Thread 0x7ff213fff700 (LWP 19430)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007ff22231e5eb in pipe_semaphore_wait (sema=0xc7a210) at ../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0xc7a030) at radeon_drm_winsys.c:518
#3  0x00000035a3807d15 in start_thread (arg=0x7ff213fff700) at pthread_create.c:308
#4  0x00000035a2cf246d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7ff22e963880 (LWP 19421)):
[KCrash Handler]
#6  __memset_x86_64 () at ../sysdeps/x86_64/memset.S:1284
#7  0x00007ff222308bbf in memset (__len=<optimized out>, __ch=204, __dest=<optimized out>) at /usr/include/bits/string3.h:84
#8  r600_texture_create_object (screen=screen@entry=0xc7a530, base=base@entry=0x7fff7762bfd0, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fff7762b2d0) at r600_texture.c:509
#9  0x00007ff222308e97 in r600_texture_create (screen=0xc7a530, templ=0x7fff7762bfd0) at r600_texture.c:601
#10 0x00007ff22231b3e5 in dri2_drawable_process_buffers (att_count=1, atts=0x7fff7762c0b0, buffer_count=1, buffers=0xeaa480, drawable=0xeaa520) at dri2.c:254
#11 dri2_allocate_textures (drawable=0xeaa520, statts=0x7fff7762c0b0, statts_count=1) at dri2.c:404
#12 0x00007ff222319f55 in dri_st_framebuffer_validate (stfbi=<optimized out>, statts=0x7fff7762c0b0, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007ff22231a18e in dri_drawable_validate_att (statt=ST_ATTACHMENT_FRONT_LEFT, drawable=0xeaa520) 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 0x0000003e28ccb3c3 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0xbe7bf0) at /usr/src/debug/kde-workspace-4.10.1/kwin/glxbackend.cpp:716
#16 KWin::GlxTexture::loadTexture (this=0xbe7bf0, pix=<optimized out>, size=..., depth=24) at /usr/src/debug/kde-workspace-4.10.1/kwin/glxbackend.cpp:658
#17 0x0000003e28cc30d5 in KWin::SceneOpenGL::Window::bindTexture (this=0xebcee0) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:822
#18 0x0000003e28cc9a8e in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0xebcee0, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:931
#19 0x0000003e28cc249f in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0xd06ab0, w=w@entry=0xd01c30, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:566
#20 0x0000003e28cc263d in KWin::SceneOpenGL2::finalDrawWindow (this=0xd06ab0, w=w@entry=0xd01c30, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:551
#21 0x0000003e28cd63a5 in KWin::EffectsHandlerImpl::drawWindow (this=0xebb3a0, w=w@entry=0xd01c30, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:318
#22 0x0000003e28cb585a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0xd01c30, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:449
#23 0x0000003e28cd6627 in KWin::EffectsHandlerImpl::paintWindow (this=0xebb3a0, w=0xd01c30, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:281
#24 0x0000003e28cb841d in KWin::Scene::paintWindow (this=<optimized out>, w=0xebcee0, mask=1, region=..., quads=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:356
#25 0x0000003e28cb774f in KWin::Scene::paintSimpleScreen (this=this@entry=0xd06ab0, orig_mask=orig_mask@entry=0, region=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:342
#26 0x0000003e28cb579e in KWin::Scene::finalPaintScreen (this=0xd06ab0, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:186
#27 0x0000003e28cd67f0 in KWin::EffectsHandlerImpl::paintScreen (this=0xebb3a0, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:254
#28 0x0000003e28cb6b38 in KWin::Scene::paintScreen (this=0xd06ab0, mask=0x7fff7762cc04, region=0x7fff7762ccb0) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:140
#29 0x0000003e28cc5f9e in KWin::SceneOpenGL::paint (this=0xd06ab0, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:308
#30 0x0000003e28cb0f5c in KWin::Compositor::performCompositing (this=this@entry=0xbe9000) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:610
#31 0x0000003e28cb1a10 in KWin::Compositor::slotCompositingOptionsInitialized (this=0xbe9000) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:275
#32 0x00000035ba58ceef in QMetaObject::activate (sender=0xc232c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#33 0x00000035ba46c5d7 in QFutureWatcherBase::event (this=<optimized out>, event=0x7ff214001770) at concurrent/qfuturewatcher.cpp:344
#34 0x00000035bc3ca5cc in QApplicationPrivate::notify_helper (this=this@entry=0xa58df0, receiver=receiver@entry=0xc232c0, e=e@entry=0x7ff214001770) at kernel/qapplication.cpp:4562
#35 0x00000035bc3cea4a in QApplication::notify (this=0x7fff7762dbb0, receiver=0xc232c0, e=0x7ff214001770) at kernel/qapplication.cpp:4423
#36 0x00000038e6a473c6 in KApplication::notify (this=0x7fff7762dbb0, receiver=0xc232c0, event=0x7ff214001770) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#37 0x00000035ba577abe in QCoreApplication::notifyInternal (this=0x7fff7762dbb0, receiver=receiver@entry=0xc232c0, event=event@entry=0x7ff214001770) at kernel/qcoreapplication.cpp:946
#38 0x00000035ba57b571 in sendEvent (event=0x7ff214001770, receiver=0xc232c0) at kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa04380) at kernel/qcoreapplication.cpp:1570
#40 0x00000035bc46b3bc in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#41 QEventDispatcherX11::processEvents (this=0xa05ce0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#42 0x00000035ba57680f in QEventLoop::processEvents (this=this@entry=0x7fff7762d8c0, flags=...) at kernel/qeventloop.cpp:149
#43 0x00000035ba576a98 in QEventLoop::exec (this=0x7fff7762d8c0, flags=...) at kernel/qeventloop.cpp:204
#44 0x00000035ba57b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#45 0x0000003e28c67d6a in kdemain (argc=1, argv=0x7fff7762dcf8) at /usr/src/debug/kde-workspace-4.10.1/kwin/main.cpp:537
#46 0x00000035a2c21a05 in __libc_start_main (main=0x400960 <main(int, char**)>, argc=1, ubp_av=0x7fff7762dcf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7762dce8) at libc-start.c:225
#47 0x0000000000400991 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-03-21 18:13:11 UTC
bus error in memset.
either the memory is corrupted or this is a driver bug

FTR, cashes in glXBindTexImageEXT(display(), m_glxpixmap, GLX_FRONT_LEFT_EXT, NULL); what should cause a GL error or misbehaviour, but no crash.

can you start the compositor during the session? (press shift+alt+f12)
Comment 2 Paul Grabbe 2013-03-21 18:26:51 UTC
(In reply to comment #1)

Although the automatic bug reporter started and caught this error upon login, the screen appeared as normal as if no error had occurred in kwin. After reporting the bug I logged out and then back in to see if the error would occur again, and it did not. 

After logging back in I did press shift+alt+f12 to toggle the compositor. Not having done this before I don't know what I should expect to see as a result. Pressed that combo a few times and did not see any visible effect. How can I check to see if the toggling took effect? Any other tests I should perform or does this look like a transient error?


> bus error in memset.
> either the memory is corrupted or this is a driver bug
> 
> FTR, cashes in glXBindTexImageEXT(display(), m_glxpixmap,
> GLX_FRONT_LEFT_EXT, NULL); what should cause a GL error or misbehaviour, but
> no crash.
> 
> can you start the compositor during the session? (press shift+alt+f12)
Comment 3 Thomas Lübking 2013-03-21 18:42:57 UTC
(In reply to comment #2)
> After reporting the bug I logged out and then back in to see if the error
> would occur again, and it did not. 
Please watch out whether it re-occurs after the next cold boot.
Could be an init bug in the driver or kernel module or whatever.
 
> How can I check to see if the toggling took effect?
"Present windows" (aka exposé) works - works not - works - works not.
Windows would fade in smoothly with compositing and stuff like that.

Setting worksforme unless reproducible.
Comment 4 Paul Grabbe 2013-03-21 18:49:28 UTC
(In reply to comment #3)
Did not reoccur after cold boot. I'm fine with setting status to WORKSFORME
> (In reply to comment #2)
> > After reporting the bug I logged out and then back in to see if the error
> > would occur again, and it did not. 
> Please watch out whether it re-occurs after the next cold boot.
> Could be an init bug in the driver or kernel module or whatever.
>  
> > How can I check to see if the toggling took effect?
> "Present windows" (aka exposé) works - works not - works - works not.
> Windows would fade in smoothly with compositing and stuff like that.
> 
> Setting worksforme unless reproducible.
Comment 5 Martin Flöser 2013-03-22 07:04:10 UTC

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