Topic: Newbee: how to cope with SIGSEGV
I'm new to this Fortan Environment - back to this language after years...
I'm currently transferring a Fortran progam to JS (ExtendScript used by Adobe) and had a problem to get wrong results in my 'translated' program. To find the error in my 'translation' i installed SF:
I preceeded the subroutine I got from a physicist by a short test program
When compiling (Build > Compile and Run) I get the message «Program received signal SIGSEGV: Segmentation fault - invalid memory reference.»
I tried hard (including research in this forum) but did not find a reason for this.
Abandoning the first subroutine (there is a second one called by the first) and integrating it into the test pgm worked.
I want to use Simply Fortran for more projects (I have not yet purchased) and hence need to understand what's going on with this error.
The program is not long. You may have a look at http://daube.ch/zz_tests/QSimpson.for
Any ideas are welcome
PS: Don't flame the progammer! The programming style is awkward: I have not yet re-learned the syntax and rules of newer fortran versions (I'm 75) - in particular not which version is used in SF - and my colleagues routine obviously is Fortran 66 style...