Folks,
there is a serious memory leak in the gpc-20010623. The full story:
The gpc version on the SuSE 7.2 CD is broken. The installation from source is smooth. The results of the test codes are excellent only 8 fails. Then comes the problem. I wrote a code. It compiles and starts to run. But after a few minutes crashes out with segmentation fault. The "top" suggests that the size of the task grows linearly with the time. In about 10 minutes the size is 5 times bigger. Then I tried the same code on under IRIX 6.5 with gpc-20010623. The output is crippled due to a bug but it shows the same symptom. It just keep on growing. The same code with the good-old gpc 2.0 runs for more than 20 hours without any problem. The memory management in the latest distribution must be fundamentally wrong.
Have any of you experienced the same problem? Is there a compiler switch to force a more strict memory management mode?
Help me please!
miklos