Bug 327154

Summary: kwin crashes every time I try to shutdown
Product: [Plasma] kwin Reporter: fa <fa>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fa 2013-11-05 05:37:36 UTC
Application: kwin (4.10.5 "release 1")
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

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

Every time I apply shutdown and I click on the timeout window to end or if I wait the 30 secs for timeout, kwin crashes.

Installed openSuse 12.3 DVD bought from OSDisc.com. Never had any problems like this before this installation

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f6c73317700 (LWP 3552)):
#0  0x00007f6c97c78964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c994fd307 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6c9980a660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f6c994fd339 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f6c97c74e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6c9cc2244d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6c9d402780 (LWP 3543)):
[KCrash Handler]
#6  PUSH_RESRC (tor=<optimized out>, data=<optimized out>, r=<optimized out>, bin=<optimized out>, mthd=<optimized out>, push=<optimized out>, subc=<optimized out>, access=<optimized out>, vor=<optimized out>) at nv30_winsys.h:107
#7  nv30_vbo_validate (nv30=0x26aa300) at nv30_vbo.c:239
#8  0x00007f6c80722d43 in nv30_state_validate (nv30=nv30@entry=0x26aa300, hwtnl=hwtnl@entry=1 '\001') at nv30_state_validate.c:487
#9  0x00007f6c80703ed8 in nv30_clear (pipe=0x26aa300, buffers=1, color=0x7fff4d98a080, depth=1, stencil=0) at nv30_clear.c:61
#10 0x00007f6c80930640 in st_Clear (ctx=0x27165a0, mask=2) at ../../src/mesa/state_tracker/st_cb_clear.c:557
#11 0x00007f6c9cfaebe1 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x27918b0, region=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/scene_opengl.cpp:349
#12 0x00007f6c9cfa0e1f in KWin::Scene::paintGenericScreen (this=0x27918b0, orig_mask=32) at /usr/src/debug/kde-workspace-4.10.5/kwin/scene.cpp:194
#13 0x00007f6c9cfac61a in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x27918b0, mask=mask@entry=32, data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/scene_opengl.cpp:516
#14 0x00007f6c9cf9fc81 in KWin::Scene::finalPaintScreen (this=0x27918b0, mask=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/scene.cpp:184
#15 0x00007f6c9cfc0df0 in KWin::EffectsHandlerImpl::paintScreen (this=0x2964af0, mask=mask@entry=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/effects.cpp:254
#16 0x00007f6c73395ece in KWin::LogoutEffect::paintScreen (this=this@entry=0x2a26c60, mask=mask@entry=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/effects/logout/logout.cpp:193
#17 0x00007f6c9cfc0d9b in KWin::EffectsHandlerImpl::paintScreen (this=0x2964af0, mask=mask@entry=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/effects.cpp:251
#18 0x00007f6c9b3ebdf7 in KWin::Effect::paintScreen (this=this@entry=0x29f18c0, mask=mask@entry=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/libkwineffects/kwineffects.cpp:489
#19 0x00007f6c9cfc0d9b in KWin::EffectsHandlerImpl::paintScreen (this=0x2964af0, mask=mask@entry=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/effects.cpp:251
#20 0x00007f6c9b3ebdf7 in KWin::Effect::paintScreen (this=this@entry=0x29b0870, mask=mask@entry=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/libkwineffects/kwineffects.cpp:489
#21 0x00007f6c9cfc0d9b in KWin::EffectsHandlerImpl::paintScreen (this=0x2964af0, mask=32, region=..., data=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/effects.cpp:251
#22 0x00007f6c9cfa0fd8 in KWin::Scene::paintScreen (this=0x27918b0, mask=0x7fff4d98a7d4, region=0x7fff4d98a880) at /usr/src/debug/kde-workspace-4.10.5/kwin/scene.cpp:140
#23 0x00007f6c9cfb045e in KWin::SceneOpenGL::paint (this=0x27918b0, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.10.5/kwin/scene_opengl.cpp:308
#24 0x00007f6c9cf9b36c in KWin::Compositor::performCompositing (this=0x2632d60) at /usr/src/debug/kde-workspace-4.10.5/kwin/composite.cpp:610
#25 0x00007f6c9801b5ac in QObject::event (this=0x2632d60, e=<optimized out>) at kernel/qobject.cpp:1165
#26 0x00007f6c9719486c in QApplicationPrivate::notify_helper (this=this@entry=0x2467ff0, receiver=receiver@entry=0x2632d60, e=e@entry=0x7fff4d98b060) at kernel/qapplication.cpp:4562
#27 0x00007f6c97198ceb in QApplication::notify (this=0x7fff4d98b6a0, receiver=0x2632d60, e=0x7fff4d98b060) at kernel/qapplication.cpp:4423
#28 0x00007f6c9c71a7f6 in KApplication::notify (this=0x7fff4d98b6a0, receiver=0x2632d60, event=0x7fff4d98b060) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#29 0x00007f6c98006d8e in QCoreApplication::notifyInternal (this=0x7fff4d98b6a0, receiver=0x2632d60, event=0x7fff4d98b060) at kernel/qcoreapplication.cpp:946
#30 0x00007f6c98037b61 in sendEvent (event=0x7fff4d98b060, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#31 QTimerInfoList::activateTimers (this=0x24689e8) at kernel/qeventdispatcher_unix.cpp:637
#32 0x00007f6c980381a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x2415a70) at kernel/qeventdispatcher_unix.cpp:894
#33 0x00007f6c980382f8 in QEventDispatcherUNIX::processEvents (this=0x2415a70, flags=...) at kernel/qeventdispatcher_unix.cpp:956
#34 0x00007f6c97235a3f in QEventDispatcherX11::processEvents (this=0x2415a70, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#35 0x00007f6c98005adf in QEventLoop::processEvents (this=this@entry=0x7fff4d98b3b0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f6c98005d68 in QEventLoop::exec (this=0x7fff4d98b3b0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f6c9800aa08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#38 0x00007f6c9cf51d9a in kdemain (argc=3, argv=0x7fff4d98b7e8) at /usr/src/debug/kde-workspace-4.10.5/kwin/main.cpp:537
#39 0x00007f6c9cb5aa15 in __libc_start_main () from /lib64/libc.so.6
#40 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:123

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

Possible duplicates by query: bug 321044, bug 319756, bug 318571, bug 317880, bug 317789.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-11-05 06:27:21 UTC
Driver bug, possible workarounds:

a) run "kwriteconfig --file kwinrc --group Effect-Logout --key UseBlur false; qdbus org.kde.kwin /KWin reconfigureEffect logout; qdbus org.kde.kwin /KWin reconfigure"

b) disable the logout effect
c) use the XRender compositor
(both in kcmshell4 kwincompositing, 2nd resp. 3rd tab)

d) use the nvidia blob instead of nouveau

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