https://bugs.kde.org/show_bug.cgi?id=448474
Bug ID: 448474 Summary: KWin crashed in KWin::DrmOutput::DrmOutput when plugging in an external HDMI screen Product: kwin Version: git master Platform: Other OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: n...@kde.org Target Milestone: --- I plugged in an external 27" 1080p screen into my laptop's HDMI port and kwin_wayland immediately crashed: #0 QVector<KWin::DrmConnectorMode*>::realloc(int, QFlags<QArrayData::AllocationOption>) (options=..., aalloc=<optimized out>, this=0x7ffeeaeb2798) at /usr/include/c++/11/bits/atomic_base.h:385 #1 QVector<KWin::DrmConnectorMode*>::detach() (this=0x7ffeeaeb2798) at /usr/include/qt5/QtCore/qvector.h:405 #2 QVector<KWin::DrmConnectorMode*>::detach() (this=0x7ffeeaeb2798) at /usr/include/qt5/QtCore/qvector.h:397 #3 QVector<KWin::DrmConnectorMode*>::data() (this=0x7ffeeaeb2798) at /usr/include/qt5/QtCore/qvector.h:134 #4 QVector<KWin::DrmConnectorMode*>::operator[](int) (i=-652783056, this=0x7ffeeaeb2798) at /usr/include/qt5/QtCore/qvector.h:458 #5 KWin::DrmOutput::getModes() const (this=<optimized out>) at /home/nate/kde/src/kwin/src/backends/drm/drm_output.cpp:190 #6 0x00007fcbc6768fa3 in KWin::DrmOutput::DrmOutput(KWin::DrmPipeline*) (this= 0x71, pipeline=<optimized out>) at /home/nate/kde/src/kwin/src/backends/drm/drm_output.cpp:58 #7 0x00007fcbc67751cf in QTypedArrayData<unsigned long>::deallocate(QArrayData*) (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:239 #8 QVector<unsigned long>::freeData(QTypedArrayData<unsigned long>*) (x=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:579 #9 QVector<unsigned long>::~QVector() (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:73 #10 QVector<unsigned long>::~QVector() (this=0x20, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:73 #11 QMapNodeBase::callDestructorIfNecessary<QVector<unsigned long> >(QVector<unsigned long>&) (t=...) at /usr/include/qt5/QtCore/qmap.h:100 #12 QMapNode<unsigned int, QVector<unsigned long> >::destroySubTree() (this=0x0) at /usr/include/qt5/QtCore/qmap.h:125 #13 QMapNode<unsigned int, QVector<unsigned long> >::doDestroySubTree(std::integral_constant<bool, true>) (this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:139 #14 QMapNode<unsigned int, QVector<unsigned long> >::destroySubTree() (this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:126 #15 QMapNode<unsigned int, QVector<unsigned long> >::doDestroySubTree(std::integral_constant<bool, true>) (this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:137 #16 QMapNode<unsigned int, QVector<unsigned long> >::destroySubTree() (this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:126 #17 QMapData<unsigned int, QVector<unsigned long> >::destroy() (this=0x12d8e60) at /usr/include/qt5/QtCore/qmap.h:249 #18 QMap<unsigned int, QVector<unsigned long> >::~QMap() (this=0x7, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:338 #19 KWin::DrmGpu::isFormatSupported(unsigned int) const (this=<optimized out>, drmFormat=20455624) at /home/nate/kde/src/kwin/src/backends/drm/drm_gpu.cpp:602 -- You are receiving this mail because: You are watching all bug changes.