Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 6.0.2
-
Operating System: Arch Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.10-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2Operating System: Arch Linux KDE Plasma Version: 5.24.2 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.10-zen1-1-zen (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2
-
b748f531eec7745a6c0f99ff45d70c659e669f47
Description
When I build GammaRay https://github.com/KDAB/GammaRay/tree/work/qt6-support and attach to Qt Creator, then click GammaRay's Styles tab, Qt Creator crashes.
The stack trace points to https://github.com/qt-creator/qt-creator/blob/v6.0.2/src/plugins/coreplugin/manhattanstyle.cpp#L404. It seems ManhattanStyle::styleHint() calls a method on widget without verifying it's non-null on the QStyle::SH_Widget_Animation_Duration path. I'm not sure if there are other code bugs.