Using QNX 6.1.A
I have a process that is spawned by a parent. The spawned process has a
large data structure of the form:
typedef struct
{
unsigned long size;
int type;
int number;
float data;
unsigned short image_data[NUMBER];
} Image_messageT;
When NUMBER = 60000 everything works fine. If I increase NUMBER to 76800
then the spawned process immediately terminates abnormally. Using dumper
for the spawned process gives the message:
Program terminated with signal 11, segmentation violation
Also if I remove the declaration of the image_message structure in the
spawned process it works fine.
Is this declaration exceeding the memory size of a spawned process? If so
can this memory size be increased to accomodate it? If this is not the
problem can anyone think what it might be?
Thanks.
Paul.