Bug 482700 - kscreen-doctor hangs when given incorrect parameters
Summary: kscreen-doctor hangs when given incorrect parameters
Status: CONFIRMED
Alias: None
Product: KScreen
Classification: Plasma
Component: kscreen-doctor (other bugs)
Version First Reported In: 5.27.10
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 12:09 UTC by Yann Salmon
Modified: 2025-05-27 19:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Salmon 2024-03-07 12:09:26 UTC
SUMMARY

When run with improper command line, kscreen-doctor seems to hang.


STEPS TO REPRODUCE
1. Run kscreen-doctor iopiop

OBSERVED RESULT
kscreen-doctor runs, outputing nothing.

EXPECTED RESULT
kscreen-doctor should fail in one way or the other.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-97-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Xeon® CPU E3-1245 v5 @ 3.50GHz
Memory: 15.5 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Comment 1 Bug Janitor Service 2024-03-07 12:34:54 UTC
Thank you for the bug report!

However Plasma 5.24.7 is no longer eligible for support or maintenance from KDE; supported versions are 5.27, and 5.27 or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 5.24.7, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
Comment 2 Yann Salmon 2024-03-07 12:52:37 UTC
Still happens with

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-97-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Xeon® CPU E3-1245 v5 @ 3.50GHz
Memory: 15.5 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Manufacturer: Dell Inc.
Comment 3 doze_planner877 2025-05-27 19:05:33 UTC
This does not happen for me on plasma 6.
Running kscreen-doctor iopiop or with other non-command text does not hang, and returns 0.
In this case i think it should return 1 and inform the user in some way (maybe prompt to use kscreen-doctor --help).

Operating System: EndeavourOS (with cachyos packages)
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.8-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 GAMING X