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

"Stopped in in_eval" when running anything #2

Open
XibalbaM opened this issue Nov 19, 2023 · 12 comments
Open

"Stopped in in_eval" when running anything #2

XibalbaM opened this issue Nov 19, 2023 · 12 comments

Comments

@XibalbaM
Copy link

I just installed KhiCAS on my numworks (n0120 and Epsilon 21.3.0). When I run the app, select any interpreter, and type anything (for example 1+1), I get

Stopped in eval
"Stopped by user interruption. Error: Bad Argument Value"

I'm just pressing "EXE" to run the line and nothing else

I have no idea why it happens, so any help will be appreciated

@xrayDJ
Copy link

xrayDJ commented Jan 8, 2024

i'm having the same exact problem. Anything i type gives me this line. Installed on a N0120

@Yaya-Cout
Copy link

From what I have seen, it happens only on N0120.

@xrayDJ
Copy link

xrayDJ commented Jan 9, 2024

From what I have seen, it happens only on N0120.

is there any known fixes?

@Yaya-Cout
Copy link

I don't think there is a fix.
I don't know why KhiCAS does that… I don't have a N0120, so I can't reproduce.

@parisseb
Copy link

I can't check but I would suggest that someone tries to modify at the beginning of gen.cc
#if defined DEVICE && !defined NSPIRE_NEWLIB size_t stackptr=0x20036000; #else size_t stackptr=0xffffffffffffffff; #endif
Just insert 0 // after #if ( #if 0 // DEVICE ...) and rebuild the app. The stack address is valid for the N0110 (and probably N0115 too) and probably invalid on the N0120.

@XibalbaM
Copy link
Author

OK, I’ll install the build tools and try

@XibalbaM
Copy link
Author

Unfortunately, the calculator is reset when launching the app with this change.

@parisseb
Copy link

Really strange, stackptr is only used in gen.cc to set interrupted to true (and in kdisplay.cc for a temporary save/restore when memory full has been detected). If you have a N0110 or N0115, does it reset? Can you build and run the initial code on your N0120?
Maybe replace the 64 bit constant 0xffffffffffffffff with 0xffffffff

@Yaya-Cout
Copy link

On my N0110 (I tried with Epsilon 19), with 0xffffffffffffffff, it seems to work without any visible change.

@Yaya-Cout
Copy link

It seems to be working with 0xffffffff on the N0120, I am updating the website with the right version for the N0120.

@xrayDJ
Copy link

xrayDJ commented Jan 15, 2024

It seems to be working with 0xffffffff on the N0120, I am updating the website with the right version for the N0120.

any way to get a link? i can't connect to the website

@Yaya-Cout
Copy link

You can download the fixed version there : https://yaya-cout.github.io/Nwagyu/guide/apps/khicas.html#download

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

No branches or pull requests

4 participants