Bug 482523 - Plasma crashed in TaskManager::servicesFromPid() when changing focus from Chrome to MS Teams
Summary: Plasma crashed in TaskManager::servicesFromPid() when changing focus from Chr...
Status: RESOLVED DUPLICATE of bug 484807
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 6.0.0
Platform: NixOS Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-06 08:37 UTC by radoslaw.sniezek
Modified: 2024-06-14 12:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (89.21 KB, text/plain)
2024-03-06 08:37 UTC, radoslaw.sniezek
Details
kcrash data from possible reproduction. (88.19 KB, text/vnd.kde.kcrash-report)
2024-03-12 08:55 UTC, radoslaw.sniezek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description radoslaw.sniezek 2024-03-06 08:37:18 UTC
Application:  (6.0.0)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.6 x86_64
Windowing System: Wayland
Distribution: NixOS 24.05 (Uakari)
DrKonqi: 6.0.0 [CoredumpBackend]

-- Information about the crash:
When changing focus from chrome to ms teams, the desktop suddenly flickered and the taskbar stopped showing the active windows. The pinned applications are still launchable but no indications about open windows are seen. Alt-Tab is able to switch between windows (none were closed).

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#12 0x00007f387ec37474 in KSycocaFactory::allEntries() const () from /nix/store/wcb2pcfpcbc8wpns5nd8p8knzs9zzhah-kservice-6.0.0/lib/libKF6Service.so.6
#13 0x00007f387ec215f9 in KServiceFactory::allServices() () from /nix/store/wcb2pcfpcbc8wpns5nd8p8knzs9zzhah-kservice-6.0.0/lib/libKF6Service.so.6
#14 0x00007f387ec0f18e in KApplicationTrader::query(std::function<bool (QExplicitlySharedDataPointer<KService> const&)>) () from /nix/store/wcb2pcfpcbc8wpns5nd8p8knzs9zzhah-kservice-6.0.0/lib/libKF6Service.so.6
#15 0x00007f387052338a in TaskManager::servicesFromCmdLine(QString const&, QString const&, QExplicitlySharedDataPointer<KSharedConfig>) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#16 0x00007f3870527433 in TaskManager::servicesFromPid(unsigned int, QExplicitlySharedDataPointer<KSharedConfig>) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6


Reported using DrKonqi
Comment 1 radoslaw.sniezek 2024-03-06 08:37:19 UTC
Created attachment 166469 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nicolas Fella 2024-03-11 22:03:37 UTC
#4  0x00007f387d0a407c in __pthread_kill_implementation () from /nix/store/8mc30d49ghc8m5z96yz39srlhg5s9sjj-glibc-2.38-44/lib/libc.so.6
#5  0x00007f387d054e06 in raise () from /nix/store/8mc30d49ghc8m5z96yz39srlhg5s9sjj-glibc-2.38-44/lib/libc.so.6
#6  0x00007f387d03d8f5 in abort () from /nix/store/8mc30d49ghc8m5z96yz39srlhg5s9sjj-glibc-2.38-44/lib/libc.so.6
#7  0x00007f387d2acc0b in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /nix/store/9r8z1qr5jhv90fl2457qqml7qgk88fd6-gcc-13.2.0-lib/lib/libstdc++.so.6
#8  0x00007f387d2bc21a in __cxxabiv1::__terminate(void (*)()) () from /nix/store/9r8z1qr5jhv90fl2457qqml7qgk88fd6-gcc-13.2.0-lib/lib/libstdc++.so.6
#9  0x00007f387d2bc285 in std::terminate() () from /nix/store/9r8z1qr5jhv90fl2457qqml7qgk88fd6-gcc-13.2.0-lib/lib/libstdc++.so.6
#10 0x00007f387d2bc4d7 in __cxa_throw () from /nix/store/9r8z1qr5jhv90fl2457qqml7qgk88fd6-gcc-13.2.0-lib/lib/libstdc++.so.6
#11 0x00007f387d2ac816 in operator new(unsigned long) [clone .cold] () from /nix/store/9r8z1qr5jhv90fl2457qqml7qgk88fd6-gcc-13.2.0-lib/lib/libstdc++.so.6
#12 0x00007f387ec37474 in KSycocaFactory::allEntries() const () from /nix/store/wcb2pcfpcbc8wpns5nd8p8knzs9zzhah-kservice-6.0.0/lib/libKF6Service.so.6
#13 0x00007f387ec215f9 in KServiceFactory::allServices() () from /nix/store/wcb2pcfpcbc8wpns5nd8p8knzs9zzhah-kservice-6.0.0/lib/libKF6Service.so.6
#14 0x00007f387ec0f18e in KApplicationTrader::query(std::function<bool (QExplicitlySharedDataPointer<KService> const&)>) () from /nix/store/wcb2pcfpcbc8wpns5nd8p8knzs9zzhah-kservice-6.0.0/lib/libKF6Service.so.6
#15 0x00007f387052338a in TaskManager::servicesFromCmdLine(QString const&, QString const&, QExplicitlySharedDataPointer<KSharedConfig>) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#16 0x00007f3870527433 in TaskManager::servicesFromPid(unsigned int, QExplicitlySharedDataPointer<KSharedConfig>) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#17 0x00007f387052783f in TaskManager::windowUrlFromMetadata(QString const&, unsigned int, QExplicitlySharedDataPointer<KSharedConfig>, QString const&) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#18 0x00007f3870539401 in TaskManager::WaylandTasksModel::Private::appData(TaskManager::PlasmaWindow*) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#19 0x00007f387053d622 in TaskManager::WaylandTasksModel::data(QModelIndex const&, int) const () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#20 0x00007f387d9f3798 in QAbstractProxyModel::data(QModelIndex const&, int) const () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#21 0x00007f387d9f7482 in QConcatenateTablesProxyModel::data(QModelIndex const&, int) const () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#22 0x00007f38704fb2fc in TaskManager::TaskFilterProxyModel::acceptsRow(int) const () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#23 0x00007f387da06c0e in QSortFilterProxyModelPrivate::filterAcceptsRowInternal(int, QModelIndex const&) const () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#24 0x00007f387da15979 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QList<int> const&) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#25 0x00007f387d7ddc43 in void doActivate<false>(QObject*, int, void**) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#26 0x00007f387d9c4cac in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QList<int> const&) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#27 0x00007f387d9f803f in QConcatenateTablesProxyModelPrivate::_q_slotDataChanged(QModelIndex const&, QModelIndex const&, QList<int> const&) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#28 0x00007f387d7dde90 in void doActivate<false>(QObject*, int, void**) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#29 0x00007f387d9c4cac in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QList<int> const&) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#30 0x00007f387d9fd351 in QIdentityProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QList<int> const&) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#31 0x00007f387d7dde90 in void doActivate<false>(QObject*, int, void**) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#32 0x00007f387d9c4cac in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QList<int> const&) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#33 0x00007f38705360ca in TaskManager::WaylandTasksModel::Private::dataChanged(TaskManager::PlasmaWindow*, int) () from /nix/store/qyl5dg4xkcs6nyr4drnwddm2flspg1rc-plasma-workspace-6.0.0/lib/libtaskmanager.so.6
#34 0x00007f387d7ddc43 in void doActivate<false>(QObject*, int, void**) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#35 0x00007f387d7ddc43 in void doActivate<false>(QObject*, int, void**) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#36 0x00007f387d934174 in QFutureWatcherBase::event(QEvent*) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#37 0x00007f387fd92b71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Widgets.so.6
#38 0x00007f387d77cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#39 0x00007f387d7809c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#40 0x00007f387da3a783 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#41 0x00007f387c912744 in g_main_dispatch () from /nix/store/g0gc1ls4p1rwcx7k5qr153rs71ir8ixn-glib-2.78.4/lib/libglib-2.0.so.0
#42 0x00007f387c915797 in g_main_context_iterate_unlocked.isra () from /nix/store/g0gc1ls4p1rwcx7k5qr153rs71ir8ixn-glib-2.78.4/lib/libglib-2.0.so.0
#43 0x00007f387c915d8c in g_main_context_iteration () from /nix/store/g0gc1ls4p1rwcx7k5qr153rs71ir8ixn-glib-2.78.4/lib/libglib-2.0.so.0
#44 0x00007f387da3a15c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#45 0x00007f387d789bc3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#46 0x00007f387d785d46 in QCoreApplication::exec() () from /nix/store/gj1wwz0ry8i36kqqb3vjc8dwd50fcs5y-qtbase-6.6.2/lib/libQt6Core.so.6
#47 0x000000000042c311 in main ()
Comment 3 Nicolas Fella 2024-03-11 22:14:59 UTC
Unfortunately your backtrace is missing debug symbols, making it hard to tell what's going on.

Can you please install debug symbols and upload a new backtrace?
Comment 4 radoslaw.sniezek 2024-03-12 08:54:33 UTC
(In reply to Nicolas Fella from comment #3)
> Unfortunately your backtrace is missing debug symbols, making it hard to
> tell what's going on.
> 
> Can you please install debug symbols and upload a new backtrace?

I will try but I am not sure if this will reporduce. I had similar crash today but the result was less severe, everyghing still worked after the "Report bug" window poped, just one window flickered. Will try to upload as is and later will try to add debug symbols.
Comment 5 radoslaw.sniezek 2024-03-12 08:55:37 UTC
Created attachment 167020 [details]
kcrash data from possible reproduction.
Comment 6 Nicolas Fella 2024-03-16 14:29:54 UTC
It's hard to tell because of the lack of debug symbols, but it crashes somewhere in KService.

This might be specific to NixOS's way of doing things
Comment 7 Akseli Lahtinen 2024-06-14 12:21:02 UTC
Very likely dupe of 484807, the backtrace looks similar to me. But it also could be related to nix.

If you can repro the backtrace with debug symbols, you can send it here.

*** This bug has been marked as a duplicate of bug 484807 ***