Date: Wed, 08 Jul 92 14:28:53 MEZ From: Jens Rosenboom Subject: Problem with large program To: Djgpp-discussion list Hi, I noticed the existence of DJGPP a week ago and since I've been using various Unix machines before, I immediatly took the chance of being able to compile and test my programs at home. I got through compiling and running a large bunch of programs without problems, but two of them crashed shortly after starting them, producing an segmentation violation error. Tracing with the debugger showed that after returning from the first subroutine call in main(), the register %eax has a wrong value, so the next access to main's local variables gives the segmentation error. I haven't been able to produce this error with a reasonably small program, so I can't mail the source to the list. Is there any known (possible) explanation for this behaviour, maybe some (undocumented) restriction on module size or something like that. Otherwise I will go on and try to reduce the program size to get a mailable version of this. Jens ----------------------------------------------------------------- : Dipl.-Math. Jens Rosenboom : Tel. +49-201-32064-41 : : Inst. f. experimental Mathem. : Fax +49-201-32064-25 : : University of Essen : : : Ellernstr. 29 : Email MAT429 AT DE0HRZ1A DOT BITNET : : D-4300 Essen : = mat429 AT vm DOT hrz DOT uni-essen DOT de : -----------------------------------------------------------------