All,

 

I am having a problem with GRX v2.3.

 

Whenever the program I have quits it dumps core. The core dump occurs in the program shutdown code after all my code has finished (ie after the return from main() ). A file containing the backtrace is attatched.

 

I am almost sure the problem is with GRX and is caused when the executable has a large number of global variables (which mine does).

For example if I make my main simply:

void main()

{

    GrSetMode(GR_default_text);

}

 

The problem still occurs (same backtrace).

 

I further confirmed this by getting the GRX example program modetest (the X version) and declaring a global int array at the top, like this:

int dummy[1000000000L];

 

The program then segfaults too, in a similar way. This int array was not referenced anywhere in the code.

 

I am using Linux (RH 5.2) with GRX  v2.3. The problem only seems to occur when using x11, not svgalib.

 

Does anybody know how I can resolve this problem?

 

Regards,

Menno Smits