Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculator reset glitch #1992

Open
TheTrueWAN opened this issue Nov 8, 2022 · 14 comments
Open

Calculator reset glitch #1992

TheTrueWAN opened this issue Nov 8, 2022 · 14 comments

Comments

@TheTrueWAN
Copy link

This only works on the calculator and is likely a combination of hardware and software fault:
I have found that the numworks calculator will reset itself; deleting all data (scripts, functions, variables, etc.)
this is achieved by:
making a "complicated" graph (x^2+y^2 = 16 a circle works)
pressing the back button while it renders the graph
This does not work on the simulation because the graph loads faster when it has access to more processing power, and so there is no problem there.
I have also found this is the case sometimes when using Python's turtle; I believe it is an issue with how the calculator handles needing more memory than it can access.
I have done this on two different calculators; so it probably is not just my own calculator acting up
Thank you for your time

@artaxxx
Copy link
Collaborator

artaxxx commented Nov 9, 2022

Thanks for your issue.
I can't reproduce the problem, could you please give me the version number you are using?
And maybe some pictures that illustrate the problem?

@TheTrueWAN
Copy link
Author

TheTrueWAN commented Nov 9, 2022 via email

@AquaEBM
Copy link

AquaEBM commented Nov 14, 2022

I am also experiencing this issue: Interrupting with the back button the plotting of functions that take a long time to plot abruptly resets the calculator on some quite rare occasions (with no apparent pattern for now). This might also be related to #1971 or #1970

@Miniontoby
Copy link

Miniontoby commented Nov 24, 2022

I am too, but only with really large and big functions and then exactly the same as the others with the back button.
The reset is really much an issue, cause yeah I don't always backup my scripts all the time...
So please fix it!

@M4xi1m3
Copy link
Contributor

M4xi1m3 commented Nov 29, 2022

I was able to reproduce the bug and I have a debug probe available, but can't really extract information when the crash occurs (don't have source maps or a way to compile the full firmware and rdp1 prevents me from debugging with SWD).

@Miniontoby
Copy link

Maybe it has to do with

The heap of the Python application has been increased to 64kB and the storage memory has been increased to 42kB.

and/or

Recursive calculations using Ans in the Calculation application are more efficient and lead to a memory full error less often.

from the version 19 update as listed in here: https://www.numworks.com/calculator/update/version-19/

@Miniontoby
Copy link

Now with the version 20 I aint just yet able to reproduce the bug anymore.

I think this could be fixed now, but I am not sure. Please verify!

@mauroriccardi
Copy link

Not fixed yet: it happened to me a few hours ago, pressed the "back" button while it was rendering a graph, and it reset itself erasing everything.
Version 20.4.0

@nsi-xyz
Copy link

nsi-xyz commented Mar 18, 2023

Not fixed yet: it happened to me a few hours ago, pressed the "back" button while it was rendering a graph, and it reset itself erasing everything.
Version 20.4.0

I can't reproduce the bug. Can you give us the function entered?

@mauroriccardi
Copy link

Not fixed yet: it happened to me a few hours ago, pressed the "back" button while it was rendering a graph, and it reset itself erasing everything.
Version 20.4.0

I can't reproduce the bug. Can you give us the function entered?

I fear I cannot: it was an old function from a couple of sessions earlier, insofar as I can recall it was a third degree polynomial, nothing fancy, but I honestly don't think it's relevant. I can tell you what I was doing, anyway. I had switched the calculator off, without exiting the grapher app, then after a while I needed it and I switched it on again, a bit in a hurry, and as it started drawing I pressed the "back" button, possibly a couple of times. I was about to press the "app" button to exit the grapher app, but it reset all by itself. I'm sorry I can't be more specific...it was the second time it happened to me, and looks like some totally random bug.

@nsi-xyz
Copy link

nsi-xyz commented Mar 19, 2023

About a third of the students in my class have encountered this bug, acting like you, but the bug is supposed to have been fixed by Epsilon version 20.3. 🤔

@artaxxx
Copy link
Collaborator

artaxxx commented Mar 20, 2023

Indeed, this specific bug is supposed to be fixed in 20.3. If you find how to reproduce it, tell me!

@BloomyInDev
Copy link

Not fixed yet: it happened to me a few hours ago, pressed the "back" button while it was rendering a graph, and it reset itself erasing everything.
Version 20.4.0

I can't reproduce the bug. Can you give us the function entered?

I fear I cannot: it was an old function from a couple of sessions earlier, insofar as I can recall it was a third degree polynomial, nothing fancy, but I honestly don't think it's relevant. I can tell you what I was doing, anyway. I had switched the calculator off, without exiting the grapher app, then after a while I needed it and I switched it on again, a bit in a hurry, and as it started drawing I pressed the "back" button, possibly a couple of times. I was about to press the "app" button to exit the grapher app, but it reset all by itself. I'm sorry I can't be more specific...it was the second time it happened to me, and looks like some totally random bug.

Maybe like that @artaxxx 😀

@JimboJoe
Copy link

Hello,
I can confirm this bug stills occurs on 20.4.0. It happened already 3 times on my son's calculator which was bought 10 days ago. He has a quite intensive use, though. And we unfortunately couldn't identify a clear reproduction scenario so far, just an intensive use...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants