Bug 356692

Summary: Kwin crash on gflrx when using google chrome
Product: [Plasma] kwin Reporter: Marco Aldana <m.aldana>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marco Aldana 2015-12-14 18:02:20 UTC
Application: kwin_x11 (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-19-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
Only google chrome was oppened, it has happened 3 times after updating to AMD Crimson drivers.

The crash can be reproduced sometimes.

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

Thread 5 (Thread 0x7fba3b7fe700 (LWP 1201)):
#0  0x00007fba58e53743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fba574a490f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fba574a640e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fba574a693e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fba5744f75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fba5726d3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fba51ddbf85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fba572722be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fba584956aa in start_thread (arg=0x7fba3b7fe700) at pthread_create.c:333
#9  0x00007fba58e5ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fba27fff700 (LWP 1213)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fba56402114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fba56402159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fba584956aa in start_thread (arg=0x7fba27fff700) at pthread_create.c:333
#4  0x00007fba58e5ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fba30e41700 (LWP 1910)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fba5727355b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fba522bbb3e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007fba522bc3c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007fba572722be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fba584956aa in start_thread (arg=0x7fba30e41700) at pthread_create.c:333
#6  0x00007fba58e5ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fba3bfff700 (LWP 2328)):
#0  0x00007fba58e53743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fba574a490f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fba574a640e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fba574a693e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fba5744f75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fba5726d3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fba51ddbf85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fba572722be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fba584956aa in start_thread (arg=0x7fba3bfff700) at pthread_create.c:333
#9  0x00007fba58e5ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fba5936a840 (LWP 1128)):
[KCrash Handler]
#6  0x00007fba32337aa9 in ?? () from /usr/lib/dri/fglrx_dri.so
#7  0x00007fba31a22ff8 in ?? () from /usr/lib/dri/fglrx_dri.so
#8  0x00007fba31a23292 in ?? () from /usr/lib/dri/fglrx_dri.so
#9  0x00007fba31e54b23 in ?? () from /usr/lib/dri/fglrx_dri.so
#10 0x00007fba56535c0e in KWin::BlurEffect::doCachedBlur (this=this@entry=0x217cb70, w=w@entry=0x2ac9230, region=..., opacity=1) at ../../effects/blur/blur.cpp:600
#11 0x00007fba5653691c in KWin::BlurEffect::drawWindow (this=this@entry=0x217cb70, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../effects/blur/blur.cpp:409
#12 0x00007fba58a3022e in KWin::EffectsHandlerImpl::drawWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:492
#13 0x00007fba56a0a741 in KWin::Effect::drawWindow (this=this@entry=0x26ad8c0, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#14 0x00007fba58a3022e in KWin::EffectsHandlerImpl::drawWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:492
#15 0x00007fba56a0a741 in KWin::Effect::drawWindow (this=this@entry=0x1ed2da0, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#16 0x00007fba58a3022e in KWin::EffectsHandlerImpl::drawWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:492
#17 0x00007fba589f6cf1 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../scene.cpp:607
#18 0x00007fba58a300da in KWin::EffectsHandlerImpl::paintWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:458
#19 0x00007fba56a0a5e1 in KWin::Effect::paintWindow (this=this@entry=0x2088ac0, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#20 0x00007fba58a3007e in KWin::EffectsHandlerImpl::paintWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:455
#21 0x00007fba56a0a5e1 in KWin::Effect::paintWindow (this=this@entry=0x217cb70, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#22 0x00007fba58a3007e in KWin::EffectsHandlerImpl::paintWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:455
#23 0x00007fba56a18844 in KWin::AnimationEffect::paintWindow (this=this@entry=0x26ad8c0, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#24 0x00007fba58a3007e in KWin::EffectsHandlerImpl::paintWindow (this=0x25e8d00, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:455
#25 0x00007fba56a18844 in KWin::AnimationEffect::paintWindow (this=this@entry=0x1ed2da0, w=w@entry=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#26 0x00007fba58a3007e in KWin::EffectsHandlerImpl::paintWindow (this=0x25e8d00, w=0x2ac9230, mask=mask@entry=9, region=..., data=...) at ../effects.cpp:455
#27 0x00007fba589fbfe8 in KWin::Scene::paintWindow (this=this@entry=0x25c5580, w=0x2829030, mask=9, region=..., quads=...) at ../scene.cpp:479
#28 0x00007fba589fb67c in KWin::Scene::paintSimpleScreen (this=this@entry=0x25c5580, orig_mask=orig_mask@entry=8, region=...) at ../scene.cpp:382
#29 0x00007fba58a0d0a3 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x25c5580, mask=mask@entry=8, region=...) at ../scene_opengl.cpp:1095
#30 0x00007fba589f66b4 in KWin::Scene::finalPaintScreen (this=0x25c5580, mask=mask@entry=8, region=..., data=...) at ../scene.cpp:201
#31 0x00007fba58a2fe5f in KWin::EffectsHandlerImpl::paintScreen (this=0x25e8d00, mask=mask@entry=8, region=..., data=...) at ../effects.cpp:415
#32 0x00007fba56a0a52f in KWin::Effect::paintScreen (this=this@entry=0x2088ac0, mask=mask@entry=8, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#33 0x00007fba58a2fe0a in KWin::EffectsHandlerImpl::paintScreen (this=0x25e8d00, mask=mask@entry=8, region=..., data=...) at ../effects.cpp:412
#34 0x00007fba56a0a52f in KWin::Effect::paintScreen (this=this@entry=0x217cb70, mask=mask@entry=8, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#35 0x00007fba58a2fe0a in KWin::EffectsHandlerImpl::paintScreen (this=0x25e8d00, mask=mask@entry=8, region=..., data=...) at ../effects.cpp:412
#36 0x00007fba56a0a52f in KWin::Effect::paintScreen (this=this@entry=0x26ad8c0, mask=mask@entry=8, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#37 0x00007fba58a2fe0a in KWin::EffectsHandlerImpl::paintScreen (this=0x25e8d00, mask=mask@entry=8, region=..., data=...) at ../effects.cpp:412
#38 0x00007fba56a0a52f in KWin::Effect::paintScreen (this=this@entry=0x1ed2da0, mask=mask@entry=8, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#39 0x00007fba58a2fe0a in KWin::EffectsHandlerImpl::paintScreen (this=0x25e8d00, mask=8, region=..., data=...) at ../effects.cpp:412
#40 0x00007fba589f632a in KWin::Scene::paintScreen (this=this@entry=0x25c5580, mask=mask@entry=0x7ffd150c4180, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffd150c4150, validRegion=validRegion@entry=0x7ffd150c4160) at ../scene.cpp:151
#41 0x00007fba58a12a98 in KWin::SceneOpenGL::paint (this=0x25c5580, damage=..., toplevels=...) at ../scene_opengl.cpp:740
#42 0x00007fba589ee1a3 in KWin::Compositor::performCompositing (this=0x1f6ba00) at ../composite.cpp:712
#43 0x00007fba57483603 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fba57d1fb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007fba57d25230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007fba57451f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007fba574a809d in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007fba574a68b6 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007fba43de405d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#50 0x00007fba5744f75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007fba574572cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007fba591254c4 in kdemain (argc=1, argv=0x7ffd150c4938) at ../main_x11.cpp:303
#53 0x00007fba58d76a40 in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=1, argv=0x7ffd150c4938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd150c4928) at libc-start.c:289
#54 0x00000000004007d9 in _start ()

Possible duplicates by query: bug 352821, bug 352292, bug 351201, bug 349862, bug 349356.

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-12-14 18:31:14 UTC
fglrx bug, disable blur cache results (run "kcmshell5 kwineffects", filter for blur, click the config button - it's the only checkbox)
If it still crashes, disable blurring and problably the "contrast" effect as well.

Alternatively, consider using the radeon driver.

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