Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HP49g: UNDO Bug

3 views
Skip to first unread message

Pablo Bleyer Kocik

unread,
Mar 13, 2000, 3:00:00 AM3/13/00
to
Hi!
I'm using ROM version 1.17-7 and I get the following bug when
I attempt to process list functions by menus. Please tell me if
anyone can reproduce it in the same or other ROM version. (This
only halts the caculator, you can safely recover with ON+C... at
least in my HP49g so I disclaim everything ;^)

1. Put a list in the stack, e.g. "{ 1 }"
2. Go to the list procedures program menu
(PRG->LIST->PROCEDURES..)
3. Select, e.g., the "STREAM" function (yes, I know this is a
syntax error)
4. Effectively, it's a "STREAM Error: Too Few Arguments"
5. Now, immediately attempt an UNDO (Shift right + HIST)
6. Zzzzz.... The clock is there but you can't cancel or do
anything...
7. Press ON+C to recover...

It doesn't happen when you type "STREAM" instead of doing it
by the menu... so I think it is a bug ;^)
Cheers!

--
Pablo Bleyer Kocik |"And all this science I don't understand
pbleyer | It's just my job five days a week
@dgf.uchile.cl | A rocket man, a rocket man..." - Elton John

from sys import*;from string import*;a=argv;[s,p,q]=filter(lambda x:x[:1]!=
'-',a);d='-d'in a;e,n=atol(p,16),atol(q,16);l=(len(q)+1)/2;o,inb=l-d,l-1+d
while s:s=stdin.read(inb);s and map(stdout.write,map(lambda i,b=pow(reduce(
lambda x,y:(x<<8L)+y,map(ord,s)),e,n):chr(b>>8*i&255),range(o-1,-1,-1)))


Joėl Bourquard

unread,
Mar 13, 2000, 3:00:00 AM3/13/00
to
Hi,

I haven't tried on 1.17-7, but it's not present on my 1.17-B... Maybe it
was fixed ?

cya
Joėl

Al

unread,
Mar 13, 2000, 3:00:00 AM3/13/00
to
1.17-B here. I had to reset mine with ON-C

RAD XYZ HEX R= 'X'
Complex off
CHOOSE boxes

but:
-117 Set to Soft MENU the "bug" does not occur.


Pablo Bleyer Kocik

unread,
Mar 13, 2000, 3:00:00 AM3/13/00
to
Al wrote:

I think it's a bug related to the graphical menus. I've tried
with other error situations and I've got the same problem -- the
calculator freezes. It seems it only happens when an error window
is displayed. Perhaps the menu window collides with the error
window in some way, but I can't imagine why it happens with an
UNDO...

John H Meyers

unread,
Mar 15, 2000, 3:00:00 AM3/15/00
to

> Perhaps the menu window collides with the error window in some way,
> but I can't imagine why it happens with an UNDO...

The saved stack (needed for UNDO) is "cached" in a local environment;
the windows (and even command line use) may change the expected
environment level and cause a problem. If I worked for ACO
I'd probably know something more specific, but I never did ;)

-----------------------------------------------------------
With best wishes from: John H Meyers <jhme...@mum.edu>


Sent via Deja.com http://www.deja.com/
Before you buy.

Jean-Yves Avenard

unread,
Mar 16, 2000, 3:00:00 AM3/16/00
to
Hello.

This bug has been fixed.

As John described, the UNDO environment is save in a local environment.
Unfortunately, in case of error (when running a command from a ChooseBox),
the protection word was not increased, so this environment was destroyed.

Jean-Yves

"John H Meyers" <jhme...@miu.edu> wrote in message
news:8anbnd$2ej$1...@nnrp1.deja.com...

Pablo Bleyer Kocik

unread,
Mar 18, 2000, 3:00:00 AM3/18/00
to Jean-Yves Avenard
Jean-Yves Avenard wrote:

> Hello.
>
> This bug has been fixed.
>
> As John described, the UNDO environment is save in a local environment.
> Unfortunately, in case of error (when running a command from a ChooseBox),
> the protection word was not increased, so this environment was destroyed.
>
> Jean-Yves
>

Thank you very much. It was not an annoying bug, but, what the hell, now
the hp49g is a bit more robust. However, this was a funny bug (at least, it
WAS fun to find ;^)
Peace!

--
Pablo Bleyer Kocik |
pbleyer |"Rintrah roars & shakes his fires in the burdend air;
@dgf.uchile.cl | Hungry clouds swag on the deep" — William Blake

0 new messages