Difference between revisions of "Errors description"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | More details about application memory could be found in [[Application memory description|Application memory description]] | |
− | + | ||
− | + | {| class="wikitable" | |
− | + | |- | |
− | + | ! ID !! Text !! Description | |
− | + | |- | |
− | + | | 1 || - || Reserved | |
− | + | |- | |
− | + | | 2 || "Stack Low" || [trap] stack overflow | |
− | + | |- | |
− | + | | 3 || - || [trap] out of bounds memory access | |
− | + | |- | |
− | + | | 4 || "Divide by zero" || [trap] integer divide by zero | |
− | + | |- | |
− | + | | 5 || - || [trap] integer overflow | |
− | + | |- | |
− | + | | 6 || - || [trap] invalid conversion to integer | |
− | + | |- | |
− | + | | 7 || - || [trap] indirect call type mismatch | |
− | + | |- | |
− | + | | 8 || - || [trap] undefined element | |
− | + | |- | |
− | + | | 9 || - || [trap] null table element | |
− | + | |- | |
− | + | | 10 || "Heap Low" || [trap] program called unexpected exit | |
− | + | |- | |
− | + | | 11 || - || [trap] program called abort | |
− | + | |- | |
− | + | | 12 || - || [trap] unreachable executed | |
− | + | |- | |
− | + | | 13 || - || function is missing compiled m3 code | |
− | + | |- | |
− | + | | 14 || "Memory overflow" || runtime ran out of memory | |
− | + | |- | |
− | + | | 15 || - || global memory is missing from a module | |
− | + | |- | |
− | + | | 16 || - || global index is too large | |
− | + | |- | |
− | + | | 17 || - || argument count mismatch | |
− | + | |- | |
− | + | | 18 || - || argument type mismatch | |
− | + | |- | |
− | + | | 19 || - || global lookup failed | |
− | + | |- | |
− | + | | 20 || - || global type mismatch | |
− | + | |- | |
− | + | | 21 || - || global is not mutable | |
− | + | |- | |
− | + | | 22 || - || no compiler found for opcode | |
− | + | |- | |
− | + | | 23 || - || unknown opcode | |
− | + | |- | |
− | + | | 24 || - || restricted opcode | |
− | + | |- | |
− | + | | 25 || "Stack Low" || compiling function overran its stack height limit | |
− | + | |- | |
− | + | | 26 || "Stack Low" || compiling function underran the stack | |
− | + | |- | |
− | + | | 27 || "Cache Low" || memory allocation failed when acquiring a new M3 code page | |
− | + | |- | |
− | + | | 28 || - || attempting to set an immutable global | |
− | + | |- | |
− | + | | 29 || - || incorrect type on stack | |
− | + | |- | |
− | + | | 30 || - || incorrect value count on stack | |
− | + | |- | |
− | + | | 31 || - || attempting to use module that is not loaded | |
− | + | |- | |
− | + | | 32 || - || attempting to bind module to multiple runtimes | |
− | + | |- | |
− | + | | 33 || - || function lookup failed | |
− | + | |- | |
− | + | | 34 || - || missing imported function | |
− | + | |- | |
− | + | | 35 || - || malformed function signature | |
− | + | |- | |
− | + | | 36 || - || incompatible Wasm binary version | |
− | + | |- | |
− | + | | 37 || - || malformed Wasm binary | |
− | + | |- | |
− | + | | 38 || - || out of order Wasm section | |
− | + | |- | |
+ | | 39 || - || underrun while parsing Wasm binary | ||
+ | |- | ||
+ | | 40 || - || overrun while parsing Wasm binary | ||
+ | |- | ||
+ | | 41 || - || missing init_expr in Wasm binary | ||
+ | |- | ||
+ | | 42 || - || LEB encoded value overflow | ||
+ | |- | ||
+ | | 43 || - || invalid length UTF-8 string | ||
+ | |- | ||
+ | | 44 || - || section underrun while parsing Wasm binary | ||
+ | |- | ||
+ | | 45 || - || section overrun while parsing Wasm binary | ||
+ | |- | ||
+ | | 46 || - || unknown value_type | ||
+ | |- | ||
+ | | 47 || - || only one memory per module is supported | ||
+ | |- | ||
+ | | 48 || - || too many arguments or return values | ||
+ | |- | ||
+ | | 49 || - || memory allocation failed | ||
+ | |- | ||
+ | | 50 || "Forced exit" || Forced exit | ||
+ | |- | ||
+ | | 51 || "asert" || Aasert | ||
+ | |- | ||
+ | | 52 || - || stack/heap collision | ||
+ | |- | ||
+ | | 53 || - || index out of bounds | ||
+ | |- | ||
+ | | 54 || - || invalid memory access | ||
+ | |- | ||
+ | | 55 || - || invalid instruction | ||
+ | |- | ||
+ | | 56 || "Stack underflow" || stack underflow | ||
+ | |- | ||
+ | | 57 || "Heap underflow" || heap underflow | ||
+ | |- | ||
+ | | 58 || - || no callback, or invalid callback | ||
+ | |- | ||
+ | | 59 || - || native function failed | ||
+ | |- | ||
+ | | 60 || "Divide by zero" || divide by zero | ||
+ | |- | ||
+ | | 61 || - || go into sleepmode - code can be restarted | ||
+ | |- | ||
+ | | 62 || - || no implementation for this state, no fall-back | ||
+ | |- | ||
+ | | 63 || "Out of memory" || out of memory | ||
+ | |- | ||
+ | | 64 || - || invalid file format | ||
+ | |- | ||
+ | | 65 || - || file is for a newer version of the AMX | ||
+ | |- | ||
+ | | 66 || - || function not found | ||
+ | |- | ||
+ | | 67 || - || invalid index parameter (bad entry point) | ||
+ | |- | ||
+ | | 68 || - || debugger cannot run | ||
+ | |- | ||
+ | | 69 || - || AMX not initialized (or doubly initialized) | ||
+ | |- | ||
+ | | 70 || - || unable to set user data field (table full) | ||
+ | |- | ||
+ | | 71 || - || cannot initialize the JIT | ||
+ | |- | ||
+ | | 72 || "Parameter error" || parameter error | ||
+ | |- | ||
+ | | 73 || - || domain error, expression result does not fit in range | ||
+ | |- | ||
+ | | 74 || - || general error (unknown or unspecific error) | ||
+ | |- | ||
+ | | 75 || - || overlays are unsupported (JIT) or uninitialized | ||
+ | |} |
Latest revision as of 12:22, 11 June 2024
More details about application memory could be found in Application memory description
ID | Text | Description |
---|---|---|
1 | - | Reserved |
2 | "Stack Low" | [trap] stack overflow |
3 | - | [trap] out of bounds memory access |
4 | "Divide by zero" | [trap] integer divide by zero |
5 | - | [trap] integer overflow |
6 | - | [trap] invalid conversion to integer |
7 | - | [trap] indirect call type mismatch |
8 | - | [trap] undefined element |
9 | - | [trap] null table element |
10 | "Heap Low" | [trap] program called unexpected exit |
11 | - | [trap] program called abort |
12 | - | [trap] unreachable executed |
13 | - | function is missing compiled m3 code |
14 | "Memory overflow" | runtime ran out of memory |
15 | - | global memory is missing from a module |
16 | - | global index is too large |
17 | - | argument count mismatch |
18 | - | argument type mismatch |
19 | - | global lookup failed |
20 | - | global type mismatch |
21 | - | global is not mutable |
22 | - | no compiler found for opcode |
23 | - | unknown opcode |
24 | - | restricted opcode |
25 | "Stack Low" | compiling function overran its stack height limit |
26 | "Stack Low" | compiling function underran the stack |
27 | "Cache Low" | memory allocation failed when acquiring a new M3 code page |
28 | - | attempting to set an immutable global |
29 | - | incorrect type on stack |
30 | - | incorrect value count on stack |
31 | - | attempting to use module that is not loaded |
32 | - | attempting to bind module to multiple runtimes |
33 | - | function lookup failed |
34 | - | missing imported function |
35 | - | malformed function signature |
36 | - | incompatible Wasm binary version |
37 | - | malformed Wasm binary |
38 | - | out of order Wasm section |
39 | - | underrun while parsing Wasm binary |
40 | - | overrun while parsing Wasm binary |
41 | - | missing init_expr in Wasm binary |
42 | - | LEB encoded value overflow |
43 | - | invalid length UTF-8 string |
44 | - | section underrun while parsing Wasm binary |
45 | - | section overrun while parsing Wasm binary |
46 | - | unknown value_type |
47 | - | only one memory per module is supported |
48 | - | too many arguments or return values |
49 | - | memory allocation failed |
50 | "Forced exit" | Forced exit |
51 | "asert" | Aasert |
52 | - | stack/heap collision |
53 | - | index out of bounds |
54 | - | invalid memory access |
55 | - | invalid instruction |
56 | "Stack underflow" | stack underflow |
57 | "Heap underflow" | heap underflow |
58 | - | no callback, or invalid callback |
59 | - | native function failed |
60 | "Divide by zero" | divide by zero |
61 | - | go into sleepmode - code can be restarted |
62 | - | no implementation for this state, no fall-back |
63 | "Out of memory" | out of memory |
64 | - | invalid file format |
65 | - | file is for a newer version of the AMX |
66 | - | function not found |
67 | - | invalid index parameter (bad entry point) |
68 | - | debugger cannot run |
69 | - | AMX not initialized (or doubly initialized) |
70 | - | unable to set user data field (table full) |
71 | - | cannot initialize the JIT |
72 | "Parameter error" | parameter error |
73 | - | domain error, expression result does not fit in range |
74 | - | general error (unknown or unspecific error) |
75 | - | overlays are unsupported (JIT) or uninitialized |