[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-09-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-09-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.25.5

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-09-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=451028

cellst...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #27 from cellst...@gmail.com ---
... forgot to change the bug status in my earlier reply: RESOLVED, FIXED

Cheers

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-09-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #26 from cellst...@gmail.com ---
(In reply to Vlad Zahorodnii from comment #25)
> Git commit c6600c687554d1e0de9d601e3176cb11d8194cb8 by Vlad Zahorodnii.
> Committed on 30/08/2022 at 13:36.
> Pushed by vladz into branch 'Plasma/5.25'.
> 
> wayland: Prevent sending xdg_output properties if wl_output is removed
> 
> If the wl_output has been removed, kwin can crash all Qt clients by
> sending a wl_output.done event. Also, it makes no sense to send output
> events after the corresponding output has been removed.
> (cherry picked from commit d6706c5ce4f82530134848b78be9420cf99dae66)
> 
> M  +5-0src/wayland/output_interface.cpp
> M  +1-0src/wayland/output_interface.h
> M  +4-0src/wayland/xdgoutput_v1_interface.cpp
> 
> https://invent.kde.org/plasma/kwin/commit/
> c6600c687554d1e0de9d601e3176cb11d8194cb8

Hi

Thanks a mill for the help, support and commit.

Just installed latest kde for archlinux (see below) and all works -- no more
crashes!
I tested turning on/off the external TV/Monitor attached via HDMI.
Also selected TV other inputs, and still rock solid!

Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.7-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800

All the best!

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #25 from Vlad Zahorodnii  ---
Git commit c6600c687554d1e0de9d601e3176cb11d8194cb8 by Vlad Zahorodnii.
Committed on 30/08/2022 at 13:36.
Pushed by vladz into branch 'Plasma/5.25'.

wayland: Prevent sending xdg_output properties if wl_output is removed

If the wl_output has been removed, kwin can crash all Qt clients by
sending a wl_output.done event. Also, it makes no sense to send output
events after the corresponding output has been removed.
(cherry picked from commit d6706c5ce4f82530134848b78be9420cf99dae66)

M  +5-0src/wayland/output_interface.cpp
M  +1-0src/wayland/output_interface.h
M  +4-0src/wayland/xdgoutput_v1_interface.cpp

https://invent.kde.org/plasma/kwin/commit/c6600c687554d1e0de9d601e3176cb11d8194cb8

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #24 from Vlad Zahorodnii  ---
^ not sure if it fixes the crash, it would be great if somebody could test it

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #23 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/2879

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #22 from Vlad Zahorodnii  ---
Git commit d6706c5ce4f82530134848b78be9420cf99dae66 by Vlad Zahorodnii.
Committed on 30/08/2022 at 12:56.
Pushed by vladz into branch 'master'.

wayland: Prevent sending xdg_output properties if wl_output is removed

If the wl_output has been removed, kwin can crash all Qt clients by
sending a wl_output.done event. Also, it makes no sense to send output
events after the corresponding output has been removed.

M  +5-0src/wayland/output_interface.cpp
M  +1-0src/wayland/output_interface.h
M  +8-6src/wayland/xdgoutput_v1_interface.cpp

https://invent.kde.org/plasma/kwin/commit/d6706c5ce4f82530134848b78be9420cf99dae66

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Andrew Rembrandt
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #21 from Andrew Rembrandt  ---
Hi Vlad, ah, thanks for reminding me:
- On hibernation, the layout was just 1 monitor (laptop screen)
- On resume, the layout was 2 monitors (4K monitor at 150% scaling directly
above laptop screen - 1920x1080 @ 100%)

Only a few Konsole apps crashed (along with plasmashell). One other Konsole
instance didn't. Firefox did also crash (the error reporting went to Firefox
however - Firefox is using wayland). I also had a Slack instance (xwayland,
electron) that didn't crash.

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #20 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/2878

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #19 from Vlad Zahorodnii  ---
I cannot reproduce it. What's your output layout? What's the position of the
attached or detached monitor? Do all apps crash or only some?

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-30 Thread Andrew Rembrandt
https://bugs.kde.org/show_bug.cgi?id=451028

Andrew Rembrandt  changed:

   What|Removed |Added

 CC||pub...@rembrandt.dev

--- Comment #18 from Andrew Rembrandt  ---
Hi (esteemed KDE community),
I've just had this occur for me on resuming from hibernate - for 3 Konsole
instances:

Qt Version: 5.15.5
KDE Plasma Version: 5.25.4
Frameworks Version: 5.97.0
Operating System: Linux 5.19.4-zen1-1-zen
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.25.4 [KCrashBackend]
[Intel MESA UHD Graphics / Thinkpad P15s Gen 1]

Application: Konsole (konsole), signal: Segmentation fault
[KCrash Handler]
#4  0x7f178f66ef27 in QtWayland::wl_output::handle_done(void*, wl_output*)
() at /usr/lib/libQt5WaylandClient.so.5
#5  0x7f178e91f536 in  () at /usr/lib/libffi.so.8
#6  0x7f178e91c037 in  () at /usr/lib/libffi.so.8
#7  0x7f178f5cd645 in  () at /usr/lib/libwayland-client.so.0
#8  0x7f178f5cde03 in  () at /usr/lib/libwayland-client.so.0
#9  0x7f178f5cdffc in wl_display_dispatch_queue_pending () at
/usr/lib/libwayland-client.so.0
#10 0x7f178f649c16 in QtWaylandClient::QWaylandDisplay::flushRequests() ()
at /usr/lib/libQt5WaylandClient.so.5
#11 0x7f17914b12f0 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#12 0x7f1792178b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#13 0x7f179148d978 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#14 0x7f179148e483 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#15 0x7f17914d4478 in  () at /usr/lib/libQt5Core.so.5
#16 0x7f178f86fc6b in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#17 0x7f178f8c6001 in  () at /usr/lib/libglib-2.0.so.0
#18 0x7f178f86d392 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#19 0x7f17914d825c in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#20 0x7f179148611c in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#21 0x7f1791490c49 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#22 0x56022ea0eb65 in  ()
#23 0x7f1790c3c2d0 in  () at /usr/lib/libc.so.6
#24 0x7f1790c3c38a in __libc_start_main () at /usr/lib/libc.so.6
#25 0x56022ea0f425 in  ()
[Inferior 1 (process 79767) detached]

=
Also had plasmashell crash at the same time with:

Application: Plasma (plasmashell), signal: Aborted
[KCrash Handler]
#4  0x7f129f6a14dc in  () at /usr/lib/libc.so.6
#5  0x7f129f651998 in raise () at /usr/lib/libc.so.6
#6  0x7f129f63b53d in abort () at /usr/lib/libc.so.6
#7  0x7f129f8d2112 in std::__glibcxx_assert_fail(char const*, int, char
const*, char const*) (file=, line=,
function=, condition=) at
/usr/src/debug/gcc/libstdc++-v3/src/c++11/debug.cc:60
#8  0x5558551d8b50 in  ()
#9  0x5558551d9d75 in  ()
#10 0x5558551de39c in  ()
#11 0x5558551e0c75 in  ()
#12 0x7f129febe0d1 in  () at /usr/lib/libQt5Core.so.5
#13 0x5558552022c4 in  ()
#14 0x7f129febe0d1 in  () at /usr/lib/libQt5Core.so.5
#15 0x5558551e049e in  ()
#16 0x7f129febe0d1 in  () at /usr/lib/libQt5Core.so.5
#17 0x5558551e034b in  ()
#18 0x55585520ec26 in  ()
#19 0x7f12a1d4d536 in  () at /usr/lib/libffi.so.8
#20 0x7f12a1d4a037 in  () at /usr/lib/libffi.so.8
#21 0x7f12a2119645 in  () at /usr/lib/libwayland-client.so.0
#22 0x7f12a2119e03 in  () at /usr/lib/libwayland-client.so.0
#23 0x7f12a2119ffc in wl_display_dispatch_queue_pending () at
/usr/lib/libwayland-client.so.0
#24 0x7f129ddbbc16 in QtWaylandClient::QWaylandDisplay::flushRequests() ()
at /usr/lib/libQt5WaylandClient.so.5
#25 0x7f129feb12f0 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#26 0x7f12a0b78b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#27 0x7f129fe8d978 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#28 0x7f129fe8e483 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#29 0x7f129fed4478 in  () at /usr/lib/libQt5Core.so.5
#30 0x7f129e518c6b in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#31 0x7f129e56f001 in  () at /usr/lib/libglib-2.0.so.0
#32 0x7f129e516392 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#33 0x7f129fed825c in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#34 0x7f129fe8611c in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#35 0x7f129fe90c49 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#36 0x5558551c1123 in  ()
#37 0x7f129f63c2d0 in  () at /usr/lib/libc.so.6
#38 0x7f129f63c38a in __libc_start_main () at 

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-16 Thread postix
https://bugs.kde.org/show_bug.cgi?id=451028

postix  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=431388

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-08-13 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=451028

Nicolas Fella  changed:

   What|Removed |Added

 CC||tarcza...@protonmail.com

--- Comment #17 from Nicolas Fella  ---
*** Bug 457831 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-07-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=451028

shashwatkhanna...@gmail.com changed:

   What|Removed |Added

 CC||shashwatkhanna...@gmail.com

--- Comment #16 from shashwatkhanna...@gmail.com ---
I don't know how or what happened, but this doesn't happen anymore for me. I
had reported a similar bug - https://bugs.kde.org/show_bug.cgi?id=49 (which
for some reason was marked as a duplicate of some X11 issue instead of this)

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-07-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

Product|kde |kwin
   Assignee|unassigned-b...@kde.org |kwin-bugs-n...@kde.org
  Component|general |wayland-generic
Version|unspecified |5.25.3

--- Comment #15 from Nate Graham  ---
Moving back to KWin as this isn't actionable in the generic kde component. If
it's an upstream or downstream bug, let's mark it accordingly.

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-06-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

--- Comment #6 from Nate Graham  ---
*** Bug 454945 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-06-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

  Component|general |wayland-generic
   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org
Product|systemsettings  |kwin

--- Comment #5 from Nate Graham  ---
Moving to KWin for now, but it might be a Qt bug.

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-05-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=451028

--- Comment #4 from cellst...@gmail.com ---
Created attachment 149363
  --> https://bugs.kde.org/attachment.cgi?id=149363=edit
New crash information added by DrKonqi

plasmashell (5.24.5) using Qt 5.15.4

- What I was doing when the application crashed:

turned on external TV (HDMI)

Application bar disappears and restarts

A number of crash icon appears: Kde Power Management, Latte Dock, Plasma

-- Backtrace (Reduced):
#4  0x7fe1dcdb0ee7 in QtWayland::wl_output::handle_done(void*, wl_output*)
() at /usr/lib/libQt5WaylandClient.so.5
[...]
#9  0x7fe1e1088f8c in wl_display_dispatch_queue_pending () at
/usr/lib/libwayland-client.so.0
#10 0x7fe1dcd8bc56 in QtWaylandClient::QWaylandDisplay::flushRequests() ()
at /usr/lib/libQt5WaylandClient.so.5
#11 0x7fe1decb1910 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#12 0x7fe1df978a7c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-05-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=451028

cellst...@gmail.com changed:

   What|Removed |Added

 CC||cellst...@gmail.com

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-05-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

 CC||samuelsumukhre...@gmail.com

--- Comment #3 from Nate Graham  ---
*** Bug 454384 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 451028] Apps can crash in QtWayland::wl_output::handle_done() when attaching or detaching monitor on Wayland

2022-05-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451028

Nate Graham  changed:

   What|Removed |Added

  Component|generic-crash   |wayland-generic
Product|systemsettings  |kwin
Summary|System Settings crashes in  |Apps can crash in
   |QtWayland::wl_output::handl |QtWayland::wl_output::handl
   |e_done() when attaching |e_done() when attaching or
   |monitor on Wayland  |detaching monitor on
   ||Wayland
 CC||xaver.h...@gmail.com
   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org

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