Bug 454603

Summary: crash when exponentiating (x^y) with y between 0 and 1.
Product: [Applications] kcalc Reporter: andreas.noack
Component: generalAssignee: Evan Teran <eteran>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description andreas.noack 2022-05-30 11:42:35 UTC
SUMMARY
There is a crash when exponentiating (x^y) with y between 0 and 1.

STEPS TO REPRODUCE
1. Type value != 1, e.g. "2"
2. Choose x^y operation
3. Type real value between 0 and 1, e.g. "0.5"
4. Press "="

OBSERVED RESULT
> kcalc
free(): invalid next size (fast)
fish: Job 1, 'kcalc' terminated by signal SIGABRT (Abbruch)
(whereby gdb additionally shows: 0x00007ffff627736c in ?? () from /usr/lib/libc.so.6)

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: Version 5.94.0
Qt Version: Version 5.15.4 (built against 5.15.3)

ADDITIONAL INFORMATION
Might be a duplicate of #230757 but still persists in 2022
Comment 1 Antonio Rojas 2022-05-30 11:44:21 UTC

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