Bug 307580 - KWin crashed
Summary: KWin crashed
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 309171 310495 317730 323351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-29 17:34 UTC by Djuro Drljaca
Modified: 2013-08-10 18:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: r600g+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Djuro Drljaca 2012-09-29 17:34:46 UTC
Application: kwin (4.9.1 "release 561")
KDE Platform Version: 4.9.1 "release 561"
Qt Version: 4.8.2
Operating System: Linux 3.4.6-2.10-default i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I disconnected the mouse and keyboard from the computer and later plugged them back in. After that mouse worked normally but keyboard didn't work until KWin crashed (and recovered automatically) about 10 seconds after the keyboard was plugged in.
Also the monitor was turned off while mouse and keyboard were disconnected (I was connected to a different computer for some time before going back to this one).

I don't know if the keyboard had anything to do with the crash but at least the crash info should be useful to see if this was caused by a bug.

I also probably wont be able to reproduce the crash, since I have no idea what could have caused the problem.

Feel free to contact me to do any test or to try to reproduce the bug if you need me to ... I am also a programmer and I am familiar with Linux so I might be of some use :)

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1bf9740 (LWP 3911))]

Thread 3 (Thread 0xae8f8b40 (LWP 3941)):
#0  0xb77a2430 in __kernel_vsyscall ()
#1  0xb5e47a4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb758121c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xaea2d55c in pipe_semaphore_wait (sema=0xaf98a348) at ../../../../../src/gallium/auxiliary/os/os_thread.h:432
#4  radeon_drm_cs_emit_ioctl (param=0xaf969008) at radeon_drm_cs.c:401
#5  0xb5e43e32 in start_thread () from /lib/libpthread.so.0
#6  0xb75738ee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xada46b40 (LWP 3944)):
#0  0xb77a2430 in __kernel_vsyscall ()
#1  0xb5e47a4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb758121c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb669c1dd in ?? () from /usr/lib/libQtScript.so.4
#4  0xb669c20f in ?? () from /usr/lib/libQtScript.so.4
#5  0xb5e43e32 in start_thread () from /lib/libpthread.so.0
#6  0xb75738ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1bf9740 (LWP 3911)):
[KCrash Handler]
#7  r600_context_bo_reloc (rbo=0x0, ctx=0xa0295d8, usage=<optimized out>) at r600_hw_context_priv.h:93
#8  r600_create_fence (ctx=0xa029448) at r600_pipe.c:126
#9  r600_flush (ctx=ctx@entry=0xa029448, fence=fence@entry=0xbfb1f81c, flags=flags@entry=0) at r600_pipe.c:143
#10 0xae9ff1df in r600_flush_from_st (ctx=0xa029448, fence=0xbfb1f81c) at r600_pipe.c:163
#11 0xaeaf3c41 in st_flush (st=st@entry=0xa182c08, fence=fence@entry=0xbfb1f81c) at state_tracker/st_cb_flush.c:92
#12 0xaeaf3cd7 in st_finish (st=st@entry=0xa182c08) at state_tracker/st_cb_flush.c:103
#13 0xaeaf7228 in st_AllocTextureImageBuffer (ctx=0xa13a3f0, texImage=0xa782d20, format=MESA_FORMAT_ARGB8888, width=1920, height=20, depth=1) at state_tracker/st_cb_texture.c:461
#14 0xaeaca0b8 in _mesa_store_teximage2d (ctx=ctx@entry=0xa13a3f0, texImage=texImage@entry=0xa782d20, internalFormat=internalFormat@entry=32856, width=width@entry=1920, height=height@entry=20, border=border@entry=0, format=format@entry=32993, type=type@entry=5121, pixels=pixels@entry=0xadfa2008, packing=packing@entry=0xa148e84) at main/texstore.c:4583
#15 0xaeaf628a in st_TexImage2D (ctx=0xa13a3f0, texImage=0xa782d20, internalFormat=32856, width=1920, height=20, border=0, format=32993, type=5121, pixels=0xadfa2008, unpack=0xa148e84) at state_tracker/st_cb_texture.c:566
#16 0xaeaba733 in teximage (ctx=0xa13a3f0, dims=dims@entry=2, target=target@entry=3553, level=level@entry=0, internalFormat=internalFormat@entry=32856, width=width@entry=1920, height=height@entry=20, depth=depth@entry=1, border=border@entry=0, format=format@entry=32993, type=type@entry=5121, pixels=pixels@entry=0xadfa2008) at main/teximage.c:2610
#17 0xaeabae58 in _mesa_TexImage2D (target=3553, level=0, internalFormat=32856, width=1920, height=20, border=0, format=32993, type=5121, pixels=0xadfa2008) at main/teximage.c:2662
#18 0xb64ff2e2 in KWin::GLTexture::load (this=0xa7340e8, image=..., target=3553) at /usr/src/debug/kde-workspace-4.9.1/kwin/libkwineffects/kwingltexture.cpp:214
#19 0xb76ecc73 in load (target=3553, pixmap=..., this=0xa7340e8) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene_opengl.cpp:340
#20 KWin::SceneOpenGL::Texture::load (this=0xa7340e8, pixmap=..., target=3553) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene_opengl.cpp:333
#21 0xb76f49a5 in KWin::SceneOpenGL::Window::paintDecoration (this=this@entry=0xa7340c0, decoration=decoration@entry=0xa71ef3c, decorationType=decorationType@entry=KWin::SceneOpenGL::Window::DecorationTop, region=..., rect=..., data=..., quads=..., updateDeco=updateDeco@entry=true, hardwareClipping=hardwareClipping@entry=false) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene_opengl.cpp:642
#22 0xb76f7e11 in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0xa7340c0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene_opengl.cpp:581
#23 0xb76e0dfd in KWin::Scene::finalDrawWindow (this=0x9fd2898, w=0xa66abf0, mask=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene.cpp:449
#24 0xb7704538 in KWin::EffectsHandlerImpl::drawWindow (this=0xa2f50e8, w=w@entry=0xa66abf0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:308
#25 0xadab3e0e in KWin::BlurEffect::drawWindow (this=0xa340e28, w=0xa66abf0, mask=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects/blur/blur.cpp:405
#26 0xb77044d3 in KWin::EffectsHandlerImpl::drawWindow (this=0xa2f50e8, w=w@entry=0xa66abf0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:305
#27 0xb6956962 in KWin::Effect::drawWindow (this=0xa34e720, w=0xa66abf0, mask=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/libkwineffects/kwineffects.cpp:182
#28 0xb77044d3 in KWin::EffectsHandlerImpl::drawWindow (this=0xa2f50e8, w=w@entry=0xa66abf0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:305
#29 0xb76e0042 in KWin::Scene::finalPaintWindow (this=0x9fd2898, w=0xa66abf0, mask=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene.cpp:434
#30 0xb77047b8 in KWin::EffectsHandlerImpl::paintWindow (this=0xa2f50e8, w=w@entry=0xa66abf0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:271
#31 0xb6956a82 in KWin::Effect::paintWindow (this=0xa340e28, w=0xa66abf0, mask=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/libkwineffects/kwineffects.cpp:157
#32 0xb7704753 in KWin::EffectsHandlerImpl::paintWindow (this=0xa2f50e8, w=w@entry=0xa66abf0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:268
#33 0xada9b298 in KWin::TranslucencyEffect::paintWindow (this=0xa34e720, w=0xa66abf0, mask=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects/translucency/translucency.cpp:108
#34 0xb7704753 in KWin::EffectsHandlerImpl::paintWindow (this=0xa2f50e8, w=0xa66abf0, mask=mask@entry=10, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:268
#35 0xb76e3429 in KWin::Scene::paintWindow (this=this@entry=0x9fd2898, w=0xa7340c0, mask=10, region=..., quads=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene.cpp:348
#36 0xb76e2616 in KWin::Scene::paintSimpleScreen (this=this@entry=0x9fd2898, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene.cpp:334
#37 0xb76dff57 in KWin::Scene::finalPaintScreen (this=0x9fd2898, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene.cpp:192
#38 0xb7704968 in KWin::EffectsHandlerImpl::paintScreen (this=0xa2f50e8, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:244
#39 0xb6956afa in KWin::Effect::paintScreen (this=0xa340e28, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/libkwineffects/kwineffects.cpp:142
#40 0xb770490b in KWin::EffectsHandlerImpl::paintScreen (this=0xa2f50e8, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:241
#41 0xb6956afa in KWin::Effect::paintScreen (this=0xa34e720, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/libkwineffects/kwineffects.cpp:142
#42 0xb770490b in KWin::EffectsHandlerImpl::paintScreen (this=0xa2f50e8, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/effects.cpp:241
#43 0xb76e18f5 in KWin::Scene::paintScreen (this=0x9fd2898, mask=0xbfb2098c, region=0xbfb209f8) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene.cpp:146
#44 0xb76f944e in KWin::SceneOpenGL::paint (this=0x9fd2898, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.9.1/kwin/scene_opengl_glx.cpp:481
#45 0xb76da456 in KWin::Workspace::performCompositing (this=0x9f90e40) at /usr/src/debug/kde-workspace-4.9.1/kwin/composite.cpp:440
#46 0xb5fec934 in QObject::event (this=0x9f90e40, e=0xbfb20f20) at kernel/qobject.cpp:1166
#47 0xb54a69fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb54ab3ff in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#49 0xb7235171 in KApplication::notify (this=0xbfb212e8, receiver=0x9f90e40, event=0xbfb20f20) at /usr/src/debug/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#50 0xb76863ff in notify (e=0xbfb20f20, o=0x9f90e40, this=0xbfb212e8) at /usr/src/debug/kde-workspace-4.9.1/kwin/main.cpp:371
#51 KWin::Application::notify (this=0xbfb212e8, o=0x9f90e40, e=0xbfb20f20) at /usr/src/debug/kde-workspace-4.9.1/kwin/main.cpp:367
#52 0xb5fd680e in QCoreApplication::notifyInternal (this=0xbfb212e8, receiver=0x9f90e40, event=0xbfb20f20) at kernel/qcoreapplication.cpp:915
#53 0xb600af47 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#54 QTimerInfoList::activateTimers (this=0x9ed2d0c) at kernel/qeventdispatcher_unix.cpp:626
#55 0xb600b5a5 in QEventDispatcherUNIX::activateTimers (this=0x9ed2d0c, this@entry=0x9e9b998) at kernel/qeventdispatcher_unix.cpp:883
#56 0xb600b718 in QEventDispatcherUNIX::processEvents (this=0x9e9b998, flags=...) at kernel/qeventdispatcher_unix.cpp:945
#57 0xb55590f3 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb5fd52dc in QEventLoop::processEvents (this=this@entry=0xbfb21168, flags=...) at kernel/qeventloop.cpp:149
#59 0xb5fd55d1 in QEventLoop::exec (this=0xbfb21168, flags=...) at kernel/qeventloop.cpp:204
#60 0xb5fda88a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#61 0xb54a4874 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#62 0xb7688d69 in kdemain (argc=3, argv=0xbfb213d4) at /usr/src/debug/kde-workspace-4.9.1/kwin/main.cpp:545
#63 0x080485bb in main (argc=3, argv=0xbfb213d4) at /usr/src/debug/kde-workspace-4.9.1/build/kwin/kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2012-09-29 17:38:22 UTC
crashes in the graphics driver. Not much we could do about it.
Comment 2 Thomas Lübking 2012-10-28 22:11:01 UTC
*** Bug 309171 has been marked as a duplicate of this bug. ***
Comment 3 Martin Flöser 2012-11-22 12:28:05 UTC
*** Bug 310495 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Lübking 2013-04-02 14:15:34 UTC
*** Bug 317730 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Lübking 2013-08-10 18:03:24 UTC
*** Bug 323351 has been marked as a duplicate of this bug. ***