Bug 331753 - KWin Crash after Reboot
Summary: KWin Crash after Reboot
Status: RESOLVED DUPLICATE of bug 324598
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-05 04:19 UTC by juandon123
Modified: 2014-03-05 09:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description juandon123 2014-03-05 04:19:45 UTC
Application: kwin (4.11.7)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.13.5-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

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

I rebooted and KWin crashed.  I can reset workspace and desktop behaviour, log out, then the desktop appears normal.  However, after a reboot, KWin usually crashes again.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f1c9e82f900 (LWP 1653))]

Thread 2 (Thread 0x7f1c66c61700 (LWP 1665)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1c9d7d809b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1c9dad6f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f1c9d7d80d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f1c97f68f33 in start_thread (arg=0x7f1c66c61700) at pthread_create.c:309
#4  0x00007f1c960d1ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1c9e82f900 (LWP 1653)):
[KCrash Handler]
#6  intel_miptree_used_for_rendering (mt=0x0) at intel_mipmap_tree.h:678
#7  brw_update_renderbuffer_surface (brw=0x21311e0, rb=0x20ec240, layered=<optimized out>, unit=0) at brw_wm_surface_state.c:635
#8  0x00007f1c74cc56cc in brw_update_renderbuffer_surfaces (brw=0x21311e0) at brw_wm_surface_state.c:717
#9  0x00007f1c74c9afaa in brw_upload_state (brw=brw@entry=0x21311e0) at brw_state_upload.c:513
#10 0x00007f1c74c56eb6 in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=<optimized out>, nr_prims=<optimized out>, prim=<optimized out>, arrays=<optimized out>, ctx=0x21311e0) at brw_draw.c:445
#11 brw_draw_prims (ctx=0x21311e0, prim=<optimized out>, nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=0, max_index=23, tfb_vertcount=0x0) at brw_draw.c:530
#12 0x00007f1c7477ade0 in vbo_draw_arrays (ctx=0x21311e0, mode=4, start=0, count=24, numInstances=1, baseInstance=0) at ../../../src/mesa/vbo/vbo_exec_array.c:660
#13 0x00007f1c9969639e in KWin::GLVertexBuffer::draw (this=this@entry=0x235b7d0, region=..., primitiveMode=primitiveMode@entry=4, first=first@entry=0, count=24, hardwareClipping=hardwareClipping@entry=false) at /usr/src/debug/kde-workspace-4.11.7/kwin/libkwineffects/kwinglutils.cpp:1949
#14 0x00007f1c99699599 in KWin::GLVertexBuffer::render (this=0x235b7d0, region=..., primitiveMode=4, hardwareClipping=<optimized out>) at /usr/src/debug/kde-workspace-4.11.7/kwin/libkwineffects/kwinglutils.cpp:1902
#15 0x00007f1c9969960d in KWin::GLVertexBuffer::render (this=this@entry=0x235b7d0, primitiveMode=primitiveMode@entry=4) at /usr/src/debug/kde-workspace-4.11.7/kwin/libkwineffects/kwinglutils.cpp:1896
#16 0x00007f1c9e3abb7a in KWin::SceneOpenGL2::doPaintBackground (this=<optimized out>, vertices=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/scene_opengl.cpp:748
#17 0x00007f1c9e3af475 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x23db320, region=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/scene_opengl.cpp:460
#18 0x00007f1c9e39eed6 in KWin::Scene::paintSimpleScreen (this=this@entry=0x23db320, orig_mask=orig_mask@entry=0, region=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/scene.cpp:367
#19 0x00007f1c9e39ca65 in KWin::Scene::finalPaintScreen (this=0x23db320, mask=mask@entry=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/scene.cpp:198
#20 0x00007f1c9e3c018d in KWin::EffectsHandlerImpl::paintScreen (this=0x257c190, mask=mask@entry=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/effects.cpp:375
#21 0x00007f1c99465baf in KWin::Effect::paintScreen (this=this@entry=0x258d1c0, mask=mask@entry=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/libkwineffects/kwineffects.cpp:522
#22 0x00007f1c9e3c013a in KWin::EffectsHandlerImpl::paintScreen (this=0x257c190, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/effects.cpp:372
#23 0x00007f1c9e39f0a6 in KWin::Scene::paintScreen (this=this@entry=0x23db320, mask=mask@entry=0x7fffc14f4bcc, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fffc14f4be0, validRegion=validRegion@entry=0x7fffc14f4bf0) at /usr/src/debug/kde-workspace-4.11.7/kwin/scene.cpp:148
#24 0x00007f1c9e3b28fe in KWin::SceneOpenGL::paint (this=0x23db320, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.11.7/kwin/scene_opengl.cpp:389
#25 0x00007f1c9e3965db in KWin::Compositor::performCompositing (this=0x20adf70) at /usr/src/debug/kde-workspace-4.11.7/kwin/composite.cpp:618
#26 0x00007f1c9831b0a1 in QObject::event (this=0x20adf70, e=<optimized out>) at kernel/qobject.cpp:1156
#27 0x00007f1c9744dd8c in QApplicationPrivate::notify_helper (this=this@entry=0x1ea4c20, receiver=receiver@entry=0x20adf70, e=e@entry=0x7fffc14f5120) at kernel/qapplication.cpp:4562
#28 0x00007f1c97454725 in QApplication::notify (this=this@entry=0x7fffc14f5620, receiver=receiver@entry=0x20adf70, e=e@entry=0x7fffc14f5120) at kernel/qapplication.cpp:4348
#29 0x00007f1c99017a1a in KApplication::notify (this=0x7fffc14f5620, receiver=0x20adf70, event=0x7fffc14f5120) at /usr/src/debug/kdelibs-4.12.2/kdeui/kernel/kapplication.cpp:311
#30 0x00007f1c9830239d in QCoreApplication::notifyInternal (this=0x7fffc14f5620, receiver=0x20adf70, event=event@entry=0x7fffc14f5120) at kernel/qcoreapplication.cpp:949
#31 0x00007f1c98333ae3 in sendEvent (event=0x7fffc14f5120, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#32 QTimerInfoList::activateTimers (this=0x1ea5618) at kernel/qeventdispatcher_unix.cpp:621
#33 0x00007f1c98333b60 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1e4dc80) at kernel/qeventdispatcher_unix.cpp:878
#34 0x00007f1c98334548 in QEventDispatcherUNIX::processEvents (this=this@entry=0x1e4dc80, flags=...) at kernel/qeventdispatcher_unix.cpp:940
#35 0x00007f1c974f05d6 in QEventDispatcherX11::processEvents (this=0x1e4dc80, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#36 0x00007f1c98300edf in QEventLoop::processEvents (this=this@entry=0x7fffc14f5470, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f1c9830122d in QEventLoop::exec (this=this@entry=0x7fffc14f5470, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f1c98306749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#39 0x00007f1c9744c3fc in QApplication::exec () at kernel/qapplication.cpp:3823
#40 0x00007f1c9e34e411 in kdemain (argc=3, argv=0x7fffc14f5778) at /usr/src/debug/kde-workspace-4.11.7/kwin/main.cpp:597
#41 0x00007f1c95ffed65 in __libc_start_main (main=0x4009d0 <main(int, char**)>, argc=3, argv=0x7fffc14f5778, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc14f5768) at libc-start.c:285
#42 0x0000000000400a01 in _start ()

Possible duplicates by query: bug 331265, bug 324598.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-03-05 09:51:52 UTC
See bug #324598 comment #3
upstream claims fix, though.

-> run
kwriteconfig --file kwinrc --group Compositing --key GLCore false
then reboot. Still an issue?
Is it an optimus system?

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