You are not logged in.

#1 2018-03-30 21:36:43

avi9526
Member
Registered: 2015-05-15
Posts: 116

[SOLVED] plasma freezing after latest updates

Plasma suddenly not starting. Not crashing, looks like freeze

things that got updated

boost-1.66.0-2  boost-libs-1.66.0-2  brltty-5.6-2  cups-2.2.7-1  dovecot-2.3.1-2  firefox-59.0.2-2  foomatic-db-engine-4:4.0.13-1  gap-4.8.10-3  graphicsmagick-1.3.28-2  gst-plugins-bad-1.14.0-2  gtkwave-3.3.89-1  harfbuzz-1.7.6-2  harfbuzz-icu-1.7.6-2  ibus-qt-1.3.3-10  icu-61.1-1  igraph-0.7.1-7  lib32-harfbuzz-1.7.6-2  lib32-icu-61.1-1  lib32-libxml2-2.9.8-2  libcdr-0.1.4-3  libcups-2.2.7-1  libe-book-0.1.3-2  libfbclient-2.5.7.27050-5  libical-3.0.3-2  libmspub-0.1.4-2  libqalculate-2.2.1-3  libqxp-0.0.1-2  libreoffice-fresh-6.0.2-3  libsynctex-2017.44590-13  libvirt-python-4.1.0-1  libvirt-python2-4.1.0-1  libvisio-0.1.6-3  libxml2-2.9.8-2  libzmf-0.0.2-3  linux-lts-4.14.31-1  ostree-2018.4-1  php-7.2.4-1  php-cgi-7.2.4-1  php-embed-7.2.4-1  php-enchant-7.2.4-1  php-fpm-7.2.4-1  php-gd-7.2.4-1  php-imap-7.2.4-1  php-intl-7.2.4-1  php-odbc-7.2.4-1  php-pgsql-7.2.4-1  php-phpdbg-7.2.4-1  php-pspell-7.2.4-1  php-snmp-7.2.4-1  php-sqlite-7.2.4-1  php-tidy-7.2.4-1  php-xsl-7.2.4-1  pigeonhole-0.5.1-2  qt4-4.8.7-24  qt5-base-5.10.1-7  qt5-location-5.10.1-2  qt5-webkit-5.212.0alpha2-14  r-3.4.4-2  raptor-2.0.15-8  tesseract-3.05.01-4  texlive-bin-2017.44590-13  thunderbird-52.7.0-2  webkit2gtk-2.20.0-2

I suspect

ibus-qt-1.3.3-10
qt4-4.8.7-24
qt5-base-5.10.1-7
qt5-location-5.10.1-2
qt5-webkit-5.212.0alpha2-14
webkit2gtk-2.20.0-2

but can't check now.

Anyone has such problem?

Last edited by avi9526 (2018-03-31 16:03:59)

Offline

#2 2018-03-30 21:47:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,911
Website

Re: [SOLVED] plasma freezing after latest updates

Please post the output of

pacman -Qm

as well as the journal from an affected session.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-03-31 10:02:18

avi9526
Member
Registered: 2015-05-15
Posts: 116

Re: [SOLVED] plasma freezing after latest updates

pacman -Qm

hunspell-ru 20131101-2
hunspell-uk 2.0.0-1
nextcloud-client 2.3.2-2
package-query 1.8-2
php-redis 3.1.2-3
plymouth 0.9.2-12
postfix-policyd-spf-perl 2.010-3
python-scikit-image 0.12.3-1
python-tifffile 0.9.2-1
python2-iniparse 0.4-4
python2-scikit-image 0.12.3-1
python2-tifffile 0.9.2-1
svox-pico-bin 1.0+git20130326-5
tor-browser 7.0.1-1
tortoisehg 4.5-0
ttf-cm-unicode 0.7.0-2
ttf-ms-win10 10.0.16299.192-1
yakuake-skin-breeze 1.0-4
yakuake-skin-breeze-dark 1.0.3-2
yakuake-skin-steampunk 1.0-1
yaourt 1.8.1-1

Plasma stop freezing after downgrading package libcups (2.2.7-1 => 2.2.6-4)

Console output of current plasmashell launched with old libcups

…
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
org.kde.plasmaquick: New Applet  "Printers" with a weight of 0
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
org.kde.plasmaquick: Delayed preload of  "Application Menu" after 0.238 seconds
trying to show an empty dialog
org.kde.plasmaquick: Applet "Application Menu" loaded after 40 msec
Plasma Shell startup completed
libkcups: 0
libkcups: 0
org.kde.plasmaquick: New Applet  "Media Player" with a weight of 0
trying to show an empty dialog
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_14.2.analog-stereo.monitor"

with new libcups

…
libkcups: 1

PS this happens also for new user, I assume it's not user configuration related

Last edited by avi9526 (2018-03-31 10:03:36)

Offline

#4 2018-03-31 10:22:07

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] plasma freezing after latest updates

Back in January, there was this printed by pacman after upgrading cups:

Cups daemon is now running under "cups" user+group.
Please make sure to enable the new user+group change in
/etc/cups/cups-files.conf or merge changes from
/etc/cups/cups-files.conf.default. After a service restart
make sure /etc/cups and all files within are owned by
cups group - run "chgrp -R cups /etc/cups".

I didn't see those messages at that time and never made those changes that were described there. Today I wanted to print something, and it didn't work. After fixing the config file and doing the "sudo chgrp ..." thing, printing worked again.

Maybe you also never followed those instructions and this was fine at first, but now libcups had a change that makes Plasma crash?

Last edited by Ropid (2018-03-31 10:22:54)

Offline

#5 2018-03-31 10:31:09

avi9526
Member
Registered: 2015-05-15
Posts: 116

Re: [SOLVED] plasma freezing after latest updates

My
config seems to be ok

--- /etc/cups/cups-files.conf
+++ /etc/cups/cups-files.conf.default
 
-SystemGroup sys root lpadmin
+SystemGroup sys root

and I've done "sudo chgrp …" before

But I have umask 0077, maybe need more permission changes

Last edited by avi9526 (2018-03-31 10:33:38)

Offline

#6 2018-03-31 16:03:44

avi9526
Member
Registered: 2015-05-15
Posts: 116

Re: [SOLVED] plasma freezing after latest updates

I have found the issue
New libcups seems to have some changes in config parsing
My config /etc/cups/cupsd.conf had a lot of   

AuthType Default

it was working flawlessly before, but with new libcups version it does ask password for any operation, even for getting list of printers.
Removing this lines to match cupsd.conf.pacnew solved issue, nor any printing ask for password, nor plasma freezing.

I think plasma tried to list printers, but was not able to do so due to required auth, instead of continue startup it did silent freeze

SOLVED

Last edited by avi9526 (2018-03-31 16:05:00)

Offline

Board footer

Powered by FluxBB