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

            Bug ID: 520810
           Summary: Maximizing a Bevy app restarts KDE and closes all
                    other apps
    Classification: Plasma
           Product: kwin
      Version First 6.6.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
When maximizing a Bevy app by double-clicking the titlebar or by clicking the
maximize button, my screen goes black, and Plasma reloads into an empty state
(no windows/apps are open).

NOTE: Dragging to change the size of a Bevy window works fine, moving it around
is fine too. But if you maximize it, KDE will crash and reload.

STEPS TO REPRODUCE
1. Have Rust (https://rust-lang.org/tools/install/) installed.
2. Clone the Bevy repo: `git clone https://github.com/bevyengine/bevy`
3. Run the example app: `cargo run --example sprite` (will take a bit)
4. Double-click the titlebar of the window or click the maximize button in the
header.

OBSERVED RESULT
KDE will crash and reload, closing all apps. The system does not restart, just
KDE.

EXPECTED RESULT
The app should maximize, like any other, not crash and force a restart of KDE.
Open your favorite app, and maximize it. It should maximize, that's it.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: plasma-desktop 6.6.5-1
KDE Frameworks Version: 6.26.0
KWin: 6.6.5-2
Qt Version: qt6-base 6.11.1-1
GPU: NVIDIA GeForce RTX 4070
Driver: 595.71.05

ADDITIONAL INFORMATION
coredump:
Stack trace of thread 417358:
#0  0x00007f5989f51e41
_ZN4KWin4Item12framePaintedEPNS_10RenderViewEPNS_13LogicalOutputEPNS_11OutputFrameENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE
(libkwin.so.6 + 0x351e41)
#1  0x00007f5989f51f48
_ZN4KWin4Item12framePaintedEPNS_10RenderViewEPNS_13LogicalOutputEPNS_11OutputFrameENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE
(libkwin.so.6 + 0x351f48)
#2  0x00007f5989f51f48
_ZN4KWin4Item12framePaintedEPNS_10RenderViewEPNS_13LogicalOutputEPNS_11OutputFrameENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE
(libkwin.so.6 + 0x351f48)
#3  0x00007f5989f77e7c
_ZN4KWin14WorkspaceScene5frameEPNS_9SceneViewEPNS_11OutputFrameE (libkwin.so.6
+ 0x377e7c)
#4  0x00007f5989d9d18e _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE
(libkwin.so.6 + 0x19d18e)
#5  0x00007f59871f081b n/a (libQt6Core.so.6 + 0x1f081b)
#6  0x00007f5989dcc59b _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.6
+ 0x1cc59b)
#7  0x00007f59871e7cf9 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1e7cf9)
#8  0x00007f598850411f
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0x10411f)
#9  0x00007f5987183658 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
(libQt6Core.so.6 + 0x183658)
#10 0x00007f598736b2f5 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 +
0x36b2f5)
#11 0x00007f5987376bd2
_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x376bd2)
#12 0x00007f5988183543
_ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Gui.so.6 + 0x783543)
#13 0x00007f5987191983 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x191983)
#14 0x00007f5987186eaa _ZN16QCoreApplication4execEv (libQt6Core.so.6 +
0x186eaa)
#15 0x0000556243dc801e n/a (/usr/bin/kwin_wayland + 0x3f01e)
#16 0x00007f5986827741 n/a (libc.so.6 + 0x27741)
#17 0x00007f5986827879 __libc_start_main (libc.so.6 + 0x27879)
#18 0x0000556243dcc485 n/a (/usr/bin/kwin_wayland + 0x43485)

kernel log line:
kwin_wayland[417358]: segfault at 564f38ad36b4 ip 00007ff2e4551e41 sp
00007ffe54f19100 error 4 in libkwin.so.6.6.5[351e41,7ff2e4361000+59b000] likely
on CPU 10 (core 4, socket 0)

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

Reply via email to