https://bugs.kde.org/show_bug.cgi?id=361500

            Bug ID: 361500
           Summary: kwin crashes in "O2ES" mode while click on
                    task-manager entry with multible instances
           Product: kwin
           Version: 5.6.1
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: plusf...@gmail.com

i have set
KWIN_COMPOSE=O2ES
via ~/.pam_environment now my kwin is a lot smoother, but crashes in following
situation.

if i start kwin with
KWIN_COMPOSE=O2ES kwin_x11 --replace i dont crashes. i have to set it via
pam_environment to make it happen.

it doesnt matters of i set opengl 2 or 3 mode, glx or egl. it always crashes.



Reproducible: Always

Steps to Reproduce:
1. echo 'KWIN_COMPOSE=O2ES' >> ~/.pam_environment
2. reboot
3. open 2 instances of dolphin. let them group up in the taskmanager
4. now click on that entry in the task manager

Actual Results:  
kwin crashes

Expected Results:  
it should open the present window(?) effect

Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2d6ed16840 (LWP 3654))]

Thread 7 (Thread 0x7f2d5421e700 (LWP 3664)):
#0  0x00007f2d6e525c3d in poll () from /usr/lib/libc.so.6
#1  0x00007f2d6bfc1ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f2d6bfc3757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f2d54cd7a99 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f2d6c289de8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f2d6e7f6424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f2d6e52ecbd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f2d522de700 (LWP 3670)):
#0  0x00007f2d6e527903 in select () from /usr/lib/libc.so.6
#1  0x00007f2d6c4ae57f in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) () from /usr/lib/libQt5Core.so.5
#2  0x00007f2d6c4aff87 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timespec*) () from /usr/lib/libQt5Core.so.5
#3  0x00007f2d6c4b0472 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#4  0x00007f2d6c45b6fa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#5  0x00007f2d6c284fe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f2d653cca55 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f2d6c289de8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f2d6e7f6424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f2d6e52ecbd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f2d43dde700 (LWP 3690)):
#0  0x00007f2d6c4b0de3 in QTimerInfoList::timerWait(timespec&) () from
/usr/lib/libQt5Core.so.5
#1  0x00007f2d6c4b0422 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#2  0x00007f2d6c45b6fa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#3  0x00007f2d6c284fe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#4  0x00007f2d6647e915 in ?? () from /usr/lib/libQt5Qml.so.5
#5  0x00007f2d6c289de8 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f2d6e7f6424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f2d6e52ecbd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f2d41426700 (LWP 3712)):
#0  0x00007f2d6e7fc03f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f2d4278eb03 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f2d4278e257 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f2d6e7f6424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2d6e52ecbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f2d390dd700 (LWP 3743)):
#0  0x00007f2d6e7fc03f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f2d6b1cd134 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x00007f2d6b1cd179 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x00007f2d6e7f6424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2d6e52ecbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2d50eb6700 (LWP 7228)):
#0  0x00007f2d6e527903 in select () from /usr/lib/libc.so.6
#1  0x00007f2d6c4ae57f in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) () from /usr/lib/libQt5Core.so.5
#2  0x00007f2d6c4aff87 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timespec*) () from /usr/lib/libQt5Core.so.5
#3  0x00007f2d6c4b0472 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#4  0x00007f2d6c45b6fa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#5  0x00007f2d6c284fe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f2d6647e915 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f2d6c289de8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f2d6e7f6424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f2d6e52ecbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2d6ed16840 (LWP 3654)):
[KCrash Handler]
#5  0x00007f2d6e47a2a8 in raise () from /usr/lib/libc.so.6
#6  0x00007f2d6e47b72a in abort () from /usr/lib/libc.so.6
#7  0x00007f2d67227a52 in ?? () from /usr/lib/libepoxy.so.0
#8  0x00007f2d6724f26e in ?? () from /usr/lib/libepoxy.so.0
#9  0x00007f2d6e0d4632 in ?? () from /usr/lib/libkwin.so.5
#10 0x00007f2d6e0f122f in ?? () from /usr/lib/libkwin.so.5
#11 0x00007f2d6e0f1998 in ?? () from /usr/lib/libkwin.so.5
#12 0x00007f2d6e0f1a58 in ?? () from /usr/lib/libkwin.so.5
#13 0x00007f2d6e0f1477 in ?? () from /usr/lib/libkwin.so.5
#14 0x00007f2d6b55798c in ?? () from /usr/lib/libkwin4_effect_builtins.so.1
#15 0x00007f2d6b558729 in ?? () from /usr/lib/libkwin4_effect_builtins.so.1
#16 0x00007f2d6c489870 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQt5Core.so.5
#17 0x00007f2d6ba2060b in
KWin::EffectsHandler::propertyNotify(KWin::EffectWindow*, long) () from
/usr/lib/libkwineffects.so.8
#18 0x00007f2d6c489bae in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQt5Core.so.5
#19 0x00007f2d6e195e6b in KWin::Toplevel::propertyNotify(KWin::Toplevel*, long)
() from /usr/lib/libkwin.so.5
#20 0x00007f2d6e05bdf3 in ?? () from /usr/lib/libkwin.so.5
#21 0x00007f2d6e05dbf0 in ?? () from /usr/lib/libkwin.so.5
#22 0x00007f2d6e05f21e in KWin::Workspace::workspaceEvent(xcb_generic_event_t*)
() from /usr/lib/libkwin.so.5
#23 0x00007f2d6c45a84f in
QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) ()
from /usr/lib/libQt5Core.so.5
#24 0x00007f2d54cdb9d5 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*)
() from /usr/lib/libQt5XcbQpa.so.5
#25 0x00007f2d54cdc906 in QXcbConnection::processXcbEvents() () from
/usr/lib/libQt5XcbQpa.so.5
#26 0x00007f2d6c48a659 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#27 0x00007f2d6d18c68c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#28 0x00007f2d6d1918f6 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#29 0x00007f2d6c45d518 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#30 0x00007f2d6c45f3da in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#31 0x00007f2d6c4b0352 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#32 0x00007f2d54d499cd in ?? () from /usr/lib/libQt5XcbQpa.so.5
#33 0x00007f2d6c45b6fa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#34 0x00007f2d6c463b7c in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#35 0x00007f2d6ea14a65 in kdemain () from /usr/lib/libkdeinit5_kwin_x11.so
#36 0x00007f2d6e467710 in __libc_start_main () from /usr/lib/libc.so.6
#37 0x0000000000400769 in _start ()
## its useless, but there are no debuggin pakages for arch or Manjaro available

last output of the terminal is
QMetaProperty::read: Unable to handle unregistered datatype
'KWayland::Server::SurfaceInterface*' for property 'KWin::Toplevel::surface'
No provider of glFlush found.  Requires one of:
    Desktop OpenGL 1.0
    OpenGL ES 1.0
    OpenGL ES 2.0
Application::crashHandler() called with signal 6; recent crashes: 1
KCrash: Application 'kwin_x11' crashing...

supportinformations

Version
=======
KWin version: 5.6.1
Qt Version: 5.6.0
Qt compile version: 5.6.0
XCB compile version: 1.11.1

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11704000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 5
decorationButtonsRight: 
borderSize: 0
gridUnit: 12
font: Noto Sans UI,11,-1,5,50,0,0,0,0,0
smallSpacing: 3
largeSpacing: 12

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 8
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5002
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
unredirectFullscreen: true
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 2

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: true
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: DVI-0
Geometry: 0,0,1920x1080
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL ES 2.0
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD KAVERI (DRM 2.43.0, LLVM 3.7.1)
OpenGL version string: OpenGL ES 3.0 Mesa 11.1.2
OpenGL platform interface: EGL
OpenGL shading language version string: OpenGL ES GLSL ES 3.00
Driver: Unknown
GPU class: Unknown
OpenGL version: 3.0
GLSL version: 3.0
Mesa version: 11.1.2
X server version: 1.17.4
Linux kernel version: 4.5
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
mouseclick
lookingglass
dimscreen
slidingpopups
kwin4_effect_login
wobblywindows
slideback
screenshot
magiclamp
kwin4_effect_windowaperture
glide
flipswitch
diminactive
desktopgrid
cubeslide
kwin4_effect_morphingpopups
kwin4_effect_maximize
presentwindows
highlightwindow
kwin4_effect_dialogparent
logout
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
diminactive

Effect Settings:
----------------
mouseclick:
color1: #ff0000
color2: #00ff00
color3: #0000ff
lineWidth: 1
ringLife: 300
ringSize: 20
ringCount: 2
showText: true
font: Noto Sans UI,11,-1,5,50,0,0,0,0,0
enabled: false

lookingglass:
initialRadius: 200

dimscreen:

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

wobblywindows:
stiffness: 0.029999999999999999
drag: 0.92000000000000004
moveFactor: 0.20000000000000001
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

slideback:

screenshot:

magiclamp:
animationDuration: 250

kwin4_effect_windowaperture:

glide:
duration: 350
effect: 3
angle: 0

flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 200
angle: 30
xPosition: 0.33000001311302185
yPosition: 1
windowTitle: true

diminactive:
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimStrength: 30

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 1
customLayoutRows: 2
usePresentWindows: true

cubeslide:
rotationDuration: 500
dontSlidePanels: true
dontSlideStickyWindows: false
usePagerLayout: true
useWindowMoving: false

kwin4_effect_morphingpopups:

kwin4_effect_maximize:

presentwindows:
layoutMode: 1
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

kwin4_effect_dialogparent:

logout:
useBlur: true

startupfeedback:
type: 0

screenedge:

kscreen:

since the driver is unknown
inxi -GC
CPU:       Quad core AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G (-MCP-)
cache: 8192 KB 
           clock speeds: max: 3100 MHz 1: 1400 MHz 2: 1900 MHz 3: 1900 MHz 4:
1900 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
           Display Server: X.Org 1.17.4 driver: radeon Resolution:
1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD KAVERI (DRM 2.43.0, LLVM 3.7.1) GLX
Version: 3.0 Mesa 11.1.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to