D8752: [platforms/drm] At safety checks for the properties

Fabian Vogt noreply at phabricator.kde.org
Sat Nov 11 20:25:25 UTC 2017


fvogt added a comment.


  Ok, now both AMS and no-AMS cases result in the same crash.
  libepoxy terminates kwin_wayland due to `Couldn't find current GLX or EGL context`:
  
    #0  0x00007ffff4ee3260 in errx () from /lib64/libc.so.6
    #1  0x00007ffff0c32c8c in ?? () from /usr/lib64/libepoxy.so.0
    #2  0x00007ffff0c15d2d in ?? () from /usr/lib64/libepoxy.so.0
    #3  0x00007ffff4b9fafa in KWin::ContrastShader::reset (this=this at entry=0x7fffb804c530)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects/backgroundcontrast/contrastshader.cpp:53
    #4  0x00007ffff4b9fb43 in KWin::ContrastShader::~ContrastShader (this=0x7fffb804c530, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects/backgroundcontrast/contrastshader.cpp:43
    #5  KWin::ContrastShader::~ContrastShader (this=0x7fffb804c530, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects/backgroundcontrast/contrastshader.cpp:44
    #6  0x00007ffff4b9c581 in KWin::ContrastEffect::~ContrastEffect (this=0x5555562795a0, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects/backgroundcontrast/contrast.cpp:77
    #7  0x00007ffff4b9c619 in KWin::ContrastEffect::~ContrastEffect (this=0x5555562795a0, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects/backgroundcontrast/contrast.cpp:78
    #8  0x00007ffff7a7888b in KWin::EffectsHandlerImpl::unloadEffect (this=this at entry=0x555556153120, name=...)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects.cpp:1343
    #9  0x00007ffff7a78b77 in KWin::EffectsHandlerImpl::reloadEffect (this=0x555556153120, effect=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects.cpp:1410
    #10 0x00007ffff4b9e6af in KWin::ContrastEffect::slotScreenGeometryChanged (this=0x5555562795a0)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects/backgroundcontrast/contrast.cpp:84
    #11 0x00007ffff5a0feea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
    #12 0x00007ffff74d4635 in KWin::EffectsHandler::screenGeometryChanged (this=<optimized out>, _t1=...)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/build/libkwineffects/kwineffects_autogen/EWIEGA46WW/moc_kwineffects.cpp:1555
    #13 0x00007ffff7a71d2d in KWin::EffectsHandlerImpl::desktopResized (this=<optimized out>, size=...)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/effects.cpp:785
    #14 0x00007ffff7a460c9 in KWin::Workspace::desktopResized (this=0x5555558f2ff0) at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/geometry.cpp:87
    #15 0x00007ffff5a0feea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
    #16 0x00007fffdccc805c in KWin::DrmBackend::configurationChangeRequested (this=0x5555557c4dd0, config=0x555556181030)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_backend.cpp:534
    #17 0x00007ffff5a0ffec in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
    #18 0x00007ffff6e11a9f in KWayland::Server::OutputManagementInterface::configurationChangeRequested(KWayland::Server::OutputConfigurationInterface*) ()
       from /usr/lib64/libKF5WaylandServer.so.5
    #19 0x00007fffe73cf6bd in ?? () from /usr/lib64/libffi.so.7
    #20 0x00007fffe73cebcf in ?? () from /usr/lib64/libffi.so.7
    #21 0x00007fffede090ab in ?? () from /usr/lib64/libwayland-server.so.0
    #22 0x00007fffede058ef in ?? () from /usr/lib64/libwayland-server.so.0
    #23 0x00007fffede07282 in wl_event_loop_dispatch () from /usr/lib64/libwayland-server.so.0
    #24 0x00007ffff6dd652e in KWayland::Server::Display::Private::dispatch() () from /usr/lib64/libKF5WaylandServer.so.5
  
  and kwin_wayland doesn't handle the call to exit well as it crashes during global object destruction:
  
    #0  0x00007fffd67abcf0 in ?? ()
    #1  0x00007fffdccdf29b in KWin::DrmSurfaceBuffer::releaseGbm (this=0x5555560c2280)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_buffer_gbm.cpp:64
    #2  KWin::DrmSurfaceBuffer::~DrmSurfaceBuffer (this=0x5555560c2280, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_buffer_gbm.cpp:59
    #3  0x00007fffdccdf379 in KWin::DrmSurfaceBuffer::~DrmSurfaceBuffer (this=0x5555560c2280, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_buffer_gbm.cpp:60
    #4  0x00007fffdccd160b in KWin::DrmOutput::~DrmOutput (this=0x555555899eb0, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_output.cpp:75
    #5  0x00007fffdccd1679 in KWin::DrmOutput::~DrmOutput (this=0x555555899eb0, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_output.cpp:87
    #6  0x00007fffdccc704f in qDeleteAll<KWin::DrmOutput* const*> (end=<optimized out>, begin=0x5555558bb388) at /usr/include/qt5/QtCore/qalgorithms.h:320
    #7  qDeleteAll<QVector<KWin::DrmOutput*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:328
    #8  KWin::DrmBackend::~DrmBackend (this=0x5555557c4f00, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_backend.cpp:91
    #9  0x00007fffdccc7319 in KWin::DrmBackend::~DrmBackend (this=0x5555557c4f00, __in_chrg=<optimized out>)
        at /usr/src/debug/kwin-5.11.90git.20171111T192901~320602ae1/plugins/platforms/drm/drm_backend.cpp:97

REPOSITORY
  R108 KWin

BRANCH
  drm-property-safety

REVISION DETAIL
  https://phabricator.kde.org/D8752

To: graesslin, #kwin, #plasma, fvogt, subdiff
Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171111/7dd5be4f/attachment-0001.html>


More information about the Plasma-devel mailing list