On Wed, 25 Oct 2006, Tim Jenness wrote:
> Another thing to add is that keoe release works fine. Has anyone else got a
> CVS trunk 32-bit linux build to test these files with?
Yes, tried it with my 32bit FC5/g95 build and see no problems (valgrind
log attached for some minor looking issues).
However, using my latest 64bit (SL4.2/g77) build I do see the problem, but
only when I run under valgrind. That core dumps DISPLAY without warning
and gives no useful reports, and stops at line 150 in ary_bound:
#0 ary_bound_ (iary=Variable "iary" is not available.) at ary_bound.f:150
150 NDIM = ACB_NDIM( IACB )
with NDIM=2 and IACB=2 as Brad sees.
> Tim
>
> On Wed, 25 Oct 2006, Malcolm J. Currie wrote:
>
> > > and given that IACB is reasonable (a 2 or 3) and that ACB_NDIM is a global
> > > of 4096 slots or something, it's not clear how that line can segv.
> > > Valgrind shows nothing. I haven't tried valgrind on 64bit linux though.
> >
> > Could something else have trampled where it ought not? Wouldn't
> > valgrind reveal that?
> >
> > The only unusual thing that I noticed in the build is the following
> > warning.
> >
> > ary1_init.f: In block-data unit `ary1_init':
> > ARY_ACB:173: warning:
> > COMMON /ARY1_ACB1/ ACB_ACC, ACB_BAD, ACB_CHK, ACB_CUT, ACB_DTWEX,
> > ^
> > Initialization of large (802820-unit) aggregate area `ary1_acb1' at (^)
> > slow and takes lots of memory during g77 compile
We've been living with these warnings since moving to g77, so indication
they are killers yet.
Cheers,
Peter.
==16524== Memcheck, a memory error detector.
==16524== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==16524== Using LibVEX rev 1471, a library for dynamic binary translation.
==16524== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==16524== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
==16524== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==16524== For more details, rerun with: -v
==16524==
==16524== My PID = 16524, parent PID = 2494. Prog and args are:
==16524== /home/pdraper/starlink_cvs/star/bin/kappa/display
==16524==
==16524== Warning: noted but unhandled ioctl 0x5412 with no size/direction hints
==16524== This could cause spurious value errors to appear.
==16524== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==16524== Conditional jump or move depends on uninitialised value(s)
==16524== at 0x4117FC0: kpg1_avlut_ (kpg1_avlut.f:148)
==16524== by 0x80609A0: display_ (display.f:1182)
==16524== by 0x80529BC: kapview_mon_ (kapview_mon.f:212)
==16524== by 0x805235A: dtask_applic_ (dtask_applic.f:66)
==16524== by 0x7FCD5B2: dtask_obeydcl_ (dts_obeydcl.f:161)
==16524== by 0x7FCBA9C: dtask_dcltask_ (dts_dcltask.f:153)
==16524== by 0x80522AF: MAIN_ (dtask_main.f:140)
==16524== by 0x80986A4: main (in /home/pdraper/starlink_cvs/star/bin/kappa/kapview_mon)
==16524==
==16524== Conditional jump or move depends on uninitialised value(s)
==16524== at 0x8FABD0F: cnfCptr (cnfMem.c:212)
==16524== by 0x8FABD8E: cnf_pval_ (cnfMem.c:602)
==16524== by 0x4118034: kpg1_avlut_ (kpg1_avlut.f:182)
==16524== by 0x80609A0: display_ (display.f:1182)
==16524== by 0x80529BC: kapview_mon_ (kapview_mon.f:212)
==16524== by 0x805235A: dtask_applic_ (dtask_applic.f:66)
==16524== by 0x7FCD5B2: dtask_obeydcl_ (dts_obeydcl.f:161)
==16524== by 0x7FCBA9C: dtask_dcltask_ (dts_dcltask.f:153)
==16524== by 0x80522AF: MAIN_ (dtask_main.f:140)
==16524== by 0x80986A4: main (in /home/pdraper/starlink_cvs/star/bin/kappa/kapview_mon)
==16524==
==16524== Conditional jump or move depends on uninitialised value(s)
==16524== at 0x411807E: kpg1_avlut_ (kpg1_avlut.f:187)
==16524== by 0x80609A0: display_ (display.f:1182)
==16524== by 0x80529BC: kapview_mon_ (kapview_mon.f:212)
==16524== by 0x805235A: dtask_applic_ (dtask_applic.f:66)
==16524== by 0x7FCD5B2: dtask_obeydcl_ (dts_obeydcl.f:161)
==16524== by 0x7FCBA9C: dtask_dcltask_ (dts_dcltask.f:153)
==16524== by 0x80522AF: MAIN_ (dtask_main.f:140)
==16524== by 0x80986A4: main (in /home/pdraper/starlink_cvs/star/bin/kappa/kapview_mon)
==16524==
==16524== Conditional jump or move depends on uninitialised value(s)
==16524== at 0x411808C: kpg1_avlut_ (kpg1_avlut.f:187)
==16524== by 0x80609A0: display_ (display.f:1182)
==16524== by 0x80529BC: kapview_mon_ (kapview_mon.f:212)
==16524== by 0x805235A: dtask_applic_ (dtask_applic.f:66)
==16524== by 0x7FCD5B2: dtask_obeydcl_ (dts_obeydcl.f:161)
==16524== by 0x7FCBA9C: dtask_dcltask_ (dts_dcltask.f:153)
==16524== by 0x80522AF: MAIN_ (dtask_main.f:140)
==16524== by 0x80986A4: main (in /home/pdraper/starlink_cvs/star/bin/kappa/kapview_mon)
==16524== Warning: noted but unhandled ioctl 0x5412 with no size/direction hints
==16524== This could cause spurious value errors to appear.
==16524== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==16524== Warning: noted but unhandled ioctl 0x5412 with no size/direction hints
==16524== This could cause spurious value errors to appear.
==16524== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==16524==
==16524== ERROR SUMMARY: 43 errors from 4 contexts (suppressed: 170 from 1)
==16524== malloc/free: in use at exit: 114,924 bytes in 2,187 blocks.
==16524== malloc/free: 16,156 allocs, 13,969 frees, 5,726,857 bytes allocated.
==16524== For counts of detected errors, rerun with: -v
==16524== searching for pointers to 2,187 not-freed blocks.
==16524== checked 48,284,124 bytes.
==16524==
==16524== LEAK SUMMARY:
==16524== definitely lost: 8,876 bytes in 95 blocks.
==16524== possibly lost: 31,252 bytes in 875 blocks.
==16524== still reachable: 74,796 bytes in 1,217 blocks.
==16524== suppressed: 0 bytes in 0 blocks.
==16524== Use --leak-check=full to see details of leaked memory.
|