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

            Bug ID: 458059
           Summary: Kwin abort
           Product: kwin
           Version: 5.24.4
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
KWin keeps crashing on my platform with signal 6. (stack below), this happens
like 0 to 5 times a day. I noticed nothing particular about the activities at
the time of the crash. For me it's usually while using chrome, but this is what
I usually use.

I noticed one more thing related to the compositor, hope this helps. If the
system is newly turned on I can observe tearing in chrome while scrolling. My
settings: scale: smooth, latency: "prefer smoother animations", vsync:
automatic. If I change latency to whatever tearing goes away, but bringing back
the previous setting does not cause tearing. Looks like jiggling settings
always helps. 

Application: kwin_x11 (5.24.4)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.17.0-1012-oem x86_64
Windowing System: X11
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140261882082624)
at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140261882082624) at
./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140261882082624, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#7  0x00007f91484ca476 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x00007f91484b07f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007f91401d0144 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#10 0x00007f9140e397ef in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#11 0x00007f9140436832 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#12 0x00007f914b126264 in ?? () from /lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f9149642783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f914b0fdb78 in KWin::Scene::paintScreen(QRegion const&, QRegion
const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) () from
/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f914b1c0170 in KWin::SceneOpenGL::paint(KWin::AbstractOutput*,
QRegion const&, QList<KWin::Toplevel*> const&, KWin::RenderLoop*) () from
/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f914b060071 in KWin::Compositor::composite(KWin::RenderLoop*) ()
from /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f914b069a06 in KWin::X11Compositor::composite(KWin::RenderLoop*) ()
from /lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007f9149642783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f914b01fb16 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*)
() from /lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007f914b0ec177 in KWin::RenderLoopPrivate::dispatch() () from
/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f9149642783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f91496467ee in QTimer::timeout(QTimer::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f914963832f in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f9148be1713 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f914960ae2a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f91496633db in QTimerInfoList::activateTimers() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f9149661897 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f914316c142 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#29 0x00007f914960974b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f9149611ce4 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x0000563954435bad in ?? ()
#32 0x00007f91484b1d90 in __libc_start_call_main
(main=main@entry=0x563954435770, argc=argc@entry=1,
argv=argv@entry=0x7ffd1019bbe8) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f91484b1e40 in __libc_start_main_impl (main=0x563954435770, argc=1,
argv=0x7ffd1019bbe8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffd1019bbd8) at ../csu/libc-start.c:392
#34 0x0000563954436eb5 in ?? ()
[Inferior 1 (process 2525) detached]

STEPS TO REPRODUCE
1. Normal KDE use with chrome browser
2. 
3. 

OBSERVED RESULT
kwin_x11 gets abort signal and restarts with --crashes 1

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.4 
KDE Frameworks Version: 5.92.0 
Qt Version: 5.13.15

ADDITIONAL INFORMATION

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

Reply via email to