[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463716

--- Comment #8 from betami...@posteo.de ---
(In reply to David Edmundson from comment #7)
> 
> *** This bug has been marked as a duplicate of bug 463385 ***

Thank you.
I see that the fix for this bug has narrowly missed the window for becoming a
part of 5.26.5, so I am looking forward to testing this in 5.26.6.

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

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-04 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=463716

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #7 from David Edmundson  ---


*** This bug has been marked as a duplicate of bug 463385 ***

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

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463716

--- Comment #6 from betami...@posteo.de ---
(In reply to Vlad Zahorodnii from comment #5)
> The backtraces have no debug symbols, can you install debuginfod and run
> coredumpctl gdb again? https://wiki.archlinux.org/title/Debuginfod for more
> info

I have adjusted my system and am now getting this when doing "bt":
(gdb) bt
#0  std::__shared_ptr::operator
bool() const (this=0x38)
at /usr/include/c++/12.2.0/bits/shared_ptr_base.h:1669
#1  KWin::Output::modeSize() const (this=0x0) at
/usr/src/debug/kwin/kwin-5.26.5/src/core/output.cpp:189
#2  0x7aa885f5fcf5 in KWin::LibInput::Connection::processEvents()
(this=0x5d9a85e01990)
at /usr/src/debug/kwin/kwin-5.26.5/src/backends/libinput/connection.cpp:347
#3  0x7aa8844b0be0 in QObject::event(QEvent*) (this=0x5d9a85d1f670,
e=0x5d9a85f31940) at kernel/qobject.cpp:1347
#4  0x7aa883b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x5d9a85d1f670, e=0x5d9a85f31940)
at kernel/qapplication.cpp:3637
#5  0x7aa88448cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5d9a85d1f670, event=0x5d9a85f31940)
at kernel/qcoreapplication.cpp:1064
#6  0x7aa88448daa3 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x5d9a85becef0)
at kernel/qcoreapplication.cpp:1821
#7  0x7aa8844d7557 in
QEventDispatcherUNIX::processEvents(QFlags)
(this=0x5d9a85c0a110, flags=...)
at kernel/qeventdispatcher_unix.cpp:468
#8  0x5d9a853d8952 in
QUnixEventDispatcherQPA::processEvents(QFlags)
()
#9  0x7aa88448573c in
QEventLoop::exec(QFlags) (this=0x7ffdaf8a01b0,
flags=...)
at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#10 0x7aa884490269 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#11 0x7aa88493a102 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#12 0x7aa883b76f2a in QApplication::exec() () at
kernel/qapplication.cpp:2829
#13 0x5d9a852f9611 in main(int, char**) (argc=,
argv=) at
/usr/src/debug/kwin/kwin-5.26.5/src/main_wayland.cpp:609
(gdb) 


I get this for "bt full":
(gdb) bt full
#0  std::__shared_ptr::operator
bool() const (this=0x38)
at /usr/include/c++/12.2.0/bits/shared_ptr_base.h:1669
#1  KWin::Output::modeSize() const (this=0x0) at
/usr/src/debug/kwin/kwin-5.26.5/src/core/output.cpp:189
#2  0x7aa885f5fcf5 in KWin::LibInput::Connection::processEvents()
(this=0x5d9a85e01990)
at /usr/src/debug/kwin/kwin-5.26.5/src/backends/libinput/connection.cpp:347
te = 0x7aa854005800
output = 0x0
globalPos = {xp = 6.9528647142224788e-310, yp =
6.9528647142208978e-310}
event = std::unique_ptr = {get() =
0x7aa854005800}
locker = {val = 102918252403113}
#3  0x7aa8844b0be0 in QObject::event(QEvent*) (this=0x5d9a85d1f670,
e=0x5d9a85f31940) at kernel/qobject.cpp:1347
mce = 0x5d9a85f31940
sender = {previous = 0x0, receiver = 0x5d9a85d1f670, sender =
0x5d9a85e01990, signal = 5}
#4  0x7aa883b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x5d9a85d1f670, e=0x5d9a85f31940)
at kernel/qapplication.cpp:3637
consumed = false
filtered = false
#5  0x7aa88448cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5d9a85d1f670, event=0x5d9a85f31940)
at kernel/qcoreapplication.cpp:1064
selfRequired = true
result = false
cbdata = {0x5d9a85d1f670, 0x5d9a85f31940, 0x7ffdaf89ff6f}
d = 
threadData = 0x5d9a85becef0
scopeLevelCounter = {threadData = 0x5d9a85becef0}
#6  0x7aa88448daa3 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x5d9a85becef0)
at kernel/qcoreapplication.cpp:1821
e = 0x5d9a85f31940
pe = 
r = 
event_deleter = {d = 0x5d9a85f31940}
locker = {_M_device = 0x5d9a85becf20, _M_owns = false}
startOffset = 0
i = @0x5d9a85becf14: 2
cleanup = {receiver = 0x0, event_type = 0, data = 0x5d9a85becef0,
exceptionCaught = true}
#7  0x7aa8844d7557 in
QEventDispatcherUNIX::processEvents(QFlags)
(this=0x5d9a85c0a110, flags=...)
at kernel/qeventdispatcher_unix.cpp:468
d = 0x5d9a85bf2660
threadData = 0x5d9a85becef0
include_timers = 
include_notifiers = 
wait_for_events = 
canWait = 
tm = 
wait_tm = {tv_sec = 0, tv_nsec = 0}
nevents = 
#8  0x5d9a853d8952 in
QUnixEventDispatcherQPA::processEvents(QFlags)
()
#9  0x7aa88448573c in
QEventLoop::exec(QFlags) (this=0x7ffdaf8a01b0,
flags=...)
at ../../include/QtCore/../../src/corelib/global/qflags.h:69
d = 0x5d9a85ecb970
threadData = 
locker = {val = 102918250048696}
app = 
#10 0x7aa884490269 in QCoreApplication::exec() () at

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-03 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=463716

--- Comment #5 from Vlad Zahorodnii  ---
The backtraces have no debug symbols, can you install debuginfod and run
coredumpctl gdb again? https://wiki.archlinux.org/title/Debuginfod for more
info

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

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463716

--- Comment #4 from betami...@posteo.de ---
Here is another one:
https://www.mediafire.com/file/zxmztvu4jx7kglb/core.kwin_wayland.1000.d837a63a6d2b48f6b45d9335b821fd6b.6339.167273561500.zst/file

(gdb) bt
#0  0x77a872bb8ea4 in KWin::Output::modeSize() const () at
/usr/lib/libkwin.so.5
#1  0x77a872d881d5 in KWin::LibInput::Connection::processEvents() () at
/usr/lib/libkwin.so.5
#2  0x77a8712b989e in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#3  0x77a870979fac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#4  0x77a8712956d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#5  0x77a871296203 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#6  0x77a8712e2797 in
QEventDispatcherUNIX::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#7  0x6023d570d0d2 in  ()
#8  0x77a87128ddbc in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#9  0x77a871298a19 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#10 0x6023d56118aa in  ()
#11 0x77a8700233d0 in  () at /usr/lib/libc.so.6
#12 0x77a87002348a in __libc_start_main () at /usr/lib/libc.so.6
#13 0x6023d56131b5 in  ()

Please let me know if there is anything else I can provide to help with this.
And thank you for your time :)

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

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463716

--- Comment #3 from betami...@posteo.de ---
(In reply to David Edmundson from comment #2)
> We need the kwin coredump to do anything useful. Can you try to attach it.
> 
> Running `coredumpctl gdb kwin_wayland`
> 
> Then "bt" should hopefully give a copyable amount of text

Here you go:
(gdb) bt
#0  0x62dc3cd1bae9 in  ()
#1  0x62dc3cd1e62b in  ()
#2  0x79ec239fa725 in
KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&,
KWin::WindowPaintData&) ()
at /usr/lib/libkwin.so.5
#3  0x79ec23f7aa8d in
KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.14
#4  0x79ec23a7c2e9 in KWin::Scene::paintWindow(KWin::WindowItem*, int,
QRegion const&) () at /usr/lib/libkwin.so.5
#5  0x79ec23a7c5e7 in KWin::Scene::paintSimpleScreen(int, QRegion const&)
() at /usr/lib/libkwin.so.5
#6  0x62dc3cd8b232 in  ()
#7  0x79ec239fa67b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion
const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#8  0x79ec239fa67b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion
const&, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#9  0x79ec23a7c711 in KWin::Scene::paintScreen(QRegion const&) () at
/usr/lib/libkwin.so.5
#10 0x79ec23baeaab in KWin::SceneOpenGL::paint(KWin::RenderTarget*, QRegion
const&) () at /usr/lib/libkwin.so.5
#11 0x79ec23a723a5 in  () at /usr/lib/libkwin.so.5
#12 0x79ec239b3909 in KWin::Compositor::paintPass(KWin::RenderLayer*,
KWin::RenderTarget*, QRegion const&) () at /usr/lib/libkwin.so.5
#13 0x79ec239b6efe in KWin::Compositor::composite(KWin::RenderLoop*) () at
/usr/lib/libkwin.so.5
#14 0x79ec220c6ef1 in  () at /usr/lib/libQt5Core.so.5
#15 0x79ec23961dc7 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*)
() at /usr/lib/libkwin.so.5
#16 0x79ec239bd6b8 in KWin::RenderLoopPrivate::dispatch() () at
/usr/lib/libkwin.so.5
#17 0x79ec220c6ef1 in  () at /usr/lib/libQt5Core.so.5
#18 0x79ec220c945f in QTimer::timeout(QTimer::QPrivateSignal) () at
/usr/lib/libQt5Core.so.5
#19 0x79ec220b983e in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#20 0x79ec21779fac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#21 0x79ec220956d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#22 0x79ec220e234a in QTimerInfoList::activateTimers() () at
/usr/lib/libQt5Core.so.5
#23 0x79ec220e2b82 in
QEventDispatcherUNIX::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#24 0x62dc3cde20d2 in  ()
#25 0x79ec2208ddbc in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#26 0x79ec22098a19 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#27 0x62dc3cce68aa in  ()
#28 0x79ec20e233d0 in  () at /usr/lib/libc.so.6
#29 0x79ec20e2348a in __libc_start_main () at /usr/lib/libc.so.6
#30 0x62dc3cce81b5 in  ()

And I have uploaded the coredump over there:
https://www.mediafire.com/file/ar2kli4gv6tarvm/core.kwin_wayland.1000.78b236bc18844f43818596961d2b070b.989.167261914000.zst/file

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

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-02 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=463716

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #2 from David Edmundson  ---
We need the kwin coredump to do anything useful. Can you try to attach it.

Running `coredumpctl gdb kwin_wayland`

Then "bt" should hopefully give a copyable amount of text

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

[kwin] [Bug 463716] Closing Steam's new Big Picture mode has a chance to crash the desktop

2023-01-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463716

--- Comment #1 from betami...@posteo.de ---
I have tried narrowing down what the issue might be and have found that adding
"intel_iommu=on" to my kernel's boot options causes it to happen in 100% (or
close to that) of the cases.
My normal boot options are:
"options root=PARTUUID=XYZ zswap.enabled=0 rootflags=subvol=/@ rw
rootfstype=btrfs processor.max_cstate=9 intel_idle.max_cstate=9 nmi_watchdog=0
nowatchdog mitigations=off intel_iommu=on kernel.kexec_load_disabled=1 audit=0"

I am able to reliably reproduce the crashing, but the coredumps are close to
16MB (10MB for kwin_wayland and 6MB for Steam's webhelper).
The bug shows up regardless of whether I am using linux kernels 6.1.1-zen as
well as 6.1.1-cachyos, and now "6.1.2-3-cachyos".

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