Bug 322136 - Closing KDE
Summary: Closing KDE
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.90
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/111...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 22:36 UTC by Eric Si
Modified: 2013-07-19 20:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
thomas.luebking: ReviewRequest+


Attachments
output of «qdbus org.kde.kwin /KWin supportInformation» (6.58 KB, text/plain)
2013-07-09 20:57 UTC, Eric Si
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Si 2013-07-08 22:36:08 UTC
Application: kwin (4.10.90)
KDE Platform Version: 4.10.90
Qt Version: 4.8.4
Operating System: Linux 3.8.2-030802-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Right Click on Desktop, Quit...  KwinCrashed
Right Click on Desktop, Quit...  KwinCrashed

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f21a85dd700 (LWP 2640)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f21d6330e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f21d6330ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f21ceb42f8e in start_thread (arg=0x7f21a85dd700) at pthread_create.c:311
#4  0x00007f21d713ae1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f21a0aea700 (LWP 2735)):
#0  0x00007f21d7133233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f21d13964f3 in qt_safe_select (nfds=32, fdread=0x7f219c000ac8, fdwrite=0x7f219c000d60, fdexcept=0x7f219c000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f21d139b499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f219c000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f21d139bc82 in QEventDispatcherUNIX::processEvents (this=0x7f219c0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f21d136938f in QEventLoop::processEvents (this=this@entry=0x7f21a0ae9d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f21d1369618 in QEventLoop::exec (this=this@entry=0x7f21a0ae9d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f21d126b410 in QThread::exec (this=this@entry=0x1347370) at thread/qthread.cpp:542
#7  0x00007f21d134aedf in QInotifyFileSystemWatcherEngine::run (this=0x1347370) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f21d126dbec in QThreadPrivate::start (arg=0x1347370) at thread/qthread_unix.cpp:338
#9  0x00007f21ceb42f8e in start_thread (arg=0x7f21a0aea700) at pthread_create.c:311
#10 0x00007f21d713ae1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f21d783e7c0 (LWP 2612)):
[KCrash Handler]
#6  0x00007f21aad12c94 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#7  0x00007f21aad8415d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#8  0x00007f21aa210f91 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#9  0x00007f21d201945c in resolveLocations (this=0x1c6bea0) at ../../../kwin/libkwineffects/kwinglutils.cpp:485
#10 KWin::GLShader::resolveLocations (this=0x1c6bea0) at ../../../kwin/libkwineffects/kwinglutils.cpp:480
#11 0x00007f21d2019911 in KWin::GLShader::setUniform (this=this@entry=0x1c6bea0, uniform=uniform@entry=KWin::GLShader::ProjectionMatrix, matrix=...) at ../../../kwin/libkwineffects/kwinglutils.cpp:512
#12 0x00007f21d201a04a in KWin::ShaderManager::resetShader (this=this@entry=0xe3b7f0, type=type@entry=KWin::ShaderManager::ColorShader) at ../../../kwin/libkwineffects/kwinglutils.cpp:975
#13 0x00007f21d201ed22 in KWin::ShaderManager::loadFragmentShader (this=0xe3b7f0, vertex=vertex@entry=KWin::ShaderManager::ColorShader, fragmentFile=...) at ../../../kwin/libkwineffects/kwinglutils.cpp:841
#14 0x00007f21a8a4e1ff in KWin::LogoutEffect::renderVignetting (this=this@entry=0x1267de0) at ../../../kwin/effects/logout/logout.cpp:302
#15 0x00007f21a8a4e7ce in KWin::LogoutEffect::paintScreen (this=this@entry=0x1267de0, mask=mask@entry=32, region=..., data=...) at ../../../kwin/effects/logout/logout.cpp:215
#16 0x00007f21d74f6965 in KWin::EffectsHandlerImpl::paintScreen (this=0x119c640, mask=mask@entry=32, region=..., data=...) at ../../kwin/effects.cpp:370
#17 0x00007f21d6c05d07 in KWin::Effect::paintScreen (this=this@entry=0x1f182e0, mask=mask@entry=32, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:522
#18 0x00007f21d74f6965 in KWin::EffectsHandlerImpl::paintScreen (this=0x119c640, mask=mask@entry=32, region=..., data=...) at ../../kwin/effects.cpp:370
#19 0x00007f21d6c05d07 in KWin::Effect::paintScreen (this=this@entry=0x11f5c70, mask=mask@entry=32, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:522
#20 0x00007f21d74f6965 in KWin::EffectsHandlerImpl::paintScreen (this=0x119c640, mask=32, region=..., data=...) at ../../kwin/effects.cpp:370
#21 0x00007f21d74d2f90 in KWin::Scene::paintScreen (this=this@entry=0xe3bc60, mask=mask@entry=0x7fff867ab9cc, region=region@entry=0x7fff867aba90) at ../../kwin/scene.cpp:141
#22 0x00007f21d74eb0ab in KWin::SceneOpenGL::paint (this=0xe3bc60, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:360
#23 0x00007f21d74cb2e7 in KWin::Compositor::performCompositing (this=0x8dada0) at ../../kwin/composite.cpp:617
#24 0x00007f21d13843ec in QObject::event (this=0x8dada0, e=<optimized out>) at kernel/qobject.cpp:1156
#25 0x00007f21d07108ec in QApplicationPrivate::notify_helper (this=this@entry=0x6ac590, receiver=receiver@entry=0x8dada0, e=e@entry=0x7fff867ac1c0) at kernel/qapplication.cpp:4567
#26 0x00007f21d071325b in QApplication::notify (this=this@entry=0x7fff867ac800, receiver=receiver@entry=0x8dada0, e=e@entry=0x7fff867ac1c0) at kernel/qapplication.cpp:4428
#27 0x00007f21d5d93916 in KApplication::notify (this=0x7fff867ac800, receiver=0x8dada0, event=0x7fff867ac1c0) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f21d136a63e in QCoreApplication::notifyInternal (this=0x7fff867ac800, receiver=0x8dada0, event=event@entry=0x7fff867ac1c0) at kernel/qcoreapplication.cpp:946
#29 0x00007f21d139bb72 in sendEvent (event=0x7fff867ac1c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QTimerInfoList::activateTimers (this=0x6ad148) at kernel/qeventdispatcher_unix.cpp:622
#31 0x00007f21d139bbd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x63cad0) at kernel/qeventdispatcher_unix.cpp:879
#32 0x00007f21d139bd28 in QEventDispatcherUNIX::processEvents (this=this@entry=0x63cad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#33 0x00007f21d07b6b2f in QEventDispatcherX11::processEvents (this=0x63cad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#34 0x00007f21d136938f in QEventLoop::processEvents (this=this@entry=0x7fff867ac510, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f21d1369618 in QEventLoop::exec (this=this@entry=0x7fff867ac510, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f21d136ecf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007f21d070effc in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x00007f21d7484863 in kdemain (argc=1, argv=0x7fff867ac948) at ../../kwin/main.cpp:589
#39 0x00007f21d7062ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff867ac948, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff867ac938) at libc-start.c:260
#40 0x0000000000400701 in _start ()

Possible duplicates by query: bug 315419.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-07-08 22:47:53 UTC
please attach the output of "qdbus org.kde.kwin /KWin supportInformation"
Comment 2 Eric Si 2013-07-09 20:57:33 UTC
Created attachment 81032 [details]
output of «qdbus   org.kde.kwin /KWin supportInformation»
Comment 3 Thomas Lübking 2013-07-10 21:47:58 UTC
This is most likely because the 1.40 variant of the vignetting (and blur) shaders are not installed.

fglrx should not ract with a crash, but to "fix" the problem, try coyping kwin/effects/logout/data/*-140.frag to /usr/share/apps/kwin/

@Martin
Should the effect shaders not be installed into shaders/<version>/anyway?
All others seem there.
Comment 4 Thomas Lübking 2013-07-19 12:37:12 UTC
crash is driver bug, proper shader installation in RR
Comment 5 Thomas Lübking 2013-07-19 20:39:53 UTC
Git commit 55caa007b1591b988ac68576bdf2514934314ad0 by Thomas Lübking.
Committed on 19/07/2013 at 12:19.
Pushed by luebking into branch 'KDE/4.11'.

fix logout effect shaderfile locations
REVIEW: 111600

M  +10   -3    kwin/effects/logout/CMakeLists.txt
R  +0    -0    kwin/effects/logout/data/1.10/logout-blur.frag [from: kwin/effects/logout/data/logout-blur.frag - 100% similarity]
R  +0    -0    kwin/effects/logout/data/1.10/vignetting.frag [from: kwin/effects/logout/data/vignetting.frag - 100% similarity]
R  +0    -0    kwin/effects/logout/data/1.40/logout-blur.frag [from: kwin/effects/logout/data/logout-blur-140.frag - 100% similarity]
R  +0    -0    kwin/effects/logout/data/1.40/vignetting.frag [from: kwin/effects/logout/data/vignetting-140.frag - 100% similarity]
M  +11   -6    kwin/effects/logout/logout.cpp
M  +1    -0    kwin/effects/logout/logout.h

http://commits.kde.org/kde-workspace/55caa007b1591b988ac68576bdf2514934314ad0