The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

WP 34s lockup with [y-hat]
Message #1 Posted by Neil Hamilton (Ottawa) on 14 July 2011, 5:49 a.m.

I have managed to create a hard lockup in both the emulator and calculator.

Steps to reproduce:

- Reset the calculator (back switch on calculator [thanks for pointing that out!], or "h X.FCN RESET" on either)
- "f [y-hat]"

I suspect that it happens when no [SIGMA]+ operations have been previously performed.

Emulator crashes. Calculator never advances beyond the "f" display -- requires reset switch to regain control.

Versions: emulator SVN 1209, calculator SVN 1196.

      
Re: WP 34s lockup with [y-hat]
Message #2 Posted by Paul Dale on 14 July 2011, 7:06 a.m.,
in response to message #1 by Neil Hamilton (Ottawa)

Hmmmm, there is a bug there but I'm not sure what or where yet.

I've reproduced this a couple of times now but haven't done it reliably :-( The code looks like it should be generating an error here.

- Pauli

            
Re: WP 34s lockup with [y-hat] - Fixed?
Message #3 Posted by Marcus von Cube, Germany on 14 July 2011, 8:21 a.m.,
in response to message #2 by Paul Dale

I debugged it in the emulator and have given Pauli a hint what might be wrong. ((I'm afraid it's his part to fix it.))

Edit: I may have fixed it but tests need to be done. It was a general problem with functions not returning a proper result in some cases.

Be aware that the flash image may be grossly unstable because I've added the serial stuff which is totally untested at this point.

Edited: 14 July 2011, 9:15 a.m.

                  
Re: WP 34s lockup with [y-hat] - Fixed?
Message #4 Posted by Paul Dale on 14 July 2011, 5:24 p.m.,
in response to message #3 by Marcus von Cube, Germany

This is fixed now. A bad return from the x-hat and y-hat functions could cause a lock up (but not always).

- Pauli

                        
Re: WP 34s lockup with [y-hat] - Fixed?
Message #5 Posted by Paul Dale on 14 July 2011, 5:24 p.m.,
in response to message #4 by Paul Dale

Well, fix in the next build I should have said.

- Pauli


[ Return to Index | Top of Index ]

Go back to the main exhibit hall