Bug 316949

Summary: KWin crashed right after logging in on Fedora 18
Product: [Plasma] kwin Reporter: Victor Costan <costan>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Victor Costan 2013-03-18 06:07:59 UTC
Application: kwin (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.3-201.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed: I just logged into the KDE.

- Custom settings of the application: This is a fresh install of the KDE packages under a Fedora 18 install, so all the settings should be at their defaults.

I am running on Mesa 9.1 with the open-source Radeon driver in the 3.8.3 kernel.

The crash can be reproduced every time.

-- 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 0x7ff5209d9880 (LWP 7549))]

Thread 2 (Thread 0x7ff50d231700 (LWP 7559)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007ff50f0205eb in pipe_semaphore_wait (sema=0x996480) at ../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0x9962a0) at radeon_drm_winsys.c:518
#3  0x0000003ac2607d15 in start_thread (arg=0x7ff50d231700) at pthread_create.c:308
#4  0x0000003ac22f246d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7ff5209d9880 (LWP 7549)):
[KCrash Handler]
#6  __memset_sse2 () at ../sysdeps/x86_64/memset.S:873
#7  0x00007ff50f00abbf 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=0x9968b0, base=base@entry=0x7fffcae95370, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fffcae94670) at r600_texture.c:509
#9  0x00007ff50f00ae97 in r600_texture_create (screen=0x9968b0, templ=0x7fffcae95370) at r600_texture.c:601
#10 0x00007ff50f01d3e5 in dri2_drawable_process_buffers (att_count=1, atts=0x7fffcae95450, buffer_count=1, buffers=0xbdd800, drawable=0xbdd8a0) at dri2.c:254
#11 dri2_allocate_textures (drawable=0xbdd8a0, statts=0x7fffcae95450, statts_count=1) at dri2.c:404
#12 0x00007ff50f01bf55 in dri_st_framebuffer_validate (stfbi=<optimized out>, statts=0x7fffcae95450, count=1, out=0x0) at dri_drawable.c:81
#13 0x00007ff50f01c18e in dri_drawable_validate_att (statt=ST_ATTACHMENT_FRONT_LEFT, drawable=0xbdd8a0) 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 0x00007ff52a1ae3c3 in loadTexture (depth=24, size=..., pix=<optimized out>, this=0x906ea0) at /usr/src/debug/kde-workspace-4.10.1/kwin/glxbackend.cpp:716
#16 KWin::GlxTexture::loadTexture (this=0x906ea0, pix=<optimized out>, size=..., depth=24) at /usr/src/debug/kde-workspace-4.10.1/kwin/glxbackend.cpp:658
#17 0x00007ff52a1a60d5 in KWin::SceneOpenGL::Window::bindTexture (this=0xbce4e0) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:822
#18 0x00007ff52a1aca8e in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0xbce4e0, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:931
#19 0x00007ff52a1a549f in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0xa29da0, w=w@entry=0xbdca70, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:566
#20 0x00007ff52a1a563d in KWin::SceneOpenGL2::finalDrawWindow (this=0xa29da0, w=w@entry=0xbdca70, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:551
#21 0x00007ff52a1b93a5 in KWin::EffectsHandlerImpl::drawWindow (this=0xbd0cc0, w=w@entry=0xbdca70, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:318
#22 0x00007ff52a19885a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0xbdca70, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:449
#23 0x00007ff52a1b9627 in KWin::EffectsHandlerImpl::paintWindow (this=0xbd0cc0, w=0xbdca70, mask=mask@entry=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:281
#24 0x00007ff52a19b41d in KWin::Scene::paintWindow (this=<optimized out>, w=0xbce4e0, mask=1, region=..., quads=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:356
#25 0x00007ff52a19a74f in KWin::Scene::paintSimpleScreen (this=this@entry=0xa29da0, orig_mask=orig_mask@entry=0, region=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:342
#26 0x00007ff52a19879e in KWin::Scene::finalPaintScreen (this=0xa29da0, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:186
#27 0x00007ff52a1b97f0 in KWin::EffectsHandlerImpl::paintScreen (this=0xbd0cc0, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/effects.cpp:254
#28 0x00007ff52a199b38 in KWin::Scene::paintScreen (this=0xa29da0, mask=0x7fffcae95fa4, region=0x7fffcae96050) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene.cpp:140
#29 0x00007ff52a1a8f9e in KWin::SceneOpenGL::paint (this=0xa29da0, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:308
#30 0x00007ff52a193f5c in KWin::Compositor::performCompositing (this=this@entry=0x90bca0) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:610
#31 0x00007ff52a194a10 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x90bca0) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:275
#32 0x0000003d2e18ceef in QMetaObject::activate (sender=0x941250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#33 0x0000003d2e06c5d7 in QFutureWatcherBase::event (this=<optimized out>, event=0x7ff508001770) at concurrent/qfuturewatcher.cpp:344
#34 0x0000003d2e7ca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x76d640, receiver=receiver@entry=0x941250, e=e@entry=0x7ff508001770) at kernel/qapplication.cpp:4562
#35 0x0000003d2e7cea4a in QApplication::notify (this=0x7fffcae96f50, receiver=0x941250, e=0x7ff508001770) at kernel/qapplication.cpp:4423
#36 0x00007ff528ade3c6 in KApplication::notify (this=0x7fffcae96f50, receiver=0x941250, event=0x7ff508001770) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#37 0x0000003d2e177abe in QCoreApplication::notifyInternal (this=0x7fffcae96f50, receiver=receiver@entry=0x941250, event=event@entry=0x7ff508001770) at kernel/qcoreapplication.cpp:946
#38 0x0000003d2e17b571 in sendEvent (event=0x7ff508001770, receiver=0x941250) at kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x71e380) at kernel/qcoreapplication.cpp:1570
#40 0x0000003d2e86b3bc in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#41 QEventDispatcherX11::processEvents (this=0x71fce0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#42 0x0000003d2e17680f in QEventLoop::processEvents (this=this@entry=0x7fffcae96c60, flags=...) at kernel/qeventloop.cpp:149
#43 0x0000003d2e176a98 in QEventLoop::exec (this=0x7fffcae96c60, flags=...) at kernel/qeventloop.cpp:204
#44 0x0000003d2e17b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#45 0x00007ff52a14ad6a in kdemain (argc=1, argv=0x7fffcae97098) at /usr/src/debug/kde-workspace-4.10.1/kwin/main.cpp:537
#46 0x0000003ac2221a05 in __libc_start_main (main=0x400960 <main(int, char**)>, argc=1, ubp_av=0x7fffcae97098, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcae97088) at libc-start.c:225
#47 0x0000000000400991 in _start ()

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

Possible duplicates by query: bug 316393, bug 315089.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-03-18 07:13:01 UTC

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