Hi,
I have a difficulty in locating the error output by SUN workshop. I
am using workshop version 6.2 for debugging.
My problem is as follows:
1. When I compile f90 files using -g -C -c flag, the compilation is
successful, and the problem runs smoothly. But the disadvantage is
the problem runs very very slow. The only option is therefore
optimised version.
2. When I compile f90 using optimised flag, the compilation is
successful, however, the problem crashes after a few time steps
giving an error "signaled". Therefore I tried to see what happens
when I rerun the problem using workshop debug window. Workshop
displayed the following error:
"Signal 11 SIGSEGV Sigcode 1 MAPERR Sigsender 8", followed by
"signal SEGV (no mapping at the fault address) in anal_transient at
0x18f4c4 0x0018f4c4: anal_transient+0x27c8: std %f14, [%g1 -
0x8]"
If I were to compile with -g flag, then workshop would show exactly
which variable is wrong. Since the problem doesn't crash when I run
it in debug mode, using optimised mode I cannot locate the exact
location and variable which is causing the problem.
Therefore, my question is, is there any way I can find out what the
addresses 0x18f4c4 etc. mean in actual terms. (Of course, I know
which subroutine is falling over at this moment, but the error is not
at all obvious to me).
I would appreciate your help.
regards
Suresh
===================================================
Mr Suresh Seetharam
Geoenvironmental Research Centre
Cardiff University
Queen's Buildings
PO BOX 925
Cardiff CF24 0YF
Wales UK
Tel: +44 (0) 29 20 875753
E-Mail: [log in to unmask]
http://www.grc.cf.ac.uk
http://www.grc.cf.ac.uk/members/SureshCSeetharam.html
===================================================
|