Bug 302454 - Kwin craches on running libreoffice
Summary: Kwin craches on running libreoffice
Status: RESOLVED DUPLICATE of bug 297348
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-24 17:47 UTC by cormac.wilcox
Modified: 2012-07-03 13:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
mgraesslin: Intel+


Attachments
New crash information added by DrKonqi (8.80 KB, text/plain)
2012-06-24 18:16 UTC, cormac.wilcox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cormac.wilcox 2012-06-24 17:47:34 UTC
Application: kwin (4.8.3 (4.8.3))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: started libreoffice application then after about 5 to 10 seconds I lose my panels and K button

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb3611b40 (LWP 3229)):
#0  0x00c22dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x047d7315 in do_gettime (frac=0xb3610fe0, sec=0xb3610fd8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x048c1226 in QTimerInfoList::updateCurrentTime (this=0x8636704) at kernel/qeventdispatcher_unix.cpp:343
#4  0x048c2c2b in QEventDispatcherUNIXPrivate::doSelect (this=0x8636068, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#5  0x048c31f4 in QEventDispatcherUNIX::processEvents (this=0x8636018, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0x0488c50d in QEventLoop::processEvents (this=0xb3611240, flags=...) at kernel/qeventloop.cpp:149
#7  0x0488c7a9 in QEventLoop::exec (this=0xb3611240, flags=...) at kernel/qeventloop.cpp:204
#8  0x0477594c in QThread::exec (this=0x85dc678) at thread/qthread.cpp:501
#9  0x04869b5d in QInotifyFileSystemWatcherEngine::run (this=0x85dc678) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x04778de0 in QThreadPrivate::start (arg=0x85dc678) at thread/qthread_unix.cpp:298
#11 0x00c0ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x002aface in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb2e10b40 (LWP 3230)):
#0  0x00c3d416 in __kernel_vsyscall ()
#1  0x00c0e96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x002bd3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06441029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x0644106f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x00c0ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x002aface in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77a6740 (LWP 3225)):
[KCrash Handler]
#7  0x00c3d416 in __kernel_vsyscall ()
#8  0x001f31ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x001f6835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x001ec095 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0x001ec147 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#12 0x05e0baaa in do_bo_emit_reloc (bo=0x8695fb0, offset=<optimized out>, target_bo=0x85ce5f8, target_offset=0, read_domains=4, write_domain=0, need_fence=false) at ../../intel/intel_bufmgr_gem.c:1579
#13 0x05e062c8 in drm_intel_bo_emit_reloc (bo=0x8695fb0, offset=21996, target_bo=0x85ce5f8, target_offset=0, read_domains=4, write_domain=0) at ../../intel/intel_bufmgr.c:181
#14 0x05db278e in intel_batchbuffer_emit_reloc (intel=0x8402f98, buffer=0x85ce5f8, read_domains=4, write_domain=0, delta=0) at intel_batchbuffer.c:235
#15 0x05daf28c in i830_emit_state (intel=0x8402f98) at i830_vtbl.c:542
#16 0x05dd4754 in intelRenderStart (ctx=0x8402f98) at intel_tris.c:1109
#17 0x05fcdabe in run_render (ctx=0x8402f98, stage=0x8400dc8) at tnl/t_vb_render.c:276
#18 0x05fc1497 in _tnl_run_pipeline (ctx=0x8402f98) at tnl/t_pipeline.c:163
#19 0x05deab2a in intelRunPipeline (ctx=0x8402f98) at intel_tris.c:1095
#20 0x05fc1dc7 in _tnl_draw_prims (ctx=0x8402f98, arrays=0x83c0490, prim=0xbfbd2ee8, nr_prims=1, ib=0x0, min_index=0, max_index=5) at tnl/t_draw.c:523
#21 0x05fc24b1 in _tnl_vbo_draw_prims (ctx=0x8402f98, arrays=0x83c0490, prim=0xbfbd2ee8, 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 0x05fb069e in vbo_draw_arrays (ctx=0x8402f98, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600
#23 0x00858f27 in KWin::GLVertexBufferPrivate::fallbackPainting (this=0x84def78, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1218
#24 0x0085a916 in KWin::GLVertexBuffer::render (this=0x8402af8, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1300
#25 0x00aa0667 in renderQuads (normalized=false, tex=0x86c0608, quads=..., region=..., this=<optimized out>) at ../../kwin/scene_opengl.cpp:788
#26 KWin::SceneOpenGL::Window::renderQuads (this=0x86c05e8, region=..., quads=..., tex=0x86c0608, normalized=false) at ../../kwin/scene_opengl.cpp:768
#27 0x00aa7d37 in KWin::SceneOpenGL::Window::performPaint (this=0x86c05e8, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:592
#28 0x00a8e2b7 in KWin::Scene::finalDrawWindow (this=0x8564078, w=0x85cae70, mask=9, region=..., data=...) at ../../kwin/scene.cpp:438
#29 0x00ab544a in KWin::EffectsHandlerImpl::drawWindow (this=0x84df2f0, w=0x85cae78, mask=9, region=..., data=...) at ../../kwin/effects.cpp:286
#30 0x0016c3a2 in KWin::Effect::drawWindow (this=0x85e83b0, w=0x85cae78, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#31 0x00ab53e8 in KWin::EffectsHandlerImpl::drawWindow (this=0x84df2f0, w=0x85cae78, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#32 0x00a8d6f2 in KWin::Scene::finalPaintWindow (this=0x8564078, w=0x85cae70, mask=9, region=..., data=...) at ../../kwin/scene.cpp:429
#33 0x00ab52da in KWin::EffectsHandlerImpl::paintWindow (this=0x84df2f0, w=0x85cae78, mask=9, region=..., data=...) at ../../kwin/effects.cpp:249
#34 0x07a7fc68 in KWin::TranslucencyEffect::paintWindow (this=0x85e83b0, w=0x85cae78, mask=9, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#35 0x00ab5278 in KWin::EffectsHandlerImpl::paintWindow (this=0x84df2f0, w=0x85cae78, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#36 0x00a8e4de in KWin::Scene::paintWindow (this=0x8564078, w=0x86c05e8, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:385
#37 0x00a8f685 in KWin::Scene::paintSimpleScreen (this=0x8564078, orig_mask=8, region=...) at ../../kwin/scene.cpp:330
#38 0x00a8d5fa in KWin::Scene::finalPaintScreen (this=0x8564078, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198
#39 0x00ab5760 in KWin::EffectsHandlerImpl::paintScreen (this=0x84df2f0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:222
#40 0x0016c53a in KWin::Effect::paintScreen (this=0x85e83b0, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#41 0x00ab5710 in KWin::EffectsHandlerImpl::paintScreen (this=0x84df2f0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#42 0x00a9016f in KWin::Scene::paintScreen (this=0x8564078, mask=0xbfbd3d04, region=0xbfbd3d98) at ../../kwin/scene.cpp:156
#43 0x00aa8909 in KWin::SceneOpenGL::paint (this=0x8564078, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#44 0x00a89844 in KWin::Workspace::performCompositing (this=0x83f4140) at ../../kwin/composite.cpp:417
#45 0x048a8ac4 in QObject::event (this=0x83f4140, e=0xbfbd427c) at kernel/qobject.cpp:1157
#46 0x03702ed4 in notify_helper (e=0xbfbd427c, receiver=0x83f4140, this=0x8267770) at kernel/qapplication.cpp:4559
#47 QApplicationPrivate::notify_helper (this=0x8267770, receiver=0x83f4140, e=0xbfbd427c) at kernel/qapplication.cpp:4531
#48 0x0370830d in QApplication::notify (this=0xbfbd427c, receiver=0x83f4140, e=0xbfbd427c) at kernel/qapplication.cpp:4288
#49 0x00557401 in KApplication::notify (this=0xbfbd4588, receiver=0x83f4140, event=0xbfbd427c) at ../../kdeui/kernel/kapplication.cpp:311
#50 0x00a325ef in notify (e=0xbfbd427c, o=0x83f4140, this=0xbfbd4588) at ../../kwin/main.cpp:368
#51 KWin::Application::notify (this=0xbfbd4588, o=0x83f4140, e=0xbfbd427c) at ../../kwin/main.cpp:364
#52 0x0488d97e in QCoreApplication::notifyInternal (this=0xbfbd4588, receiver=0x83f4140, event=0xbfbd427c) at kernel/qcoreapplication.cpp:876
#53 0x048c2990 in sendEvent (event=0xbfbd427c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QTimerInfoList::activateTimers (this=0x8268134) at kernel/qeventdispatcher_unix.cpp:611
#55 0x048c3207 in QEventDispatcherUNIX::processEvents (this=0x8267428, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#56 0x037bcb6e in QEventDispatcherX11::processEvents (this=0x8267428, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#57 0x0488c50d in QEventLoop::processEvents (this=0xbfbd44c4, flags=...) at kernel/qeventloop.cpp:149
#58 0x0488c7a9 in QEventLoop::exec (this=0xbfbd44c4, flags=...) at kernel/qeventloop.cpp:204
#59 0x04891eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#60 0x03700a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#61 0x00a355b5 in kdemain (argc=1, argv=0xbfbd4834) at ../../kwin/main.cpp:541
#62 0x0804850b in main (argc=1, argv=0xbfbd4834) at kwin_dummy.cpp:3

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

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-06-24 18:04:55 UTC
as workaround don't use opengl compositing with intel i8xx chips but the xrender backend ("kcmshell4 kwincompositing", 3rd tab)

this crash is because OpenOffice conditionally uses OpenGL as well  and the GPU/Driver has issues with two parallel contexts.

The "panels and k button" are unrelated but mean that plasma crashed - it presumingly uses some GL plasmoid as well.

Alternatively switch of hardware acceleration in OOo or use replace the GPU.

*** This bug has been marked as a duplicate of bug 297348 ***
Comment 2 cormac.wilcox 2012-06-24 18:16:11 UTC
Created attachment 72100 [details]
New crash information added by DrKonqi

kwin (4.8.3 (4.8.3)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

Kwin crashes when running libreoffice 3.5

-- Backtrace (Reduced):
#12 0x04bbdaaa in do_bo_emit_reloc (bo=0x97e4c90, offset=<optimized out>, target_bo=0x97f4700, target_offset=0, read_domains=4, write_domain=0, need_fence=false) at ../../intel/intel_bufmgr_gem.c:1579
#13 0x04bb82c8 in drm_intel_bo_emit_reloc (bo=0x97e4c90, offset=6540, target_bo=0x97f4700, target_offset=0, read_domains=4, write_domain=0) at ../../intel/intel_bufmgr.c:181
#14 0x02fb978e in intel_batchbuffer_emit_reloc (intel=0x95018b8, buffer=0x97f4700, read_domains=4, write_domain=0, delta=0) at intel_batchbuffer.c:235
#15 0x02fb628c in i830_emit_state (intel=0x95018b8) at i830_vtbl.c:542
#16 0x02fdb754 in intelRenderStart (ctx=0x95018b8) at intel_tris.c:1109
Comment 3 cormac.wilcox 2012-06-24 21:51:49 UTC
Thanks solved alright