Date: Fri, 2 Apr 1999 15:02:00 -0500 (EST) From: Derek Gordon X-Sender: gordon AT morgan To: djgpp AT delorie DOT com Subject: Runtime error for compiled c program Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Dear djgpp guru: Hello - my name is Derek Gordon, and I have been using the djgpp compiler for some time now. A few days ago, a colleague asked me to recompile a c program using some new ( and larger) program constants. I did so - the name of the program is makeped.c, and so I typed gcc makeped.c -o makeped.exe The program compiled ok. The executable "makeped" has a command line flag, "n" which refers to loops in a pedigree. When I run the program with "n" flag, I get no errors - the program runs fine. When I run without the flag, I receive the following error (even though the desired output file is produced): General Protection Fault at eip=00004f4c eax=00000000 ebx=00069200 ecx=00088000 etc. What is the source of this error? How may I correct it? Thanks very much for your consideration. Sincerely, Derek Gordon ------------------------------------------------------------------------------- Derek Gordon ,Ph.D. ***NOTE: NEW E-MAIL ADDRESS!!*** Lab of Statistical Genetics gordon AT morgan DOT rockefeller DOT edu Rockefeller University - Box 192 212-327-7987 (Phone) 1230 York Avenue 212-327-7996 (Fax) New York, NY 10021 -------------------------------------------------------------------------------