Hello, I receive a strange SIGSEGV error at the end of my Fortran program. The program works fine, but after the END PROGRAM statement it gives a strange error. Could you help me finding what it might be? $ gdb degajarisfericetermicsplib.exe GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) run Starting program: /home/vmarian/fortran/Lagartexturat/Lagarbuzunar/Celulerotunde/Efectetermice/Splib/degajarisfericetermicsplib.exe Program received signal SIGSEGV, Segmentation fault. [Switching to thread 260.0x19c] 0x61016545 in stack_info::walk () from /usr/bin/cygwin1.dll (gdb) bt #0 0x61016545 in stack_info::walk () from /usr/bin/cygwin1.dll #1 0x6101669c in stackdump () from /usr/bin/cygwin1.dll #2 0x61017f75 in _cygtls::signal_exit () from /usr/bin/cygwin1.dll #3 0x61018548 in sigpacket::process () from /usr/bin/cygwin1.dll #4 0x61097fca in wait_sig () from /usr/bin/cygwin1.dll #5 0x61002f32 in cygthread::callfunc () from /usr/bin/cygwin1.dll #6 0x61003769 in cygthread::stub () from /usr/bin/cygwin1.dll #7 0x00001074 in ?? () #8 0x00000000 in ?? () (gdb) l 3 4 /* The main Fortran program actually is a function, called MAIN__. 5 We call it from the main() function in this file. */ 6 void MAIN__ (void); 7 8 /* Main procedure for fortran programs. All we do is set up the environment 9 for the Fortran program. */ 10 int 11 main (int argc, char *argv[]) 12 { (gdb) Thank you Victor MARIAN Department of Machine Elements and Tribology University Politehnica of Bucharest Spl. Indepentendei 313 060042 Bucharest ROMANIA __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com