Re: Compiled a Fortran 90-program with Cygwin g95 -- gets 'Segmentation fault' when I try to run it



please send your source code then somebody can help you. There are many reason for Segmentation faults. Usually it is a problem with source code (e.g array bounds) - I use also g95 :) together with eclipse pluging photran.
Regards,
Roman
Mikael O. Bonnier napisał(a):
I have compiled a Frortran 90 program using Cygwin (Linux under Windows XP) g95 without errors and gets 'Segmentation fault' when I try to run it. The same error occurs for all f90 programs on my work computer. A friend of mine can compile and run the same programs on his computer but not the ones compiled on mine. I have installed all the Cygwin-packages that he has.

Example:
$ a.exe
Segmentation fault (core dumped)

In the file a.exe.stackdump is:
Exception: STATUS_ACCESS_VIOLATION at eip=00000000
eax=0A0501E0 ebx=425E55F7 ecx=00000000 edx=61115870 esi=29B57FD8
edi=6100633C
ebp=00000400 esp=0022EF90 program=c:\MATLAB7\work\ca13\a.exe, pid 3928,
thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
End of stack trace

Anyone who has a clue to what the error might be?

.