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

            Bug ID: 435941
           Summary: Crash on sleep
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: aleix...@kde.org
  Target Milestone: ---

I left my system to go make dinner with both a running session on tty3 and a
valgrind debug session on tty4. Both of them crashed. I got slightly different
backtraces on both, boiling down to a crash when deleting a GLTexture:
KWin::GLShader::~GLShader() (this=0x5560bcce0e30) at
/home/apol/devel/frameworks/kwin/src/libkwineffects/kwinglutils.cpp:159

It all seems to happen when my displays go to sleep

Backtrace of my running system
#0  0x00007f35ae825ef5 in raise () at /usr/lib/libc.so.6
#1  0x00007f35ae80f912 in abort () at /usr/lib/libc.so.6
#2  0x00007f35ae80f747 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#3  0x00007f35ae81e646 in  () at /usr/lib/libc.so.6
#4  0x00007f35aef83f28 in  () at /usr/lib/libepoxy.so.0
#5  0x00007f35aef3314a in  () at /usr/lib/libepoxy.so.0
#6  0x00007f35b1f18d7f in KWin::GLShader::~GLShader() (this=0x5560bcce0e30) at
/home/apol/devel/frameworks/kwin/src/libkwineffects/kwinglutils.cpp:159
#7  0x00007f359b4dc987 in
QScopedPointerDeleter<KWin::GLShader>::cleanup(KWin::GLShader*)
(pointer=0x5560bcce0e30) at
/home/apol/devel/kde5/include/QtCore/qscopedpointer.h:60
#8  0x00007f359b4dadd0 in QScopedPointer<KWin::GLShader,
QScopedPointerDeleter<KWin::GLShader> >::~QScopedPointer()
(this=0x5560bc04d3d8) at
/home/apol/devel/kde5/include/QtCore/qscopedpointer.h:107
#9  0x00007f359b4d7dd0 in KWin::LanczosFilter::~LanczosFilter()
(this=0x5560bc04d3b0) at
/home/apol/devel/frameworks/kwin/src/plugins/scenes/opengl/lanczosfilter.cpp:51
#10 0x00007f359b4d7e1c in KWin::LanczosFilter::~LanczosFilter()
(this=0x5560bc04d3b0) at
/home/apol/devel/frameworks/kwin/src/plugins/scenes/opengl/lanczosfilter.cpp:48
#11 0x00007f359b4efff9 in
KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion
const&, KWin::WindowPaintData&)::$_10::operator()() const (this=0x5560bccc80c0)
at
/home/apol/devel/frameworks/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1094
#12 0x00007f359b4eff76 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion
const&,
KWin::WindowPaintData&)::$_10>::call(KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*,
int, QRegion const&, KWin::WindowPaintData&)::$_10&, void**) (f=...,
arg=0x7ffdf7f3b550)
    at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:146
#13 0x00007f359b4eff41 in
QtPrivate::Functor<KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*,
int, QRegion const&, KWin::WindowPaintData&)::$_10, 0>::call<QtPrivate::List<>,
void>(KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int,
QRegion const&, KWin::WindowPaintData&)::$_10&, void*, void**) (f=...,
arg=0x7ffdf7f3b550) at
/home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:256
#14 0x00007f359b4efeec in
QtPrivate::QFunctorSlotObject<KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*,
int, QRegion const&, KWin::WindowPaintData&)::$_10, 0, QtPrivate::List<>,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(which=1, this_=0x5560bccc80b0, r=0x5560bb7b9c50, a=0x7ffdf7f3b550, ret=0x0) at
/home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:443
#15 0x00007f35af3613d6 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffdf7f3b550, r=0x5560bb7b9c50, this=0x5560bccc80b0) at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x5560bb466d80,
signal_index=4, argv=0x7ffdf7f3b550) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3886
#17 0x00007f35b229edb8 in KWin::Screens::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x5560bb466d80,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7f35b229edb8
<KWin::Screens::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**)+920>) at src/kwin_autogen/EWIEGA46WW/moc_screens.cpp:187
#18 0x00007f35b24b2201 in QObject::connect<void (KWin::Screens::*)(int, int),
void (KWin::Screens::*)()>(QtPrivate::FunctionPointer<void
(KWin::Screens::*)(int, int)>::Object const*, void (KWin::Screens::*)(int,
int), QtPrivate::FunctionPointer<void (KWin::Screens::*)()>::Object const*,
void (KWin::Screens::*)(), Qt::ConnectionType)
    (sender=0x7f35b229ed90 <KWin::Screens::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)+880>, signal=NULL, receiver=0x5560bb466d80,
slot=NULL, type=32565) at /home/apol/devel/kde5/include/QtCore/qobject.h:265
#19 0x00007f35b24b2168 in  () at /home/apol/devel/kde5/lib/libkwin.so.5
#20 0x00007ffdf7f3b650 in  ()
#21 0x00007ffdf7f3b780 in  ()
#22 0x00007f35b229ed90 in KWin::Screens::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x0, _c=32565, _id=-1305875056, _a=0x0) at
src/kwin_autogen/EWIEGA46WW/moc_screens.cpp:185
#23 0x00007f35b24b2095 in QObject::connect<void (KWin::Platform::*)(), void
(KWin::Screens::*)()>(QtPrivate::FunctionPointer<void
(KWin::Platform::*)()>::Object const*, void (KWin::Platform::*)(),
QtPrivate::FunctionPointer<void (KWin::Screens::*)()>::Object const*, void
(KWin::Screens::*)(), Qt::ConnectionType)
    (sender=0x7ffdf7f3b778, signal=(void (KWin::Platform::*)(KWin::Platform *
const)) 0x5560bb466d80, this adjustment 93873947224096,
receiver=0x7ffdf7f3b780, slot=NULL, type=32565) at
/home/apol/devel/kde5/include/QtCore/qobject.h:261
#24 0x00007f35af3613d6 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffdf7f3b780, r=0x5560bb466d80, this=0x5560bb472820) at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false>(QObject*, int, void**) (sender=0x5560bb3c50d0,
signal_index=3, argv=0x7ffdf7f3b780) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3886
#26 0x00007f35b229b412 in KWin::Platform::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x7f35b229b412
<KWin::Platform::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**)+1490>, _c=32765, _id=-135022624, _a=0x5560bb403f80) at
src/kwin_autogen/EWIEGA46WW/moc_platform.cpp:271
#27 0x00007f35a90dc758 in KWin::stringToTransform(QString const&) (text=...) at
/home/apol/devel/frameworks/kwin/src/plugins/platforms/drm/drm_backend.cpp:349
#28 0x00007f35a90df309 in std::__move_median_to_first<KWin::DrmOutput**,
__gnu_cxx::__ops::_Iter_comp_iter<KWin::DrmBackend::updateOutputs()::$_1>
>(KWin::DrmOutput**, KWin::DrmOutput**, KWin::DrmOutput**, KWin::DrmOutput**,
__gnu_cxx::__ops::_Iter_comp_iter<KWin::DrmBackend::updateOutputs()::$_1>)
    (__result=0x7f35a4032b00, __a=0x7f35a9137970 <KWin::parseVendor(unsigned
char const*)::$_1::operator()() const::qstring_literal+24>, __b=0x7f35a9136487,
__c=0x7f35a9135e6c, __comp=...) at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_algo.h:85
#29 0x00007f35a90df116 in std::__push_heap<KWin::DrmOutput**, long,
KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_val<KWin::DrmBackend::updateOutputs()::$_1>
>(KWin::DrmOutput**, long, long, KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_val<KWin::DrmBackend::updateOutputs()::$_1>&)
(__first=0x5560bb3b02d0, __holeIndex=140728763398816,
__topIndex=139868446257430, __value=0x7ffdf7f3b9e0, __comp=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_heap.h:138
#30 0x00007f35a90df0e1 in std::__push_heap<KWin::DrmOutput**, long,
KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_val<KWin::DrmBackend::updateOutputs()::$_1>
>(KWin::DrmOutput**, long, long, KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_val<KWin::DrmBackend::updateOutputs()::$_1>&)
(__first=0x7ffdf7f3baa0, __holeIndex=139868550276016,
__topIndex=139868446257377, __value=0x5560bb3c50d0, __comp=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_heap.h:137
#31 0x00007f35af4123b0 in QListData::shared_null () at
/home/apol/devel/kde5/lib/libQt5Core.so.5
#32 0x00007ffdf7f3baa0 in  ()
#33 0x00005560bb3c50d0 in  ()
#34 0x00005560bb3b02d0 in  ()
#35 0x00007ffdf7f3b9a0 in  ()
#36 0x00007f35a90df08c in std::__adjust_heap<KWin::DrmOutput**, long,
KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_iter<KWin::DrmBackend::updateOutputs()::$_1>
>(KWin::DrmOutput**, long, long, KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_iter<KWin::DrmBackend::updateOutputs()::$_1>)
    (__first=0x7f35a90df0e1 <std::__push_heap<KWin::DrmOutput**, long,
KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_val<KWin::DrmBackend::updateOutputs()::$_1>
>(KWin::DrmOutput**, long, long, KWin::DrmOutput*,
__gnu_cxx::__ops::_Iter_comp_val<KWin::DrmBackend::updateOutputs()::$_1>&)+1>,
__holeIndex=140728763398480, __len=668919358771598080, __value=0x7ffdf7f3baa0,
__comp=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_heap.h:246

-----

valgrind output:

Thread 1: status = VgTs_Runnable syscall 56 (lwpid 21791)
==21791==    at 0x8A6FA9D: syscall (in /usr/lib/libc-2.33.so)
==21791==    by 0x7F6E9C8: sys_clone (forkfd_linux.c:88)
==21791==    by 0x7F6E9C8: system_forkfd (forkfd_linux.c:151)
==21791==    by 0x7F6E9C8: forkfd (forkfd.c:651)
==21791==    by 0x7F53239: QProcessPrivate::startProcess()
(qprocess_unix.cpp:465)
==21791==    by 0x62FD125:
ScreenLocker::KSldApp::startLockProcess(ScreenLocker::EstablishLock)
(devel/frameworks/kscreenlocker/ksldapp.cpp:613)
==21791==    by 0x62FEE37:
ScreenLocker::KSldApp::initialize()::$_6::operator()(int, QProcess::ExitStatus)
const (devel/frameworks/kscreenlocker/ksldapp.cpp:236)
==21791==    by 0x62FE925: QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>,
QtPrivate::List<int, QProcess::ExitStatus>, void,
ScreenLocker::KSldApp::initialize()::$_6>::call(ScreenLocker::KSldApp::initialize()::$_6&,
void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146)
==21791==    by 0x62FE8E0: void
QtPrivate::Functor<ScreenLocker::KSldApp::initialize()::$_6,
2>::call<QtPrivate::List<int, QProcess::ExitStatus>,
void>(ScreenLocker::KSldApp::initialize()::$_6&, void*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:256)
==21791==    by 0x62FE88B:
QtPrivate::QFunctorSlotObject<ScreenLocker::KSldApp::initialize()::$_6, 2,
QtPrivate::List<int, QProcess::ExitStatus>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:443)
==21791==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==21791==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==21791==    by 0x7F47E07: QProcess::finished(int, QProcess::ExitStatus)
(moc_qprocess.cpp:339)
==21791==    by 0x7F4D592: QProcessPrivate::_q_processDied()
(qprocess.cpp:1184)
==21791==    by 0x7F4D6BD: QProcess::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (moc_qprocess.cpp:216)
==21791==    by 0x801140F: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3898)
==21791==    by 0x801481E: QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal)
(moc_qsocketnotifier.cpp:178)
==21791==    by 0x801501A: QSocketNotifier::event(QEvent*)
(qsocketnotifier.cpp:302)
==21791==    by 0x6C7D17E: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3632)
==21791==    by 0x7FDADF9: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1064)
==21791==    by 0x802F54A:
QEventDispatcherUNIXPrivate::activateSocketNotifiers()
(qeventdispatcher_unix.cpp:304)
==21791==    by 0x802F9AA:
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventdispatcher_unix.cpp:511)
==21791==    by 0x1C6E7C:
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qunixeventdispatcher.cpp:63)
==21791==    by 0x7FD97AA:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:232)
==21791==    by 0x7FE1A2F: QCoreApplication::exec() (qcoreapplication.cpp:1375)
==21791==    by 0x195D1F: main (devel/frameworks/kwin/src/main_wayland.cpp:802)
client stack range: [0x1FFEFE7000 0x1FFF000FFF] client SP: 0x1FFEFFEF18
valgrind stack range: [0x1002DB6000 0x1002EB5FFF] top usage: 19024 of 1048576


Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.



 kwin_wayland_drm: KWin::DrmBackend::initialize()::(anonymous
class)::operator() Received hot plug event for monitored drm device
 kwin_wayland_drm:
KWin::DrmPipeline::setCursor|KWin::DrmOutput::hideCursor|KWin::DrmOutput::teardown
Could not set cursor: Permission denied
 kwin_wayland_drm: KWin::DrmBackend::readOutputsConfiguration Reading output
configuration for [ "1729bea0-836b-5626-a6c4-609e5e3b6cac" ] [
QUuid("{1729bea0-836b-5626-a6c4-609e5e3b6cac}") ]
==20651== Conditional jump or move depends on uninitialised value(s)
==20651==    at 0x52EED88: KWin::ContrastEffect::supported()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrast.cpp:275)
==20651==    by 0x52EE11E: KWin::ContrastEffect::slotScreenGeometryChanged()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrast.cpp:69)
==20651==    by 0x52F27E0: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::ContrastEffect::*)()>::call(void
(KWin::ContrastEffect::*)(), KWin::ContrastEffect*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x52F2747: void QtPrivate::FunctionPointer<void
(KWin::ContrastEffect::*)()>::call<QtPrivate::List<>, void>(void
(KWin::ContrastEffect::*)(), KWin::ContrastEffect*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:185)
==20651==    by 0x52F2674: QtPrivate::QSlotObject<void
(KWin::ContrastEffect::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:418)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x53A79E5: KWin::EffectsHandler::screenGeometryChanged(QSize
const&) (moc_kwineffects.cpp:1801)
==20651==    by 0x4D85EFE: KWin::EffectsHandlerImpl::desktopResized(QSize
const&) (devel/frameworks/kwin/src/effects.cpp:805)
==20651==    by 0x4F6C60E: KWin::Workspace::desktopResized()
(devel/frameworks/kwin/src/workspace.cpp:1987)
==20651==    by 0x4F3CF40: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::Workspace::*)()>::call(void
(KWin::Workspace::*)(), KWin::Workspace*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x4F3CEA7: void QtPrivate::FunctionPointer<void
(KWin::Workspace::*)()>::call<QtPrivate::List<>, void>(void
(KWin::Workspace::*)(), KWin::Workspace*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:185)
==20651==    by 0x4F3CDD4: QtPrivate::QSlotObject<void (KWin::Workspace::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:418)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x4C9EDB7: KWin::Screens::changed() (moc_screens.cpp:272)
==20651==    by 0x4EB2220: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::Screens::*)()>::call(void
(KWin::Screens::*)(), KWin::Screens*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x4C9EDB7: KWin::Screens::changed() (moc_screens.cpp:272)      
                                                                               
                                                                               
                                                                               
                                                                               
                        [408/1752]
==20651==    by 0x4EB2220: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::Screens::*)()>::call(void
(KWin::Screens::*)(), KWin::Screens*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x4EB2187: void QtPrivate::FunctionPointer<void
(KWin::Screens::*)()>::call<QtPrivate::List<>, void>(void (KWin::Screens::*)(),
KWin::Screens*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:185)
==20651==    by 0x4EB20B4: QtPrivate::QSlotObject<void (KWin::Screens::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:418)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x4C9B411: KWin::Platform::screensQueried()
(moc_platform.cpp:348)
==20651==    by 0xE9EEB97: KWin::DrmBackend::updateOutputs()
(devel/frameworks/kwin/src/plugins/platforms/drm/drm_backend.cpp:318)
==20651==    by 0xE9F1748: KWin::DrmBackend::initialize()::$_0::operator()()
const (devel/frameworks/kwin/src/plugins/platforms/drm/drm_backend.cpp:266)
==20651==    by 0xE9F1555: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
KWin::DrmBackend::initialize()::$_0>::call(KWin::DrmBackend::initialize()::$_0&,
void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146)
==20651==    by 0xE9F1520: void
QtPrivate::Functor<KWin::DrmBackend::initialize()::$_0,
0>::call<QtPrivate::List<>, void>(KWin::DrmBackend::initialize()::$_0&, void*,
void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256)
==20651==    by 0xE9F14CB:
QtPrivate::QFunctorSlotObject<KWin::DrmBackend::initialize()::$_0, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x801481E: QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal)
(moc_qsocketnotifier.cpp:178)
==20651==    by 0x801501A: QSocketNotifier::event(QEvent*)
(qsocketnotifier.cpp:302)
==20651==    by 0x6C7D17E: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3632)
==20651==    by 0x7FDADF9: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1064)
==20651==    by 0x802F54A:
QEventDispatcherUNIXPrivate::activateSocketNotifiers()
(qeventdispatcher_unix.cpp:304)
==20651==    by 0x802F9AA:
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventdispatcher_unix.cpp:511)
==20651==    by 0x1C6E7C:
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qunixeventdispatcher.cpp:63)
==20651==    by 0x7FD97AA:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:232)
==20651==    by 0x7FE1A2F: QCoreApplication::exec() (qcoreapplication.cpp:1375)
==20651==    by 0x195D1F: main (devel/frameworks/kwin/src/main_wayland.cpp:802)
==20651==
kwin_wayland: ../libepoxy/src/dispatch_common.c:858: epoxy_get_proc_address:
Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.
==20651==
==20651== Process terminating with default action of signal 6 (SIGABRT):
dumping core
==20651==    at 0x89B2EF5: raise (in /usr/lib/libc-2.33.so)
==20651==    by 0x899C911: abort (in /usr/lib/libc-2.33.so)
==20651==    by 0x899C746: __assert_fail_base.cold (in /usr/lib/libc-2.33.so)
==20651==    by 0x89AB645: __assert_fail (in /usr/lib/libc-2.33.so)
==20651==    by 0x83F8F27: ??? (in /usr/lib/libepoxy.so.0.0.0)
==20651==    by 0x83A8149: ??? (in /usr/lib/libepoxy.so.0.0.0)
==20651==    by 0x540ED7E: KWin::GLShader::~GLShader()
(devel/frameworks/kwin/src/libkwineffects/kwinglutils.cpp:159)
==20651==    by 0x52F326E: KWin::ContrastShader::reset()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrastshader.cpp:40)
==20651==    by 0x52F3237: KWin::ContrastShader::~ContrastShader()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrastshader.cpp:30)
==20651==    by 0x52F32BB: KWin::ContrastShader::~ContrastShader()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrastshader.cpp:29)
==20651==    by 0x52EEC72: KWin::ContrastEffect::~ContrastEffect()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrast.cpp:63)
==20651==    by 0x52EECEB: KWin::ContrastEffect::~ContrastEffect()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrast.cpp:62)
==20651==    by 0x4D833C0:
KWin::EffectsHandlerImpl::destroyEffect(KWin::Effect*)
(devel/frameworks/kwin/src/effects.cpp:1428)
==20651==    by 0x4D887B3: KWin::EffectsHandlerImpl::unloadEffect(QString
const&) (devel/frameworks/kwin/src/effects.cpp:1402)
==20651==    by 0x4D89005:
KWin::EffectsHandlerImpl::reloadEffect(KWin::Effect*)
(devel/frameworks/kwin/src/effects.cpp:1486)
==20651==    by 0x52EE143: KWin::ContrastEffect::slotScreenGeometryChanged()
(devel/frameworks/kwin/src/effects/backgroundcontrast/contrast.cpp:70)
==20651==    by 0x52F27E0: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::ContrastEffect::*)()>::call(void
(KWin::ContrastEffect::*)(), KWin::ContrastEffect*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x52F2747: void QtPrivate::FunctionPointer<void
(KWin::ContrastEffect::*)()>::call<QtPrivate::List<>, void>(void
(KWin::ContrastEffect::*)(), KWin::ContrastEffect*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:185)
==20651==    by 0x52F2674: QtPrivate::QSlotObject<void
(KWin::ContrastEffect::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:418)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x53A79E5: KWin::EffectsHandler::screenGeometryChanged(QSize
const&) (moc_kwineffects.cpp:1801)
==20651==    by 0x4D85EFE: KWin::EffectsHandlerImpl::desktopResized(QSize
const&) (devel/frameworks/kwin/src/effects.cpp:805)
==20651==    by 0x4F6C60E: KWin::Workspace::desktopResized()
(devel/frameworks/kwin/src/workspace.cpp:1987)
==20651==    by 0x4F3CF40: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::Workspace::*)()>::call(void
(KWin::Workspace::*)(), KWin::Workspace*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x4F3CEA7: void QtPrivate::FunctionPointer<void
(KWin::Workspace::*)()>::call<QtPrivate::List<>, void>(void
(KWin::Workspace::*)(), KWin::Workspace*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:185)
==20651==    by 0x4F3CDD4: QtPrivate::QSlotObject<void (KWin::Workspace::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:418)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x4C9EDB7: KWin::Screens::changed() (moc_screens.cpp:272)
==20651==    by 0x4EB2220: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (KWin::Screens::*)()>::call(void
(KWin::Screens::*)(), KWin::Screens*, void**)
(devel/kde5/include/QtCore/qobjectdefs_impl.h:152)
==20651==    by 0x4EB2187: void QtPrivate::FunctionPointer<void
(KWin::Screens::*)()>::call<QtPrivate::List<>, void>(void (KWin::Screens::*)(),
KWin::Screens*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:185)
==20651==    by 0x4EB20B4: QtPrivate::QSlotObject<void (KWin::Screens::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:418)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x4C9B411: KWin::Platform::screensQueried()
(moc_platform.cpp:348)
==20651==    by 0xE9EEB97: KWin::DrmBackend::updateOutputs()
(devel/frameworks/kwin/src/plugins/platforms/drm/drm_backend.cpp:318)
==20651==    by 0xE9F1748: KWin::DrmBackend::initialize()::$_0::operator()()
const (devel/frameworks/kwin/src/plugins/platforms/drm/drm_backend.cpp:266)
==20651==    by 0xE9F1555: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
KWin::DrmBackend::initialize()::$_0>::call(KWin::DrmBackend::initialize()::$_0&,
void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146)
==20651==    by 0xE9F1520: void
QtPrivate::Functor<KWin::DrmBackend::initialize()::$_0,
0>::call<QtPrivate::List<>, void>(KWin::DrmBackend::initialize()::$_0&, void*,
void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256)
==20651==    by 0xE9F14CB:
QtPrivate::QFunctorSlotObject<KWin::DrmBackend::initialize()::$_0, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443)
==20651==    by 0x80113D5: call (qobjectdefs_impl.h:398)
==20651==    by 0x80113D5: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3886)
==20651==    by 0x801481E: QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal)
(moc_qsocketnotifier.cpp:178)
==20651==    by 0x801501A: QSocketNotifier::event(QEvent*)
(qsocketnotifier.cpp:302)
==20651==    by 0x6C7D17E: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3632)
==20651==    by 0x7FDADF9: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1064)
==20651==    by 0x802F54A:
QEventDispatcherUNIXPrivate::activateSocketNotifiers()
(qeventdispatcher_unix.cpp:304)
==20651==    by 0x802F9AA:
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventdispatcher_unix.cpp:511)
==20651==    by 0x1C6E7C:
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qunixeventdispatcher.cpp:63)
==20651==    by 0x7FD97AA:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:232)
==20651==    by 0x7FE1A2F: QCoreApplication::exec() (qcoreapplication.cpp:1375)
==20651==    by 0x195D1F: main (devel/frameworks/kwin/src/main_wayland.cpp:802)
==20651==

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

Reply via email to