Bug 319236

Summary: KDE reports crash on login to Kubuntu 13.04 but seems to work otherwise..
Product: [Plasma] kwin Reporter: Eric Beyer <eric>
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 Eric Beyer 2013-05-02 19:09:29 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:
Every time I log in to Kubuntu since upgrading to 13.04, I get a report that Kwin crashed. ("KWIN PID:XXXX.  Signal: Bus error (7)").  Everything seems to work fine after clearing the error.  Desktop effects seem to work fine, too (Tested wobbly windows, glow around active window, translucent window when window is being moved).

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".
[KCrash Handler]
#6  __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:873
#7  0x00007f0c0845b573 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=0x17ba390, base=base@entry=0x7fffc707c720, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fffc707ba20) at r600_texture.c:509
#9  0x00007f0c0845b857 in r600_texture_create (screen=0x17ba390, templ=0x7fffc707c720) at r600_texture.c:601
#10 0x00007f0c0846df85 in dri2_drawable_process_buffers (att_count=1, atts=0x7fffc707c800, buffer_count=1, buffers=0x19f0480, drawable=0x19f0520) at dri2.c:254
#11 dri2_allocate_textures (drawable=0x19f0520, statts=0x7fffc707c800, statts_count=1) at dri2.c:404
#12 0x00007f0c0846caf5 in dri_st_framebuffer_validate (stfbi=<optimized out>, statts=0x7fffc707c800, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007f0c0846cd2e in dri_drawable_validate_att (drawable=0x19f0520, 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 0x00007f0c26377127 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0x1726c50) at ../../kwin/glxbackend.cpp:716
#16 KWin::GlxTexture::loadTexture (this=0x1726c50, pix=<optimized out>, size=..., depth=24) at ../../kwin/glxbackend.cpp:658
#17 0x00007f0c26370bb5 in KWin::SceneOpenGL::Window::bindTexture (this=this@entry=0x1a02a40) at ../../kwin/scene_opengl.cpp:822
#18 0x00007f0c2637124c in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0x1a02a40, mask=mask@entry=1, region=..., data=...) at ../../kwin/scene_opengl.cpp:931
#19 0x00007f0c26374fbf in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x184be50, w=w@entry=0x1a02570, mask=mask@entry=1, region=..., data=...) at ../../kwin/scene_opengl.cpp:566
#20 0x00007f0c2637515d in KWin::SceneOpenGL2::finalDrawWindow (this=0x184be50, w=w@entry=0x1a02570, mask=mask@entry=1, region=..., data=...) at ../../kwin/scene_opengl.cpp:551
#21 0x00007f0c263817b5 in KWin::EffectsHandlerImpl::drawWindow (this=0x1846fd0, w=w@entry=0x1a02570, mask=mask@entry=1, region=..., data=...) at ../../kwin/effects.cpp:318
#22 0x00007f0c26360e0a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1a02570, mask=mask@entry=1, region=..., data=...) at ../../kwin/scene.cpp:449
#23 0x00007f0c26381697 in KWin::EffectsHandlerImpl::paintWindow (this=0x1846fd0, w=0x1a02570, mask=mask@entry=1, region=..., data=...) at ../../kwin/effects.cpp:281
#24 0x00007f0c263639cd in KWin::Scene::paintWindow (this=<optimized out>, w=0x1a02a40, mask=1, region=..., quads=...) at ../../kwin/scene.cpp:356
#25 0x00007f0c26362c7f in KWin::Scene::paintSimpleScreen (this=this@entry=0x184be50, orig_mask=orig_mask@entry=0, region=...) at ../../kwin/scene.cpp:342
#26 0x00007f0c26360d4e in KWin::Scene::finalPaintScreen (this=0x184be50, mask=mask@entry=0, region=..., data=...) at ../../kwin/scene.cpp:186
#27 0x00007f0c26381a80 in KWin::EffectsHandlerImpl::paintScreen (this=0x1846fd0, mask=0, region=..., data=...) at ../../kwin/effects.cpp:254
#28 0x00007f0c26362068 in KWin::Scene::paintScreen (this=this@entry=0x184be50, mask=mask@entry=0x7fffc707d354, region=region@entry=0x7fffc707d400) at ../../kwin/scene.cpp:140
#29 0x00007f0c2636f17e in KWin::SceneOpenGL::paint (this=0x184be50, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#30 0x00007f0c2635ba8c in KWin::Compositor::performCompositing (this=this@entry=0x172c450) at ../../kwin/composite.cpp:610
#31 0x00007f0c2635cf6a in KWin::Compositor::slotCompositingOptionsInitialized (this=0x172c450) at ../../kwin/composite.cpp:275
#32 0x00007f0c213fe0ef in QMetaObject::activate (sender=0x17636c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#33 0x00007f0c212dd577 in QFutureWatcherBase::event (this=<optimized out>, event=0x7f0c040033c0) at concurrent/qfuturewatcher.cpp:344
#34 0x00007f0c2078f8ec in QApplicationPrivate::notify_helper (this=this@entry=0x1590b50, receiver=receiver@entry=0x17636c0, e=e@entry=0x7f0c040033c0) at kernel/qapplication.cpp:4567
#35 0x00007f0c2079225b in QApplication::notify (this=this@entry=0x7fffc707e300, receiver=receiver@entry=0x17636c0, e=e@entry=0x7f0c040033c0) at kernel/qapplication.cpp:4428
#36 0x00007f0c25ac7af6 in KApplication::notify (this=0x7fffc707e300, receiver=0x17636c0, event=0x7f0c040033c0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f0c213e963e in QCoreApplication::notifyInternal (this=0x7fffc707e300, receiver=receiver@entry=0x17636c0, event=event@entry=0x7f0c040033c0) at kernel/qcoreapplication.cpp:946
#38 0x00007f0c213ed171 in sendEvent (event=0x7f0c040033c0, receiver=0x17636c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x15321f0) at kernel/qcoreapplication.cpp:1570
#40 0x00007f0c213ed4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#41 0x00007f0c208359fc in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 QEventDispatcherX11::processEvents (this=0x1533ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#43 0x00007f0c213e838f in QEventLoop::processEvents (this=this@entry=0x7fffc707e010, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f0c213e8618 in QEventLoop::exec (this=this@entry=0x7fffc707e010, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f0c213edcf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#46 0x00007f0c2078dffc in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00007f0c2631302a in kdemain (argc=1, argv=0x7fffc707e448) at ../../kwin/main.cpp:537
#48 0x00007f0c25f04ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffc707e448, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc707e438) at libc-start.c:260
#49 0x0000000000400701 in _start ()

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

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-05-02 19:31:09 UTC
bug is in the r600 driver, but for changes in mesa kwin atm. picks an MSAA buffer. fixed in 4.10.3

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