Bug 504627 - Running many apps with --help prints errors to the terminal
Summary: Running many apps with --help prints errors to the terminal
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-21 17:17 UTC by Coacher
Modified: 2025-06-20 14:13 UTC (History)
1 user (show)

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 Coacher 2025-05-21 17:17:39 UTC
STEPS TO REPRODUCE
1. Run `systemsettings -- help` or `ark --help` or `dolphin --help` 

OBSERVED RESULT
Similar lines are printed in the terminal after the help message:
QThreadStorage: entry 9 destroyed before end of thread 0x564b3690b780
QThreadStorage: entry 4 destroyed before end of thread 0x564b3690b780
QThreadStorage: entry 3 destroyed before end of thread 0x564b3690b780

EXPECTED RESULT
Only the help message is shown

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
Running these apps from the terminal and cleanly closing them prints no such errors
Comment 1 TraceyC 2025-05-21 23:28:58 UTC
I don't see the errors in git-master for systemsettings or Dolphin. For instance

❯ systemsettings -- help
❯ 

❯ kde-builder --run dolphin
 * Skipped metadata update, but it hasn't been updated recently!
################################################################################
Executable:         dolphin
Arguments:          
PID:                132274
################################################################################
❯ 

I do see the QThreadStorage messages when running Dolphin or Kate from the repo installation (6.3.5)
This is likely fixed with 6.4.0.  Can you please re-test when your system has updated to 6.4.0, or test in a beta installation? Thanks.
Comment 2 Bug Janitor Service 2025-06-05 03:48:01 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Coacher 2025-06-17 10:16:44 UTC
> This is likely fixed with 6.4.0.  Can you please re-test when your system has updated to 6.4.0, or test in a beta installation? Thanks.
I will test and report back when 6.4.0 hits Fedora stable
Comment 4 Coacher 2025-06-20 14:13:12 UTC
Not reproducible in Plasma 6.4.0 on Fedora 42