Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Software Failure  (Read 3872 times)

0 Members and 2 Guests are viewing this topic.

robertframpton

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Software Failure
« on: July 20, 2007, 11:47:53 AM »

I have written a large program in AMOS Professional (around 8000 lines). I have successfuly compiled it with the AMOS Professional compiler onto a self booting floppy disk.

  However after the program has loaded, and after having navigated through it for a while the program ends in the same recurring software failure message:-

Software Failure. Press left mouse button to continue.

Error: 8100 0005 Task: 0001AC90

I am running on an unexpanded A1200 with Hard Disk.

Any ideas and help in resolving this would be much appreciated.
Logged

Sidewinder

  • Forum Mod
  • A600
  • *****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • http://www.liquido2.com/
Re: Software Failure
« Reply #1 on: July 20, 2007, 05:30:26 PM »

Take a look at this FAQ:  http://www.amiga.org/modules/xoopsfaq/index.php?cat_id=3

My interpretation is that there is an error allocating memory somewhere.  If you don't allocate memory directly in your program (i.e. make calls to the Exec library) then it may be a bug in the AMOS compiler or something else may be happening.

We need to find out exactly when and where this error occurs.  Does it always happen at a certain point in the program?  When you perform a certain action?  After a certain time interval?

Sometimes it helps to trace the program, by having each major procedure or subroutine print out a message to the screen or a file so that you can know in which routine the error occurs.

Also, does the problem ever occur in the interpreted version or only in the compiled version?
Logged
- Sidewinder

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Software Failure
« Reply #2 on: September 01, 2007, 02:02:18 AM »


A touch late, but you are correct:


81000005   =   Corrupted memory list


Just check my guru error guide (which can be found on the Amiga History site). Actually, do you use lots of strings? AMOS is rubbish at throwing away rubbish!! :(

I always have a debug screen in my programs which allow me to monitor memory used - free RAM, free FAST RAM, variable memory free, variable memory used, bank locations (use List Bank and then print the appropriate control character to centre "List Bank"'s printout) etc.

The only other time I have know AMOS to crash regarding memory is when importing (or moving) data beyond a banks size (eg. loading a file larger than the bank it is to go in) and it "overflowing" into another bank.


Regards,
Lonewolf10

Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022