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

            Bug ID: 469055
           Summary: kwin_wayland sometimes crashes in
                    KWin::WindowScreenCastSource::textureSize() when
                    hovering over Task Manager icons
    Classification: Plasma
           Product: kwin
           Version: 5.27.4
          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: ---

STEPS TO REPRODUCE
1. Hover cursor over a Task Manager icon on with Task Manager tooltips/previews
turned on


OBSERVED RESULT
A small percentage of the time, kwin_wayland crashes. I do this enough times
per day that it seems to happen 1-2 times per day.


EXPECTED RESULT
No kwin_wayland crash.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.2.12-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics


ADDITIONAL INFORMATION
Crash backtrace:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  KWin::Window::clientGeometry (this=0x0) at
/home/nate/kde/src/kwin/src/window.h:2080
2080        return m_clientGeometry;
[Current thread is 1 (Thread 0x7fbd49804e40 (LWP 285288))]
(gdb) bt
#0  KWin::Window::clientGeometry() const (this=0x0) at
/home/nate/kde/src/kwin/src/window.h:2080
#1  KWin::WindowScreenCastSource::textureSize() const (this=0x2ca9150)
    at
/home/nate/kde/src/kwin/src/plugins/screencast/windowscreencastsource.cpp:40
#2  0x000000000047b3f9 in KWin::ScreenCastStream::recordFrame(QRegion const&)
    (this=0x219c590, _damagedRegion=<optimized out>)
    at /home/nate/kde/src/kwin/src/plugins/screencast/screencaststream.cpp:429
#3  0x00007fbd4ecd0ff6 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7ffd6b3da7d0, r=<optimized out>, this=0x2a0dae0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#4  doActivate<false>(QObject*, int, void**) (sender=0x219c780, signal_index=3,
argv=0x7ffd6b3da7d0)
    at kernel/qobject.cpp:3923
#5  0x00007fbd4eccbf87 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**)
    (sender=<optimized out>, m=m@entry=0x7fbd4ef5e580
<QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffd6b3da7d0) at kernel/qobject.cpp:3983
#6  0x00007fbd4ecd437e in QTimer::timeout(QTimer::QPrivateSignal)
(this=<optimized out>, _t1=...)
    at .moc/moc_qtimer.cpp:205
#7  0x00007fbd4ecc8125 in QObject::event(QEvent*) (this=0x219c780,
e=0x7ffd6b3da930)
    at kernel/qobject.cpp:1369
#8  0x00007fbd4d9aed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    (this=<optimized out>, receiver=0x219c780, e=0x7ffd6b3da930) at
kernel/qapplication.cpp:3640
#9  0x00007fbd4ec9d648 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    (receiver=0x219c780, event=0x7ffd6b3da930) at
kernel/qcoreapplication.cpp:1064
#10 0x00007fbd4ec9d832 in QCoreApplication::sendEvent(QObject*, QEvent*)
    (receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1462
#11 0x00007fbd4ecedae1 in QTimerInfoList::activateTimers()
(this=this@entry=0xcd45c8)
    at kernel/qtimerinfo_unix.cpp:643
#12 0x00007fbd4eceb240 in QEventDispatcherUNIXPrivate::activateTimers()
(this=this@entry=0xcd4540)
    at kernel/qeventdispatcher_unix.cpp:249
#13 0x00007fbd4ecec090 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#14 0x0000000000535091 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
#15 0x00007fbd4ec9c09a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
    (this=this@entry=0x7ffd6b3daab0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#16 0x00007fbd4eca4162 in QCoreApplication::exec() ()
    at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#17 0x00007fbd4f15fb50 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1863
#18 0x00007fbd4d9aecd9 in QApplication::exec() () at
kernel/qapplication.cpp:2832
#19 0x00000000004471fe in main(int, char**) (argc=<optimized out>,
argv=<optimized out>)
    at /home/nate/kde/src/kwin/src/main_wayland.cpp:628

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

Reply via email to