[ExM Users] OS X

Tim Armstrong tim.g.armstrong at gmail.com
Fri Apr 25 11:19:48 CDT 2014


Is this test something I can replicate on my own machine?  Would be helpful
to see if I can get it to happen and then trace back the memory.

- Tim


On Fri, Apr 25, 2014 at 11:11 AM, Tim Armstrong
<tim.g.armstrong at gmail.com>wrote:

> It looks like the message is coming from the Tcl memory allocator: it
> seems like it's being asked to free something (the memory address
> 0x1018d6930) that isn't a valid Tcl object - e.g. it was already freed, or
> it's just a bad pointer.
>
> Probably an invalid free or similar somewhere - possibly in the shutdown
> code although it could be earlier in the ADLB code or user code.  You could
> try running under valgrind to see if it provides more useful information.
> If you have valgrind installed, it's just a matter of setting the
> environment variable VALGRIND=valgrind for Turbine.
>
> - Tim
>
>
> On Fri, Apr 25, 2014 at 10:43 AM, Ketan Maheshwari <ketan at mcs.anl.gov>wrote:
>
>> Hi,
>>
>> Trying to run Swift/T on mac OS X. The script compiles and runs with
>> correct results, but produces the following line in the end and exits with
>> error:
>>
>> alloc: invalid block: 0x106775930: 0 0
>>
>> This is followed by the BAD TERMINATION .. block. Any clues how to debug
>> this further. Enabled logging which produces a log as follows:
>>
>> $ turbine -n 3 user-code.tcl
>>
>>  0.000 MODE: ENGINE
>>    0.000 MODE: WORKER
>>    0.000 MODE: SERVER
>>    0.000 ENGINES: 1 RANKS: 0 - 0
>>    0.000 WORKERS: 1 RANKS: 1 - 1
>> /**
>>    0.000 SERVERS: 1 RANKS: 2 - 2
>>    0.005 function:swift:constants
>>    0.005 allocated string: c:s_2=<1>
>>    0.005 store: <1>="2"
>>    0.005 allocated string: c:s_prot_txt=<2>
>>    0.005 store: <2>="prot.txt"
>>    0.005 enter function: main
>>    0.005 allocated t:5:1=<3> t:6:1=<4> t:8:1=<5> t:5:2=<6> t:6:2=<7>
>>    0.005 allocated t:8:2=<8>
>> running Swift...
>>    0.005 store: <5>="peptides/pept1.txt"
>>    0.005 array_kv_build: <4> 3 elems, write_decr 1
>>    0.005 allocated void: <9>
>>    0.005 store: <8>="peptides/pept2.txt"
>>    0.005 array_kv_build: <7> 3 elems, write_decr 1
>>    0.006 allocated void: <10>
>>    0.006 Container <4> deep closed
>>    0.006 store: <9>=void
>>    0.006 Container <7> deep closed
>>    0.006 store: <10>=void
>>    0.006 control: close 9
>>    0.006 control: close 10
>>    0.006 deeprule_finish: 9
>> result number: 6000028
>> alloc: invalid block: 0x1018d6930: 0 0
>>
>> But from the log, I am not sure, what the problem might be.
>>
>> Thanks,
>> Ketan
>>
>> _______________________________________________
>> ExM-user mailing list
>> ExM-user at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140425/6cf08ebc/attachment.html>


More information about the ExM-user mailing list