Bug 299561

Summary: Kwin crashes randomly
Product: [Plasma] kwin Reporter: Dennis Cahillane <dcahilla>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Flags: mgraesslin: Intel+
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Cahillane 2012-05-07 14:55:43 UTC
Application: kwin (4.8.2 (4.8.2))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic-pae i686
Distribution: Ubuntu 12.04 LTS

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

This time I was using firefox, but KWin crashes randomly. Sometimes it restarts, and sometimes it crashes hard and the keyboard stops working, so I have to exit using the mouse and restart X. I can see no rhyme or reason to these crashes.

The crash does not seem to be reproducible.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5e10740 (LWP 12772))]

Thread 3 (Thread 0xb1dbdb40 (LWP 12778)):
#0  0x00529416 in __kernel_vsyscall ()
#1  0x001f3af1 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x06e2c42a in qt_safe_select (nfds=22, fdread=0x9399124, fdwrite=0x9399338, fdexcept=0x939954c, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#3  0x06e30a1b in QEventDispatcherUNIX::select (this=0x941cf68, nfds=22, readfds=0x9399124, writefds=0x9399338, exceptfds=0x939954c, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:639
#4  0x06e31d2f in QEventDispatcherUNIXPrivate::doSelect (this=0x9399030, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#5  0x06e321f4 in QEventDispatcherUNIX::processEvents (this=0x941cf68, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0x06dfb50d in QEventLoop::processEvents (this=0xb1dbd240, flags=...) at kernel/qeventloop.cpp:149
#7  0x06dfb7a9 in QEventLoop::exec (this=0xb1dbd240, flags=...) at kernel/qeventloop.cpp:204
#8  0x06ce494c in QThread::exec (this=0x93733c0) at thread/qthread.cpp:501
#9  0x06dd8b5d in QInotifyFileSystemWatcherEngine::run (this=0x93733c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x06ce7de0 in QThreadPrivate::start (arg=0x93733c0) at thread/qthread_unix.cpp:298
#11 0x08dc5d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x001faace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb15bcb40 (LWP 12779)):
#0  0x00529416 in __kernel_vsyscall ()
#1  0x08dc996b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x002083dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x084d2029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x084d206f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x08dc5d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x001faace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5e10740 (LWP 12772)):
[KCrash Handler]
#7  0x00529416 in __kernel_vsyscall ()
#8  0x0013e1ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x00141835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x00137095 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0x00137147 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#12 0x026ceaaa in do_bo_emit_reloc (bo=0x93674d8, offset=<optimized out>, target_bo=0x9393688, target_offset=0, read_domains=4, write_domain=0, need_fence=false) at ../../intel/intel_bufmgr_gem.c:1579
#13 0x026c92c8 in drm_intel_bo_emit_reloc (bo=0x93674d8, offset=4760, target_bo=0x9393688, target_offset=0, read_domains=4, write_domain=0) at ../../intel/intel_bufmgr.c:181
#14 0x0267578e in intel_batchbuffer_emit_reloc (intel=0x9156cd8, buffer=0x9393688, read_domains=4, write_domain=0, delta=0) at intel_batchbuffer.c:235
#15 0x0267228c in i830_emit_state (intel=0x9156cd8) at i830_vtbl.c:542
#16 0x02697764 in intelRenderStart (ctx=0x9156cd8) at intel_tris.c:1109
#17 0x04077abe in run_render (ctx=0x9156cd8, stage=0x91b8638) at tnl/t_vb_render.c:276
#18 0x0406b497 in _tnl_run_pipeline (ctx=0x9156cd8) at tnl/t_pipeline.c:163
#19 0x026adb3a in intelRunPipeline (ctx=0x9156cd8) at intel_tris.c:1095
#20 0x0406bdc7 in _tnl_draw_prims (ctx=0x9156cd8, arrays=0x91a65c0, prim=0xbf897f38, nr_prims=1, ib=0x0, min_index=0, max_index=5) at tnl/t_draw.c:523
#21 0x0406c4b1 in _tnl_vbo_draw_prims (ctx=0x9156cd8, arrays=0x91a65c0, prim=0xbf897f38, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at tnl/t_draw.c:423
#22 0x0405a69e in vbo_draw_arrays (ctx=0x9156cd8, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600
#23 0x003aff27 in KWin::GLVertexBufferPrivate::fallbackPainting (this=0x931b6c0, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1218
#24 0x003b1916 in KWin::GLVertexBuffer::render (this=0x9233438, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1300
#25 0x00c10667 in renderQuads (normalized=true, tex=0x945d3d8, quads=..., region=..., this=<optimized out>) at ../../kwin/scene_opengl.cpp:788
#26 KWin::SceneOpenGL::Window::renderQuads (this=0x93b0eb8, region=..., quads=..., tex=0x945d3d8, normalized=true) at ../../kwin/scene_opengl.cpp:768
#27 0x00c13587 in KWin::SceneOpenGL::Window::paintShadow (this=0x93b0eb8, region=..., data=...) at ../../kwin/scene_opengl.cpp:697
#28 0x00c17156 in KWin::SceneOpenGL::Window::performPaint (this=0x93b0eb8, mask=10, region=..., data=...) at ../../kwin/scene_opengl.cpp:526
#29 0x00bfe2b7 in KWin::Scene::finalDrawWindow (this=0x90bf200, w=0x938db40, mask=10, region=..., data=...) at ../../kwin/scene.cpp:438
#30 0x00c2544a in KWin::EffectsHandlerImpl::drawWindow (this=0x90bbb98, w=0x938db48, mask=10, region=..., data=...) at ../../kwin/effects.cpp:286
#31 0x005693a2 in KWin::Effect::drawWindow (this=0x9351b38, w=0x938db48, mask=10, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#32 0x00c253e8 in KWin::EffectsHandlerImpl::drawWindow (this=0x90bbb98, w=0x938db48, mask=10, region=..., data=...) at ../../kwin/effects.cpp:283
#33 0x005693a2 in KWin::Effect::drawWindow (this=0x93859b8, w=0x938db48, mask=10, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#34 0x00c253e8 in KWin::EffectsHandlerImpl::drawWindow (this=0x90bbb98, w=0x938db48, mask=10, region=..., data=...) at ../../kwin/effects.cpp:283
#35 0x00bfd6f2 in KWin::Scene::finalPaintWindow (this=0x90bf200, w=0x938db40, mask=10, region=..., data=...) at ../../kwin/scene.cpp:429
#36 0x00c252da in KWin::EffectsHandlerImpl::paintWindow (this=0x90bbb98, w=0x938db48, mask=10, region=..., data=...) at ../../kwin/effects.cpp:249
#37 0x026fe514 in KWin::FadeEffect::paintWindow (this=0x9351b38, w=0x938db48, mask=10, region=..., data=...) at ../../../kwin/effects/fade/fade.cpp:150
#38 0x00c25278 in KWin::EffectsHandlerImpl::paintWindow (this=0x90bbb98, w=0x938db48, mask=10, region=..., data=...) at ../../kwin/effects.cpp:246
#39 0x02737c28 in KWin::TranslucencyEffect::paintWindow (this=0x93859b8, w=0x938db48, mask=10, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#40 0x00c25278 in KWin::EffectsHandlerImpl::paintWindow (this=0x90bbb98, w=0x938db48, mask=10, region=..., data=...) at ../../kwin/effects.cpp:246
#41 0x00bfe4de in KWin::Scene::paintWindow (this=0x90bf200, w=0x93b0eb8, mask=10, region=..., quads=...) at ../../kwin/scene.cpp:385
#42 0x00bff25f in KWin::Scene::paintSimpleScreen (this=0x90bf200, orig_mask=8, region=...) at ../../kwin/scene.cpp:371
#43 0x00bfd5fa in KWin::Scene::finalPaintScreen (this=0x90bf200, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198
#44 0x00c25760 in KWin::EffectsHandlerImpl::paintScreen (this=0x90bbb98, mask=8, region=..., data=...) at ../../kwin/effects.cpp:222
#45 0x0056953a in KWin::Effect::paintScreen (this=0x9351b38, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#46 0x00c25710 in KWin::EffectsHandlerImpl::paintScreen (this=0x90bbb98, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#47 0x0056953a in KWin::Effect::paintScreen (this=0x93859b8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#48 0x00c25710 in KWin::EffectsHandlerImpl::paintScreen (this=0x90bbb98, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#49 0x00c0016f in KWin::Scene::paintScreen (this=0x90bf200, mask=0xbf899094, region=0xbf899128) at ../../kwin/scene.cpp:156
#50 0x00c18909 in KWin::SceneOpenGL::paint (this=0x90bf200, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#51 0x00bf9844 in KWin::Workspace::performCompositing (this=0x90c1710) at ../../kwin/composite.cpp:417
#52 0x06e17ac4 in QObject::event (this=0x90c1710, e=0xbf89960c) at kernel/qobject.cpp:1157
#53 0x02f6ded4 in notify_helper (e=0xbf89960c, receiver=0x90c1710, this=0x8f46028) at kernel/qapplication.cpp:4559
#54 QApplicationPrivate::notify_helper (this=0x8f46028, receiver=0x90c1710, e=0xbf89960c) at kernel/qapplication.cpp:4531
#55 0x02f7330d in QApplication::notify (this=0xbf89960c, receiver=0x90c1710, e=0xbf89960c) at kernel/qapplication.cpp:4288
#56 0x008d0b21 in KApplication::notify (this=0xbf899918, receiver=0x90c1710, event=0xbf89960c) at ../../kdeui/kernel/kapplication.cpp:311
#57 0x00ba25ef in notify (e=0xbf89960c, o=0x90c1710, this=0xbf899918) at ../../kwin/main.cpp:368
#58 KWin::Application::notify (this=0xbf899918, o=0x90c1710, e=0xbf89960c) at ../../kwin/main.cpp:364
#59 0x06dfc97e in QCoreApplication::notifyInternal (this=0xbf899918, receiver=0x90c1710, event=0xbf89960c) at kernel/qcoreapplication.cpp:876
#60 0x06e31990 in sendEvent (event=0xbf89960c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QTimerInfoList::activateTimers (this=0x8f468cc) at kernel/qeventdispatcher_unix.cpp:611
#62 0x06e32207 in QEventDispatcherUNIX::processEvents (this=0x8f0deb8, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#63 0x03027b6e in QEventDispatcherX11::processEvents (this=0x8f0deb8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#64 0x06dfb50d in QEventLoop::processEvents (this=0xbf899854, flags=...) at kernel/qeventloop.cpp:149
#65 0x06dfb7a9 in QEventLoop::exec (this=0xbf899854, flags=...) at kernel/qeventloop.cpp:204
#66 0x06e00eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#67 0x02f6ba74 in QApplication::exec () at kernel/qapplication.cpp:3820
#68 0x00ba55b5 in kdemain (argc=1, argv=0xbf899bc4) at ../../kwin/main.cpp:541
#69 0x0804850b in main (argc=1, argv=0xbf899bc4) at kwin_dummy.cpp:3

Possible duplicates by query: bug 299557, bug 297348, bug 296496.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-05-07 16:49:51 UTC

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