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

--- Comment #4 from Jiri Slaby <jirisl...@gmail.com> ---
Today I encountered a little different crash: a bit different stack trace. But
still a heap corruption and still KWin::DrmGpu::updateOutputs is common.

> #5  0x00007f9fea02fe8c in malloc_printerr (str=str@entry=0x7f9fea1616d0 
> "malloc(): smallbin double linked list corrupted") at malloc.c:5543
> #6  0x00007f9fea0332dc in _int_malloc (av=av@entry=0x7f9fea198aa0 
> <main_arena>, bytes=bytes@entry=129) at malloc.c:3797
> #7  0x00007f9fea0338fa in _int_realloc (av=av@entry=0x7f9fea198aa0 
> <main_arena>, oldp=oldp@entry=0x55ac9a1aa920, oldsize=80, nb=144) at 
> malloc.c:4765
> #8  0x00007f9fea03472b in __GI___libc_realloc (oldmem=0x55ac9a1aa930, 
> bytes=128) at malloc.c:3381
> #9  0x00007f9fea6dd25c in reallocateData (options=8, allocSize=<optimized 
> out>, header=0x55ac9a1aa930) at tools/qarraydata.cpp:183
> #10 QArrayData::reallocateUnaligned(QArrayData*, unsigned long, unsigned 
> long, QFlags<QArrayData::AllocationOption>) (data=0x55ac9a1aa930, 
> objectSize=objectSize@entry=2, capacity=52, options=...) at 
> tools/qarraydata.cpp:246
> #11 0x00007f9fea7532f2 in QTypedArrayData<unsigned 
> short>::reallocateUnaligned(QTypedArrayData<unsigned short>*, unsigned long, 
> QFlags<QArrayData::AllocationOption>) (options=..., capacity=25, 
> data=<optimized out>) at 
> ../../include/QtCore/../../src/corelib/tools/qarraydata.h:228
> #12 QString::reallocData(unsigned int, bool) (this=0x7ffd926347f8, alloc=25, 
> grow=<optimized out>) at text/qstring.cpp:2375
> #13 0x00007f9fea753862 in QString::append(QString const&) 
> (this=this@entry=0x7ffd926347f8, str=...) at text/qstring.cpp:2684
> #14 0x00007f9fea6cd0ad in qFormatLogMessage(QtMsgType, QMessageLogContext 
> const&, QString const&) (type=<optimized out>, context=<optimized out>, 
> str=<optimized out>) at global/qlogging.cpp:1414
> #15 0x00007f9fea6cddaf in stderr_message_handler (message=<optimized out>, 
> context=<optimized out>, type=<optimized out>) at global/qlogging.cpp:1742
> #16 qDefaultMessageHandler(QtMsgType, QMessageLogContext const&, QString 
> const&) (type=QtWarningMsg, context=..., message=...) at 
> global/qlogging.cpp:1786
> #17 0x00007f9fea6c9a60 in qt_message_print(QtMsgType, QMessageLogContext 
> const&, QString const&) (msgType=QtWarningMsg, context=..., message=...) at 
> global/qlogging.cpp:1843
> #18 0x00007f9fea6cafdb in qt_message_output(QtMsgType, QMessageLogContext 
> const&, QString const&) (msgType=QtWarningMsg, context=..., message=...) at 
> global/qlogging.cpp:1924
> #19 0x00007f9fea7cbaa8 in QDebug::~QDebug() (this=0x7ffd926348d8, 
> __in_chrg=<optimized out>) at io/qdebug.cpp:154
> #20 QDebug::~QDebug() (this=0x7ffd926348d8, __in_chrg=<optimized out>) at 
> io/qdebug.cpp:148
> #21 0x00007f9fe3ef8282 in KWin::DrmPipeline::printDebugInfo() const 
> (this=0x55ac99e04190) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_pipeline.cpp:634
> #22 0x00007f9fe3ef8408 in operator()() const 
> (__closure=__closure@entry=0x7ffd926349f0) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_pipeline.cpp:134
> #23 0x00007f9fe3efacb4 in 
> KWin::DrmPipeline::commitPipelines(QVector<KWin::DrmPipeline*> const&, 
> KWin::DrmPipeline::CommitMode) (pipelines=..., 
> mode=KWin::DrmPipeline::CommitMode::Test) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_pipeline.cpp:161
> #24 0x00007f9fe3ef20f6 in 
> KWin::DrmGpu::commitCombination(QVector<KWin::DrmPipeline*> const&) 
> (pipelines=..., this=<optimized out>) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:373
> #25 KWin::DrmGpu::findWorkingCombination(QVector<KWin::DrmPipeline*> const&, 
> QVector<KWin::DrmConnector*>, QVector<KWin::DrmCrtc*>, 
> QVector<KWin::DrmPlane*> const&) (this=<optimized out>, pipelines=..., 
> connectors=..., crtcs=..., planes=...)
>     at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:302
> #26 0x00007f9fe3ef2e4d in operator()(KWin::DrmCrtc*, KWin::DrmPlane*) const 
> (__closure=__closure@entry=0x7ffd92634d70, crtc=0x55ac964765e0, 
> primaryPlane=<optimized out>) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:331
> #27 0x00007f9fe3ef26dd in 
> KWin::DrmGpu::findWorkingCombination(QVector<KWin::DrmPipeline*> const&, 
> QVector<KWin::DrmConnector*>, QVector<KWin::DrmCrtc*>, 
> QVector<KWin::DrmPlane*> const&) (this=0x55ac963d3870, pipelines=..., 
> connectors=..., crtcs=..., planes=...)
>     at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:344
> #28 0x00007f9fe3ef2e4d in operator()(KWin::DrmCrtc*, KWin::DrmPlane*) const 
> (__closure=__closure@entry=0x7ffd92635020, crtc=0x55ac96475ee0, 
> primaryPlane=<optimized out>) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:331
> #29 0x00007f9fe3ef26dd in 
> KWin::DrmGpu::findWorkingCombination(QVector<KWin::DrmPipeline*> const&, 
> QVector<KWin::DrmConnector*>, QVector<KWin::DrmCrtc*>, 
> QVector<KWin::DrmPlane*> const&) (this=0x55ac963d3870, pipelines=<optimized 
> out>, connectors=..., crtcs=..., planes=...)
>     at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:344
> #30 0x00007f9fe3edf742 in KWin::DrmGpu::updateOutputs() (this=<optimized 
> out>) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:256
> #31 KWin::DrmBackend::updateOutputs() (this=<optimized out>) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:355
> #32 0x00007f9fe3ee2059 in KWin::DrmBackend::handleUdevEvent() 
> (this=0x55ac963b8aa0) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:244
> #33 0x00007f9fea8ed043 in QtPrivate::QSlotObjectBase::call(QObject*, void**) 
> (a=0x7ffd926356a0, r=0x55ac963b8aa0, this=0x55ac963d32e0) at 
> ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
> #34 doActivate<false>(QObject*, int, void**) (sender=0x55ac963d2fe0, 
> signal_index=3, argv=0x7ffd926356a0) at kernel/qobject.cpp:3886
> #35 0x00007f9fea8e650f in QMetaObject::activate(QObject*, QMetaObject const*, 
> int, void**) (sender=sender@entry=0x55ac963d2fe0, m=m@entry=0x7f9feab8cac0, 
> local_signal_index=local_signal_index@entry=0, 
> argv=argv@entry=0x7ffd926356a0) at kernel/qobject.cpp:3946
> #36 0x00007f9fea8f041f in QSocketNotifier::activated(QSocketDescriptor, 
> QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) 
> (this=this@entry=0x55ac963d2fe0, _t1=..., _t2=<optimized out>, _t3=...) at 
> .moc/moc_qsocketnotifier.cpp:178
> #37 0x00007f9fea8f0c1b in QSocketNotifier::event(QEvent*) 
> (this=0x55ac963d2fe0, e=0x7ffd926357c0) at kernel/qsocketnotifier.cpp:302
> #38 0x00007f9feb611a7f in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) (this=<optimized out>, receiver=0x55ac963d2fe0, e=0x7ffd926357c0) at 
> kernel/qapplication.cpp:3632
> #39 0x00007f9fea8b69fa in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) (receiver=0x55ac963d2fe0, event=0x7ffd926357c0) at 
> kernel/qcoreapplication.cpp:1064
> #40 0x00007f9fea90b28b in 
> QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x55ac9636c670) 
> at kernel/qeventdispatcher_unix.cpp:304
> #41 0x00007f9fea90b6eb in 
> QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511
> #42 0x000055ac94a283bd in 
> QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
> #43 0x00007f9fea8b53fb in 
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 
> (this=this@entry=0x7ffd92635950, flags=..., flags@entry=...) at 
> ../../include/QtCore/../../src/corelib/global/qflags.h:69
> #44 0x00007f9fea8bd6e0 in QCoreApplication::exec() () at 
> ../../include/QtCore/../../src/corelib/global/qflags.h:121
> #45 0x00007f9fead0918c in QGuiApplication::exec() () at 
> kernel/qguiapplication.cpp:1867
> #46 0x00007f9feb6119f5 in QApplication::exec() () at 
> kernel/qapplication.cpp:2824
> #47 0x000055ac949cb625 in main(int, char**) (argc=<optimized out>, 
> argv=<optimized out>) at 
> /usr/src/debug/kwin5-5.23.3-1.1.x86_64/src/main_wayland.cpp:745

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

Reply via email to