Qalculate SIGABRTs with exp($large_number)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Qalculate! (GTK+ UI) |
Unknown
|
Unknown
|
|||
libqalculate (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
qalculate-gtk (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: qalculate
alex@fizz:~$ qalc
> exp(1)
exp(1) = approx. 2.7182818
> exp(1E10)
terminate called after throwing an instance of 'cln::runtime_
what(): Out of virtual memory.
Aborted
alex@fizz:~$ qalc
> exp(-1E10)
terminate called after throwing an instance of 'cln::runtime_
what(): Not a 32-bit integer: 14426950664
Aborted
Also affects the GTK version.
ProblemType: Bug
Architecture: amd64
Date: Fri May 23 18:13:13 2008
Dependencies:
DistroRelease: Ubuntu 8.04
NonfreeKernelMo
Package: qalculate None [modified: /var/lib/
PackageArchitec
ProcEnviron:
PATH=/
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: qalculate-gtk
Uname: Linux 2.6.24-17-generic x86_64
affects: | qalculate (Ubuntu) → libqalculate (Ubuntu) |
Confirming this for the current version (0.9.6-2). Although I get different error messages on my 32 bit system:
terminate called after throwing an instance of 'cln::floating_ point_overflow_ exception'
what(): floating point overflow.
for exp(1e10) and the same with "underflow" for exp(-1e10).
As this problem also occurs with qalculate from the developer homepage, I forwarded this bug upstream.