Bug 445719

Summary: Stack Smashing Crash
Product: [Applications] krita Reporter: SimplyCorbett <thezombiehunter>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: alvin, halla, sam, shuber
Priority: NOR    
Version: 4.4.8   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: GDB Crash
BT
BT Full

Description SimplyCorbett 2021-11-18 19:59:17 UTC
Created attachment 143708 [details]
GDB Crash

Gentoo bug: https://bugs.gentoo.org/824286


STEPS TO REPRODUCE
1.  Open krita
2.  Open colorwheel (push button on pen) with all the brushes. Click one of the two colors on the top left of the wheel repeatedly until it crashes. (crashes randomly too, but I can always replicate it using this method)

OBSERVED RESULT
Crashes with stack smashing detected.

EXPECTED RESULT
No crashing

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Gentoo / 5.23.3
(available in About System)
KDE Plasma Version:  5.23.3
KDE Frameworks Version:  5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Will attach BT and BT Full.
Comment 1 SimplyCorbett 2021-11-18 19:59:37 UTC
Created attachment 143709 [details]
BT
Comment 2 SimplyCorbett 2021-11-18 19:59:51 UTC
Created attachment 143710 [details]
BT Full
Comment 3 Alvin Wong 2021-11-19 09:14:33 UTC
This is a Qt bug that affects Qt 5.15 but not 5.12. On IRC, Lynx3d found that it has been reported and fixed upstream [1]. Perhaps we should try to get the fix included in KDE's Qt5 patch collection.

[1] https://bugreports.qt.io/browse/QTBUG-92188
Comment 4 Halla Rempt 2021-11-19 09:49:47 UTC
Yes, that would be good.
Comment 6 Halla Rempt 2021-11-20 09:44:29 UTC
*** Bug 445795 has been marked as a duplicate of this bug. ***