Giter Site home page Giter Site logo

Comments (18)

github-actions avatar github-actions commented on September 24, 2024

Welcome! Thanks for submitting your first AmigaGPT issue! Your issue will be looked at ASAP. <3

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

Sorry about that, I didn't set the stack size in AmigaGPT's .info file to the recommended 32768 bytes. I will fix that in the next version. In the meantime, you can easily fix this by selecting AmigaGPT's icon, then in the right click menu, go to the Icons menu then select Information. In the information panel select the Icon tab then set the stack to 32768 bytes. When you hit save it will use this new stack size from now on.

image

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Tried your solution, but unfortunately the error message persists.

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

If you go back to the information panel again, does it still show 32768?

Does the warning message always report your stack to be 8192 bytes?

Another thing you can try is in your Prefs folder, open Workbench prefs and set stack size in there to 32kb or higher

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Yes, 32768 if coming back to the Information panel.

The warning message always reports that my stack is 8192 bytes (only once it reported 8448 bytes, but I couldn't reproduce it since), and my Workbench Prefs was originally set to a 4 KB stack (this being the default, I assume). Setting it to 32 KB or more doesn't change the error.

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

what about if you execute it via the Shell before typing in the command STACK 32768?

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

...then it runs with no warnings.

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

Ok odd. For some reason your workbench is both ignoring the icon stack size and also the internal stack cookie. Have you updated your AmigaOS with the 2 update files to AmigaOS 3.2.2?

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Yep, I'm on Workbench 3.2.2.1. And I don't use any third-party "performance patches" or "eye candy", trying to avoid such strange compatibility issues.

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

Try the new 1.4.4 release and let me know if it still happens

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Forgot to mention on my last reply that I was already on 1.4.4.

Unfortunately, the issue persists. I'm starting to wonder if it isn't something on my setup, as clean as it may seem...

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

it weird because it works fine for me (on my MiSTer and in AmiKit)

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Apparently, PeterK on EAB Board found the issue. Says him:

"AmigaGPT seems indeed to have a bug. When reading the stack size from its tool icon it divides the size by 4 by mistake! So, for an entry of 32768 it just sees 8192 bytes of stack.

When I tried 140000 for the stack setting AmigaGPT didn't complain anymore, but 131072 should also work (not tested)."

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Just tested here, and indeed: 131072 of stack size gives no warning. Reducing to 130048 already warns that "a stack size of 32512 bytes is too small".

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

I added a print statement to read out the stack size. When launching from the tool icon (which is set to 32768) it does indeed have 32768 bytes in stack and also does not show the warning for me. Also tested setting custom stack in CLI when launching from the shell.

image

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Can I reproduce these steps here on my system?

from amigagpt.

gustavosarmento avatar gustavosarmento commented on September 24, 2024

Turns out, PeterK went onto great lengths to find that, indeed, the bug is on AmigaGPT's code. Two posts worth noting:

https://eab.abime.net/showpost.php?p=1676793&postcount=13

https://eab.abime.net/showpost.php?p=1676804&postcount=14

from amigagpt.

sacredbanana avatar sacredbanana commented on September 24, 2024

Thanks for your assistance with this issue. I have now fixed it in version 1.4.5

from amigagpt.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.