Bug 510785 - QThreadStorage errors after running "konsole --help"
Summary: QThreadStorage errors after running "konsole --help"
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-19 12:15 UTC by timofey
Modified: 2025-10-19 13:12 UTC (History)
1 user (show)

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


Attachments
screenshot of the observed result (162.67 KB, image/png)
2025-10-19 12:15 UTC, timofey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description timofey 2025-10-19 12:15:41 UTC
Created attachment 185900 [details]
screenshot of the observed result

SUMMARY
When I launch console from the shell using arguments like
konsole --help
konsole --version

I get errors like these:
QThreadStorage: entry 8 destroyed before end of thread 0x555fa0013cc0
QThreadStorage: entry 4 destroyed before end of thread 0x555fa0013cc0
QThreadStorage: entry 3 destroyed before end of thread 0x555fa0013cc0

According to https://bugs.kde.org/show_bug.cgi?id=503421, this bug already existed and should have been fixed in QT 6.9. However, I have QT 6.10.0, and the bug is still present.

STEPS TO REPRODUCE
1. Run shell (in example, konsole)
2. write "konsole --version" or "konsole --help" in example
3. Get errors about QThreadStorage

OBSERVED RESULT
These errors are displayed after the main content.

EXPECTED RESULT
These errors are not displayed.

ADDITIONAL INFORMATION
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.3-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Phenom(tm) II X6 1055T Processor
Memory: 16 ГиБ of RAM (15.6 ГиБ usable)
Graphics Processor: NVIDIA GeForce GTX 1050 Ti
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: GA-770T-D3L
Comment 1 Жора Змейкин 2025-10-19 13:12:43 UTC
I can reproduce this with Qt 6.9.2, and also with the Flathub and nightly KDE Flatpak versions of Konsole.

Operating System: ALT Linux 20250612
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.12-6.16-alt1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 16 ГиБ of RAM (15.5 ГиБ usable)
Graphics Processor 1: Mesa Intel® HD Graphics 5500
Graphics Processor 2: Mesa Intel® HD Graphics 5500
Manufacturer: Acer
Product Name: Aspire E5-573G
System Version: V3.72