Bug 437621

Summary: Konsole crashes on start if random rotating colors in profile
Product: [Applications] konsole Reporter: Joshua Clayton <stillcompiling>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ninjalj, rdieter
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joshua Clayton 2021-05-24 17:59:07 UTC
SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
Immediate crash
[joshua@joshua-spectre ~]$ konsole
/usr/include/c++/11/bits/random.tcc:3055: void std::piecewise_linear_distribution<_RealType>::param_type::_M_initialize() [with _RealType = double]: Assertion '__sum > 0' failed.
KCrash: Application 'konsole' crashing...



EXPECTED RESULT
Running Konsole

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: fedora 34 x11
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 8.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

The problem went away when I removed .local/share/konsole, and returns when I put  a profile colorscheme back into the directory from before the upgrade. The colorscheme includes a random rotating background color. When I reenable the  feature "Edit Current Profile" -> "Appearance" -> "Color Scheme & Font" -> "Edit" -> "Randomly adjust colors for each session", it again crashes, even if it was running successfully before.
Also Filed a bug with fedora. Don't know if its their bug
Comment 1 ninjalj 2021-05-24 18:45:08 UTC

*** This bug has been marked as a duplicate of bug 434892 ***