Bug 491432

Summary: plasma crashed after rebooting it manually via cmd, and trying to configure weather widget
Product: [Plasma] plasmashell Reporter: Matt Keays <keay_59>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.10   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-3271687-0.html

Description Matt Keays 2024-08-08 12:43:04 UTC
Application: plasmashell (5.27.10)

Qt Version: 5.15.10
Frameworks Version: 5.115.0
Operating System: Linux 6.9.11-amd64 x86_64
Windowing System: X11
Distribution: Kali GNU/Linux Rolling
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
The error message you're seeing indicates that the `QtQuick.XmlListModel` module, which is required by the `YrNo` weather provider in the KDE Plasma weather widget, is not installed on your system. Here's how you can resolve this issue:

### Steps to Resolve

1. **Install the Missing Qt Module:**
   You need to install the `qml-module-qtquick-xmllistmodel` package, which contains the `QtQuick.XmlListModel` module.

   If you are using a Debian-based distribution (like Ubuntu), you can install it using:

   ```bash
   sudo apt-get install qml-module-qtquick-xmllistmodel
   ```

   For Arch Linux and Manjaro:

   ```bash
   sudo pacman -S qt5-xmlpatterns
   ```

   For Fedora:

   ```bash
   sudo dnf install qt5-qtxmlpatterns
   ```

2. **Restart KDE Plasma:**
   After installing the module, restart KDE Plasma to ensure the widget loads correctly.

   You can do this by logging out and logging back in, or by running:

   ```bash
   kquitapp5 plasmashell
   kstart5 plasmashell
   ```

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fbb1b27fa2e in QtQml::qmlExecuteDeferred(QObject*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007fbb1b749ddd in QQuickTransition::prepare(QList<QQuickStateAction>&, QList<QQmlProperty>&, QQuickTransitionManager*, QObject*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fbb1b73f427 in QQuickTransitionManager::transition(QList<QQuickStateAction> const&, QQuickTransition*, QObject*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fbb19af984b in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fbb1a762f32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fbb19acc748 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fbb19b270c9 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fbb19b279cc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fbb1869be2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fbb1869deb7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fbb1869e4d0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fbb19b27d4a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fbb19acb0fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fbb19ad38a4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x000055fcfc768db4 in ?? ()
#19 0x00007fbb19242c8a in __libc_start_call_main (main=main@entry=0x55fcfc767ed0, argc=argc@entry=1, argv=argv@entry=0x7ffdd6d89c18) at ../sysdeps/nptl/libc_start_call_main.h:58
#20 0x00007fbb19242d45 in __libc_start_main_impl (main=0x55fcfc767ed0, argc=1, argv=0x7ffdd6d89c18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdd6d89c08) at ../csu/libc-start.c:360
#21 0x000055fcfc768ed1 in ?? ()
[Inferior 1 (process 148428) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2024-08-09 04:42:40 UTC
I'm afraid Plasma is not supported on Kali Linux.

Running everything as root is explicitly unsupported and never recommended, and will result in a million and a half other little weirdnesses like this.

If would like support from KDE for issues you encounter, I would encourage you to re-install your system with a more appropriate general-purpose Linux distro, such as one of the ones you can see at https://kde.org/distributions. If the issue still manifests after doing so, feel free to re-open this bug report.

Thanks for understanding!
Comment 2 Matt Keays 2024-08-09 13:17:09 UTC
Created attachment 172438 [details]
attachment-3271687-0.html

I managed to fix everything and kde is working fine so far on kali

Matthew Keays
________________________________
From: Nate Graham <bugzilla_noreply@kde.org>
Sent: Friday, August 9, 2024 1:42:40 AM
To: keay_59@outlook.com <keay_59@outlook.com>
Subject: [plasmashell] [Bug 491432] plasma crashed after rebooting it manually via cmd, and trying to configure weather widget

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

Nate Graham <nate@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |UNMAINTAINED
                 CC|                            |nate@kde.org
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Nate Graham <nate@kde.org> ---
I'm afraid Plasma is not supported on Kali Linux.

Running everything as root is explicitly unsupported and never recommended, and
will result in a million and a half other little weirdnesses like this.

If would like support from KDE for issues you encounter, I would encourage you
to re-install your system with a more appropriate general-purpose Linux distro,
such as one of the ones you can see at https://kde.org/distributions. If the
issue still manifests after doing so, feel free to re-open this bug report.

Thanks for understanding!

--
You are receiving this mail because:
You reported the bug.