The internal API for astMalloc changed since you last pulled.
To fix it you need to rebuild all the libraries that have C code using astMalloc.
This means:
ATL
ARY
NDF
NDG
KAPLIBS
and also touch the C code in KAPPA and CCDPACK (CUPID and SMURF will require full rebuilds). I've been running into this exact problem over the past couple of weeks. ARY and NDF probably could do with complete rebuilds because of David's recent reorganization of ARY.
Tim
On Dec 3, 2010, at 10:51 AM, Brian McIlwrath wrote:
> On Fri, 3 Dec 2010, David Berry wrote:
>
>> Hi Brian,
>> I've fixed a bug in the NDG library that caused
>> STARLINK_PROV structures to be leaked. Could you check it out and see
>> if the problem goes away?
>>
>> Meanwhile, I'll look at the ARY problem.
>>
>> David
>
> HI David,
>
> I have just resynched my checked out code with Hawaii and rebuilt it.
>
> Unfortunately kappa collapse will not even start for me now! - It give me a Segmentation Fault with the following traceback
>
> #0 astMalloc_ (size=144, init=-1073748996, status=0x1) at memory.c:2184
> #1 0x03781427 in astInitObject_ (mem=0x0, size=144, init=0, vtab=0x81be0c8,
> name=0x38d063d "KeyMap", status=0xbfffe3fc) at object.c:4878
> #2 0x035e175c in astInitKeyMap_ (mem=0x0, size=144, init=1, vtab=0x81be0c8,
> name=0x38d063d "KeyMap", status=0xbfffe3fc) at keymap.c:9896
> #3 0x035e1964 in astKeyMapId_ (options=0x38c5f72 "%s") at keymap.c:9798
> #4 0x0359df3a in ast_keymap_ (OPTIONS=0x13f6942 " ", STATUS=0xbfffe97c,
> OPTIONS_length=1) at fkeymap.c:99
> #5 0x013bf308 in ndf_tune (value=0, tpar="", status=0, _tpar=13)
> at ndf_tune.f:324
> #6 0x003e9ac1 in ndg_begpv (status=0) at ndg_begpv.f:97
> #7 0x08054f70 in kappa_mon (status=0) at kappa_mon.f:227
>
> Any suggestions welcome!
>
> Brian
--
Tim Jenness
Joint Astronomy Centre
|