Bug 352292

Summary: Kwin crashes in Kubuntu 15.10 beta1 when using viewer in second life
Product: [Plasma] kwin Reporter: ben <benperezc>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kcmshell5--list_output

Description ben 2015-09-04 21:28:24 UTC
Application: kwin_x11 (5.4.0)

Qt Version: 5.4.2
Operating System: Linux 4.1.0-3-generic x86_64
Distribution: Ubuntu Wily Werewolf (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I was using stable Firestorm viewer 4..7.3  to play in second life game . WHhenever I open  any other application  or whenenevr  I volume up or down or set bright up or down  Kwin  crashes.

The crash can be reproduced every time.

-- 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 0x7fc0fb3a4840 (LWP 1146))]

Thread 4 (Thread 0x7fc0e5135700 (LWP 1178)):
#0  0x00007fc0fae838dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc0f8febbd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc0f8fed74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc0e5de69e9 in QXcbEventReader::run (this=0x1bccc60) at qxcbconnection.cpp:1105
#4  0x00007fc0f92a525e in QThreadPrivate::start (arg=0x1bccc60) at thread/qthread_unix.cpp:337
#5  0x00007fc0fa4c86aa in start_thread (arg=0x7fc0e5135700) at pthread_create.c:333
#6  0x00007fc0fae8eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc0ddb9f700 (LWP 1186)):
#0  0x00007fc0fae85730 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc0f94d748f in qt_safe_select (nfds=14, fdread=fdread@entry=0x7fc0d0000a78, fdwrite=fdwrite@entry=0x7fc0d0000d08, fdexcept=fdexcept@entry=0x7fc0d0000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fc0f94d8f8e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7fc0d0000f98, writefds=0x7fc0d0000d08, readfds=0x7fc0d0000a78, nfds=<optimized out>, this=0x7fc0d00008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fc0d00008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fc0f94d94be in QEventDispatcherUNIX::processEvents (this=0x7fc0d00008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fc0f94822da in QEventLoop::exec (this=this@entry=0x7fc0ddb9ed60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fc0f92a0374 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fc0f3e0ff85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fc0f92a525e in QThreadPrivate::start (arg=0x1dccc80) at thread/qthread_unix.cpp:337
#9  0x00007fc0fa4c86aa in start_thread (arg=0x7fc0ddb9f700) at pthread_create.c:333
#10 0x00007fc0fae8eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc0cf4fc700 (LWP 1193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc0f8437114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fc0f8437159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fc0fa4c86aa in start_thread (arg=0x7fc0cf4fc700) at pthread_create.c:333
#4  0x00007fc0fae8eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc0fb3a4840 (LWP 1146)):
[KCrash Handler]
#6  0x00007fc0d6461f39 in ?? () from /usr/lib/dri/fglrx_dri.so
#7  0x00007fc0d5b5c7c8 in ?? () from /usr/lib/dri/fglrx_dri.so
#8  0x00007fc0d5b5ca62 in ?? () from /usr/lib/dri/fglrx_dri.so
#9  0x00007fc0d5f80ab3 in ?? () from /usr/lib/dri/fglrx_dri.so
#10 0x00007fc0f856aaee in KWin::BlurEffect::doCachedBlur (this=this@entry=0x233e6c0, w=w@entry=0x241d8a0, region=..., opacity=1) at ../../effects/blur/blur.cpp:593
#11 0x00007fc0f856b7ec in KWin::BlurEffect::drawWindow (this=this@entry=0x233e6c0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../../effects/blur/blur.cpp:409
#12 0x00007fc0faa62d4e in KWin::EffectsHandlerImpl::drawWindow (this=0x23151d0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../effects.cpp:492
#13 0x00007fc0f8a3e741 in KWin::Effect::drawWindow (this=this@entry=0x233f320, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#14 0x00007fc0faa62d4e in KWin::EffectsHandlerImpl::drawWindow (this=0x23151d0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../effects.cpp:492
#15 0x00007fc0faa29811 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../scene.cpp:607
#16 0x00007fc0faa62bfa in KWin::EffectsHandlerImpl::paintWindow (this=0x23151d0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../effects.cpp:458
#17 0x00007fc0f8a3e5e1 in KWin::Effect::paintWindow (this=this@entry=0x1c85420, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#18 0x00007fc0faa62b9e in KWin::EffectsHandlerImpl::paintWindow (this=0x23151d0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../effects.cpp:455
#19 0x00007fc0f8a3e5e1 in KWin::Effect::paintWindow (this=this@entry=0x233e6c0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#20 0x00007fc0faa62b9e in KWin::EffectsHandlerImpl::paintWindow (this=0x23151d0, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../effects.cpp:455
#21 0x00007fc0f8a4c734 in KWin::AnimationEffect::paintWindow (this=this@entry=0x233f320, w=w@entry=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#22 0x00007fc0faa62b9e in KWin::EffectsHandlerImpl::paintWindow (this=0x23151d0, w=0x241d8a0, mask=mask@entry=2, region=..., data=...) at ../effects.cpp:455
#23 0x00007fc0faa2eb08 in KWin::Scene::paintWindow (this=this@entry=0x22d8880, w=0x2419ed0, mask=2, region=..., quads=...) at ../scene.cpp:479
#24 0x00007fc0faa2e19c in KWin::Scene::paintSimpleScreen (this=this@entry=0x22d8880, orig_mask=orig_mask@entry=0, region=...) at ../scene.cpp:382
#25 0x00007fc0faa3fbc3 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x22d8880, mask=mask@entry=0, region=...) at ../scene_opengl.cpp:1095
#26 0x00007fc0faa291d4 in KWin::Scene::finalPaintScreen (this=0x22d8880, mask=mask@entry=0, region=..., data=...) at ../scene.cpp:201
#27 0x00007fc0faa6297f in KWin::EffectsHandlerImpl::paintScreen (this=0x23151d0, mask=mask@entry=0, region=..., data=...) at ../effects.cpp:415
#28 0x00007fc0f8a3e52f in KWin::Effect::paintScreen (this=this@entry=0x1c85420, mask=mask@entry=0, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#29 0x00007fc0faa6292a in KWin::EffectsHandlerImpl::paintScreen (this=0x23151d0, mask=mask@entry=0, region=..., data=...) at ../effects.cpp:412
#30 0x00007fc0f8a3e52f in KWin::Effect::paintScreen (this=this@entry=0x233e6c0, mask=mask@entry=0, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#31 0x00007fc0faa6292a in KWin::EffectsHandlerImpl::paintScreen (this=0x23151d0, mask=mask@entry=0, region=..., data=...) at ../effects.cpp:412
#32 0x00007fc0f8a3e52f in KWin::Effect::paintScreen (this=this@entry=0x233f320, mask=mask@entry=0, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#33 0x00007fc0faa6292a in KWin::EffectsHandlerImpl::paintScreen (this=0x23151d0, mask=0, region=..., data=...) at ../effects.cpp:412
#34 0x00007fc0faa28e4a in KWin::Scene::paintScreen (this=this@entry=0x22d8880, mask=mask@entry=0x7ffd3c23f2a0, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffd3c23f270, validRegion=validRegion@entry=0x7ffd3c23f280) at ../scene.cpp:151
#35 0x00007fc0faa455b8 in KWin::SceneOpenGL::paint (this=0x22d8880, damage=..., toplevels=...) at ../scene_opengl.cpp:740
#36 0x00007fc0faa20cc3 in KWin::Compositor::performCompositing (this=0x1cb3b40) at ../composite.cpp:712
#37 0x00007fc0f94b6183 in QObject::event (this=0x1cb3b40, e=<optimized out>) at kernel/qobject.cpp:1267
#38 0x00007fc0f9d52b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1bb8b10, receiver=receiver@entry=0x1cb3b40, e=e@entry=0x7ffd3c23f6c0) at kernel/qapplication.cpp:3720
#39 0x00007fc0f9d58230 in QApplication::notify (this=0x7ffd3c23f8f0, receiver=0x1cb3b40, e=0x7ffd3c23f6c0) at kernel/qapplication.cpp:3503
#40 0x00007fc0f9484a9b in QCoreApplication::notifyInternal (this=0x7ffd3c23f8f0, receiver=0x1cb3b40, event=event@entry=0x7ffd3c23f6c0) at kernel/qcoreapplication.cpp:935
#41 0x00007fc0f94dac1d in QCoreApplication::sendEvent (event=0x7ffd3c23f6c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#42 QTimerInfoList::activateTimers (this=0x1bf1368) at kernel/qtimerinfo_unix.cpp:635
#43 0x00007fc0f94d89c0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1beb8a0) at kernel/qeventdispatcher_unix.cpp:549
#44 0x00007fc0f94d9436 in QEventDispatcherUNIX::processEvents (this=0x1beb8a0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#45 0x00007fc0e5e3cfed in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#46 0x00007fc0f94822da in QEventLoop::exec (this=this@entry=0x7ffd3c23f810, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#47 0x00007fc0f9489e4c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#48 0x00007fc0f979f09c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#49 0x00007fc0f9d4f025 in QApplication::exec () at kernel/qapplication.cpp:2956
#50 0x00007fc0fb1574c4 in kdemain (argc=1, argv=0x7ffd3c23fa58) at ../main_x11.cpp:303
#51 0x00007fc0fada8a40 in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=3, argv=0x7ffd3c23fa58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd3c23fa48) at libc-start.c:289
#52 0x00000000004007d9 in _start ()

Possible duplicates by query: bug 351201, bug 349862, bug 349356, bug 348025, bug 347642.

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-09-04 21:36:09 UTC
Driver bug, it's induced (at least) by the blur effect - you can disable that in "kcmshell5 kwineffects"

*** This bug has been marked as a duplicate of bug 346548 ***
Comment 2 ben 2015-09-04 23:23:54 UTC
Please  what steps  do I need  to disable this as you commented   before  " in kcmshell5 kwineffects"  ?  How  can I access to kcmshell5, and using Konsole or GUI ?  Thanks.
Comment 3 ben 2015-09-04 23:43:18 UTC
Created attachment 94405 [details]
kcmshell5--list_output

I accessed kcmshell5 using Konsole  and  asked  for  : ben@ben-Satellite-C645D:~$ kcmshell5 --list

and  I could not  see and  find  Kwineffects  in there, maybe it is not installed. Please  help me. Thanks
Comment 4 ben 2015-09-04 23:53:39 UTC
Thannks anyway . I could do it using konsole  as : ben@ben-Satellite-C645D:~$ kcmshell5 kcmkwineffects 


I  saw  Desktop effects windows and  went  below till I found  Blur effects  as activated. So I deactivated  it and then clicked  apply  and  finally ok to close that Desktop windows ..  Now  I will try again and open  my Firestorm viewer 4.7.3 for second life game..  then use  volume buttons or  open a new application and  will let you know how I did later ..
Comment 5 ben 2015-09-06 03:27:08 UTC
(In reply to Thomas Lübking from comment #1)
> Driver bug, it's induced (at least) by the blur effect - you can disable
> that in "kcmshell5 kwineffects"
> 
> *** This bug has been marked as a duplicate of bug 346548 ***

Thanks  a lot Thomas  you were  right..I could access to kwineffects, disabled  Blurr and apply  my changes  ..I have not had   that crash  again .