Bug 361568 - Systemd KCM deadlock on start
Summary: Systemd KCM deadlock on start
Status: RESOLVED WORKSFORME
Alias: None
Product: Systemd KCM
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.2.1
Platform: ROSA RPMs Linux
: NOR grave
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-10 02:34 UTC by Pulfer
Modified: 2022-11-14 05:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pulfer 2016-04-10 02:34:13 UTC
Systemd KCM fails to start (deadlock after "Volatile partition"):

---------------
$ kcmshell5 kcm_systemd
QDBusArgument: read from a write-only object
QDBusArgument: read from a write-only object
QDBusArgument: read from a write-only object
true
Detected systemd 219
Persistent partition size found to:  30108 MB
Volatile partition size found to:  1948 MB
---------------

Qt 5.6.0, KF 5.20.0, Plasma 5.6.2.

Reproducible: Always
Comment 1 Pulfer 2016-04-10 02:35:00 UTC
This happens with latest systemd kcm master as well.
Comment 2 Pulfer 2016-04-11 14:46:02 UTC
After all it started, just took a long to do it. Looks like it happens because of blocking DBus call:

---------------
Detected systemd 219                                                                                                                       
Persistent partition size found to:  30108 MB                                                                                              
Volatile partition size found to:  1948 MB                                                                                                 
Invalid DBus interface on bus 2                                                                                                            
Refreshing system units...                                                                                                                 
Refreshing user units...                                                                                                                   
Invalid DBus interface on bus 2
---------------

Backtrace:

==============================
#0  0x00007f8c76d83720 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8c79acbe6a in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8c7b8d52d4 in  () at /usr/lib64/libQt5DBus.so.5
#3  0x00007f8c7b89b757 in  () at /usr/lib64/libQt5DBus.so.5
#4  0x00007f8c7b89be21 in  () at /usr/lib64/libQt5DBus.so.5
#5  0x00007f8c7b8a6bd5 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f8c7b8a6d45 in QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f8c5907405b in kcmsystemd::callDbusMethod(QString, dbusIface, dbusBus, QList<QVariant> const&) (this=this@entry=
    0x200fa60, method=..., ifaceName=ifaceName@entry=sysdMgr, bus=bus@entry=user, args=...)
    at /usr/src/debug/systemd-kcm-1.2.1/src/kcmsystemd.cpp:1518
#8  0x00007f8c5907e565 in kcmsystemd::kcmsystemd(QWidget*, QList<QVariant> const&) (this=this@entry=0x200fa60, parent=parent@entry=0x1f8bf30, args=...) at /usr/src/debug/systemd-kcm-1.2.1/src/kcmsystemd.cpp:122
#9  0x00007f8c5908847b in KPluginFactory::createInstance<kcmsystemd, QWidget>(QWidget*, QObject*, QList<QVariant> const&) (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:477
==============================
Comment 3 Pulfer 2016-04-11 14:55:57 UTC
More debug info. There's about 1 minute lock after each bus 2 method calling.

---------------
Detected systemd 219
Persistent partition size found to:  30108 MB
Volatile partition size found to:  1948 MB
Calling method "Subscribe" with iface 0 on bus 0
Calling method "Subscribe" with iface 0 on bus 2
Invalid DBus interface on bus 2
Refreshing system units...
Calling method "ListUnits" with iface 0 on bus 0
Calling method "ListUnitFiles" with iface 0 on bus 0
Refreshing user units...
Calling method "ListUnits" with iface 0 on bus 2
Invalid DBus interface on bus 2
---------------
Comment 4 Justin Zobel 2022-10-15 10:59:50 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported and confirmed, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-10-30 05:03:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-11-14 05:16:47 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!