Bug 303995 - kwin crashes while trying to use opengl as renderer
Summary: kwin crashes while trying to use opengl as renderer
Status: RESOLVED DUPLICATE of bug 270818
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-07-24 09:15 UTC by mhoppstaedter
Modified: 2012-07-24 10:25 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 mhoppstaedter 2012-07-24 09:15:20 UTC
Application: kwin (4.8.4 (4.8.4))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

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

kwin crashes if opengl is choosed as renderer in system settings.

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 0x7fd940949780 (LWP 4877))]

Thread 2 (Thread 0x7fd91f2ff700 (LWP 4880)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd93cc17222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fd93cc17259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fd934a4de9a in start_thread (arg=0x7fd91f2ff700) at pthread_create.c:308
#4  0x00007fd9401614bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd940949780 (LWP 4877)):
[KCrash Handler]
#6  __memcpy_sse2 () at ../sysdeps/x86_64/multiarch/../memcpy.S:400
#7  0x00007fd93c404846 in __indirect_glProgramParameters4fvNV (target=1, index=20019892, num=1078089592, params=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:52
#8  0x00007fd91e16620f in KWin::ARBBlurShader::init (this=0x1317aa0) at ../../../kwin/effects/blur/blurshader.cpp:471
#9  0x00007fd91e161799 in KWin::BlurEffect::reconfigure (this=0x1347ef0, flags=...) at ../../../kwin/effects/blur/blur.cpp:85
#10 0x00007fd91e161a77 in KWin::BlurEffect::BlurEffect (this=0x1347ef0) at ../../../kwin/effects/blur/blur.cpp:53
#11 0x00007fd91e161b76 in KWin::effect_create_kwin4_effect_blur () at ../../../kwin/effects/blur/blur.cpp:34
#12 0x00007fd9405005a4 in KWin::EffectsHandlerImpl::loadEffect (this=0x1292b90, name=..., checkDefault=false) at ../../kwin/effects.cpp:1199
#13 0x00007fd94050190a in KWin::EffectsHandlerImpl::reconfigure (this=0x1292b90) at ../../kwin/effects.cpp:196
#14 0x00007fd940501e28 in KWin::EffectsHandlerImpl::EffectsHandlerImpl (this=0x1292b90, type=<optimized out>) at ../../kwin/effects.cpp:128
#15 0x00007fd9404d614f in KWin::Workspace::setupCompositing (this=0xe16dd0) at ../../kwin/composite.cpp:174
#16 0x00007fd9404d6aa5 in KWin::Workspace::setupCompositing (this=<optimized out>) at ../../kwin/composite.cpp:87
#17 0x00007fd940469abd in KWin::Workspace::slotReinitCompositing (this=0xe16dd0) at ../../kwin/workspace.cpp:1076
#18 0x00007fd9404707ea in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./workspace.moc:347
#19 KWin::Workspace::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./workspace.moc:265
#20 0x00007fd940470b4b in KWin::Workspace::qt_metacall (this=0xe16dd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff42c15550) at ./workspace.moc:436
#21 0x00007fd93bca137b in ?? () from /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#22 0x00007fd93b940446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007fd93aca9894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007fd93acae713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fd93fc3b9e6 in KApplication::notify (this=0x7fff42c16040, receiver=0xe16dd0, event=0x1056d10) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fd93b926e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fd93b92ac6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007fd93ad529fa in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007fd93b925c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fd93b925ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007fd93b92af67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007fd94048cc36 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#33 0x00007fd94009076d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff42c16768, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff42c16758) at libc-start.c:226
#34 0x0000000000400671 in _start ()

Possible duplicates by query: bug 290390, bug 286479, bug 284375.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-07-24 10:25:27 UTC
Please provide hardware/driver for bug statistics.
Thanks

-> If you use an AMD/ATi chip and fglrx (catalyst)?

- try the radeon driver (xf86-video-ati/ati-dri)
- try fglrx with enforced direct rendering (late versions have been reported to be reliable) "KWIN_DIRECT_GL=1 kwin --replace &"
- remain staying away from the ARB shader using code (disable blur effect and set the scale method to smooth and esp. NOT accurate)
- ensure that this issue in fglrx is not caused by it's setup demands (afaik one has to run some script after un/installing it)

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