Download The SELF 4.1 Programmer`s Reference Manual

Transcript
SELF Virtual Machine Reference
The initial SELF world
VM Version: 4.0.5, Tue 27 Jun 95 13:35:49 Solaris 2.x (svr4)
Internal error: signal 11 code 3 addr 4 pc 0x1ac768.
Do you want to:
1) Quit Self (optionally attempting to write a snapshot)
2) Try to print the Self stack
3) Try to return to the Self prompt
4) Force a core dump
Your choice:
The first two lines help the SELF implementors locate the problem. Printing the SELF stack may
provide more information about the problem but does not always work. Returning to the SELF
prompt may be successful, but the system integrity may have been compromised as a result of the
error. The safest course is to attempt to write a snapshot (if there are unsaved changes), and then
check the integrity of the snapshot by executing the primitive _Verify after starting it. If there are
any error messages from the primitive, do not attempt to continue using the snapshot.
Since fatal errors usually arise from a bug in the virtual machine, please send the SELF group a bug
report, and include a copy of the error message if possible. If the error is reproducible please describe how to reproduce it (including a snapshot or source files may be helpful).
5.11 The initial SELF world
The diagram on the following pages shows all objects in the “bare” SELF world. In addition, literals like integers, floats, and strings are conceptually part of the initial SELF world; block and object
literals are created by the programmer as needed. All the objects in the system are created by adding slots to these objects or by cloning them. Table 1 lists all the initial objects and provides a short
description for each. Reading in the world rearranges the structure of the “bare” SELF world (see
The SELF World)
66