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

            Bug ID: 445894
           Summary: Crash in KWin::DrmOutput::updateCursor -> malloc():
                    unsorted double linked list corrupted
           Product: kwin
           Version: 5.23.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: jirisl...@gmail.com
  Target Milestone: ---

Created attachment 143823
  --> https://bugs.kde.org/attachment.cgi?id=143823&action=edit
gdb's "bt full" of the crash

SUMMARY
A crash occurred during resume from suspend.

STEPS TO REPRODUCE
1. suspend notebook
2. connect thunderbolt with external monitor connected
3. resume notebook.
4. (rare) crash occurs

OBSERVED RESULT
> #0  __pthread_kill_implementation (threadid=<optimized out>, 
> signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
> #1  0x00007f3b21bb28e3 in __pthread_kill_internal (signo=6, 
> threadid=<optimized out>) at pthread_kill.c:78
> #2  0x00007f3b21b656f6 in __GI_raise (sig=sig@entry=6) at 
> ../sysdeps/posix/raise.c:26
> #3  0x00007f3b21b4f845 in __GI_abort () at abort.c:100
> #4  0x00007f3b21ba6a67 in __libc_message (action=action@entry=do_abort, 
> fmt=fmt@entry=0x7f3b21ce369f "%s\n") at ../sysdeps/posix/libc_fatal.c:155
> #5  0x00007f3b21bbc86c in malloc_printerr (str=str@entry=0x7f3b21ce6788 
> "malloc(): unsorted double linked list corrupted") at malloc.c:5543
> #6  0x00007f3b21bbf89c in _int_malloc (av=av@entry=0x7f3b21d1daa0 
> <main_arena>, bytes=bytes@entry=1040) at malloc.c:3897
> #7  0x00007f3b21bc06d9 in __GI___libc_malloc (bytes=1040) at malloc.c:3216
> #8  0x00007f3b21de296c in operator new(unsigned long) (sz=1040) at 
> ../../../../libstdc++-v3/libsupc++/new_op.cc:50
> #9  0x00007f3b22b54262 in QRasterPaintEngine::createState(QPainterState*) 
> const () at /lib64/libQt5Gui.so.5
> #10 0x00007f3b22b70c56 in QPainter::begin(QPaintDevice*) () at 
> /lib64/libQt5Gui.so.5
> #11 0x00007f3b1bb717cb in KWin::DrmOutput::updateCursor() 
> (this=0x5596f79cc0d0) at 
> /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_output.cpp:150
> #12 0x00007f3b1bb62527 in KWin::DrmBackend::updateCursor() 
> (this=0x5596f71d0210) at 
> /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:571
> #13 0x00007f3b1bb69071 in KWin::DrmBackend::handleUdevEvent() 
> (this=0x5596f71d0210) at 
> /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:245
> #14 0x00007f3b2246e043 in QtPrivate::QSlotObjectBase::call(QObject*, void**) 
> (a=0x7ffc38c73d50, r=0x5596f71d0210, this=0x5596f71db7a0) at 
> ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
> #15 doActivate<false>(QObject*, int, void**) (sender=0x5596f71db4a0, 
> signal_index=3, argv=0x7ffc38c73d50) at kernel/qobject.cpp:3886
> #16 0x00007f3b2246750f in QMetaObject::activate(QObject*, QMetaObject const*, 
> int, void**) (sender=sender@entry=0x5596f71db4a0, m=m@entry=0x7f3b2270dac0, 
> local_signal_index=local_signal_index@entry=0, 
> argv=argv@entry=0x7ffc38c73d50) at kernel/qobject.cpp:3946
> #17 0x00007f3b2247141f in QSocketNotifier::activated(QSocketDescriptor, 
> QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) 
> (this=this@entry=0x5596f71db4a0, _t1=..., _t2=<optimized out>, _t3=...) at 
> .moc/moc_qsocketnotifier.cpp:178
> #18 0x00007f3b22471c1b in QSocketNotifier::event(QEvent*) 
> (this=0x5596f71db4a0, e=0x7ffc38c73e70) at kernel/qsocketnotifier.cpp:302
> #19 0x00007f3b2318fa7f in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) (this=<optimized out>, receiver=0x5596f71db4a0, e=0x7ffc38c73e70) at 
> kernel/qapplication.cpp:3632
> #20 0x00007f3b224379fa in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) (receiver=0x5596f71db4a0, event=0x7ffc38c73e70) at 
> kernel/qcoreapplication.cpp:1064
> #21 0x00007f3b2248c28b in 
> QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x5596f71755c0) 
> at kernel/qeventdispatcher_unix.cpp:304
> #22 0x00007f3b2248c6eb in 
> QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511
> #23 0x00005596f70ab39d in 
> QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
> #24 0x00007f3b224363fb in 
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 
> (this=this@entry=0x7ffc38c74000, flags=..., flags@entry=...) at 
> ../../include/QtCore/../../src/corelib/global/qflags.h:69
> #25 0x00007f3b2243e6e0 in QCoreApplication::exec() () at 
> ../../include/QtCore/../../src/corelib/global/qflags.h:121
> #26 0x00005596f704e625 in main(int, char**) (argc=<optimized out>, 
> argv=<optimized out>) at 
> /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/main_wayland.cpp:745

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211117
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-1.g26a203b-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-6600U CPU @ 2.60GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

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

Reply via email to