Bug 454603 - crash when exponentiating (x^y) with y between 0 and 1.
Summary: crash when exponentiating (x^y) with y between 0 and 1.
Status: RESOLVED DUPLICATE of bug 454429
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-30 11:42 UTC by andreas.noack
Modified: 2022-05-30 11:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***