https://bugs.kde.org/show_bug.cgi?id=453320
Bug ID: 453320 Summary: kwin_wayland DRM backend crashes on simpledrm again Product: kwin Version: master Platform: Compiled Sources OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: platform-drm Assignee: kwin-bugs-n...@kde.org Reporter: bluescreenaven...@gmail.com Target Milestone: --- Hi It seems that kwin_wayland crash again. Below is the full stack trace ``` #0 KWin::DrmBuffer::modifier (this=0x0) at /srcbuild/kwin/src/backends/drm/drm_buffer.cpp:55 No locals. #1 0x00007f983fccdb53 in KWin::DrmPipeline::pruneModifier (this=this@entry=0x560c11004030) at /opt/include/QtCore/qsharedpointer_impl.h:301 modifiers = <optimized out> #2 0x00007f983fcc6f92 in KWin::DrmGpu::checkCrtcAssignment (this=this@entry=0x560c10ecfd20, connectors=..., crtcs=...) at /srcbuild/kwin/src/backends/drm/drm_gpu.cpp:379 crtcsLeft = {d = 0x560c114afa20} id = <optimized out> it = 0x7fff08fe53f0 __PRETTY_FUNCTION__ = "bool KWin::DrmGpu::checkCrtcAssignment(QVector<KWin::DrmConnector*>, const QVector<KWin::DrmCrtc*>&)" connector = 0x560c114aace0 pipeline = 0x560c11004030 currentCrtc = 0x560c10f56690 #3 0x00007f983fcc7238 in KWin::DrmGpu::testPendingConfiguration (this=this@entry=0x560c10ecfd20) at /srcbuild/kwin/src/backends/drm/drm_gpu.cpp:419 connectors = {d = 0x560c114af980} crtcs = {d = 0x560c10f4c9f0} #4 0x00007f983fcc87e7 in KWin::DrmGpu::updateOutputs (this=this@entry=0x560c10ecfd20) at /srcbuild/kwin/src/backends/drm/drm_gpu.cpp:319 resources = {d = <optimized out>} __PRETTY_FUNCTION__ = "bool KWin::DrmGpu::updateOutputs()" lessees = <optimized out> addedOutputs = {d = 0x560c114abb80} removedConnectors = {d = 0x7f98469fb720 <QArrayData::shared_null>} #5 0x00007f983fcb8246 in KWin::DrmBackend::updateOutputs (this=0x560c10e8b970) at /srcbuild/kwin/src/backends/drm/drm_backend.cpp:316 gpu = 0x560c10ecfd20 it = 0x560c10f3edf8 oldOutputs = {d = 0x7f98469fb720 <QArrayData::shared_null>} __PRETTY_FUNCTION__ = "void KWin::DrmBackend::updateOutputs()" #6 0x00007f984699940e in ?? () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #7 0x00007f9847d193a9 in KWin::Compositor::setupStart (this=0x560c10fb4070) at /srcbuild/kwin/src/composite.cpp:324 supportedCompositors = {d = 0x560c10fb2d80} userConfigIt = 0x560c10fb2d98 __PRETTY_FUNCTION__ = {<optimized out> <repeats 36 times>} #8 0x00007f9847d193f1 in KWin::WaylandCompositor::start (this=0x560c10fb4070) at /srcbuild/kwin/src/composite.cpp:764 No locals. #9 0x00007f98469927f4 in QObject::event(QEvent*) () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #10 0x00007f98460910dd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. #11 0x00007f984697bf62 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #12 0x00007f984697c1c9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #13 0x00007f98469aaf84 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #14 0x0000560c0f0dc088 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () No symbol table info available. #15 0x00007f9846979afa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #16 0x00007f984697dcd1 in QCoreApplication::exec() () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. #17 0x0000560c0f03f1e2 in main (argc=<optimized out>, argv=<optimized out>) at /srcbuild/kwin/src/main_wayland.cpp:657 environment = {d = {d = 0x560c10e533c0}} a = {<KWin::ApplicationWaylandAbstract> = {<KWin::Application> = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = {direct = 0x7f9846432f60 <QApplication::staticMetaObject>}, stringdata = 0x7f9847eeda20 <qt_meta_stringdata_KWin__Application>, data = 0x7f9847eed8c0 <qt_meta_data_KWin__Application>, static_metacall = 0x7f9847cf859a <KWin::Application::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static crashes = 0, m_eventFilters = {<QListSpecialMethods<QPointer<KWin::X11EventFilterContainer> >> = {<No data fields>}, {p = { static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = { 0x0}}, d = 0x7f98469fc1d0 <QListData::shared_null>}, d = 0x7f98469fc1d0 <QListData::shared_null>}}, m_genericEventFilters = {<QListSpecialMethods<QPointer<KWin::X11EventFilterContainer> >> = {<No data fields>}, { p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = { static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f98469fc1d0 <QListData::shared_null>}, d = 0x7f98469fc1d0 <QListData::shared_null>}}, m_eventFilter = {d = 0x560c10e7bd00}, m_configLock = false, m_config = {d = 0x560c10ec6c70}, m_kxkbConfig = {d = 0x560c10ec6870}, m_operationMode = KWin::Application::OperationModeXwayland, m_x11Time = 0, m_rootWindow = 0, m_connection = 0x0, m_defaultScreen = 0x0, m_useKActivities = true, m_platform = 0x560c10e8b970, m_terminating = false, m_isClosingX11Connection = false}, static staticMetaObject = {d = {superdata = { direct = 0x7f9848031d80 <KWin::Application::staticMetaObject>}, stringdata = 0x7f9847eed880 <qt_meta_stringdata_KWin__ApplicationWaylandAbstract>, data = 0x7f9847eed840 <qt_meta_data_KWin__ApplicationWaylandAbstract>, static_metacall = 0x7f9847cf73c8 <KWin::ApplicationWaylandAbstract::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = { direct = 0x7f9848031d40 <KWin::ApplicationWaylandAbstract::staticMetaObject>}, stringdata = 0x560c0f0de2e0 <qt_meta_stringdata_KWin__ApplicationWayland>, data = 0x560c0f0de2a0 <qt_meta_data_KWin__ApplicationWayland>, static_metacall = 0x560c0f040916 <KWin::ApplicationWayland::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, m_startXWayland = true, m_applicationsToStart = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = { static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f98469fc1d0 <QListData::shared_null>}, d = 0x7f98469fc1d0 <QListData::shared_null>}}, <No data fields>}, m_inputMethodServerToStart = { static null = {<No data fields>}, d = 0x7f98469fb720 <QArrayData::shared_null>}, m_environment = {d = { d = 0x560c10e533c0}}, m_sessionArgument = {static null = {<No data fields>}, d = 0x7f98469fb720 <QArrayData::shared_null>}, m_xwayland = 0x0, m_xwaylandListenFds = {d = 0x7f983800f710}, m_xwaylandDisplay = {static null = {<No data fields>}, d = 0x560c10e8b640}, m_xwaylandXauthority = { static null = {<No data fields>}, d = 0x560c10e8b0d0}, m_settingsWatcher = {value = 0x0, d = 0x0}} availablePlugins = {d = 0x560c10e7d260} hasPlugin = {__availablePlugins = @0x7fff08fe5b08} hasSizeOption = <optimized out> hasOutputCountOption = 8 hasX11Option = true hasVirtualOption = true hasWaylandOption = true hasDrmOption = <optimized out> xwaylandOption = {d = {d = 0x560c10e8d900}} waylandSocketOption = {d = {d = 0x560c10e7c890}} x11DisplayOption = {d = {d = 0x560c10e8ebf0}} waylandDisplayOption = {d = {d = 0x560c10e8ea70}} virtualFbOption = {d = {d = 0x560c10e92550}} widthOption = {d = {d = 0x560c10eb3840}} heightOption = {d = {d = 0x560c10e8eab0}} scaleOption = {d = {d = 0x560c10e8ec30}} outputCountOption = {d = {d = 0x560c10e92590}} waylandSocketFdOption = {d = {d = 0x560c10e61c60}} xwaylandListenFdOption = {d = {d = 0x560c10e8e830}} xwaylandDisplayOption = {d = {d = 0x560c10e9c820}} xwaylandXAuthorityOption = {d = {d = 0x560c10eb38b0}} replaceOption = {d = {d = 0x560c10eb3920}} parser = {d = 0x560c10e6bc50} drmOption = {d = {d = 0x560c10e8ad50}} inputMethodOption = {d = {d = 0x560c10e8adf0}} listBackendsOption = {d = {d = 0x560c10e8af50}} screenLockerOption = {d = {d = 0x560c10e8aff0}} noScreenLockerOption = {d = {d = 0x560c10e8b090}} noGlobalShortcutsOption = {d = {d = 0x560c10e8b190}} noActivitiesOption = {d = {d = 0x560c10e8b230}} exitWithSessionOption = {d = {d = 0x560c10e8b340}} pluginName = {static null = {<No data fields>}, d = 0x560c0f0df9a0 <KWin::s_drmPlugin::{lambda()#1}::operator()() const::qstring_literal>} initialWindowSize = {wd = <optimized out>, ht = <optimized out>} deviceIdentifier = {d = 0x7f98469fb720 <QArrayData::shared_null>} outputCount = 150887312 outputScale = <optimized out> pluginIt = 0x7fff08fe5c08 server = <optimized out> flags = {i = 150887416} socketName = {static null = {<No data fields>}, d = 0x560c10e8b550} ``` Thanks -- You are receiving this mail because: You are watching all bug changes.