Fatal error messages ("SYSTEM HALTED") of MagiC 3 onwards
---------------------------------------------------------

Andreas Kromke
22.10.95
English translation: Peter West, April 99.

1. Errors at system start
-------------------------

Message:  "*** FATAL ERROR WHILE BOOTING:"

Cause: a) The system has insufficient memory free for initialisation.
       b) Internal data structures have been destroyed and are 
          therefore in an inconsistent condition.

Remedy: Reinstall system, remove hard disk driver, boot from floppy disk,
        deactivate AUTO-folder.


2. General errors in DOS
-----------------------

Message: "*** FATAL ERROR IN GEMDOS:"

Cause: a) With a Falcon the screen is placed at an invalid address.
       b) During termination of a process the parent is invalid.
       c) With a Falcon Srealloc() cannt be performed.
       d) Internal data structures have been destroyed and are 
          therefore in an inconsistent condition. 

Remedy: Depending on circumstances.


3. Insufficient internal memory
-------------------------------

Message: " *** OUT OF INTERNAL MEMORY:"
         " *** USE ADDMEM.PRG!"

Cause: The system request to open a file, a directory or a drive 
       partition can not be executed because the internal memory
       regions are fully occupied.

Remedy: If the problem does not disappear if one copies ADDMEM two 
        or three times under different names into the AUTO-folder, 
        then the cause is a user program that, for instance, does 
        not close files or folders (missing Fclose() or Dclosedir()).


4. Memory management destroyed
------------------------------

Message:  "*** MEMORY BLOCK DESTROYED BY USER PROGRAM:"

Cause: A user program has overwritten an allocated block of memory
       or a 'foreign' block of memory.

Remedy: The user program can not be used under MagiC. Although it may 
        appear to work under TOS or MultiTOS, its use is risky as the
        results are indeterminate.


5. General error in the AES
---------------------------

Message:  "*** FATAL ERROR IN AES:"

Cause: a) Insufficient memory free for starting the AES.
       b) Internal data structures of the AES have been destroyed 
          and are therefore in an inconsistent condition.
       c) An invalid object tree was passed to form_button.
       d) The fixed background memory for menus is insufficient, 
          as a menu has an inadmissible size.
       e) VDI-device 1 is invalid.

Remedy: Depending on circumstances.


6. Overflow of the system stack
-------------------------------

Message:  "*** SYSTEM STACK OVERFLOW:"

Cause: The system stack of a user program has overflowed.

Remedy: Compared to TOS the stack in MagiC 3 is many times laregr, so 
        the cause can onkly be a program running amok or a defective
        driver (TSR-program or device driver).
        Remove faulty programs!

