Debian Bug report logs - #173433
xbase-clients: [xcalc] RPN stack behaviour is wrong

Package: x11-apps; Maintainer for x11-apps is Debian X Strike Force <[email protected]>; Source for x11-apps is src:x11-apps (PTS, buildd, popcon).

Reported by: Frank Lenaerts <[email protected]>

Date: Tue, 17 Dec 2002 13:18:03 UTC

Severity: normal

Tags: upstream

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Branden Robinson <[email protected]>, [email protected]:
Bug#173433; Package xbase-clients. (full text, mbox, link).


Acknowledgement sent to Frank Lenaerts <[email protected]>:
New Bug report received and forwarded. Copy sent to Branden Robinson <[email protected]>, [email protected]. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Frank Lenaerts <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: xbase-clients: [xcalc] RPN stack behaviour is wrong
Date: Tue, 17 Dec 2002 14:07:00 +0100
Package: xbase-clients
Version: 4.2.1-4
Severity: normal
Tags: upstream

The following calculations should all give 21, but give different
results: 

Operations to carry out                   xcalc result
------------------------------------------------------
9.8 Enter 2 * 0.7 Enter 2 * +             21          
2 Enter 9.8 * 0.7 Enter 2 * +             21          
9.8 Enter 2 * 2 Enter 0.7 * +             3.4         
2 Enter 9.8 * 2 Enter 0.7 * +             3.4         

The latter two cases are definitely wrong. It seems that the xcalc
result is taken from something like '2 Enter 2 Enter 0.7 * +' i.e. it
seems that the '2' is pushed onto the stack 2 times. It is strange
however, that this is not the case in the former two cases (the result
should have been 2.1 then, instead of 21).

A possibly related bug report is 93665. This bug report is already 1
year and 250 days old and sent upstream. Apparently, upstream does not
intend to fix this bug. 

If you ask me, this application (xcalc) should be removed if possible
(I don't know how it fits into the build system for xbase-clients as a
whole) as with these two bug reports, I consider this application
useless because the results cannot be trusted. Anyway, there are lots
of other calculators in Debian: dc, rpncalc, bc, ... .

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pluto 2.4.17 #1 Fri Jan 18 21:13:29 CET 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages xbase-clients depends on:
ii  cpp                       2:2.95.4-17    The GNU C preprocessor.
ii  debconf                   1.2.12         Debian configuration management sy
ii  libc6                     2.3.1-3        GNU C Library: Shared libraries an
ii  libdps1                   4.2.1-3        Display PostScript (DPS) client li
ii  libfreetype6              2.1.2-10       FreeType 2 font engine, shared lib
ii  libncurses5               5.3.20021109-1 Shared libraries for terminal hand
ii  libxaw7                   4.2.1-3        X Athena widget set library
ii  mesag3 [libgl1]           3.4.2.1-4      A 3-D graphics library which uses 
ii  xlibs                     4.2.1-3        X Window System client libraries

-- debconf information excluded




Bug marked as found in version 1:7.2.ds2-1. Request was from Brice Goglin <[email protected]> to [email protected]. (Mon, 09 Apr 2007 20:21:06 GMT) (full text, mbox, link).


Bug reassigned from package `xbase-clients' to `x11-apps'. Request was from Julien Cristau <[email protected]> to [email protected]. (Thu, 19 Jul 2007 21:09:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Dec 28 07:39:53 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.