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

            Bug ID: 445507
           Summary: kwin_wayland crashes on simpledrm
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: platform-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: bluescreenaven...@gmail.com
  Target Milestone: ---

I suspect that e2a0863843f92ab1f2f8d0c785a86570fc04d774 is the cause as it
worked on this driver before, and if I do build before it it runs, and there is
a function in the stack that seems to be added in this commit,

I could be wrong
Hopefully the stacktrace is helpful


#0  0x00007fd0609931ad in KWin::DrmObject::commitPending (this=0x0)
    at /srcbuild/kwin/src/backends/drm/drm_object.cpp:109
No locals.
#1  0x00007fd0609a76fe in KWin::DrmPipeline::commitPipelines (pipelines=..., 
    mode=mode@entry=KWin::DrmPipeline::CommitMode::Test, unusedObjects=...)
    at /srcbuild/kwin/src/backends/drm/drm_pipeline.cpp:179
        pipeline = @0x560f9eb60ee8: 0x560f9e698080
        __for_range = @0x560f9e598558: {d = 0x560f9eb60ed0}
        __for_begin = 0x560f9eb60ee8
        __for_end = 0x560f9eb60ef0
        req = 0x560f9eb647d0
        flags = 1024
        failed = @0x7ffc2536e418: {__pipelines = {d = 0x560f9eb60ed0}, __req =
0x560f9eb647d0, 
          __mode = KWin::DrmPipeline::CommitMode::Test, __flags =
@0x7ffc2536e3dc, __unusedObjects = {
            d = 0x560f9eb65270}}
        modeset = <optimized out>
        __PRETTY_FUNCTION__ = "static bool
KWin::DrmPipeline::commitPipelines(const QVector<KWin::DrmPipeline*>&,
KWin::DrmPipeline::CommitMode, const QVector<KWin::DrmObject*>&)"
#2  0x00007fd0609a0f22 in KWin::DrmGpu::checkCrtcAssignment
(this=this@entry=0x560f9e5984e0, connectors=..., 
    crtcs=...) at /srcbuild/kwin/src/backends/drm/drm_gpu.cpp:347
        leasePipelines = {d = 0x7fd067120720 <QArrayData::shared_null>}
        unused = {d = 0x560f9eb65270}
        test = <optimized out>
        __PRETTY_FUNCTION__ = "bool
KWin::DrmGpu::checkCrtcAssignment(QVector<KWin::DrmConnector*>,
QVector<KWin::DrmCrtc*>)"
        connector = <optimized out>
        pipeline = <optimized out>
        encoders = {d = 0x7ffc2536e590}
#3  0x00007fd0609a11e3 in KWin::DrmGpu::checkCrtcAssignment
(this=this@entry=0x560f9e5984e0, connectors=..., 
    crtcs=...) at /srcbuild/kwin/src/backends/drm/drm_gpu.cpp:389
        crtcsLeft = {d = 0x560f9eb65220}
        crtc = @0x560f9eb651e8: 0x560f9e60ae60
        __for_range = @0x7ffc2536e628: {d = 0x560f9eb651d0}
        __for_begin = 0x560f9eb651e8
        __for_end = 0x560f9eb651f0
        enc = {d = <optimized out>}
        encoder = @0x560f9eb646b8: 35
        __for_range = @0x7ffc2536e588: {d = 0x560f9eb646a0}
        __for_begin = 0x560f9eb646b8
        __for_end = 0x560f9eb646bc
        __PRETTY_FUNCTION__ = "bool
KWin::DrmGpu::checkCrtcAssignment(QVector<KWin::DrmConnector*>,
QVector<KWin::DrmCrtc*>)"
        connector = 0x7ffc2536e590
        pipeline = 0x560f9e698080
        encoders = {d = 0x560f9eb646a0}
#4  0x00007fd0609a1401 in KWin::DrmGpu::testPendingConfiguration
(this=this@entry=0x560f9e5984e0) at
/srcbuild/kwin/src/backends/drm/drm_gpu.cpp:420
        connectors = {d = 0x560f9eb649f0}
        crtcs = {d = 0x560f9e5f2b40}
#5  0x00007fd0609a1c88 in KWin::DrmGpu::updateOutputs
(this=this@entry=0x560f9e5984e0) at
/srcbuild/kwin/src/backends/drm/drm_gpu.cpp:310
        resources = {d = <optimized out>}
        __PRETTY_FUNCTION__ = "bool KWin::DrmGpu::updateOutputs()"
        lessees = <optimized out>
        removedConnectors = {d = 0x7fd067120720 <QArrayData::shared_null>}
#6  0x00007fd060990973 in KWin::DrmBackend::updateOutputs (this=0x560f9e52b580)
at /srcbuild/kwin/src/backends/drm/drm_backend.cpp:310
        gpu = 0x560f9e5984e0
        it = 0x560f9e5f2c18
        oldOutputs = {d = 0x7fd067120720 <QArrayData::shared_null>}
        __PRETTY_FUNCTION__ = "void KWin::DrmBackend::updateOutputs()"
#7  0x00007fd0670bdf7c in ?? () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#8  0x00007fd068c9e8f7 in KWin::Compositor::setupStart (this=0x560f9e66c380) at
/srcbuild/kwin/src/composite.cpp:311
        supportedCompositors = {d = 0x560f9e6d7010}
        userConfigIt = 0x560f9e6d7028
        __PRETTY_FUNCTION__ = {<optimized out> <repeats 36 times>}
#9  0x00007fd068c9f057 in KWin::WaylandCompositor::start (this=0x560f9e66c380)
at /srcbuild/kwin/src/composite.cpp:683
No locals.
#10 0x00007fd0670b739c in QObject::event(QEvent*) () from
/opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#11 0x00007fd0679140c5 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /opt/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#12 0x00007fd0670a0afa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#13 0x00007fd0670a0d61 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#14 0x00007fd0670cfaea in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#15 0x0000560f9e1ee360 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
No symbol table info available.
#16 0x00007fd06709e692 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#17 0x00007fd0670a2873 in QCoreApplication::exec() () from
/opt/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#18 0x0000560f9e15040a in main (argc=<optimized out>, argv=<optimized out>) at
/srcbuild/kwin/src/main_wayland.cpp:740
        userSignals = {__val = {2560, 0 <repeats 15 times>}}
        environment = {d = {d = 0x560f9e503050}}
        a = {<KWin::ApplicationWaylandAbstract> = {<KWin::Application> =
{<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata
= {direct = 0x7fd067cb4f60 <QApplication::staticMetaObject>}, stringdata =
0x7fd068dd3740 <qt_meta_stringdata_KWin__Application>, data = 0x7fd068dd35e0
<qt_meta_data_KWin__Application>, static_metacall = 0x7fd068c77d58
<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
= 0x7fd0671211d0 <QListData::shared_null>}, d = 0x7fd0671211d0
<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
= 0x7fd0671211d0 <QListData::shared_null>}, d = 0x7fd0671211d0
<QListData::shared_null>}}, m_eventFilter = {d = 0x560f9e537290}, m_configLock
= false, m_config = {d = 0x560f9e537450}, m_kxkbConfig = {d = 0x560f9e57f8b0},
m_operationMode = KWin::Application::OperationModeXwayland, m_x11Time = 0,
m_rootWindow = 0, m_connection = 0x0, m_defaultScreen = 0x0, m_useKActivities =
true, m_platform = 0x560f9e52b580, m_terminating = false,
m_isClosingX11Connection = false}, static staticMetaObject = {d = {superdata =
{direct = 0x7fd068e9d1e0 <KWin::Application::staticMetaObject>}, stringdata =
0x7fd068dd35a0 <qt_meta_stringdata_KWin__ApplicationWaylandAbstract>, data =
0x7fd068dd3560 <qt_meta_data_KWin__ApplicationWaylandAbstract>, static_metacall
= 0x7fd068c75e6a
<KWin::ApplicationWaylandAbstract::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}},
static staticMetaObject = {d = {superdata = {direct = 0x7fd068e9d1a0
<KWin::ApplicationWaylandAbstract::staticMetaObject>}, stringdata =
0x560f9e1ef2e0 <qt_meta_stringdata_KWin__ApplicationWayland>, data =
0x560f9e1ef2a0 <qt_meta_data_KWin__ApplicationWayland>, static_metacall =
0x560f9e1515f6 <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 = 0x7fd0671211d0
<QListData::shared_null>}, d = 0x7fd0671211d0 <QListData::shared_null>}}, <No
data fields>}, m_inputMethodServerToStart = {static null = {<No data fields>},
d = 0x7fd067120720 <QArrayData::shared_null>}, m_environment = {d = {d =
0x560f9e503050}}, m_sessionArgument = {static null = {<No data fields>}, d =
0x560f9e569a70}, m_xwayland = 0x0, m_xwaylandListenFds = {d = 0x7fd067120720
<QArrayData::shared_null>}, m_xwaylandDisplay = {static null = {<No data
fields>}, d = 0x7fd067120720 <QArrayData::shared_null>}, m_xwaylandXauthority =
{static null = {<No data fields>}, d = 0x7fd067120720
<QArrayData::shared_null>}, m_settingsWatcher = {value = 0x0, d = 0x0}}
        availablePlugins = {d = 0x560f9e529750}
        hasPlugin = {__availablePlugins = @0x7ffc2536ecd8}
        hasSizeOption = <optimized out>
        hasOutputCountOption = 72
        hasX11Option = true
        hasVirtualOption = true
        hasWaylandOption = true
        hasFramebufferOption = true
        hasDrmOption = <optimized out>
        xwaylandOption = {d = {d = 0x560f9e506a20}}
        waylandSocketOption = {d = {d = 0x560f9e544870}}
        framebufferOption = {d = {d = 0x560f9e546280}}
        framebufferDeviceOption = {d = {d = 0x560f9e545160}}
        x11DisplayOption = {d = {d = 0x560f9e544a40}}
        waylandDisplayOption = {d = {d = 0x560f9e54bfb0}}
        virtualFbOption = {d = {d = 0x560f9e547900}}
        widthOption = {d = {d = 0x560f9e539ee0}}
        heightOption = {d = {d = 0x560f9e54bf20}}
        scaleOption = {d = {d = 0x560f9e54bf60}}
        outputCountOption = {d = {d = 0x560f9e537ad0}}
        waylandSocketFdOption = {d = {d = 0x560f9e5448d0}}
        xwaylandListenFdOption = {d = {d = 0x560f9e544910}}
        xwaylandDisplayOption = {d = {d = 0x560f9e511330}}
        xwaylandXAuthorityOption = {d = {d = 0x560f9e54b2a0}}
        replaceOption = {d = {d = 0x560f9e54b340}}
        parser = {d = 0x560f9e544980}
        drmOption = {d = {d = 0x560f9e569d60}}
        inputMethodOption = {d = {d = 0x560f9e569e00}}
        listBackendsOption = {d = {d = 0x560f9e569f00}}
        screenLockerOption = {d = {d = 0x560f9e569fa0}}
        noScreenLockerOption = {d = {d = 0x560f9e56a040}}
        noGlobalShortcutsOption = {d = {d = 0x560f9e56a0e0}}
        noActivitiesOption = {d = {d = 0x560f9e546f90}}
        exitWithSessionOption = {d = {d = 0x560f9e569b40}}
        pluginName = {static null = {<No data fields>}, d = 0x560f9e1f0b20
<KWin::s_drmPlugin::{lambda()#1}::operator()() const::qstring_literal>}
        initialWindowSize = {wd = <optimized out>, ht = <optimized out>}
        deviceIdentifier = {d = 0x7fd067120720 <QArrayData::shared_null>}
        outputCount = <optimized out>
        outputScale = <optimized out>
        pluginIt = 0x7ffc2536ede8
        server = <optimized out>
        flags = {i = 624356824}
        socketName = {static null = {<No data fields>}, d = 0x560f9e547460}

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

Reply via email to