#2520 closed Bug (fixed)
Invalid Memory Access in tra_adv_cen
Reported by: | francesca | Owned by: | systeam |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | TRA | Version: | v4.0 |
Severity: | major | Keywords: | TRA access bad memory v4.0 |
Cc: |
Description
Context
There is a memory access error in traadv_cen.F90 file (line 129) of the r4.0-HEAD NEMO version.
It happens since the ji index of DO loop starts from 1 and the value of ztu at the line 133 is read at the position ji-1.
I think that ji should start from 2..
Moreover, probably a communication on zwx and zwy should be added after the loop.
Analysis
...
Fix
...
Commit History (2)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
13457 | francesca | 2020-09-10T17:48:13+02:00 | fix ticket #2520 in trunk |
13456 | francesca | 2020-09-10T17:42:42+02:00 |
Change History (5)
comment:1 Changed 4 years ago by clem
comment:2 Changed 4 years ago by francesca
In 13456:
comment:3 Changed 4 years ago by francesca
In 13457:
comment:4 Changed 4 years ago by francesca
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 2 years ago by nemo
- Keywords v4.0 added
Note: See
TracTickets for help on using
tickets.
I concur. I think you can proceed to the fix in 4.0-HEAD and in the trunk...