English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 28 January 2024, 15:37   #1
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
Anyone know what would cause a crash in AmigaOS 3.X (from Cloanto's Amiga Forever)

Hi all

I am the developer of AmigaGPT and I have received a report and have personally verified that AmigaGPT will cause an entire system crash when switching to the Image Generation tab. This only occurs with Cloanto's AmigaOS 3.X ROM. AmigaOS 3.9 and AmigaOS 3.2 work perfectly.

Does anyone know if the paging via clicktab.gadget is broken in its earliest version?

Here is the issue in GitHub. I have tried to diagnose it by commenting out a lot of code to try to create more stable code but it still crashes. I'm wondering if anyone has any clues as to what could be causing this?

https://github.com/sacredbanana/AmigaGPT/issues/6

An easy way to replicate this is to have a new installation of AmiKit and install it via Amiga Forever.

I am assuming this also crashes on real Amigas running the 3.X ROMs.

I'll continue to try to investigate over the coming days but any help, or direct pull requests to fix the issue would receive infinite love <3
Nightfox is offline  
Old 28 January 2024, 22:04   #2
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,629
"AmigaOS 3.X" is full of obsolete and mismatched components, it's no surprise it doesn't work. I gave up trying to support that a long time ago.
Minuous is offline  
Old 29 January 2024, 02:50   #3
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
yeah its been nothing but pain rewriting my code constantly whenever 3.X breaks T_T
Nightfox is offline  
Old 29 January 2024, 06:39   #4
Snoopy1234
Registered User
 
Snoopy1234's Avatar
 
Join Date: Apr 2022
Location: Australia
Age: 51
Posts: 836
Jens Schoenfield at Individual Computers has spoken of his differences with Mike from Cloanto. He doesn't support 3.x at all saying Mike is too brutal an approach - "We are a creative community, don't break it"

On the other hand, I have a 3.x A1200 setup aside from my 3.9 A1200 and it's a clean an sharp environment - so whatever.

This quote from the Cloanto site says 3.x systems need workbench.library on the boot disk as it's no longer in rom.
"The 3.X ROMs have a size of 512 KB, and are therefore compatible with all Amiga models except for the Amiga 1000. In order to make room for the enhancements, the 3.X ROMs employ the same technique used by Commodore for the 4000T ROMs, i.e. ROM space was freed by moving workbench.library out of the ROM. This means that a "Libs/workbench.library" file must be present on the boot disk, as detailed below."
https://www.amigaforever.com/kb/16-125
Snoopy1234 is online now  
Old 29 January 2024, 08:22   #5
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,629
The main problem is not so much the "3.X" ROM (though there are probably mismatched component versions in that too) as the on-disk components such as ReAction.
Minuous is offline  
Old 29 January 2024, 13:52   #6
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
AmigaGPT is bundled in current and future versions of AmiKit. The reason why I'd like it working with a 3.x environment is because installing AmiKit via Amiga Forever (which installs 3.x) is one of the installation options. Also because the guy behind AmiKit, Jan, is super awesome and asked me kindly to see if I can fix it.


And yes that's right, the contents of the ROM isn't the issue here. It's more the issue with the old gadgets in its included ReAction suite
Nightfox is offline  
Old 29 January 2024, 14:28   #7
Snoopy1234
Registered User
 
Snoopy1234's Avatar
 
Join Date: Apr 2022
Location: Australia
Age: 51
Posts: 836
Amikit has ReAction and MUI installed when the Wiki says they're not compatible with each other. Would system resources be allocated to both?


https://wiki.amigaos.net/wiki/ReAction
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	28
Size:	31.1 KB
ID:	81470  

Last edited by Snoopy1234; 29 January 2024 at 14:31. Reason: link
Snoopy1234 is online now  
Old 29 January 2024, 14:35   #8
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,331
Quote:
Originally Posted by Snoopy1234 View Post
Amikit has ReAction and MUI installed when the Wiki says they're not compatible with each other
That's not what it means. It means source level / API compatible.

i.e. you can't just compile an MUI application to use ReAction and vice versa.

It's normal to have ReAction/ClassAction and MUI installed at the same time.
alexh is online now  
Old 29 January 2024, 14:38   #9
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
While mildly on the topic of MUI, would it be worth porting AmigaGPT from ReAction to MUI? Is that difficult? I've never used MUI before.
Nightfox is offline  
Old 29 January 2024, 14:39   #10
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,331
I imagine it's just a matter of converting the API calls. They are probably extremely similar but as mentioned above not 1:1 compatible.

I wouldn't bother unless you were extremely interested. All Amiga users today have an environment which supports both.
alexh is online now  
Old 29 January 2024, 14:41   #11
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
Actually I've seen a lot of messages from sad people wanting to run AmigaGPT on AmigaOS 3.1 which doesn't have ReAction
Nightfox is offline  
Old 29 January 2024, 14:42   #12
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
This problem/crash is related to Amiga 3.X kickstart or 3.X system?
From my memory Amiga 3.X kickstart is Amiga 3.9 kickstart only.
With some patches/fixes from Aminet.
Of course some Aminet patches dont looks good for me.

BTW. Dont use MUI. MUI is BAD.
Don_Adan is offline  
Old 29 January 2024, 14:46   #13
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
its most likely related to the oldest versions of the ReAction gadgets included with an Amiga Forever 3.X install.


MUI is bad. ReAction is bad. I just want to know what is the lesser of 2 evils lol. I wish there was a decent GUI library for m68k Amiga
Nightfox is offline  
Old 29 January 2024, 15:05   #14
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
ReAction is less bad than MUI.
3.X has the latest versions of Amiga components, I think. Some with problematic "fixes".
Maybe try with more stack, f.e
c:stack 16000
Don_Adan is offline  
Old 29 January 2024, 15:06   #15
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
haha the icon file starts up AmigaGPT with stack 20000 already
Nightfox is offline  
Old 29 January 2024, 15:07   #16
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
He can run from CLI.
And strange report.
No CPU, no memory, no guru number.
Don_Adan is offline  
Old 29 January 2024, 15:09   #17
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
same things happen when I run from CLI with a stack of 32768.

And no there is no guru number because what happens, (at least in WinUAE in AmiKit with 3.X) is the system just freezes entirely
Nightfox is offline  
Old 29 January 2024, 15:21   #18
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
Crashing at first time? Or after some attempts?
If after some attempts, then perhaps stack is not restored correctly after some action(s).
In general using stack is also BAD.
Better is using normal data memory.
Don_Adan is offline  
Old 29 January 2024, 15:23   #19
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
crashing every time you switch tabs to the Image Generation tab (powered by clicktab.gadget). The reason why I said sometimes is I noticed it works sometimes if you have a certain number of chats and/or image generations in your history but that could just be coincidence. so far in my current setup im able to reliably get it to crash every single time
Nightfox is offline  
Old 29 January 2024, 15:28   #20
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
Also, I use heap memory as much as I can nowadays. I limit my use of stack
Nightfox is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you like or dislike Cloanto/Amiga Forever? MarioMario456 Amiga scene 206 22 May 2019 15:28
Cloanto's Amiga Forever Emu Amiga project.ClassicWB 9 22 June 2012 12:57
Cloanto and Amiga Forever alexh Amiga scene 13 01 October 2006 12:09
clock in cloanto amiga forever... zACK! support.WinUAE 2 08 April 2006 20:36
Save State on Cloanto Amiga Forever 3.0 NeutralizeR New to Emulation or Amiga scene 7 14 November 2002 14:30

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:21.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.20852 seconds with 16 queries