Mail Archives: djgpp/1998/09/03/12:30:34
I have a class containing several (about 10) integer variables,
a pointer to a BITMAP and a pointer to an array of pointers which point to
instances of another class.
This was working fine, until I inserted another integer variable.
The program compiles fine, but when I run it, it exits with exit code 255
immediately.
Also the following error is shown in the err window:
Shutting down allegro
Exiting due to signal SIGSEGV
General protection fault at EIP=000f07a
(plus the contents of the registers)
Also in the rhide error window, the following is shown:
Call frame traceback:
in function pack_fopen+2
in function __ctrl_startup+138
I tried inserting different types of variables, but the same error occurs.
I also tried a new class inheriting the old class and inserting the variable
in the new class, but to no avail.
I wonder if there is some memory limit (like 64K in Borland Pascal) to the
size of a class?
Can anyone figure out whats happening?
Thanks
Mars
- Raw text -