Bug 21987 - plasmashell freeze (after upgrading from mga5 to mga6)
Summary: plasmashell freeze (after upgrading from mga5 to mga6)
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2017-11-06 11:40 CET by Bruno Cornec
Modified: 2020-08-06 16:44 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Bruno Cornec 2017-11-06 11:40:39 CET
Description of problem:
From time to time (not even related to a specific action done - it can happen when doing nothing interactively on the system) plasmashell freezes. a small window (sort of notification) appears on the right bottom hand side above the task bar, transparent without any info in it. Then the rest of icons are unavailable, the task bar is frozen. Killing plasmashell and restarting it relaunch the stuff, till next time. It can happen 10 times per day, as well as 50 times :-(

This is happening on a system where I did mga5 to mga6 upgrade, keeping the kde directory for this user. 

Launching manually plasmasheel gives lots of errors as below (eliminating duplicates):
$ plasmashell
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")                                                         
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")                                                         
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")
[...]
The image "widgets/scrollbar" doesn't contain any of the prefixes ("background-vertical")
The image "widgets/scrollbar" doesn't contain any of the prefixes ("background-vertical")
The image "widgets/scrollbar" doesn't contain any of the prefixes ("background-horizontal")
The image "widgets/scrollbar" doesn't contain any of the prefixes ("background-horizontal")
file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/TextArea.qml:938: TypeError: Cannot read property '__cursorHandle' of null
file:///usr/lib64/qt5/qml/QtQuick/Controls/TextArea.qml:902: TypeError: Cannot read property '__selectionHandle' of null
[...]
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::scale: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::brush: Painter not active
QPainter::setBrush: Painter not active
QPainter::pen: Painter not active
[ ... and many similar others ...]
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[...]
file:///usr/lib64/qt5/qml/QtQuick/Controls/ScrollView.qml:350: TypeError: Cannot read property 'padding' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:83: TypeError: Cannot read property 'Layout' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:62: TypeError: Cannot read property 'Timezone Abbreviation' of undefined
KActivities: Database connection:  "kactivities_db_resources_139849737955328_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/users/bruno/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:443:5: QML Text: Cannot anchor to a null item.
[...]
Plasma Shell startup completed
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
[...]
ktp-common-internals: Current presence changed
ktp-common-internals: Current presence changed
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QXcbConnection: XCB error: 2 (BadValue), sequence: 7457, resource id: 151260648, major code: 141 (Unknown), minor code: 3
QXcbConnection: XCB error: 2 (BadValue), sequence: 7458, resource id: 151213336, major code: 141 (Unknown), minor code: 3

At that point plasma shell seems to run ok.

Then just before freezing I generally get:

Currrent active notifications: QHash()
Guessing partOf as: 0
 New Notification:  "Konsole" "Avertissement sonore pour la session « Shell »" -1 & Part of: 0


I tried many things such as removing old kde4 libs without effect.

If anybody has a clue to debug this issue, that would be welcome (I have newly installed mga6 which do not show that behaviour, so I'm convinced it's linked to the previously existing kde directories in the home directory of the user, but I have no clue where to look). BTW the xsession-error log file isn't generated anymore to help with that.
Marja Van Waes 2017-11-06 13:15:40 CET

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 1 Aurelien Oudelet 2020-08-06 16:44:29 CEST
Know warnings that should be catched upstream.
Today 2020-08-06 (!) patch landed in git master...
See: https://bugs.kde.org/show_bug.cgi?id=424259

Also:
This message is a reminder that Mageia 6 is end of life.

Mageia stopped maintaining and issuing updates for Mageia 6. At that time this bug will be closed as OLD (EOL).

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 6's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we cannot 
be able to fix it before Mageia 6 was end of life.
If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad

Source RPM: plasma-workspace-5.8.7-6.mga6.src.rpm => (none)
CC: (none) => ouaurelien
Keywords: (none) => UPSTREAM
URL: (none) => https://bugs.kde.org/show_bug.cgi?id=424259
Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.