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

            Bug ID: 462364
           Summary: Alt + Tab Lima qt5-es2 crash (PinePhone)
    Classification: Plasma
           Product: kwin
           Version: git master
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: kokotekil...@gmail.com
  Target Milestone: ---

SUMMARY
Plasma mobile crashes on Lima based devices when using Alt + Tab

Excerpt from the log:
```
Thread 1 (Thread 0xffffb529ae40 (LWP 6055) "kwin_wayland"):
#0  __pthread_kill_implementation (threadid=281473721151040,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x0000ffffb1d927e4 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#2  0x0000ffffb1d4b6fc in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x0000ffffb1d378b0 in __GI_abort () at abort.c:79
#4  0x0000ffffb3b954e8 in  () at /usr/lib/libepoxy.so.0
#5  0x0000ffffb3bdb50c in  () at /usr/lib/libepoxy.so.0
#6  0x0000ffffb4d5dde4 in KWin::WindowThumbnailItem::updateOffscreenTexture()
(this=0xaaaae75bcaf0) at
/usr/src/debug/kwin/kwin/src/scripting/windowthumbnailitem.cpp:452
#7  0x0000ffffb31b177c in  () at /usr/lib/libQt5Core.so.5
#8  0x0000ffffb4d21c18 in KWin::Scene::prePaint(KWin::Output*)
(this=0xaaaae7178140, output=<optimized out>) at
/usr/src/debug/kwin/kwin/src/scene.cpp:289
#9  0x0000ffffb4c22ddc in KWin::Compositor::prePaintPass(KWin::RenderLayer*)
(this=this@entry=0xaaaae72f8390, layer=layer@entry=0xaaaae75120b0) at
/usr/src/debug/kwin/kwin/src/composite.cpp:679
#10 0x0000ffffb4c26b30 in KWin::Compositor::composite(KWin::RenderLoop*)
(this=0xaaaae72f8390, renderLoop=<optimized out>) at
/usr/src/debug/kwin/kwin/src/composite.cpp:622
#11 0x0000ffffb31b177c in  () at /usr/lib/libQt5Core.so.5
#12 0x0000ffffb4bc57e4 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*)
(this=<optimized out>, _t1=<optimized out>) at
/usr/src/debug/kwin/build/src/kwin_autogen/TAC5DWH4SE/moc_renderloop.cpp:206
#13 0x0000ffffb4c336ac in KWin::RenderLoopPrivate::dispatch()
(this=0xaaaae73a88f0) at /usr/src/debug/kwin/kwin/src/core/renderloop.cpp:151
#14 0x0000ffffb31b177c in  () at /usr/lib/libQt5Core.so.5
#15 0x0000ffffb31b7144 in QTimer::timeout(QTimer::QPrivateSignal) () at
/usr/lib/libQt5Core.so.5
#16 0x0000ffffb31a5cc4 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#17 0x0000ffffb24550bc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#18 0x0000ffffb316f2e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#19 0x0000ffffb31d9428 in QTimerInfoList::activateTimers() () at
/usr/lib/libQt5Core.so.5
#20 0x0000ffffb31d7474 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#21 0x0000aaaae5401cbc in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
#22 0x0000ffffb316d4a4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#23 0x0000ffffb3177c3c in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#24 0x0000aaaae52d5eb0 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/kwin/kwin/src/main_wayland.cpp:627
A debugging session is active.
```


STEPS TO REPRODUCE
1. Get the plasma mobile dev image for PinePhone from:
https://github.com/manjaro-pinephone/plasma-mobile-dev/releases
1.1. Or create one for your device through the manjaro-arm-tools
2.  Connect a hardware keyboard to the device
3. Use Alt+Tab

OBSERVED RESULT
Kwin crashes

EXPECTED RESULT
Default action

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
The same behaviour can NOT be observed when using:
- PinePhone Pro/ Pinebook Pro or other Panfrost based devices with qt5-es2
packages
- Using PinePhone with A64 and Lima BUT with the desktop qt5 packages instead
of the current qt5-es2 preset:
https://gitlab.manjaro.org/manjaro-arm/applications/arm-profiles/-/blob/master/editions/plasma-mobile-dev#L25

Mesa version         : 22.2.4-0.2

Should be observable on archarm and the beta channel of Manjaro ARM.
Requires kwin-debug and glibc-debug from Arch Linux Arm to gather the logs.

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

Reply via email to