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

--- Comment #31 from adam.br...@fenixhaven.com ---
I tried this on kwin 6.3.2, and at least on my hardware it doesn't seem to be
problem anymore - enabled previews on both alt+tab and on panel.

However, I still perceive a noticeable lag when I run a specific app -
jetbrains-toolbox, the lag is a few seconds on startup and then its gone but
its very annoying. At first I thought it was the same bug, since they started
happening roughly at the same time, but perhaps they are different.

I gathered two backtraces, both tried to lock some file 
(~/.cache/ksycoca6_sk_nop9DZq8nJaIQSYW9C_NnZLWhVc=):

> #0  0x0000792cd86abbe2 in ??? () at /usr/lib/libc.so.6
> #1  0x0000792cd869fe33 in ??? () at /usr/lib/libc.so.6
> #2  0x0000792cd86f0a82 in clock_nanosleep () at /usr/lib/libc.so.6
> #3  0x0000792cd86fcc27 in nanosleep () at /usr/lib/libc.so.6
> #4  0x0000792cd8127dbb in QLockFile::tryLock(std::chrono::duration<long, 
> std::ratio<1l, 1000l> >) () at /usr/lib/libQt6Core.so.6
> #5  0x0000792cd9bd0871 in KBuildSycoca::recreate(bool) () at 
> /usr/lib/libKF6Service.so.6
> #6  0x0000792cd9bb6f42 in KSycocaPrivate::buildSycoca() () at 
> /usr/lib/libKF6Service.so.6
> #7  0x0000792cd9bb7133 in 
> KSycocaPrivate::checkDatabase(QFlags<KSycocaPrivate::BehaviorIfNotFound>) () 
> at /usr/lib/libKF6Service.so.6
> #8  0x0000792cd9bb94ca in KSycoca::ensureCacheValid() () at 
> /usr/lib/libKF6Service.so.6
> #9  0x0000792cd9bb01a1 in KService::serviceByStorageId(QString const&) () at 
> /usr/lib/libKF6Service.so.6
> #10 0x0000792cda9a12e0 in ??? () at /usr/lib/libKGlobalAccelD.so.0
> #11 0x0000792cda9954a9 in GlobalShortcutsRegistry::refreshServices() () at 
> /usr/lib/libKGlobalAccelD.so.0
> #12 0x0000792cd81b1a49 in ??? () at /usr/lib/libQt6Core.so.6
> #13 0x0000792cd81baa75 in QTimer::timerEvent(QTimerEvent*) () at 
> /usr/lib/libQt6Core.so.6
> #14 0x0000792cd81a2ef9 in QObject::event(QEvent*) () at 
> /usr/lib/libQt6Core.so.6
> #15 0x0000792cd94ff0ca in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) () at /usr/lib/libQt6Widgets.so.6
> #16 0x0000792cd8155b00 in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) () at /usr/lib/libQt6Core.so.6
> #17 0x0000792cd82d5aff in QTimerInfoList::activateTimers() () at 
> /usr/lib/libQt6Core.so.6
> #18 0x0000792cd82de408 in 
> QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
> at /usr/lib/libQt6Core.so.6
> #19 0x0000792cd8e61d93 in 
> QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> () at /usr/lib/libQt6Gui.so.6
> #20 0x0000792cd81606a6 in 
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at 
> /usr/lib/libQt6Core.so.6
> #21 0x0000792cd81591d6 in QCoreApplication::exec() () at 
> /usr/lib/libQt6Core.so.6
> #22 0x000055bf2ca2607b in ??? ()
> #23 0x0000792cd8635488 in ??? () at /usr/lib/libc.so.6
> #24 0x0000792cd863554c in __libc_start_main () at /usr/lib/libc.so.6
> #25 0x000055bf2ca2c3f5 in ??? ()

and

> #0  __syscall_cancel_arch () at 
> ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
> #1  0x0000792cd869fe33 in __internal_syscall_cancel
>     (a1=a1@entry=0, a2=a2@entry=0, a3=<optimized out>, a4=<optimized out>, 
> a5=a5@entry=0, a6=a6@entry=0, nr=230) at cancellation.c:49
> #2  0x0000792cd86f0a82 in __GI___clock_nanosleep (clock_id=<optimized out>,
>     clock_id@entry=0, flags=flags@entry=0, req=<optimized out>, 
> rem=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
> #3  0x0000792cd86fcc27 in __GI___nanosleep (req=<optimized out>, 
> rem=<optimized out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
> #4  0x0000792cd8127dbb in qt_nanosleep (amount=...) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:573
> #5  QThread::sleep (nsec=std::chrono::duration = { <optimized out>ns })
>     at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:593
> #6  QLockFile::tryLock (this=<optimized out>, timeout=std::chrono::duration = 
> { <optimized out>ms },
>     timeout@entry=std::chrono::duration = { 9223372036854775807ms }) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/io/qlockfile.cpp:320
> #7  0x0000792cd81280b3 in QLockFile::lock (this=<optimized out>) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/io/qlockfile.cpp:233
> #8  0x0000792cd9bd0871 in KBuildSycoca::recreate (this=0x7ffced67e690, 
> incremental=true)
>     at /usr/src/debug/kservice/kservice-6.11.0/src/sycoca/kbuildsycoca.cpp:353
> #9  0x0000792cd9bb6f42 in KSycocaPrivate::buildSycoca 
> (this=this@entry=0x55bf3b7f25c0)
>     at /usr/src/debug/kservice/kservice-6.11.0/src/sycoca/ksycoca.cpp:668
> #10 0x0000792cd9bb704e in KSycocaPrivate::checkDirectories 
> (this=this@entry=0x55bf3b7f25c0)
>     at /usr/src/debug/kservice/kservice-6.11.0/src/sycoca/ksycoca.cpp:639
> #11 0x0000792cd9bb7133 in KSycocaPrivate::checkDatabase (this=0x55bf3b7f25c0, 
> ifNotFound=ifNotFound@entry=...)
>     at /usr/src/debug/kservice/kservice-6.11.0/src/sycoca/ksycoca.cpp:469
> #12 0x0000792cd9bb94ca in KSycoca::ensureCacheValid (this=0x55bf3b78c620) at 
> /usr/include/qt6/QtCore/qflags.h:74
> #13 0x0000792cd9bb01a1 in KService::serviceByStorageId (_storageId=...)
>     at /usr/src/debug/kservice/kservice-6.11.0/src/services/kservice.cpp:435
> #14 0x0000792cda9a12e0 in 
> GlobalShortcutsRegistry::refreshServices()::{lambda(std::unique_ptr<Component,
>  void (*)(Component*)> const&)#1}::operator()(std::unique_ptr<Component, void 
> (*)(Component*)> const&) const [clone .isra.0]
>     (component=std::unique_ptr<Component> = {...}, __closure=<optimized out>)
>     at 
> /usr/src/debug/kglobalacceld/kglobalacceld-6.3.2/src/globalshortcutsregistry.cpp:938
> #15 0x0000792cda9954a9 in 
> __gnu_cxx::__ops::_Iter_pred<GlobalShortcutsRegistry::refreshServices()::<lambda(const
>  GlobalShortcutsRegistry::ComponentPtr&)> 
> >::operator()<__gnu_cxx::__normal_iterator<std::unique_ptr<Component, void 
> (*)(Component*)>*, std::vector<std::unique_ptr<Component, void 
> (*)(Component*)> > > > (this=<synthetic pointer>, __it=Python Exception 
> <class 'gdb.error'>: value has been optimized out
> ) at /usr/include/c++/14.2.1/bits/predefined_ops.h:318
> #16 std::__find_if<__gnu_cxx::__normal_iterator<std::unique_ptr<Component, 
> void (*)(Component*)>*, std::vector<std::unique_ptr<Component, void 
> (*)(Component*)> > >, 
> __gnu_cxx::__ops::_Iter_pred<GlobalShortcutsRegistry::refreshServices()::<lambda(const
>  GlobalShortcutsRegistry::ComponentPtr&)> > > 
> (__first=std::unique_ptr<Component> = {...}, 
> __last=std::unique_ptr<Component> = {...}, __pred=...)
>     at /usr/include/c++/14.2.1/bits/stl_algobase.h:2107
> #17 std::__find_if<__gnu_cxx::__normal_iterator<std::unique_ptr<Component, 
> void (*)(Component*)>*, std::vector<std::unique_ptr<Component, void 
> (*)(Component*)> > >, 
> __gnu_cxx::__ops::_Iter_pred<GlobalShortcutsRegistry::refreshServices()::<lambda(const
>  GlobalShortcutsRegistry::ComponentPtr&)> > > (__first=Python Exception 
> <class 'gdb.error'>: value has been optimized out
> , __last=Python Exception <class 'gdb.error'>: value has been optimized out
> , __pred=...) at /usr/include/c++/14.2.1/bits/stl_algobase.h:2152
> #18 std::__remove_if<__gnu_cxx::__normal_iterator<std::unique_ptr<Component, 
> void (*)(Component*)>*, std::vector<std::unique_ptr<Component, void 
> (*)(Component*)> > >, 
> __gnu_cxx::__ops::_Iter_pred<GlobalShortcutsRegistry::refreshServices()::<lambda(const
>  GlobalShortcutsRegistry::ComponentPtr&)> > > (__first=Python Exception 
> <class 'gdb.error'>: value has been optimized out
> , __last=std::unique_ptr<Component> = {...}, __pred=...)
>     at /usr/include/c++/14.2.1/bits/stl_algobase.h:2174
> #19 std::remove_if<__gnu_cxx::__normal_iterator<std::unique_ptr<Component, 
> void (*)(Component*)>*, std::vector<std::unique_ptr<Component, void 
> (*)(Component*)> > >, 
> GlobalShortcutsRegistry::refreshServices()::<lambda(const 
> GlobalShortcutsRegistry::ComponentPtr&)> > (__first=Python Exception <class 
> 'gdb.error'>: value has been optimized out
>         
>    , __last=Python Exception <class 'gdb.error'>: value has been optimized out
> , __pred=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:832
> #20 GlobalShortcutsRegistry::refreshServices
>     (this=0x792cda9aea40 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous 
> namespace)::Q_QGS__self> >::instance()::holder>)
>     at 
> /usr/src/debug/kglobalacceld/kglobalacceld-6.3.2/src/globalshortcutsregistry.cpp:931
> #21 0x0000792cd81b1a49 in QtPrivate::QSlotObjectBase::call
>     (this=0x55bf3b7f9860, r=0x792cda9aea40 
> <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__self> 
> >::instance()::holder>, a=0x7ffced67ea80, this=<optimized out>, r=<optimized 
> out>, a=<optimized out>)
>     at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486
> #22 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, 
> argv=<optimized out>)
>     at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4115
> #23 0x0000792cd81baa75 in QTimer::timeout
>     (this=0x792cda9aeac0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous 
> namespace)::Q_QGS__self> >::instance()::holder+128>, _t1=...)
>     at 
> /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:223
> #24 QTimer::timerEvent
>     (e=<optimized out>, this=0x792cda9aeac0 
> <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__self> 
> >::instance()::holder+128>) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:285
> #25 QTimer::timerEvent
>     (this=0x792cda9aeac0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous 
> namespace)::Q_QGS__self> >::instance()::holder+128>, e=<optimized out>) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:279
> #26 0x0000792cd81a2ef9 in QObject::event
>     (this=0x792cda9aeac0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous 
> namespace)::Q_QGS__self> >::instance()::holder+128>, e=0x7ffced67ec30) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1393
> #27 0x0000792cd94ff0ca in QApplicationPrivate::notify_helper
>     (this=<optimized out>, receiver=0x792cda9aeac0 
> <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__self> 
> >::instance()::holder+128>, e=0x7ffced67ec30) at 
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296
> #28 0x0000792cd8155b00 in QCoreApplication::notifyInternal2
>     (receiver=0x792cda9aeac0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous 
> namespace)::Q_QGS__self> >::instance()::holder+128>, event=0x7ffced67ec30) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172
> #29 0x0000792cd82d5aff in QCoreApplication::sendEvent (receiver=<optimized 
> out>, event=0x7ffced67ec30)
>     at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1612
> #30 QTimerInfoList::activateTimers (this=<optimized out>) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:426
> #31 0x0000792cd82de408 in QEventDispatcherUNIXPrivate::activateTimers 
> (this=0x55bf3b447300)
>     at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:199
> #32 QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., 
> flags@entry=...)
>     at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:475
> #33 0x0000792cd8e61d93 in QUnixEventDispatcherQPA::processEvents 
> (this=<optimized out>, flags=...)
>     at 
> /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:27
> #34 0x0000792cd81606a6 in QEventLoop::processEvents (this=0x7ffced67ee30, 
> flags=...)
>     at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103
> #35 QEventLoop::exec (this=0x7ffced67ee30, flags=...) at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185
> #36 0x0000792cd81591d6 in QCoreApplication::exec () at 
> /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
> #37 0x0000792cd94faf9a in QApplication::exec () at 
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2564
> #38 0x000055bf2ca2607b in main (argc=<optimized out>, argv=<optimized out>) 
> at /usr/src/debug/kwin/kwin-6.3.2.1/src/main_wayland.cpp:622

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

Reply via email to